1PCI_READ_LEGACY_IO(9)         Hardware Interfaces        PCI_READ_LEGACY_IO(9)
2
3
4

NAME

6       pci_read_legacy_io - read byte(s) from legacy I/O port space
7

SYNOPSIS

9       ssize_t pci_read_legacy_io(struct file * filp, struct kobject * kobj,
10                                  struct bin_attribute * bin_attr, char * buf,
11                                  loff_t off, size_t count);
12

ARGUMENTS

14       filp
15           open sysfs file
16
17       kobj
18           kobject corresponding to file to read from
19
20       bin_attr
21           struct bin_attribute for this file
22
23       buf
24           buffer to store results
25
26       off
27           offset into legacy I/O port space
28
29       count
30           number of bytes to read
31

DESCRIPTION

33       Reads 1, 2, or 4 bytes from legacy I/O port space using an arch
34       specific callback routine (pci_legacy_read).
35
37Kernel Hackers Manual 3.10         June 2019             PCI_READ_LEGACY_IO(9)
Impressum