Searched refs:file (Results 126 - 150 of 1322) sorted by relevance

1234567891011>>

/drivers/media/radio/
H A Dradio-miropcm20.c198 static int vidioc_querycap(struct file *file, void *priv, argument
201 struct pcm20 *dev = video_drvdata(file);
225 static int vidioc_g_tuner(struct file *file, void *priv, argument
228 struct pcm20 *dev = video_drvdata(file);
254 static int vidioc_s_tuner(struct file *file, void *priv, argument
257 struct pcm20 *dev = video_drvdata(file);
270 static int vidioc_g_frequency(struct file *fil argument
284 vidioc_s_frequency(struct file *file, void *priv, const struct v4l2_frequency *f) argument
381 pcm20_open(struct file *file) argument
399 pcm20_release(struct file *file) argument
[all...]
/drivers/scsi/osd/
H A Dosd_uld.c52 #include <linux/file.h>
94 struct file *file; member in struct:osd_dev_handle
140 static int osd_uld_open(struct inode *inode, struct file *file) argument
146 /* cache osd_uld_device on file handle */
147 file->private_data = oud;
152 static int osd_uld_release(struct inode *inode, struct file *file) argument
154 struct osd_uld_device *oud = file
194 osd_uld_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
223 struct file *file; local
[all...]
/drivers/bluetooth/
H A Dhci_vhci.c260 static ssize_t vhci_read(struct file *file, argument
263 struct vhci_data *data = file->private_data;
278 if (file->f_flags & O_NONBLOCK) {
294 struct file *file = iocb->ki_filp; local
295 struct vhci_data *data = file->private_data;
300 static unsigned int vhci_poll(struct file *file, poll_table *wait) argument
302 struct vhci_data *data = file
320 vhci_open(struct inode *inode, struct file *file) argument
341 vhci_release(struct inode *inode, struct file *file) argument
[all...]
/drivers/input/
H A Dff-core.c39 struct file *file)
45 if (file && ff->effect_owners[effect_id] != file)
104 * @file: owner of the effect
107 struct file *file)
155 ret = check_effect_access(ff, id, file);
173 ff->effect_owners[id] = file;
187 struct file *fil
38 check_effect_access(struct ff_device *ff, int effect_id, struct file *file) argument
106 input_ff_upload(struct input_dev *dev, struct ff_effect *effect, struct file *file) argument
186 erase_effect(struct input_dev *dev, int effect_id, struct file *file) argument
225 input_ff_erase(struct input_dev *dev, int effect_id, struct file *file) argument
244 flush_effects(struct input_dev *dev, struct file *file) argument
[all...]
/drivers/media/usb/tlg2300/
H A Dpd-radio.c20 static int poseidon_fm_close(struct file *filp);
21 static int poseidon_fm_open(struct file *filp);
80 static int poseidon_fm_open(struct file *filp)
121 static int poseidon_fm_close(struct file *filp)
142 static int vidioc_querycap(struct file *file, void *priv, argument
145 struct poseidon *p = video_drvdata(file);
167 static int tlg_fm_vidioc_g_tuner(struct file *file, void *priv, argument
170 struct poseidon *p = video_drvdata(file);
211 fm_get_freq(struct file *file, void *priv, struct v4l2_frequency *argp) argument
254 fm_set_freq(struct file *file, void *priv, const struct v4l2_frequency *argp) argument
286 vidioc_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *vt) argument
[all...]
/drivers/staging/unisys/visorutil/
H A Deasyproc.c16 /** @file *********************************************************************
19 * Note that this file does not know about any module-specific things, nor
55 static ssize_t proc_write_device(struct file *file, const char __user *buffer,
57 static ssize_t proc_write_driver(struct file *file, const char __user *buffer,
71 static int proc_open_driver(struct inode *inode, struct file *file) argument
73 return single_open(file, seq_show_driver, PDE_DATA(inode));
85 static int proc_open_device(struct inode *inode, struct file *fil argument
96 proc_open_device_property(struct inode *inode, struct file *file) argument
335 proc_write_driver(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument
358 proc_write_device(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument
[all...]
/drivers/media/pci/saa7164/
H A Dsaa7164-vbi.c186 static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id id) argument
188 struct saa7164_vbi_fh *fh = file->private_data;
215 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *id) argument
217 struct saa7164_encoder_fh *fh = file->private_data;
224 static int vidioc_enum_input(struct file *file, void *priv, argument
248 static int vidioc_g_input(struct file *file, voi argument
264 vidioc_s_input(struct file *file, void *priv, unsigned int i) argument
283 vidioc_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t) argument
302 vidioc_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *t) argument
309 vidioc_g_frequency(struct file *file, void *priv, struct v4l2_frequency *f) argument
321 vidioc_s_frequency(struct file *file, void *priv, const struct v4l2_frequency *f) argument
371 vidioc_g_ctrl(struct file *file, void *priv, struct v4l2_control *ctl) argument
407 vidioc_s_ctrl(struct file *file, void *priv, struct v4l2_control *ctl) argument
497 vidioc_g_ext_ctrls(struct file *file, void *priv, struct v4l2_ext_controls *ctrls) argument
558 vidioc_try_ext_ctrls(struct file *file, void *priv, struct v4l2_ext_controls *ctrls) argument
622 vidioc_s_ext_ctrls(struct file *file, void *priv, struct v4l2_ext_controls *ctrls) argument
651 vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *cap) argument
674 vidioc_enum_fmt_vid_cap(struct file *file, void *priv, struct v4l2_fmtdesc *f) argument
686 vidioc_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) argument
707 vidioc_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) argument
724 vidioc_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f) argument
781 vidioc_queryctrl(struct file *file, void *priv, struct v4l2_queryctrl *c) argument
997 saa7164_vbi_fmt(struct file *file, void *priv, struct v4l2_format *f) argument
1014 fops_open(struct file *file) argument
1039 fops_release(struct file *file) argument
1090 fops_read(struct file *file, char __user *buffer, size_t count, loff_t *pos) argument
1198 fops_poll(struct file *file, poll_table *wait) argument
[all...]
/drivers/acpi/apei/
H A Derst-dbg.c5 * information to and from a persistent store. This file provide the
44 static int erst_dbg_open(struct inode *inode, struct file *file) argument
51 pos = (int *)&file->private_data;
57 return nonseekable_open(inode, file);
60 static int erst_dbg_release(struct inode *inode, struct file *file) argument
67 static long erst_dbg_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
94 static ssize_t erst_dbg_read(struct file *filp, char __user *ubuf,
164 static ssize_t erst_dbg_write(struct file *fil
[all...]
/drivers/cpufreq/
H A Ds3c24xx-cpufreq-debugfs.c64 static int fops_board_open(struct inode *inode, struct file *file) argument
66 return single_open(file, board_show, NULL);
106 static int fops_info_open(struct inode *inode, struct file *file) argument
108 return single_open(file, info_show, NULL);
163 static int fops_io_open(struct inode *inode, struct file *file) argument
165 return single_open(file, io_show, NULL);
/drivers/misc/mei/
H A Dmain.c45 * @file: pointer to file structure
49 static int mei_open(struct inode *inode, struct file *file) argument
81 file->private_data = cl;
85 return nonseekable_open(inode, file);
97 * @file: pointer to file structure
101 static int mei_release(struct inode *inode, struct file *file) argument
162 mei_read(struct file *file, char __user *ubuf, size_t length, loff_t *offset) argument
302 mei_write(struct file *file, const char __user *ubuf, size_t length, loff_t *offset) argument
424 mei_ioctl_connect_client(struct file *file, struct mei_connect_client_data *data) argument
513 mei_ioctl(struct file *file, unsigned int cmd, unsigned long data) argument
578 mei_compat_ioctl(struct file *file, unsigned int cmd, unsigned long data) argument
594 mei_poll(struct file *file, poll_table *wait) argument
[all...]
/drivers/net/wireless/ath/ath9k/
H A Ddfs_debug.c34 static ssize_t read_file_dfs(struct file *file, char __user *user_buf, argument
37 struct ath_softc *sc = file->private_data;
97 static ssize_t write_file_dfs(struct file *file, const char __user *user_buf, argument
100 struct ath_softc *sc = file->private_data;
119 static ssize_t write_file_simulate_radar(struct file *file, argument
123 struct ath_softc *sc = file->private_data;
/drivers/net/wireless/ath/wcn36xx/
H A Ddebug.c27 static ssize_t read_file_bool_bmps(struct file *file, char __user *user_buf, argument
30 struct wcn36xx *wcn = file->private_data;
53 static ssize_t write_file_bool_bmps(struct file *file, argument
57 struct wcn36xx *wcn = file->private_data;
104 static ssize_t write_file_dump(struct file *file, argument
108 struct wcn36xx *wcn = file->private_data;
/drivers/net/wireless/iwlegacy/
H A Ddebug.c22 * in the file called LICENSE.GPL.
152 /* file operation */
154 static ssize_t il_dbgfs_##name##_read(struct file *file, \
159 static ssize_t il_dbgfs_##name##_write(struct file *file, \
231 il_dbgfs_tx_stats_read(struct file *file, char __user *user_buf, size_t count, argument
235 struct il_priv *il = file->private_data;
271 il_dbgfs_clear_traffic_stats_write(struct file *fil argument
292 il_dbgfs_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
336 il_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
395 il_dbgfs_sram_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
420 il_dbgfs_stations_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
484 il_dbgfs_nvm_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
532 il_dbgfs_channels_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
611 il_dbgfs_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
672 il_dbgfs_interrupt_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
751 il_dbgfs_interrupt_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
772 il_dbgfs_qos_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
797 il_dbgfs_disable_ht40_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
823 il_dbgfs_disable_ht40_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
847 il_dbgfs_tx_queue_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
894 il_dbgfs_rx_queue_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
923 il_dbgfs_ucode_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
932 il_dbgfs_ucode_tx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
941 il_dbgfs_ucode_general_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
950 il_dbgfs_sensitivity_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1049 il_dbgfs_chain_noise_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1120 il_dbgfs_power_save_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1144 il_dbgfs_clear_ucode_stats_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1169 il_dbgfs_rxon_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1182 il_dbgfs_rxon_filter_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1196 il_dbgfs_fh_reg_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1218 il_dbgfs_missed_beacon_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1235 il_dbgfs_missed_beacon_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1260 il_dbgfs_force_reset_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1291 il_dbgfs_force_reset_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1304 il_dbgfs_wd_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/drivers/platform/x86/
H A Ddell-smo8800.c85 static ssize_t smo8800_misc_read(struct file *file, char __user *buf, argument
88 struct smo8800_device *smo8800 = container_of(file->private_data,
119 static int smo8800_misc_open(struct inode *inode, struct file *file) argument
121 struct smo8800_device *smo8800 = container_of(file->private_data,
131 static int smo8800_misc_release(struct inode *inode, struct file *file) argument
133 struct smo8800_device *smo8800 = container_of(file->private_data,
/drivers/staging/comedi/
H A Dcomedi_compat32.c86 static int translated_ioctl(struct file *file, unsigned int cmd, argument
89 if (file->f_op->unlocked_ioctl)
90 return file->f_op->unlocked_ioctl(file, cmd, arg);
96 static int compat_chaninfo(struct file *file, unsigned long arg) argument
126 return translated_ioctl(file, COMEDI_CHANINFO, (unsigned long)chaninfo);
130 static int compat_rangeinfo(struct file *file, unsigne argument
261 compat_cmd(struct file *file, unsigned long arg) argument
278 compat_cmdtest(struct file *file, unsigned long arg) argument
332 compat_insnlist(struct file *file, unsigned long arg) argument
382 compat_insn(struct file *file, unsigned long arg) argument
400 raw_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
449 comedi_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
/drivers/staging/ft1000/ft1000-usb/
H A Dft1000_debug.c43 static int ft1000_open(struct inode *inode, struct file *file);
44 static unsigned int ft1000_poll_dev(struct file *file, poll_table *wait);
45 static long ft1000_ioctl(struct file *file, unsigned int command,
47 static int ft1000_release(struct inode *inode, struct file *file);
150 struct dentry *dir, *file; local
180 file
300 ft1000_open(struct inode *inode, struct file *file) argument
358 ft1000_poll_dev(struct file *file, poll_table *wait) argument
408 ft1000_ioctl(struct file *file, unsigned int command, unsigned long argument) argument
749 ft1000_release(struct inode *inode, struct file *file) argument
[all...]
/drivers/watchdog/
H A Dacquirewdt.c65 #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 Dat91rm9200_wdt.c84 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 Diop_wdt.c96 static int iop_wdt_open(struct inode *inode, struct file *file) argument
104 return nonseekable_open(inode, file);
107 static ssize_t iop_wdt_write(struct file *file, const char *data, size_t len, argument
135 static long iop_wdt_ioctl(struct file *file, argument
190 static int iop_wdt_release(struct inode *inode, struct file *file) argument
H A Dixp4xx_wdt.c11 * This file is licensed under the terms of the GNU General Public
61 static int ixp4xx_wdt_open(struct inode *inode, struct file *file) argument
68 return nonseekable_open(inode, file);
72 ixp4xx_wdt_write(struct file *file, const char *data, size_t len, loff_t *ppos) argument
101 static long ixp4xx_wdt_ioctl(struct file *file, unsigned int cmd, argument
147 static int ixp4xx_wdt_release(struct inode *inode, struct file *file) argument
[all...]
H A Dlantiq_wdt.c82 ltq_wdt_write(struct file *file, const char __user *data, argument
114 ltq_wdt_ioctl(struct file *file, argument
151 ltq_wdt_open(struct inode *inode, struct file *file) argument
158 return nonseekable_open(inode, file);
162 ltq_wdt_release(struct inode *inode, struct file *file) argument
H A Dm54xx_wdt.c14 * This file is licensed under the terms of the GNU General Public
81 static int m54xx_wdt_open(struct inode *inode, struct file *file) argument
88 return nonseekable_open(inode, file);
91 static ssize_t m54xx_wdt_write(struct file *file, const char *data, argument
120 static long m54xx_wdt_ioctl(struct file *file, unsigned int cmd, argument
166 static int m54xx_wdt_release(struct inode *inode, struct file *file) argument
[all...]
H A Dmixcomwd.c133 static int mixcomwd_open(struct inode *inode, struct file *file) argument
153 return nonseekable_open(inode, file);
156 static int mixcomwd_release(struct inode *inode, struct file *file) argument
174 static ssize_t mixcomwd_write(struct file *file, const char __user *data, argument
197 static long mixcomwd_ioctl(struct file *file, argument
H A Dmtx-1_wdt.c126 static int mtx1_wdt_open(struct inode *inode, struct file *file) argument
130 return nonseekable_open(inode, file);
134 static int mtx1_wdt_release(struct inode *inode, struct file *file) argument
140 static long mtx1_wdt_ioctl(struct file *file, unsigned int cmd, argument
180 static ssize_t mtx1_wdt_write(struct file *file, const char *buf, argument
H A Dpnx833x_wdt.c103 static int pnx833x_wdt_open(struct inode *inode, struct file *file) argument
119 return nonseekable_open(inode, file);
122 static int pnx833x_wdt_release(struct inode *inode, struct file *file) argument
133 static ssize_t pnx833x_wdt_write(struct file *file, const char *data, size_t len, loff_t *ppos) argument
142 static long pnx833x_wdt_ioctl(struct file *file, unsigned int cmd, argument

Completed in 1791 milliseconds

1234567891011>>