Home
last modified time | relevance | path

Searched refs:fops (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/drivers/media/video/
Dv4l2-dev.c149 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/
Doprofilefs.c130 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/
Ddvbdev.c75 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/
Dtape_class.c39 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()
Dtape_class.h55 const struct file_operations *fops,
/drivers/w1/slaves/
Dw1_therm.c76 .fops = &w1_therm_fops,
81 .fops = &w1_therm_fops,
86 .fops = &w1_therm_fops,
/drivers/infiniband/hw/ipath/
Dipath_fs.c48 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/
Ddebugfs.c47 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/
Dmspec.c325 .fops = &fetchop_fops
336 .fops = &cached_fops
347 .fops = &uncached_fops
Dmisc.c127 new_fops = fops_get(c->fops); in misc_open()
139 new_fops = fops_get(c->fops); in misc_open()
/drivers/watchdog/
Drm9k_wdt.c100 static const struct file_operations fops = { variable
111 .fops = &fops,
Dwdrtas.c519 .fops = &wdrtas_fops,
533 .fops = &wdrtas_temp_fops,
Dwdt.c539 .fops = &wdt_fops,
554 .fops = &wdt_temp_fops,
/drivers/w1/
Dw1.c180 .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()
Dw1_family.h54 struct w1_family_ops *fops; member
/drivers/usb/core/
Dfile.c169 if (class_driver->fops == NULL) in usb_register_dev()
177 usb_minors[minor] = class_driver->fops; in usb_register_dev()
/drivers/net/wireless/b43/
Ddebugfs.c46 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/
Dtdfx_drv.c47 .fops = {
/drivers/gpu/drm/i810/
Di810_drv.c58 .fops = {
/drivers/gpu/drm/savage/
Dsavage_drv.c49 .fops = {
/drivers/gpu/drm/i830/
Di830_drv.c69 .fops = {
/drivers/gpu/drm/via/
Dvia_drv.c63 .fops = {
/drivers/gpu/drm/r128/
Dr128_drv.c63 .fops = {
/drivers/misc/sgi-gru/
Dgruprocfs.c282 const struct file_operations *fops; member
300 p->entry->proc_fops = p->fops; in create_proc_file()
/drivers/gpu/drm/sis/
Dsis_drv.c79 .fops = {

12345678910>>...13