pci_read_legacy_io (9) Linux Manual Page
pci_read_legacy_io – read byte(s) from legacy I/O port space Synopsis ssize_t pci_read_legacy_io(struct file * filp, struct kobject * kobj, struct bin_attribute * bin_attr, char * buf, loff_t off, size_t count); Arguments filp open sysfs file kobj kobject corresponding to file to read from bin_attr struct bin_attribute for this file buf buffer to store results off offset into legacy I/O port space count number of bytes…
