pci_write_legacy_io (9) Linux Manual Page
pci_write_legacy_io – write byte(s) to legacy I/O port space
Synopsis
-
ssize_t pci_write_legacy_io(struct filefilp* , struct kobjectkobj* , struct bin_attributebin_attr* , charbuf* , loff_toff, size_tcount);
Arguments
filp
-
- open sysfs file
kobj
- kobject corresponding to file to read from
bin_attr
- struct bin_attribute for this file
buf
- buffer containing value to be written
off
- offset into legacy I/O port space
count
- number of bytes to write
Description
Writes 1, 2, or 4 bytes from legacy I/O port space using an arch specific callback routine (pci_legacy_write).
