Searched defs:file (Results 1 - 25 of 874) sorted by relevance

1234567891011>>

/drivers/ide/
H A Dide-floppy_proc.c16 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/acpi/acpica/
H A Dutbuffer.c208 * 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...]
H A Dutfileio.c3 * Module Name: utfileio - simple file I/O routines
72 * file_length - Length of the file that contains the table
76 * DESCRIPTION: Check table for text mode file corruption where all linefeed
118 * meaning that the table was treated as a text file somewhere.
140 * DESCRIPTION: Load the DSDT from the file pointer
155 /* Get the file size */
197 ("TableHeader length [0x%X] greater than the input file size [0x%X]\n",
274 acpi_os_printf("Error - could not read the table file\n");
290 * DESCRIPTION: Get an ACPI table from a file
297 FILE *file; local
[all...]
/drivers/acpi/
H A Dcustom_method.c22 static ssize_t cm_write(struct file *file, const char __user * user_buf, argument
H A Dbgrt.c54 static ssize_t image_read(struct file *file, struct kobject *kobj, argument
/drivers/char/
H A Dscx200_gpio.c49 static int scx200_gpio_open(struct inode *inode, struct file *file) argument
52 file->private_data = &scx200_gpio_ops;
56 return nonseekable_open(inode, file);
59 static int scx200_gpio_release(struct inode *inode, struct file *file) argument
H A Duv_mmtimer.c4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
41 static long uv_mmtimer_ioctl(struct file *file, unsigned int cmd,
43 static int uv_mmtimer_mmap(struct file *file, struct vm_area_struct *vma);
59 * @file: file structure for the device
84 static long uv_mmtimer_ioctl(struct file *file, unsigne argument
147 uv_mmtimer_mmap(struct file *file, struct vm_area_struct *vma) argument
[all...]
H A Dnsc_gpio.c3 National Semiconductor common GPIO device-file/VFS methods.
41 ssize_t nsc_gpio_write(struct file *file, const char __user *data, argument
44 unsigned m = iminor(file_inode(file));
45 struct nsc_gpio_ops *amp = file->private_data;
104 ssize_t nsc_gpio_read(struct file *file, char __user * buf, argument
107 unsigned m = iminor(file_inode(file));
109 struct nsc_gpio_ops *amp = file->private_data;
118 /* common file
[all...]
/drivers/gpu/drm/exynos/
H A Dexynos_drm_core.c128 int exynos_drm_subdrv_open(struct drm_device *dev, struct drm_file *file) argument
135 ret = subdrv->open(dev, subdrv->dev, file);
146 subdrv->close(dev, subdrv->dev, file);
152 void exynos_drm_subdrv_close(struct drm_device *dev, struct drm_file *file) argument
158 subdrv->close(dev, subdrv->dev, file);
/drivers/gpu/drm/via/
H A Dvia_drv.c33 static int via_driver_open(struct drm_device *dev, struct drm_file *file) argument
42 file->driver_priv = file_priv;
49 static void via_driver_postclose(struct drm_device *dev, struct drm_file *file) argument
51 struct via_file_private *file_priv = file->driver_priv;
/drivers/media/pci/cx23885/
H A Dcx23885-ioctl.c24 int cx23885_g_chip_info(struct file *file, void *fh, argument
27 struct cx23885_dev *dev = video_drvdata(file);
60 int cx23885_g_register(struct file *file, void *fh, argument
63 struct cx23885_dev *dev = video_drvdata(file);
92 int cx23885_s_register(struct file *file, void *fh, argument
95 struct cx23885_dev *dev = video_drvdata(file);
/drivers/misc/mic/card/
H A Dmic_debugfs.c16 * the file called "COPYING".
59 static int mic_intr_test_open(struct inode *inode, struct file *file) argument
61 return single_open(file, mic_intr_test, inode->i_private);
64 static int mic_intr_test_release(struct inode *inode, struct file *file) argument
66 return single_release(inode, file);
/drivers/ras/
H A Ddebugfs.c18 static int trace_open(struct inode *inode, struct file *file) argument
21 return single_open(file, trace_show, NULL);
24 static int trace_release(struct inode *inode, struct file *file) argument
27 return single_release(inode, file);
/drivers/sh/intc/
H A Dvirq-debugfs.c8 * This file is subject to the terms and conditions of the GNU General Public
9 * License. See the file "COPYING" in the main directory of this archive
40 static int intc_irq_xlate_open(struct inode *inode, struct file *file) argument
42 return single_open(file, intc_irq_xlate_debug, inode->i_private);
/drivers/staging/comedi/
H A Dproc.c77 static int comedi_proc_open(struct inode *inode, struct file *file) argument
79 return single_open(file, comedi_read, NULL);
/drivers/usb/mon/
H A Dmon_stat.c26 static int mon_stat_open(struct inode *inode, struct file *file) argument
40 file->private_data = sp;
44 static ssize_t mon_stat_read(struct file *file, char __user *buf, argument
47 struct snap *sp = file->private_data;
52 static int mon_stat_release(struct inode *inode, struct file *file) argument
54 struct snap *sp = file->private_data;
55 file
[all...]
/drivers/video/adf/
H A Dadf_fops32.c21 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/xen/xenfs/
H A Dxenstored.c11 static ssize_t xsd_read(struct file *file, char __user *buf, argument
14 const char *str = (const char *)file->private_data;
18 static int xsd_release(struct inode *inode, struct file *file) argument
20 kfree(file->private_data);
24 static int xsd_kva_open(struct inode *inode, struct file *file) argument
26 file->private_data = (void *)kasprintf(GFP_KERNEL, "0x%p",
28 if (!file
33 xsd_kva_mmap(struct file *file, struct vm_area_struct *vma) argument
55 xsd_port_open(struct inode *inode, struct file *file) argument
[all...]
/drivers/gpu/drm/sis/
H A Dsis_drv.c81 static int sis_driver_open(struct drm_device *dev, struct drm_file *file) argument
90 file->driver_priv = file_priv;
97 static void sis_driver_postclose(struct drm_device *dev, struct drm_file *file) argument
99 struct sis_file_private *file_priv = file->driver_priv;
/drivers/media/platform/vivid/
H A Dvivid-radio-common.c153 int vivid_radio_g_frequency(struct file *file, const unsigned *pfreq, struct v4l2_frequency *vf) argument
161 int vivid_radio_s_frequency(struct file *file, unsigned *pfreq, const struct v4l2_frequency *vf) argument
163 struct vivid_dev *dev = video_drvdata(file);
H A Dvivid-radio-tx.c34 ssize_t vivid_radio_tx_write(struct file *file, const char __user *buf, argument
37 struct vivid_dev *dev = video_drvdata(file);
53 file->private_data != dev->radio_tx_rds_owner) {
57 dev->radio_tx_rds_owner = file->private_data;
76 if (file->f_flags & O_NONBLOCK)
107 unsigned int vivid_radio_tx_poll(struct file *file, struct poll_table_struct *wait) argument
109 return POLLOUT | POLLWRNORM | v4l2_ctrl_poll(file, wait);
112 int vidioc_g_modulator(struct file *fil argument
131 vidioc_s_modulator(struct file *file, void *fh, const struct v4l2_modulator *a) argument
[all...]
/drivers/net/bonding/
H A Dbond_debugfs.c48 static int bond_debug_rlb_hash_open(struct inode *inode, struct file *file) argument
50 return single_open(file, bond_debug_rlb_hash_show, inode->i_private);
/drivers/parisc/
H A Deisa_eeprom.c34 static loff_t eisa_eeprom_llseek(struct file *file, loff_t offset, int origin) argument
36 return fixed_size_llseek(file, offset, origin, HPEE_MAX_LENGTH);
39 static ssize_t eisa_eeprom_read(struct file * file, argument
66 static int eisa_eeprom_open(struct inode *inode, struct file *file) argument
68 if (file->f_mode & FMODE_WRITE)
74 static int eisa_eeprom_release(struct inode *inode, struct file *file) argument
[all...]
/drivers/scsi/qla2xxx/
H A Dqla_dfs.c53 qla2x00_dfs_fce_open(struct inode *inode, struct file *file) argument
74 return single_open(file, qla2x00_dfs_fce_show, vha);
78 qla2x00_dfs_fce_release(struct inode *inode, struct file *file) argument
102 return single_release(inode, file);
/drivers/staging/dgnc/
H A Ddgnc_mgmt.c34 * This file implements the mgmt functionality for the
63 int dgnc_mgmt_open(struct inode *inode, struct file *file) argument
94 int dgnc_mgmt_close(struct inode *inode, struct file *file) argument
118 long dgnc_mgmt_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument

Completed in 112 milliseconds

1234567891011>>