/drivers/video/fbdev/ |
H A D | bfin_adv7393fb.c | 337 adv7393_read_proc(struct file *file, char __user *buf, argument 349 adv7393_write_proc(struct file *file, const char __user * buffer, argument 352 struct adv7393fb_device *fbdev = PDE_DATA(file_inode(file));
|
H A D | pxa3xx-gcu.c | 370 static inline struct pxa3xx_gcu_priv *to_pxa3xx_gcu_priv(struct file *file) argument 372 struct miscdevice *dev = file->private_data; 377 * provide an empty .open callback, so the core sets file->private_data 380 static int pxa3xx_gcu_open(struct inode *inode, struct file *file) argument 386 pxa3xx_gcu_write(struct file *file, const char *buff, argument 392 struct pxa3xx_gcu_priv *priv = to_pxa3xx_gcu_priv(file); 462 pxa3xx_gcu_ioctl(struct file *fil argument 482 pxa3xx_gcu_mmap(struct file *file, struct vm_area_struct *vma) argument [all...] |
/drivers/video/fbdev/core/ |
H A D | fb_defio.c | 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file COPYING in the main directory of this archive 69 int fb_deferred_io_fsync(struct file *file, loff_t start, loff_t end, int datasync) argument 71 struct fb_info *info = file->private_data; 72 struct inode *inode = file_inode(file); 219 struct file *file) 221 file->f_mapping->a_ops = &fb_deferred_io_aops; 217 fb_deferred_io_open(struct fb_info *info, struct inode *inode, struct file *file) argument
|
H A D | fbmem.c | 9 * This file is subject to the terms and conditions of the GNU General Public 10 * License. See the file COPYING in the main directory of this archive 714 static int proc_fb_open(struct inode *inode, struct file *file) argument 716 return seq_open(file, &proc_fb_seq_ops); 728 * We hold a reference to the fb_info in file->private_data, 735 static struct fb_info *file_fb_info(struct file *file) argument 737 struct inode *inode = file_inode(file); 741 if (info != file 747 fb_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 812 fb_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 1227 fb_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 1352 fb_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 1392 fb_mmap(struct file *file, struct vm_area_struct * vma) argument [all...] |
/drivers/video/fbdev/mbx/ |
H A D | mbxdebugfs.c | 18 static int open_file_generic(struct inode *inode, struct file *file) argument 20 file->private_data = inode->i_private; 24 static ssize_t write_file_dummy(struct file *file, const char __user *buf, argument 30 static ssize_t sysconf_read_file(struct file *file, char __user *userbuf, argument 46 static ssize_t gsctl_read_file(struct file *file, char __user *userbuf, argument 74 static ssize_t display_read_file(struct file *fil argument 114 clock_read_file(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 137 sdram_read_file(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 159 misc_read_file(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument [all...] |
/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/video/fbdev/via/ |
H A D | viafbdev.c | 1137 static int viafb_dvp0_proc_open(struct inode *inode, struct file *file) argument 1139 return single_open(file, viafb_dvp0_proc_show, NULL); 1142 static ssize_t viafb_dvp0_proc_write(struct file *file, argument 1208 static int viafb_dvp1_proc_open(struct inode *inode, struct file *file) argument 1210 return single_open(file, viafb_dvp1_proc_show, NULL); 1213 static ssize_t viafb_dvp1_proc_write(struct file *file, argument 1271 viafb_dfph_proc_open(struct inode *inode, struct file *file) argument 1276 viafb_dfph_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) argument 1306 viafb_dfpl_proc_open(struct inode *inode, struct file *file) argument 1311 viafb_dfpl_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) argument 1365 viafb_vt1636_proc_open(struct inode *inode, struct file *file) argument 1370 viafb_vt1636_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) argument 1478 viafb_sup_odev_proc_open(struct inode *inode, struct file *file) argument 1526 viafb_iga1_odev_proc_open(struct inode *inode, struct file *file) argument 1531 viafb_iga1_odev_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) argument 1566 viafb_iga2_odev_proc_open(struct inode *inode, struct file *file) argument 1571 viafb_iga2_odev_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) argument [all...] |
/drivers/virt/ |
H A D | fsl_hypervisor.c | 7 * This file is licensed under the terms of the GNU General Public License 16 * 2. A file interface to reading incoming doorbells. 414 static long fsl_hv_ioctl(struct file *file, unsigned int cmd, argument 572 static unsigned int fsl_hv_poll(struct file *filp, struct poll_table_struct *p) 595 static ssize_t fsl_hv_read(struct file *filp, char __user *buf, size_t len, 658 * for that file handle. This queue is used for any incoming doorbells. 660 static int fsl_hv_open(struct inode *inode, struct file *filp) 687 static int fsl_hv_close(struct inode *inode, struct file *filp)
|
/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 | at91rm9200_wdt.c | 84 static int at91_wdt_open(struct inode *inode, struct file *file) argument 90 return nonseekable_open(inode, file); 98 static int at91_wdt_close(struct inode *inode, struct file *file) argument 100 /* Disable the watchdog when file is closed */ 136 static long at91_wdt_ioctl(struct file *file, argument 180 static ssize_t at91_wdt_write(struct file *file, cons argument [all...] |
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 | bcm_kona_wdt.c | 135 static int bcm_kona_dbg_open(struct inode *inode, struct file *file) argument 137 return single_open(file, bcm_kona_wdt_dbg_show, inode->i_private);
|
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 | cpwd.c | 368 static int cpwd_open(struct inode *inode, struct file *f) 400 static int cpwd_release(struct inode *inode, struct file *file) argument 405 static long cpwd_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument 413 struct inode *inode = file_inode(file); 475 static long cpwd_compat_ioctl(struct file *file, unsigned int cmd, argument 486 rval = cpwd_ioctl(file, cmd, arg); 498 static ssize_t cpwd_write(struct file *fil argument 513 cpwd_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) argument [all...] |
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 | f71808e_wdt.c | 464 static int watchdog_open(struct inode *inode, struct file *file) argument 482 return nonseekable_open(inode, file); 485 static int watchdog_release(struct inode *inode, struct file *file) argument 500 * @file: file handle to the watchdog 509 static ssize_t watchdog_write(struct file *file, const char __user *buf, argument 541 * @file 548 watchdog_ioctl(struct file *file, unsigned int cmd, unsigned long arg) 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
|