/drivers/media/usb/uvc/ |
H A D | uvc_debugfs.c | 32 static int uvc_debugfs_stats_open(struct inode *inode, struct file *file) argument 43 file->private_data = buf; 47 static ssize_t uvc_debugfs_stats_read(struct file *file, char __user *user_buf, argument 50 struct uvc_debugfs_buffer *buf = file->private_data; 56 static int uvc_debugfs_stats_release(struct inode *inode, struct file *file) argument 58 kfree(file->private_data); 59 file [all...] |
/drivers/misc/genwqe/ |
H A D | card_debugfs.c | 38 struct file *file) \ 40 return single_open(file, _showfn, inode->i_private); \ 347 struct dentry *file; local 362 file = debugfs_create_file("ddcb_info", S_IRUGO, root, cd, 364 if (!file) { 369 file = debugfs_create_file("info", S_IRUGO, root, cd, 371 if (!file) { 376 file = debugfs_create_x64("err_inject", 0666, root, &cd->err_inject); 377 if (!file) { [all...] |
/drivers/net/wireless/libertas/ |
H A D | debugfs.c | 24 static ssize_t write_file_dummy(struct file *file, const char __user *buf, argument 32 static ssize_t lbs_dev_info(struct file *file, char __user *userbuf, argument 35 struct lbs_private *priv = file->private_data; 54 static ssize_t lbs_sleepparams_write(struct file *file, argument 58 struct lbs_private *priv = file->private_data; 95 static ssize_t lbs_sleepparams_read(struct file *file, cha argument 123 lbs_host_sleep_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 169 lbs_host_sleep_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 224 lbs_threshold_read(uint16_t tlv_type, uint16_t event_mask, struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 276 lbs_threshold_write(uint16_t tlv_type, uint16_t event_mask, struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 351 lbs_lowrssi_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 359 lbs_lowrssi_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 367 lbs_lowsnr_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 375 lbs_lowsnr_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 383 lbs_failcount_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 391 lbs_failcount_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 399 lbs_highrssi_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 407 lbs_highrssi_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 415 lbs_highsnr_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 423 lbs_highsnr_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 430 lbs_bcnmiss_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 438 lbs_bcnmiss_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 446 lbs_rdmac_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 470 lbs_rdmac_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 493 lbs_wrmac_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 527 lbs_rdbbp_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 552 lbs_rdbbp_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 575 lbs_wrbbp_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 609 lbs_rdrf_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 634 lbs_rdrf_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 657 lbs_wrrf_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 858 lbs_debugfs_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument [all...] |
/drivers/isdn/hardware/eicon/ |
H A D | divasproc.c | 58 divas_read(struct file *file, char __user *buf, size_t count, loff_t *off) argument 97 divas_write(struct file *file, const char __user *buf, size_t count, loff_t *off) argument 102 static unsigned int divas_poll(struct file *file, poll_table *wait) argument 107 static int divas_open(struct inode *inode, struct file *file) argument 109 return nonseekable_open(inode, file); 112 static int divas_close(struct inode *inode, struct file *fil argument 145 grp_opt_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) argument 172 d_l1_down_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) argument 211 d_l1_down_proc_open(struct inode *inode, struct file *file) argument 237 grp_opt_proc_open(struct inode *inode, struct file *file) argument 251 info_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) argument 336 info_proc_open(struct inode *inode, struct file *file) argument [all...] |
/drivers/media/pci/ttpci/ |
H A D | av7110_ca.c | 88 * CI link layer file ops 124 static int ci_ll_reset(struct dvb_ringbuffer *cibuf, struct file *file, argument 150 static ssize_t ci_ll_write(struct dvb_ringbuffer *cibuf, struct file *file, argument 154 int non_blocking = file->f_flags & O_NONBLOCK; 189 static ssize_t ci_ll_read(struct dvb_ringbuffer *cibuf, struct file *file, argument 193 int non_blocking = file->f_flags & O_NONBLOCK; 215 static int dvb_ca_open(struct inode *inode, struct file *fil argument 229 dvb_ca_poll(struct file *file, poll_table *wait) argument 251 dvb_ca_ioctl(struct file *file, unsigned int cmd, void *parg) argument 338 dvb_ca_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 348 dvb_ca_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument [all...] |
/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_fs.c | 6 * General Public License (GPL) Version 2, available from the file 58 static void *ipoib_mcg_seq_start(struct seq_file *file, loff_t *pos) argument 63 iter = ipoib_mcast_iter_init(file->private); 77 static void *ipoib_mcg_seq_next(struct seq_file *file, void *iter_ptr, argument 92 static void ipoib_mcg_seq_stop(struct seq_file *file, void *iter_ptr) argument 97 static int ipoib_mcg_seq_show(struct seq_file *file, void *iter_ptr) argument 113 seq_printf(file, 134 static int ipoib_mcg_open(struct inode *inode, struct file *file) argument 139 ret = seq_open(file, 157 ipoib_path_seq_start(struct seq_file *file, loff_t *pos) argument 176 ipoib_path_seq_next(struct seq_file *file, void *iter_ptr, loff_t *pos) argument 191 ipoib_path_seq_stop(struct seq_file *file, void *iter_ptr) argument 196 ipoib_path_seq_show(struct seq_file *file, void *iter_ptr) argument 239 ipoib_path_open(struct inode *inode, struct file *file) argument [all...] |
/drivers/acpi/acpica/ |
H A D | utbuffer.c | 208 * PARAMETERS: file - File descriptor 220 * DESCRIPTION: Generic dump buffer in both hex and ascii to a file. 225 acpi_ut_dump_buffer_to_file(ACPI_FILE file, argument 234 acpi_ut_file_printf(file, 249 acpi_ut_file_printf(file, "%6.4X: ", (base_offset + i)); 258 acpi_ut_file_printf(file, "%*s", 268 acpi_ut_file_printf(file, "%02X ", 276 acpi_ut_file_printf(file, "%04X ", temp32); 283 acpi_ut_file_printf(file, "%08X ", temp32); 290 acpi_ut_file_printf(file, " [all...] |
/drivers/char/ |
H A D | generic_nvram.c | 34 static loff_t nvram_llseek(struct file *file, loff_t offset, int origin) argument 40 offset += file->f_pos; 51 file->f_pos = offset; 53 return file->f_pos; 56 static ssize_t read_nvram(struct file *file, char __user *buf, argument 73 static ssize_t write_nvram(struct file *file, const char __user *buf, argument 93 static int nvram_ioctl(struct file *fil argument 124 nvram_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
H A D | mem.c | 98 static ssize_t read_mem(struct file *file, char __user *buf, argument 158 static ssize_t write_mem(struct file *file, const char __user *buf, argument 226 int __weak phys_mem_access_prot_allowed(struct file *file, argument 240 static int uncached_access(struct file *file, phys_addr_t addr) argument 250 extern int __uncached_access(struct file *file, 268 phys_mem_access_prot(struct file *file, unsigned long pfn, unsigned long size, pgprot_t vma_prot) argument 282 get_unmapped_area_mem(struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) argument 313 mmap_mem(struct file *file, struct vm_area_struct *vma) argument 349 mmap_kmem(struct file *file, struct vm_area_struct *vma) argument 375 read_kmem(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 502 write_kmem(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 554 read_port(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 572 write_port(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 596 read_null(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 602 write_null(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 651 mmap_zero(struct file *file, struct vm_area_struct *vma) argument 661 write_full(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 672 null_lseek(struct file *file, loff_t offset, int orig) argument 687 memory_lseek(struct file *file, loff_t offset, int orig) argument [all...] |
/drivers/pnp/pnpbios/ |
H A D | proc.c | 12 * The .../escd file is utilized by the lsescd utility written by 15 * The .../legacy_device_resources file is not used yet. 49 static int pnpconfig_proc_open(struct inode *inode, struct file *file) argument 51 return single_open(file, pnpconfig_proc_show, NULL); 76 static int escd_info_proc_open(struct inode *inode, struct file *file) argument 78 return single_open(file, escd_info_proc_show, NULL); 131 static int escd_proc_open(struct inode *inode, struct file *file) argument 161 pnp_legacyres_proc_open(struct inode *inode, struct file *file) argument 204 pnp_devices_proc_open(struct inode *inode, struct file *file) argument 238 pnpbios_proc_open(struct inode *inode, struct file *file) argument 243 pnpbios_proc_write(struct file *file, const char __user *buf, size_t count, loff_t *pos) argument [all...] |
/drivers/scsi/fnic/ |
H A D | fnic_debugfs.c | 48 * file system. If not already created, this routine will create the 94 * When Debugfs is configured this routine removes debugfs file system 110 * fnic_trace_ctrl_open - Open the trace_enable file for fnic_trace 111 * Or Open fc_trace_enable file for fc_trace 113 * @file: The file pointer to attach the trace enable/disable flag. 116 * This routine opens a debugsfs file trace_enable or fc_trace_enable. 121 static int fnic_trace_ctrl_open(struct inode *inode, struct file *filp) 130 * or fc_trace_clear debugfs file 131 * @filp: The file pointe 242 fnic_trace_debugfs_open(struct inode *inode, struct file *file) argument 296 fnic_trace_debugfs_lseek(struct file *file, loff_t offset, int howto) argument 321 fnic_trace_debugfs_read(struct file *file, char __user *ubuf, size_t nbytes, loff_t *pos) argument 347 fnic_trace_debugfs_release(struct inode *inode, struct file *file) argument 532 fnic_reset_stats_open(struct inode *inode, struct file *file) argument 562 fnic_reset_stats_read(struct file *file, char __user *ubuf, size_t cnt, loff_t *ppos) argument 590 fnic_reset_stats_write(struct file *file, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 653 fnic_reset_stats_release(struct inode *inode, struct file *file) argument 674 fnic_stats_debugfs_open(struct inode *inode, struct file *file) argument 717 fnic_stats_debugfs_read(struct file *file, char __user *ubuf, size_t nbytes, loff_t *pos) argument 743 fnic_stats_debugfs_release(struct inode *inode, struct file *file) argument [all...] |
/drivers/media/usb/cpia2/ |
H A D | cpia2_v4l.c | 84 static int cpia2_open(struct file *file) argument 86 struct camera_data *cam = video_drvdata(file); 91 retval = v4l2_fh_open(file); 95 if (v4l2_fh_is_singular_file(file)) { 97 v4l2_fh_release(file); 104 v4l2_fh_release(file); 124 static int cpia2_close(struct file *file) argument 126 struct video_device *dev = video_devdata(file); 153 cpia2_v4l_read(struct file *file, char __user *buf, size_t count, loff_t *off) argument 222 cpia2_querycap(struct file *file, void *fh, struct v4l2_capability *vc) argument 284 cpia2_enum_input(struct file *file, void *fh, struct v4l2_input *i) argument 293 cpia2_g_input(struct file *file, void *fh, unsigned int *i) argument 299 cpia2_s_input(struct file *file, void *fh, unsigned int i) argument 312 cpia2_enum_fmt_vid_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f) argument 348 cpia2_try_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f) argument 410 cpia2_s_fmt_vid_cap(struct file *file, void *_fh, struct v4l2_format *f) argument 460 cpia2_g_fmt_vid_cap(struct file *file, void *fh, struct v4l2_format *f) argument 486 cpia2_cropcap(struct file *file, void *fh, struct v4l2_cropcap *c) argument 521 cpia2_g_parm(struct file *file, void *fh, struct v4l2_streamparm *p) argument 540 cpia2_s_parm(struct file *file, void *fh, struct v4l2_streamparm *p) argument 586 cpia2_enum_framesizes(struct file *file, void *fh, struct v4l2_frmsizeenum *fsize) argument 602 cpia2_enum_frameintervals(struct file *file, void *fh, struct v4l2_frmivalenum *fival) argument 696 cpia2_g_jpegcomp(struct file *file, void *fh, struct v4l2_jpegcompression *parms) argument 737 cpia2_s_jpegcomp(struct file *file, void *fh, const struct v4l2_jpegcompression *parms) argument 787 cpia2_reqbufs(struct file *file, void *fh, struct v4l2_requestbuffers *req) argument 810 cpia2_querybuf(struct file *file, void *fh, struct v4l2_buffer *buf) argument 860 cpia2_qbuf(struct file *file, void *fh, struct v4l2_buffer *buf) argument 916 cpia2_dqbuf(struct file *file, void *fh, struct v4l2_buffer *buf) argument 965 cpia2_streamon(struct file *file, void *fh, enum v4l2_buf_type type) argument 983 cpia2_streamoff(struct file *file, void *fh, enum v4l2_buf_type type) argument 1005 cpia2_mmap(struct file *file, struct vm_area_struct *area) argument [all...] |
/drivers/media/platform/ |
H A D | timblogiw.c | 156 static int timblogiw_g_fmt(struct file *file, void *priv, argument 159 struct video_device *vdev = video_devdata(file); 182 static int timblogiw_try_fmt(struct file *file, void *priv, argument 185 struct video_device *vdev = video_devdata(file); 207 static int timblogiw_s_fmt(struct file *file, void *priv, argument 210 struct video_device *vdev = video_devdata(file); 218 err = timblogiw_try_fmt(file, pri 236 timblogiw_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument 252 timblogiw_enum_fmt(struct file *file, void *priv, struct v4l2_fmtdesc *fmt) argument 271 timblogiw_g_parm(struct file *file, void *priv, struct v4l2_streamparm *sp) argument 284 timblogiw_reqbufs(struct file *file, void *priv, struct v4l2_requestbuffers *rb) argument 295 timblogiw_querybuf(struct file *file, void *priv, struct v4l2_buffer *b) argument 306 timblogiw_qbuf(struct file *file, void *priv, struct v4l2_buffer *b) argument 316 timblogiw_dqbuf(struct file *file, void *priv, struct v4l2_buffer *b) argument 327 timblogiw_g_std(struct file *file, void *priv, v4l2_std_id *std) argument 338 timblogiw_s_std(struct file *file, void *priv, v4l2_std_id std) argument 360 timblogiw_enuminput(struct file *file, void *priv, struct v4l2_input *inp) argument 383 timblogiw_g_input(struct file *file, void *priv, unsigned int *input) argument 395 timblogiw_s_input(struct file *file, void *priv, unsigned int input) argument 406 timblogiw_streamon(struct file *file, void *priv, enum v4l2_buf_type type) argument 422 timblogiw_streamoff(struct file *file, void *priv, enum v4l2_buf_type type) argument 436 timblogiw_querystd(struct file *file, void *priv, v4l2_std_id *std) argument 452 timblogiw_enum_framesizes(struct file *file, void *priv, struct v4l2_frmsizeenum *fsize) argument 608 timblogiw_open(struct file *file) argument 691 timblogiw_close(struct file *file) argument 712 timblogiw_read(struct file *file, char __user *data, size_t count, loff_t *ppos) argument 724 timblogiw_poll(struct file *file, struct poll_table_struct *wait) argument 735 timblogiw_mmap(struct file *file, struct vm_area_struct *vma) argument [all...] |
/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.h | 2 * This file is part of wl1271 40 static ssize_t name## _read(struct file *file, char __user *userbuf, \ 43 struct wl1271 *wl = file->private_data; \ 72 static ssize_t sub## _ ##name## _read(struct file *file, \ 76 struct wl1271 *wl = file->private_data; \ 92 static ssize_t sub## _ ##name## _read(struct file *file, \ 96 struct wl1271 *wl = file [all...] |
/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-module.c | 14 * in the LICENSE file that accompanied this code). 33 * This file is part of Lustre, http://www.lustre.org/ 102 libcfs_psdev_open(struct inode *inode, struct file *file) argument 109 pdu = (struct libcfs_device_userstate **)&file->private_data; 119 libcfs_psdev_release(struct inode *inode, struct file *file) argument 126 pdu = file->private_data; 134 static long libcfs_ioctl(struct file *file, argument [all...] |
/drivers/watchdog/ |
H A D | indydog.c | 66 static int indydog_open(struct inode *inode, struct file *file) argument 80 return nonseekable_open(inode, file); 83 static int indydog_release(struct inode *inode, struct file *file) argument 93 static ssize_t indydog_write(struct file *file, const char *data, argument 102 static long indydog_ioctl(struct file *file, unsigned int cmd, argument
|
/drivers/mfd/ |
H A D | ab8500-debugfs.c | 35 * One can pool this file to get target IRQ occurence information. 1276 * from userspace on sysfs file named <irq-nr> 1337 static int ab8500_registers_open(struct inode *inode, struct file *file) argument 1339 return single_open(file, ab8500_print_bank_registers, inode->i_private); 1432 static int ab8500_all_banks_open(struct inode *inode, struct file *file) argument 1437 err = single_open(file, ab8500_print_all_banks, inode->i_private); 1440 s = (struct seq_file *)file->private_data; 1444 single_release(inode, file); 1464 ab8500_bank_open(struct inode *inode, struct file *file) argument 1469 ab8500_bank_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1496 ab8500_address_open(struct inode *inode, struct file *file) argument 1501 ab8500_address_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1540 ab8500_val_open(struct inode *inode, struct file *file) argument 1545 ab8500_val_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1620 ab8500_interrupts_open(struct inode *inode, struct file *file) argument 1655 ab8500_hwreg_open(struct inode *inode, struct file *file) argument 1720 ab8500_modem_open(struct inode *inode, struct file *file) argument 1750 ab8500_gpadc_bat_ctrl_open(struct inode *inode, struct file *file) argument 1780 ab8500_gpadc_btemp_ball_open(struct inode *inode, struct file *file) argument 1811 ab8500_gpadc_main_charger_v_open(struct inode *inode, struct file *file) argument 1842 ab8500_gpadc_acc_detect1_open(struct inode *inode, struct file *file) argument 1873 ab8500_gpadc_acc_detect2_open(struct inode *inode, struct file *file) argument 1904 ab8500_gpadc_aux1_open(struct inode *inode, struct file *file) argument 1933 ab8500_gpadc_aux2_open(struct inode *inode, struct file *file) argument 1962 ab8500_gpadc_main_bat_v_open(struct inode *inode, struct file *file) argument 1993 ab8500_gpadc_vbus_v_open(struct inode *inode, struct file *file) argument 2022 ab8500_gpadc_main_charger_c_open(struct inode *inode, struct file *file) argument 2053 ab8500_gpadc_usb_charger_c_open(struct inode *inode, struct file *file) argument 2084 ab8500_gpadc_bk_bat_v_open(struct inode *inode, struct file *file) argument 2114 ab8500_gpadc_die_temp_open(struct inode *inode, struct file *file) argument 2144 ab8500_gpadc_usb_id_open(struct inode *inode, struct file *file) argument 2173 ab8540_gpadc_xtal_temp_open(struct inode *inode, struct file *file) argument 2204 ab8540_gpadc_vbat_true_meas_open(struct inode *inode, struct file *file) argument 2241 ab8540_gpadc_bat_ctrl_and_ibat_open(struct inode *inode, struct file *file) argument 2277 ab8540_gpadc_vbat_meas_and_ibat_open(struct inode *inode, struct file *file) argument 2315 ab8540_gpadc_vbat_true_meas_and_ibat_open(struct inode *inode, struct file *file) argument 2352 ab8540_gpadc_bat_temp_and_ibat_open(struct inode *inode, struct file *file) argument 2388 ab8540_gpadc_otp_cal_open(struct inode *inode, struct file *file) argument 2406 ab8500_gpadc_avg_sample_open(struct inode *inode, struct file *file) argument 2412 ab8500_gpadc_avg_sample_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 2451 ab8500_gpadc_trig_edge_open(struct inode *inode, struct file *file) argument 2457 ab8500_gpadc_trig_edge_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 2496 ab8500_gpadc_trig_timer_open(struct inode *inode, struct file *file) argument 2502 ab8500_gpadc_trig_timer_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 2539 ab8500_gpadc_conv_type_open(struct inode *inode, struct file *file) argument 2545 ab8500_gpadc_conv_type_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 2734 ab8500_hwreg_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 2762 ab8500_subscribe_unsubscribe_open(struct inode *inode, struct file *file) argument 2791 ab8500_subscribe_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 2854 ab8500_unsubscribe_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 2965 struct dentry *file; local [all...] |
/drivers/gpu/drm/tegra/ |
H A D | gem.h | 51 struct tegra_bo *tegra_bo_create_with_handle(struct drm_file *file, 57 int tegra_bo_dumb_create(struct drm_file *file, struct drm_device *drm, 59 int tegra_bo_dumb_map_offset(struct drm_file *file, struct drm_device *drm, 62 int tegra_drm_mmap(struct file *file, struct vm_area_struct *vma);
|
/drivers/media/radio/si4713/ |
H A D | radio-platform-si4713.c | 58 /* radio_si4713_fops - file operations interface */ 71 static int radio_si4713_querycap(struct file *file, void *priv, argument 89 static inline struct v4l2_device *get_v4l2_dev(struct file *file) argument 91 return &((struct radio_si4713_device *)video_drvdata(file))->v4l2_dev; 94 static int radio_si4713_g_modulator(struct file *file, void *p, argument 97 return v4l2_device_call_until_err(get_v4l2_dev(file), 0, tuner, 101 static int radio_si4713_s_modulator(struct file *fil argument 108 radio_si4713_g_frequency(struct file *file, void *p, struct v4l2_frequency *vf) argument 115 radio_si4713_s_frequency(struct file *file, void *p, const struct v4l2_frequency *vf) argument 122 radio_si4713_default(struct file *file, void *p, bool valid_prio, unsigned int cmd, void *arg) argument [all...] |
/drivers/dma-buf/ |
H A D | dma-buf.c | 36 static inline int is_dma_buf_file(struct file *); 45 static int dma_buf_release(struct inode *inode, struct file *file) argument 49 if (!is_dma_buf_file(file)) 52 dmabuf = file->private_data; 79 static int dma_buf_mmap_internal(struct file *file, struct vm_area_struct *vma) argument 83 if (!is_dma_buf_file(file)) 86 dmabuf = file->private_data; 96 static loff_t dma_buf_llseek(struct file *fil argument 133 dma_buf_poll(struct file *file, poll_table *poll) argument 262 is_dma_buf_file(struct file *file) argument 290 struct file *file; local 381 struct file *file; local 836 dma_buf_debug_open(struct inode *inode, struct file *file) argument [all...] |
/drivers/infiniband/core/ |
H A D | ucm.c | 7 * General Public License (GPL) Version 2, available from the file 42 #include <linux/file.h> 68 struct file *filp; 82 struct ib_ucm_file *file; member in struct:ib_ucm_context 87 struct list_head file_list; /* member in file ctx list */ 92 struct list_head file_list; /* member in file event list */ 124 static struct ib_ucm_context *ib_ucm_ctx_get(struct ib_ucm_file *file, int id) argument 132 else if (ctx->file != file) 156 mutex_lock(&ctx->file 176 ib_ucm_ctx_alloc(struct ib_ucm_file *file) argument 384 ib_ucm_event(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 469 ib_ucm_create_id(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 516 ib_ucm_destroy_id(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 561 ib_ucm_attr_id(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 593 ib_ucm_init_qp_attr(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 642 ib_ucm_listen(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 668 ib_ucm_notify(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 731 ib_ucm_send_req(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 789 ib_ucm_send_rep(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 829 ib_ucm_send_private_data(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int (*func)(struct ib_cm_id *cm_id, const void *private_data, u8 private_data_len)) argument 858 ib_ucm_send_rtu(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 865 ib_ucm_send_dreq(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 872 ib_ucm_send_drep(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 879 ib_ucm_send_info(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int (*func)(struct ib_cm_id *cm_id, int status, const void *info, u8 info_len, const void *data, u8 data_len)) argument 919 ib_ucm_send_rej(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 926 ib_ucm_send_apr(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 933 ib_ucm_send_mra(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 960 ib_ucm_send_lap(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 994 ib_ucm_send_sidr_req(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 1035 ib_ucm_send_sidr_rep(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int out_len) argument 1103 struct ib_ucm_file *file = filp->private_data; local 1130 struct ib_ucm_file *file = filp->private_data; local 1151 struct ib_ucm_file *file; local 1172 struct ib_ucm_file *file = filp->private_data; local [all...] |
/drivers/isdn/divert/ |
H A D | divert_procfs.c | 84 isdn_divert_read(struct file *file, char __user *buf, size_t count, loff_t *off) argument 89 if (!(inf = *((struct divert_info **) file->private_data))) { 90 if (file->f_flags & O_NONBLOCK) 93 *((struct divert_info **) file->private_data))); 99 file->private_data = &inf->next; /* next structure */ 113 isdn_divert_write(struct file *file, const char __user *buf, size_t count, loff_t *off) argument 123 isdn_divert_poll(struct file *file, poll_tabl argument 183 isdn_divert_ioctl_unlocked(struct file *file, uint cmd, ulong arg) argument 268 isdn_divert_ioctl(struct file *file, uint cmd, ulong arg) argument [all...] |
/drivers/video/adf/ |
H A D | adf_fops32.c | 21 long adf_compat_post_config(struct file *file, argument 46 ret = adf_file_ioctl(file, ADF_POST_CONFIG, (unsigned long)cfg); 57 long adf_compat_get_device_data(struct file *file, argument 84 ret = adf_file_ioctl(file, ADF_GET_DEVICE_DATA, (unsigned long)data); 102 long adf_compat_get_interface_data(struct file *file, argument 125 ret = adf_file_ioctl(file, ADF_GET_INTERFACE_DATA, (unsigned long)data); 157 long adf_compat_get_overlay_engine_data(struct file *fil argument 197 adf_file_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/drivers/ide/ |
H A D | ide-floppy_proc.c | 16 static int idefloppy_capacity_proc_open(struct inode *inode, struct file *file) argument 18 return single_open(file, idefloppy_capacity_proc_show, PDE_DATA(inode));
|
/drivers/media/common/saa7146/ |
H A D | saa7146_fops.c | 193 /* file operations */ 195 static int fops_open(struct file *file) argument 197 struct video_device *vdev = video_devdata(file); 198 struct saa7146_dev *dev = video_drvdata(file); 202 DEB_EE("file:%p, dev:%s\n", file, video_device_node_name(vdev)); 226 file->private_data = &fh->fh; 232 result = saa7146_vbi_uops.open(dev,file); 234 dev->ext_vv_data->vbi_fops.open(file); 260 fops_release(struct file *file) argument 290 fops_mmap(struct file *file, struct vm_area_struct * vma) argument 323 __fops_poll(struct file *file, struct poll_table_struct *wait) argument 362 fops_poll(struct file *file, struct poll_table_struct *wait) argument 373 fops_read(struct file *file, char __user *data, size_t count, loff_t *ppos) argument 404 fops_write(struct file *file, const char __user *data, size_t count, loff_t *ppos) argument [all...] |