Lines Matching defs:file
189 * These are the file operation function for user access to /dev/lcd
191 * setting file and ppos to NULL.
466 static ssize_t charlcd_write(struct file *file, const char __user *buf,
491 static int charlcd_open(struct inode *inode, struct file *file)
501 if (file->f_mode & FMODE_READ) /* device is write-only */
510 return nonseekable_open(inode, file);
517 static int charlcd_release(struct inode *inode, struct file *file)