Lines Matching refs:file
666 static ssize_t pci_read_config(struct file *filp, struct kobject *kobj,
741 static ssize_t pci_write_config(struct file *filp, struct kobject *kobj,
837 * @filp: open sysfs file
838 * @kobj: kobject corresponding to file to read from
839 * @bin_attr: struct bin_attribute for this file
847 static ssize_t pci_read_legacy_io(struct file *filp, struct kobject *kobj,
862 * @filp: open sysfs file
863 * @kobj: kobject corresponding to file to read from
864 * @bin_attr: struct bin_attribute for this file
872 static ssize_t pci_write_legacy_io(struct file *filp, struct kobject *kobj,
887 * @filp: open sysfs file
889 * @attr: struct bin_attribute for this file
896 static int pci_mmap_legacy_mem(struct file *filp, struct kobject *kobj,
907 * @filp: open sysfs file
909 * @attr: struct bin_attribute for this file
916 static int pci_mmap_legacy_io(struct file *filp, struct kobject *kobj,
926 * pci_adjust_legacy_attr - adjustment of legacy file attributes
1034 * @attr: struct bin_attribute for the file being mapped
1064 static int pci_mmap_resource_uc(struct file *filp, struct kobject *kobj,
1071 static int pci_mmap_resource_wc(struct file *filp, struct kobject *kobj,
1078 static ssize_t pci_resource_io(struct file *filp, struct kobject *kobj,
1121 static ssize_t pci_read_resource_io(struct file *filp, struct kobject *kobj,
1128 static ssize_t pci_write_resource_io(struct file *filp, struct kobject *kobj,
1237 /* for prefetchable resources, create a WC mappable file */
1255 * @filp: sysfs file
1257 * @bin_attr: struct bin_attribute for this file
1259 * @off: file offset
1264 static ssize_t pci_write_rom(struct file *filp, struct kobject *kobj,
1280 * @filp: sysfs file
1282 * @bin_attr: struct bin_attribute for this file
1284 * @off: file offset
1290 static ssize_t pci_read_rom(struct file *filp, struct kobject *kobj,