/drivers/media/video/ |
D | v4l2-dev.c | 149 if (!vdev->fops->read) in v4l2_read() 153 return vdev->fops->read(filp, buf, sz, off); in v4l2_read() 161 if (!vdev->fops->write) in v4l2_write() 165 return vdev->fops->write(filp, buf, sz, off); in v4l2_write() 172 if (!vdev->fops->poll || video_is_unregistered(vdev)) in v4l2_poll() 174 return vdev->fops->poll(filp, poll); in v4l2_poll() 182 if (!vdev->fops->ioctl) in v4l2_ioctl() 186 return vdev->fops->ioctl(filp, cmd, arg); in v4l2_ioctl() 194 if (!vdev->fops->unlocked_ioctl) in v4l2_unlocked_ioctl() 198 return vdev->fops->unlocked_ioctl(filp, cmd, arg); in v4l2_unlocked_ioctl() [all …]
|
/drivers/oprofile/ |
D | oprofilefs.c | 130 struct dentry *root, char const *name, const struct file_operations *fops, in __oprofilefs_create_file() argument 144 inode->i_fop = fops; in __oprofilefs_create_file() 203 char const *name, const struct file_operations *fops) in oprofilefs_create_file() argument 205 if (!__oprofilefs_create_file(sb, root, name, fops, 0644)) in oprofilefs_create_file() 212 char const *name, const struct file_operations *fops, int perm) in oprofilefs_create_file_perm() argument 214 if (!__oprofilefs_create_file(sb, root, name, fops, perm)) in oprofilefs_create_file_perm()
|
/drivers/media/dvb/dvb-core/ |
D | dvbdev.c | 75 if (dvbdev && dvbdev->fops) { in dvb_device_open() 81 file->f_op = fops_get(dvbdev->fops); in dvb_device_open() 228 dvbdev->fops = dvbdevfops; in dvb_register_device() 231 memcpy(dvbdev->fops, template->fops, sizeof(struct file_operations)); in dvb_register_device() 232 dvbdev->fops->owner = adap->module; in dvb_register_device() 287 kfree (dvbdev->fops); in dvb_unregister_device()
|
/drivers/s390/char/ |
D | tape_class.c | 39 const struct file_operations *fops, in register_tape_dev() argument 64 tcd->char_device->owner = fops->owner; in register_tape_dev() 65 tcd->char_device->ops = fops; in register_tape_dev()
|
D | tape_class.h | 55 const struct file_operations *fops,
|
/drivers/w1/slaves/ |
D | w1_therm.c | 76 .fops = &w1_therm_fops, 81 .fops = &w1_therm_fops, 86 .fops = &w1_therm_fops,
|
/drivers/infiniband/hw/ipath/ |
D | ipath_fs.c | 48 int mode, const struct file_operations *fops, in ipathfs_mknod() argument 68 inode->i_fop = fops; in ipathfs_mknod() 79 const struct file_operations *fops, void *data) in create_file() argument 88 mode, fops, data); in create_file()
|
/drivers/net/wireless/b43legacy/ |
D | debugfs.c | 47 struct file_operations fops; member 230 dfops = container_of(file->f_op, struct b43legacy_debugfs_fops, fops); in b43legacy_debugfs_read() 296 dfops = container_of(file->f_op, struct b43legacy_debugfs_fops, fops); in b43legacy_debugfs_write() 333 .fops = { \ 433 &fops_##name.fops); \ in b43legacy_debugfs_add_device()
|
/drivers/char/ |
D | mspec.c | 325 .fops = &fetchop_fops 336 .fops = &cached_fops 347 .fops = &uncached_fops
|
D | misc.c | 127 new_fops = fops_get(c->fops); in misc_open() 139 new_fops = fops_get(c->fops); in misc_open()
|
/drivers/watchdog/ |
D | rm9k_wdt.c | 100 static const struct file_operations fops = { variable 111 .fops = &fops,
|
D | wdrtas.c | 519 .fops = &wdrtas_fops, 533 .fops = &wdrtas_temp_fops,
|
D | wdt.c | 539 .fops = &wdt_fops, 554 .fops = &wdt_temp_fops,
|
/drivers/w1/ |
D | w1.c | 180 .fops = &w1_default_fops, 646 if (sl->family->fops && sl->family->fops->add_slave && in __w1_attach_slave_device() 647 ((err = sl->family->fops->add_slave(sl)) < 0)) { in __w1_attach_slave_device() 733 if (sl->family->fops && sl->family->fops->remove_slave) in w1_slave_detach() 734 sl->family->fops->remove_slave(sl); in w1_slave_detach()
|
D | w1_family.h | 54 struct w1_family_ops *fops; member
|
/drivers/usb/core/ |
D | file.c | 169 if (class_driver->fops == NULL) in usb_register_dev() 177 usb_minors[minor] = class_driver->fops; in usb_register_dev()
|
/drivers/net/wireless/b43/ |
D | debugfs.c | 46 struct file_operations fops; member 573 dfops = container_of(file->f_op, struct b43_debugfs_fops, fops); in b43_debugfs_read() 639 dfops = container_of(file->f_op, struct b43_debugfs_fops, fops); in b43_debugfs_write() 676 .fops = { \ 793 &fops_##name.fops); \ in b43_debugfs_add_device()
|
/drivers/gpu/drm/tdfx/ |
D | tdfx_drv.c | 47 .fops = {
|
/drivers/gpu/drm/i810/ |
D | i810_drv.c | 58 .fops = {
|
/drivers/gpu/drm/savage/ |
D | savage_drv.c | 49 .fops = {
|
/drivers/gpu/drm/i830/ |
D | i830_drv.c | 69 .fops = {
|
/drivers/gpu/drm/via/ |
D | via_drv.c | 63 .fops = {
|
/drivers/gpu/drm/r128/ |
D | r128_drv.c | 63 .fops = {
|
/drivers/misc/sgi-gru/ |
D | gruprocfs.c | 282 const struct file_operations *fops; member 300 p->entry->proc_fops = p->fops; in create_proc_file()
|
/drivers/gpu/drm/sis/ |
D | sis_drv.c | 79 .fops = {
|