Lines Matching refs:file
2 * This file is provided under a GPLv2 license. When using or
3 * redistributing this file, you may do so under that license.
22 * the file called "COPYING".
47 * binary sysfs-file in the device directory:
52 * data of device CSRs. This driver exposes debugf-file to perform simple IO
54 * next file is created in the specific debugfs-directory:
59 * So reading the content of the file gives current CSR address and it value.
61 * it can just write a proper value to the sysfs-file:
117 * @ee_file: EEPROM read/write sysfs-file
873 * @filep: Pointer to the file system node
875 * @attr: Attributes of the file
880 static ssize_t eeprom_write(struct file *filp, struct kobject *kobj,
897 * @filep: Pointer to the file system node
899 * @attr: Attributes of the file
904 static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,
921 * @filep: Pointer to the file system file descriptor
924 * @offp: Offset within the file
934 static ssize_t idt_dbgfs_csr_write(struct file *filep, const char __user *ubuf,
1024 * @filep: Pointer to the file system file descriptor
1027 * @offp: Offset within the file
1032 static ssize_t idt_dbgfs_csr_read(struct file *filep, char __user *ubuf,
1328 /* Allocate memory for attribute file */
1341 /* Create EEPROM sysfs file */
1364 /* Remove EEPROM sysfs file */
1378 /* Create Debugfs directory for CSR file */
1382 /* Create Debugfs file for CSR read/write operations */