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