Searched refs:fops (Results 1 - 25 of 448) sorted by relevance

1234567891011>>

/drivers/net/wireless/rsi/
H A Drsi_debugfs.h37 const struct file_operations fops; member in struct:rsi_dbg_files
/drivers/media/
H A Dmedia-devnode.c88 if (!mdev->fops->read)
92 return mdev->fops->read(filp, buf, sz, off);
100 if (!mdev->fops->write)
104 return mdev->fops->write(filp, buf, sz, off);
114 if (!mdev->fops->poll)
116 return mdev->fops->poll(filp, poll);
139 return __media_ioctl(filp, cmd, arg, mdev->fops->ioctl);
149 return __media_ioctl(filp, cmd, arg, mdev->fops->compat_ioctl);
180 if (mdev->fops->open) {
181 ret = mdev->fops
[all...]
/drivers/s390/char/
H A Dtape_class.h39 * fops
52 const struct file_operations *fops,
H A Dtape_class.c36 * fops
44 const struct file_operations *fops,
69 tcd->char_device->owner = fops->owner;
70 tcd->char_device->ops = fops;
41 register_tape_dev( struct device * device, dev_t dev, const struct file_operations *fops, char * device_name, char * mode_name) argument
/drivers/gpu/drm/tdfx/
H A Dtdfx_drv.c60 .fops = &tdfx_driver_fops,
/drivers/media/radio/
H A Dradio-tea5777.h66 struct v4l2_file_operations fops; member in struct:radio_tea5777
/drivers/w1/
H A Dw1_family.h69 * @fops: operations for this family
77 struct w1_family_ops *fops; member in struct:w1_family
H A Dw1.c181 .fops = &w1_default_fops,
619 struct w1_family_ops *fops; local
622 fops = sl->family->fops;
624 if (!fops)
630 if (fops->add_slave) {
631 err = fops->add_slave(sl);
639 if (fops->groups) {
640 err = sysfs_create_groups(&sl->dev.kobj, fops->groups);
651 if (fops
[all...]
/drivers/oprofile/
H A Doprofilefs.c136 const struct file_operations *fops, int perm, void *priv)
153 inode->i_fop = fops;
200 char const *name, const struct file_operations *fops)
202 return __oprofilefs_create_file(root, name, fops, 0644, NULL);
207 char const *name, const struct file_operations *fops, int perm)
209 return __oprofilefs_create_file(root, name, fops, perm, NULL);
135 __oprofilefs_create_file(struct dentry *root, char const *name, const struct file_operations *fops, int perm, void *priv) argument
199 oprofilefs_create_file(struct dentry *root, char const *name, const struct file_operations *fops) argument
206 oprofilefs_create_file_perm(struct dentry *root, char const *name, const struct file_operations *fops, int perm) argument
/drivers/w1/slaves/
H A Dw1_therm.c95 .fops = &w1_therm_fops,
100 .fops = &w1_therm_fops,
105 .fops = &w1_therm_fops,
110 .fops = &w1_therm_fops,
115 .fops = &w1_therm_fops,
H A Dw1_bq27000.c92 .fops = &w1_bq27000_fops,
/drivers/gpu/drm/armada/
H A Darmada_debugfs.c133 const char *name, umode_t mode, const struct file_operations *fops)
137 de = debugfs_create_file(name, mode, root, minor->dev, fops);
139 return drm_add_fake_info_node(minor, de, fops);
132 armada_debugfs_create(struct dentry *root, struct drm_minor *minor, const char *name, umode_t mode, const struct file_operations *fops) argument
/drivers/media/v4l2-core/
H A Dv4l2-dev.c303 if (!vdev->fops->read)
306 ret = vdev->fops->read(filp, buf, sz, off);
319 if (!vdev->fops->write)
322 ret = vdev->fops->write(filp, buf, sz, off);
334 if (!vdev->fops->poll)
337 res = vdev->fops->poll(filp, poll);
349 if (vdev->fops->unlocked_ioctl) {
355 ret = vdev->fops->unlocked_ioctl(filp, cmd, arg);
358 } else if (vdev->fops->ioctl) {
388 ret = vdev->fops
[all...]
/drivers/gpu/drm/i810/
H A Di810_drv.c70 .fops = &i810_driver_fops,
/drivers/gpu/drm/r128/
H A Dr128_drv.c75 .fops = &r128_driver_fops,
/drivers/gpu/drm/savage/
H A Dsavage_drv.c63 .fops = &savage_driver_fops,
/drivers/staging/speakup/
H A Ddevsynth.c71 .fops = &synth_fops,
/drivers/usb/core/
H A Dfile.c169 if (class_driver->fops == NULL)
185 usb_minors[minor] = class_driver->fops;
/drivers/gpu/drm/mga/
H A Dmga_drv.c79 .fops = &mga_driver_fops,
/drivers/gpu/drm/sis/
H A Dsis_drv.c115 .fops = &sis_driver_fops,
/drivers/gpu/drm/via/
H A Dvia_drv.c94 .fops = &via_driver_fops,
/drivers/infiniband/hw/ipath/
H A Dipath_fs.c49 umode_t mode, const struct file_operations *fops,
70 inode->i_fop = fops;
81 const struct file_operations *fops, void *data)
89 mode, fops, data);
48 ipathfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, const struct file_operations *fops, void *data) argument
79 create_file(const char *name, umode_t mode, struct dentry *parent, struct dentry **dentry, const struct file_operations *fops, void *data) argument
/drivers/media/dvb-core/
H A Ddvbdev.h79 const struct file_operations *fops; member in struct:dvb_device
H A Ddvbdev.c75 if (dvbdev && dvbdev->fops) {
79 new_fops = fops_get(dvbdev->fops);
222 dvbdev->fops = dvbdevfops;
225 memcpy(dvbdevfops, template->fops, sizeof(struct file_operations));
282 kfree (dvbdev->fops);
/drivers/net/wireless/b43legacy/
H A Ddebugfs.c47 struct file_operations fops; member in struct:b43legacy_debugfs_fops
224 dfops = container_of(file->f_op, struct b43legacy_debugfs_fops, fops);
290 dfops = container_of(file->f_op, struct b43legacy_debugfs_fops, fops);
327 .fops = { \
428 &fops_##name.fops); \

Completed in 716 milliseconds

1234567891011>>