Lines Matching refs:file
38 static __poll_t pps_cdev_poll(struct file *file, poll_table *wait) in pps_cdev_poll() argument
40 struct pps_device *pps = file->private_data; in pps_cdev_poll()
42 poll_wait(file, &pps->queue, wait); in pps_cdev_poll()
47 static int pps_cdev_fasync(int fd, struct file *file, int on) in pps_cdev_fasync() argument
49 struct pps_device *pps = file->private_data; in pps_cdev_fasync()
50 return fasync_helper(fd, file, on, &pps->async_queue); in pps_cdev_fasync()
90 static long pps_cdev_ioctl(struct file *file, in pps_cdev_ioctl() argument
93 struct pps_device *pps = file->private_data; in pps_cdev_ioctl()
249 static long pps_cdev_compat_ioctl(struct file *file, in pps_cdev_compat_ioctl() argument
252 struct pps_device *pps = file->private_data; in pps_cdev_compat_ioctl()
293 return pps_cdev_ioctl(file, cmd, arg); in pps_cdev_compat_ioctl()
299 static int pps_cdev_open(struct inode *inode, struct file *file) in pps_cdev_open() argument
303 file->private_data = pps; in pps_cdev_open()
308 static int pps_cdev_release(struct inode *inode, struct file *file) in pps_cdev_release() argument