Lines Matching defs:file
308 * @file: file handle to the watchdog
317 static ssize_t wdt_write(struct file *file, const char __user *buf,
342 * @file: file handle to the device
351 static long wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
403 * @file: file handle to device
412 static int wdt_open(struct inode *inode, struct file *file)
420 return stream_open(inode, file);
426 * @file: file handle to board
435 static int wdt_release(struct inode *inode, struct file *file)
450 * @file: file handle to the watchdog board
459 static ssize_t wdt_temp_read(struct file *file, char __user *buf,
473 * @file: file handle to device
478 static int wdt_temp_open(struct inode *inode, struct file *file)
480 return stream_open(inode, file);
486 * @file: file handle to board
491 static int wdt_temp_release(struct inode *inode, struct file *file)
563 * Unload the watchdog. You cannot do this with any file handles open.