Searched refs:dev_file_info (Results 1 – 4 of 4) sorted by relevance
125 struct comedi_device_file_info *dev_file_info = in comedi_unlocked_ioctl() local130 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() local385 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() local1491 dev_file_info = comedi_get_device_file_info(minor); in comedi_mmap()1492 if (dev_file_info == NULL) in comedi_mmap()[all …]
53 struct comedi_device_file_info *dev_file_info = in comedi_read() local57 if (dev_file_info == NULL) in comedi_read()59 dev = dev_file_info->device; in comedi_read()
195 struct comedi_device_file_info *dev_file_info = in comedi_driver_unregister() local199 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() local833 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()
46 struct comedi_device_file_info *dev_file_info; in comedi_open() local58 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()