Lines Matching refs:iio_dev_opaque

68 	struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev);  in iio_push_event()  local
69 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_push_event()
103 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_event_poll() local
104 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_event_poll()
124 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_event_chrdev_read() local
125 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_event_chrdev_read()
174 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_event_chrdev_release() local
175 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_event_chrdev_release()
194 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_event_getfd() local
195 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_event_getfd()
201 fd = mutex_lock_interruptible(&iio_dev_opaque->mlock); in iio_event_getfd()
222 mutex_unlock(&iio_dev_opaque->mlock); in iio_event_getfd()
361 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_device_add_event() local
397 &iio_dev_opaque->event_interface->dev_attr_list); in iio_device_add_event()
508 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_device_register_eventset() local
522 iio_dev_opaque->event_interface = ev_int; in iio_device_register_eventset()
562 iio_device_ioctl_handler_register(&iio_dev_opaque->indio_dev, in iio_device_register_eventset()
572 iio_dev_opaque->event_interface = NULL; in iio_device_register_eventset()
585 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_device_wakeup_eventset() local
587 if (iio_dev_opaque->event_interface == NULL) in iio_device_wakeup_eventset()
589 wake_up(&iio_dev_opaque->event_interface->wait); in iio_device_wakeup_eventset()
594 struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); in iio_device_unregister_eventset() local
595 struct iio_event_interface *ev_int = iio_dev_opaque->event_interface; in iio_device_unregister_eventset()
604 iio_dev_opaque->event_interface = NULL; in iio_device_unregister_eventset()