1PCI_WRITE_LEGACY_IO(9) Hardware Interfaces PCI_WRITE_LEGACY_IO(9)
2
3
4
6 pci_write_legacy_io - write byte(s) to legacy I/O port space
7
9 ssize_t pci_write_legacy_io(struct file * filp, struct kobject * kobj,
10 struct bin_attribute * bin_attr,
11 char * buf, loff_t off, size_t count);
12
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 containing value to be written
25
26 off
27 offset into legacy I/O port space
28
29 count
30 number of bytes to write
31
33 Writes 1, 2, or 4 bytes from legacy I/O port space using an arch
34 specific callback routine (pci_legacy_write).
35
37Kernel Hackers Manual 2.6. June 2019 PCI_WRITE_LEGACY_IO(9)