Home
last modified time | relevance | path

Searched refs:dev_file_info (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/staging/comedi/
Dcomedi_fops.c125 struct comedi_device_file_info *dev_file_info = in comedi_unlocked_ioctl() local
130 if (dev_file_info == NULL || dev_file_info->device == NULL) in comedi_unlocked_ioctl()
132 dev = dev_file_info->device; in comedi_unlocked_ioctl()
148 dev_file_info->hardware_device = NULL; in comedi_unlocked_ioctl()
382 struct comedi_device_file_info *dev_file_info = in do_devinfo_ioctl() local
385 comedi_get_read_subdevice(dev_file_info); in do_devinfo_ioctl()
387 comedi_get_write_subdevice(dev_file_info); in do_devinfo_ioctl()
1488 struct comedi_device_file_info *dev_file_info; in comedi_mmap() local
1491 dev_file_info = comedi_get_device_file_info(minor); in comedi_mmap()
1492 if (dev_file_info == NULL) in comedi_mmap()
[all …]
Dproc.c53 struct comedi_device_file_info *dev_file_info = in comedi_read() local
57 if (dev_file_info == NULL) in comedi_read()
59 dev = dev_file_info->device; in comedi_read()
Ddrivers.c195 struct comedi_device_file_info *dev_file_info = in comedi_driver_unregister() local
199 if (dev_file_info == NULL) in comedi_driver_unregister()
201 dev = dev_file_info->device; in comedi_driver_unregister()
823 struct comedi_device_file_info *dev_file_info; in comedi_auto_config() local
833 dev_file_info = comedi_get_device_file_info(minor); in comedi_auto_config()
841 mutex_lock(&dev_file_info->device->mutex); in comedi_auto_config()
842 retval = comedi_device_attach(dev_file_info->device, &it); in comedi_auto_config()
843 mutex_unlock(&dev_file_info->device->mutex); in comedi_auto_config()
/linux-3.4.99/drivers/staging/comedi/kcomedilib/
Dkcomedilib_main.c46 struct comedi_device_file_info *dev_file_info; in comedi_open() local
58 dev_file_info = comedi_get_device_file_info(minor); in comedi_open()
59 if (dev_file_info == NULL) in comedi_open()
61 dev = dev_file_info->device; in comedi_open()