Lines Matching refs:filep
93 * @filep: File structure pointer to identify the device
99 static __poll_t iio_event_poll(struct file *filep,
102 struct iio_dev *indio_dev = filep->private_data;
110 poll_wait(filep, &ev_int->wait, wait);
118 static ssize_t iio_event_chrdev_read(struct file *filep,
123 struct iio_dev *indio_dev = filep->private_data;
137 if (filep->f_flags & O_NONBLOCK)
163 if (copied == 0 && (filep->f_flags & O_NONBLOCK))
171 static int iio_event_chrdev_release(struct inode *inode, struct file *filep)
173 struct iio_dev *indio_dev = filep->private_data;