Searched refs:file (Results 76 - 100 of 3441) sorted by path

1234567891011>>

/linux-master/drivers/char/
H A Dnwbutton.c24 #define __NWBUTTON_C /* Tell the header file who we are */
168 static int button_read (struct file *filp, char __user *buffer,
180 * This structure is the file operations structure, which specifies what
194 * and the address of the above file operations structure.
H A Dpc8736x_gpio.c221 static int pc8736x_gpio_open(struct inode *inode, struct file *file) argument
224 file->private_data = &pc8736x_gpio_ops;
230 return nonseekable_open(inode, file);
H A Dscx200_gpio.c50 static int scx200_gpio_open(struct inode *inode, struct file *file) argument
53 file->private_data = &scx200_gpio_ops;
57 return nonseekable_open(inode, file);
60 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...]
/linux-master/drivers/char/tpm/
H A Dtpm-dev.c13 * Device file system interface to the TPM
18 static int tpm_open(struct inode *inode, struct file *file) argument
37 tpm_common_open(file, chip, priv, NULL);
47 * Called on file close
49 static int tpm_release(struct inode *inode, struct file *file) argument
51 struct file_priv *priv = file->private_data;
53 tpm_common_release(file, priv);
/linux-master/drivers/crypto/ccp/
H A Dccp-debugfs.c42 static ssize_t ccp5_debugfs_info_read(struct file *filp, char __user *ubuf,
97 static ssize_t ccp5_debugfs_stats_read(struct file *filp, char __user *ubuf,
174 static ssize_t ccp5_debugfs_stats_write(struct file *filp,
191 static ssize_t ccp5_debugfs_queue_read(struct file *filp, char __user *ubuf,
245 static ssize_t ccp5_debugfs_queue_write(struct file *filp,
/linux-master/drivers/firmware/google/
H A Dmemconsole.c16 static ssize_t memconsole_read(struct file *filp, struct kobject *kobp,
/linux-master/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_framebuffer.h39 komeda_fb_create(struct drm_device *dev, struct drm_file *file,
/linux-master/drivers/gpu/drm/i915/
H A Di915_query.h13 int i915_query_ioctl(struct drm_device *dev, void *data, struct drm_file *file);
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_ioctl.h5 long nouveau_compat_ioctl(struct file *, unsigned int cmd, unsigned long arg);
6 long nouveau_drm_ioctl(struct file *, unsigned int cmd, unsigned long arg);
/linux-master/drivers/gpu/drm/radeon/
H A Dmkregtable.c191 FILE *file; local
209 file = fopen(filename, "r");
210 if (file == NULL) {
214 fseek(file, 0, SEEK_END);
215 end = ftell(file);
216 fseek(file, 0, SEEK_SET);
219 if (fgets(buf, 1024, file) == NULL) {
220 fclose(file);
231 if (fgets(buf, 1024, file) == NULL) {
232 fclose(file);
[all...]
/linux-master/drivers/hid/
H A Dhid-picolcd_debugfs.c32 static int picolcd_debug_reset_open(struct inode *inode, struct file *f)
37 static ssize_t picolcd_debug_reset_write(struct file *f, const char __user *user_buf,
70 * The "eeprom" file
72 static ssize_t picolcd_debug_eeprom_read(struct file *f, char __user *u,
111 static ssize_t picolcd_debug_eeprom_write(struct file *f, const char __user *u,
166 * The "flash" file
215 static ssize_t picolcd_debug_flash_read(struct file *f, char __user *u,
298 static ssize_t picolcd_debug_flash_write(struct file *f, const char __user *u,
H A Dhid-roccat-common.c130 ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj,
153 ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj,
H A Dhid-roccat-common.h40 ssize_t roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj,
43 ssize_t roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj,
48 static ssize_t roccat_common2_sysfs_write_ ## thingy(struct file *fp, \
57 static ssize_t roccat_common2_sysfs_read_ ## thingy(struct file *fp, \
/linux-master/drivers/hsi/clients/
H A Dhsi_char.c412 static ssize_t hsc_read(struct file *file, char __user *buf, size_t len, argument
415 struct hsc_channel *channel = file->private_data;
471 static ssize_t hsc_write(struct file *file, const char __user *buf, size_t len, argument
474 struct hsc_channel *channel = file->private_data;
525 static long hsc_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
527 struct hsc_channel *channel = file->private_data;
589 static int hsc_open(struct inode *inode, struct file *fil argument
633 hsc_release(struct inode *inode __maybe_unused, struct file *file) argument
[all...]
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_debugfs.c6 * General Public License (GPL) Version 2, available from the file
50 static int _##name##_open(struct inode *inode, struct file *s) \
H A Dqib_diag.c8 * General Public License (GPL) Version 2, available from the file
36 * This file contains support for diagnostic functions. It is accessed by
131 static int qib_diag_open(struct inode *in, struct file *fp);
132 static int qib_diag_release(struct inode *in, struct file *fp);
133 static ssize_t qib_diag_read(struct file *fp, char __user *data,
135 static ssize_t qib_diag_write(struct file *fp, const char __user *data,
151 static ssize_t qib_diagpkt_write(struct file *fp, const char __user *data,
508 static int qib_diag_open(struct inode *in, struct file *fp)
542 * @fp: the diag data device file pointer
547 static ssize_t qib_diagpkt_write(struct file *f
[all...]
/linux-master/drivers/input/
H A Dmousedev.c404 static int mousedev_fasync(int fd, struct file *file, int on) argument
406 struct mousedev_client *client = file->private_data;
408 return fasync_helper(fd, file, on, &client->fasync);
520 static int mousedev_release(struct inode *inode, struct file *file) argument
522 struct mousedev_client *client = file->private_data;
533 static int mousedev_open(struct inode *inode, struct file *file) argument
560 file
674 mousedev_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument
716 mousedev_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) argument
758 mousedev_poll(struct file *file, poll_table *wait) argument
[all...]
/linux-master/drivers/input/serio/
H A Duserio.c76 static int userio_char_open(struct inode *inode, struct file *file) argument
97 file->private_data = userio;
102 static int userio_char_release(struct inode *inode, struct file *file) argument
104 struct userio_device *userio = file->private_data;
121 static ssize_t userio_char_read(struct file *file, char __user *user_buffer, argument
124 struct userio_device *userio = file->private_data;
134 * until we have data (unless the file descripto
179 userio_char_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument
251 userio_char_poll(struct file *file, poll_table *wait) argument
[all...]
/linux-master/drivers/media/common/b2c2/
H A Dflexcop-common.h4 * flexcop-common.h - common header file for device-specific source files
24 #warning please define a log prefix for your file, using a default one
/linux-master/drivers/media/pci/cx18/
H A Dcx18-ioctl.h15 int cx18_s_std(struct file *file, void *fh, v4l2_std_id std);
16 int cx18_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
17 int cx18_s_input(struct file *file, void *fh, unsigned int inp);
/linux-master/drivers/media/pci/cx23885/
H A Dcx23885-ioctl.c14 int cx23885_g_chip_info(struct file *file, void *fh, argument
17 struct cx23885_dev *dev = video_drvdata(file);
50 int cx23885_g_register(struct file *file, void *fh, argument
53 struct cx23885_dev *dev = video_drvdata(file);
82 int cx23885_s_register(struct file *file, void *fh, argument
85 struct cx23885_dev *dev = video_drvdata(file);
H A Dcx23885-ioctl.h13 int cx23885_g_chip_info(struct file *file, void *fh,
17 int cx23885_g_register(struct file *file, void *fh,
21 int cx23885_s_register(struct file *file, void *fh,
H A Dcx23885-vbi.c36 int cx23885_vbi_fmt(struct file *file, void *priv, argument
39 struct cx23885_dev *dev = video_drvdata(file);
/linux-master/drivers/media/pci/ivtv/
H A Divtv-fileops.c3 file operation functions
27 /* This function tries to claim the stream for a specific file descriptor.
42 /* yes, this file descriptor did. So that's OK. */
48 the file descriptor to this stream for external
129 /* VBI stream still claimed by a file descriptor */
254 /* return if file was opened with O_NONBLOCK */
493 ssize_t ivtv_v4l2_read(struct file * filp, char __user *buf, size_t count, loff_t * pos)
536 static ssize_t ivtv_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos)
708 ssize_t ivtv_v4l2_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos)
721 __poll_t ivtv_v4l2_dec_poll(struct file *fil
[all...]

Completed in 226 milliseconds

1234567891011>>