Lines Matching refs:file
16 * binary sysfs-file in the device directory:
21 * data of device CSRs. This driver exposes debugf-file to perform simple IO
23 * next file is created in the specific debugfs-directory:
28 * So reading the content of the file gives current CSR address and it value.
30 * it can just write a proper value to the sysfs-file:
86 * @ee_file: EEPROM read/write sysfs-file
842 * @filep: Pointer to the file system node
844 * @attr: Attributes of the file
849 static ssize_t eeprom_write(struct file *filp, struct kobject *kobj,
866 * @filep: Pointer to the file system node
868 * @attr: Attributes of the file
873 static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,
890 * @filep: Pointer to the file system file descriptor
893 * @offp: Offset within the file
903 static ssize_t idt_dbgfs_csr_write(struct file *filep, const char __user *ubuf,
987 * @filep: Pointer to the file system file descriptor
990 * @offp: Offset within the file
995 static ssize_t idt_dbgfs_csr_read(struct file *filep, char __user *ubuf,
1292 * Allocate memory for attribute file and copy the declared EEPROM attr
1305 /* Create EEPROM sysfs file */
1328 /* Remove EEPROM sysfs file */
1342 /* Create Debugfs directory for CSR file */
1346 /* Create Debugfs file for CSR read/write operations */