/drivers/thermal/int340x_thermal/ |
H A D | acpi_thermal_rel.c | 33 static int acpi_thermal_rel_open(struct inode *inode, struct file *file) argument 37 (acpi_thermal_rel_chrdev_count && (file->f_flags & O_EXCL))) { 42 if (file->f_flags & O_EXCL) 48 return nonseekable_open(inode, file); 51 static int acpi_thermal_rel_release(struct inode *inode, struct file *file) argument 315 static long acpi_thermal_rel_ioctl(struct file *f, unsigned int cmd,
|
/drivers/tty/serial/ |
H A D | kgdb_nmi.c | 273 static int kgdb_nmi_tty_open(struct tty_struct *tty, struct file *file) argument 276 unsigned int mode = file->f_flags & O_ACCMODE; 279 ret = tty_port_open(&priv->port, tty, file); 286 static void kgdb_nmi_tty_close(struct tty_struct *tty, struct file *file) argument 289 unsigned int mode = file->f_flags & O_ACCMODE; 294 tty_port_close(&priv->port, tty, file);
|
/drivers/usb/chipidea/ |
H A D | debug.c | 48 static int ci_device_open(struct inode *inode, struct file *file) argument 50 return single_open(file, ci_device_show, inode->i_private); 81 static ssize_t ci_port_test_write(struct file *file, const char __user *ubuf, argument 84 struct seq_file *s = file->private_data; 104 static int ci_port_test_open(struct inode *inode, struct file *file) argument 106 return single_open(file, ci_port_test_show, inode->i_private); 148 static int ci_qheads_open(struct inode *inode, struct file *fil argument 199 ci_requests_open(struct inode *inode, struct file *file) argument 273 ci_otg_open(struct inode *inode, struct file *file) argument 294 ci_role_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument 321 ci_role_open(struct inode *inode, struct file *file) argument 366 ci_registers_open(struct inode *inode, struct file *file) argument [all...] |
/drivers/usb/gadget/function/ |
H A D | f_mass_storage.h | 8 char *file[FSG_MAX_LUNS]; member in struct:fsg_module_parameters 32 _FSG_MODULE_PARAM_ARRAY(prefix, params, file, charp, \
|
H A D | uvc_queue.c | 231 unsigned int uvcg_queue_poll(struct uvc_video_queue *queue, struct file *file, argument 237 ret = vb2_poll(&queue->queue, file, wait);
|
H A D | uvc_v4l2.c | 68 uvc_v4l2_querycap(struct file *file, void *fh, struct v4l2_capability *cap) argument 70 struct video_device *vdev = video_devdata(file); 85 uvc_v4l2_get_format(struct file *file, void *fh, struct v4l2_format *fmt) argument 87 struct video_device *vdev = video_devdata(file); 104 uvc_v4l2_set_format(struct file *file, void *fh, struct v4l2_format *fmt) argument 106 struct video_device *vdev = video_devdata(file); 145 uvc_v4l2_reqbufs(struct file *fil argument 158 uvc_v4l2_querybuf(struct file *file, void *fh, struct v4l2_buffer *b) argument 168 uvc_v4l2_qbuf(struct file *file, void *fh, struct v4l2_buffer *b) argument 183 uvc_v4l2_dqbuf(struct file *file, void *fh, struct v4l2_buffer *b) argument 193 uvc_v4l2_streamon(struct file *file, void *fh, enum v4l2_buf_type type) argument 219 uvc_v4l2_streamoff(struct file *file, void *fh, enum v4l2_buf_type type) argument 249 uvc_v4l2_ioctl_default(struct file *file, void *fh, bool valid_prio, unsigned int cmd, void *arg) argument 284 uvc_v4l2_open(struct file *file) argument 305 uvc_v4l2_release(struct file *file) argument 326 uvc_v4l2_mmap(struct file *file, struct vm_area_struct *vma) argument 335 uvc_v4l2_poll(struct file *file, poll_table *wait) argument 344 uvcg_v4l2_get_unmapped_area(struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) argument [all...] |
/drivers/usb/misc/ |
H A D | idmouse.c | 88 static ssize_t idmouse_read(struct file *file, char __user *buffer, 91 static int idmouse_open(struct inode *inode, struct file *file); 92 static int idmouse_release(struct inode *inode, struct file *file); 101 /* file operation pointers */ 224 static int idmouse_open(struct inode *inode, struct file *file) argument 267 /* save our object in the file' 279 idmouse_release(struct inode *inode, struct file *file) argument 313 idmouse_read(struct file *file, char __user *buffer, size_t count, loff_t * ppos) argument [all...] |
H A D | rio500.c | 77 static int open_rio(struct inode *inode, struct file *file) argument 102 static int close_rio(struct inode *inode, struct file *file) argument 112 static long ioctl_rio(struct file *file, unsigned int cmd, unsigned long arg) argument 271 write_rio(struct file *file, const char __user *buffer, argument 362 read_rio(struct file *file, cha argument [all...] |
H A D | usblcd.c | 6 * This file is licensed under the GPL. See COPYING in the package. * 77 static int lcd_open(struct inode *inode, struct file *file) argument 114 /* save our object in the file's private structure */ 115 file->private_data = dev; 121 static int lcd_release(struct inode *inode, struct file *file) argument 125 dev = file->private_data; 135 static ssize_t lcd_read(struct file *file, cha argument 163 lcd_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 221 lcd_write(struct file *file, const char __user * user_buffer, size_t count, loff_t *ppos) argument [all...] |
/drivers/uwb/ |
H A D | uwb-debug.c | 162 static ssize_t command_write(struct file *file, const char __user *buf, argument 165 struct uwb_rc *rc = file->private_data; 246 static int reservations_open(struct inode *inode, struct file *file) argument 248 return single_open(file, reservations_print, inode->i_private); 274 static int drp_avail_open(struct inode *inode, struct file *file) argument 276 return single_open(file, drp_avail_print, inode->i_private);
|
/drivers/video/fbdev/omap2/dss/ |
H A D | core.c | 117 static int dss_debug_open(struct inode *inode, struct file *file) argument 119 return single_open(file, dss_debug_show, inode->i_private);
|
/drivers/watchdog/ |
H A D | acquirewdt.c | 65 #include <linux/fs.h> /* For file operations */ 121 static ssize_t acq_write(struct file *file, const char __user *buf, argument 148 static long acq_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 193 static int acq_open(struct inode *inode, struct file *file) argument 203 return nonseekable_open(inode, file); 206 static int acq_close(struct inode *inode, struct file *file) argument [all...] |
H A D | advantechwdt.c | 113 static ssize_t advwdt_write(struct file *file, const char __user *buf, argument 135 static long advwdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 193 static int advwdt_open(struct inode *inode, struct file *file) argument 202 return nonseekable_open(inode, file); 205 static int advwdt_close(struct inode *inode, struct file *file) argument
|
H A D | alim1535_wdt.c | 131 * @file: file from VFS 134 * @ppos: pointer to the file offset 136 * Handle a write to the ALi watchdog. Writing to the file pings 141 static ssize_t ali_write(struct file *file, const char __user *data, argument 172 * @file: VFS file pointer 180 static long ali_ioctl(struct file *file, unsigne argument 244 ali_open(struct inode *inode, struct file *file) argument 264 ali_release(struct inode *inode, struct file *file) argument [all...] |
H A D | alim7101_wdt.c | 183 static ssize_t fop_write(struct file *file, const char __user *buf, argument 210 static int fop_open(struct inode *inode, struct file *file) argument 217 return nonseekable_open(inode, file); 220 static int fop_close(struct inode *inode, struct file *file) argument 226 pr_crit("device file closed unexpectedly. Will not stop the WDT!\n"); 233 static long fop_ioctl(struct file *file, unsigne argument [all...] |
H A D | ar7_wdt.c | 170 static int ar7_wdt_open(struct inode *inode, struct file *file) argument 178 return nonseekable_open(inode, file); 181 static int ar7_wdt_release(struct inode *inode, struct file *file) argument 191 static ssize_t ar7_wdt_write(struct file *file, const char *data, argument 215 static long ar7_wdt_ioctl(struct file *file, argument
|
H A D | at32ap700x_wdt.c | 133 static int at32_wdt_open(struct inode *inode, struct file *file) argument 139 return nonseekable_open(inode, file); 145 static int at32_wdt_close(struct inode *inode, struct file *file) argument 216 static long at32_wdt_ioctl(struct file *file, argument 267 static ssize_t at32_wdt_write(struct file *file, const char __user *data, argument
|
H A D | ath79_wdt.c | 126 static int ath79_wdt_open(struct inode *inode, struct file *file) argument 134 return nonseekable_open(inode, file); 137 static int ath79_wdt_release(struct inode *inode, struct file *file) argument 152 static ssize_t ath79_wdt_write(struct file *file, const char *data, argument 186 static long ath79_wdt_ioctl(struct file *file, unsigned int cmd, argument
|
H A D | bcm63xx_wdt.c | 116 static int bcm63xx_wdt_open(struct inode *inode, struct file *file) argument 122 return nonseekable_open(inode, file); 125 static int bcm63xx_wdt_release(struct inode *inode, struct file *file) argument 138 static ssize_t bcm63xx_wdt_write(struct file *file, const char *data, argument 169 static long bcm63xx_wdt_ioctl(struct file *file, unsigned int cmd, argument
|
H A D | bfin_wdt.c | 146 * @file: file handle of device 150 static int bfin_wdt_open(struct inode *inode, struct file *file) argument 163 return nonseekable_open(inode, file); 169 * @file: file handle of device 173 static int bfin_wdt_release(struct inode *inode, struct file *file) argument 190 * @file 197 bfin_wdt_write(struct file *file, const char __user *data, size_t len, loff_t *ppos) argument 232 bfin_wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
H A D | cpu5wdt.c | 139 static int cpu5wdt_open(struct inode *inode, struct file *file) argument 143 return nonseekable_open(inode, file); 146 static int cpu5wdt_release(struct inode *inode, struct file *file) argument 152 static long cpu5wdt_ioctl(struct file *file, unsigned int cmd, argument 191 static ssize_t cpu5wdt_write(struct file *file, const char __user *buf, argument
|
H A D | eurotechwdt.c | 193 * @file: file handle to the watchdog 202 static ssize_t eurwdt_write(struct file *file, const char __user *buf, argument 228 * @file: file handle to the device 236 static long eurwdt_ioctl(struct file *file, argument 306 * @file: file handl 312 eurwdt_open(struct inode *inode, struct file *file) argument 334 eurwdt_release(struct inode *inode, struct file *file) argument [all...] |
H A D | gef_wdt.c | 139 static ssize_t gef_wdt_write(struct file *file, const char __user *data, argument 162 static long gef_wdt_ioctl(struct file *file, unsigned int cmd, argument 222 static int gef_wdt_open(struct inode *inode, struct file *file) argument 232 return nonseekable_open(inode, file); 235 static int gef_wdt_release(struct inode *inode, struct file *file) argument
|
H A D | geodewdt.c | 86 static int geodewdt_open(struct inode *inode, struct file *file) argument 95 return nonseekable_open(inode, file); 98 static int geodewdt_release(struct inode *inode, struct file *file) argument 115 static ssize_t geodewdt_write(struct file *file, const char __user *data, argument 139 static long geodewdt_ioctl(struct file *file, unsigned int cmd, argument
|
H A D | ib700wdt.c | 148 static ssize_t ibwdt_write(struct file *file, const char __user *buf, argument 171 static long ibwdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 232 static int ibwdt_open(struct inode *inode, struct file *file) argument 241 return nonseekable_open(inode, file); 244 static int ibwdt_close(struct inode *inode, struct file *file) argument
|