#include <hd.h>
Data Fields | |
| struct s_pci_t * | next |
| linked list | |
| unsigned | data_len |
| the actual length of the data field | |
| unsigned | data_ext_len |
| max. | |
| unsigned char | data [256] |
| the PCI data | |
| char * | log |
| log messages | |
| unsigned | flags |
| various info, see enum pci_flags | |
| unsigned | cmd |
| PCI_COMMAND. | |
| unsigned | hdr_type |
| PCI_HEADER_TYPE. | |
| unsigned | secondary_bus |
| > 0 for PCI & CB bridges | |
| unsigned | bus |
| PCI bus #, *nothing* to do with hw_t.bus. | |
| unsigned | slot |
| unsigned | func |
| slot & function | |
| unsigned | base_class |
| unsigned | sub_class |
| unsigned | prog_if |
| PCI device classes. | |
| unsigned | dev |
| unsigned | vend |
| unsigned | sub_dev |
| unsigned | sub_vend |
| unsigned | rev |
| vendor & device ids | |
| unsigned | irq |
| used irq, if any | |
| uint64_t | base_addr [7] |
| I/O or memory base. | |
| uint64_t | base_len [7] |
| I/O or memory ranges. | |
| unsigned | addr_flags [7] |
| I/O or memory address flags. | |
| uint64_t | rom_base_addr |
| memory base for card ROM | |
| uint64_t | rom_base_len |
| memory range for card ROM | |
| char * | sysfs_id |
| sysfs path | |
| char * | sysfs_bus_id |
| sysfs bus id | |
| char * | modalias |
| module alias | |
| unsigned | edid_len [4] |
| edid record length | |
| unsigned char | edid_data [4][0x80] |
| edid record | |
| unsigned s_pci_t::addr_flags[7] |
| uint64_t s_pci_t::base_addr[7] |
| unsigned s_pci_t::base_class |
Referenced by dump_pci_data(), hd_modinfo_db(), hd_pci_complete_data(), and hd_pci_read_data().
| uint64_t s_pci_t::base_len[7] |
I/O or memory ranges.
Referenced by dump_pci_data(), hd_pci_complete_data(), and hd_pci_read_data().
| unsigned s_pci_t::bus |
PCI bus #, *nothing* to do with hw_t.bus.
Referenced by dump_pci_data(), hd_pci_complete_data(), and hd_pci_read_data().
| unsigned s_pci_t::cmd |
| unsigned char s_pci_t::data[256] |
| unsigned s_pci_t::data_ext_len |
max.
accessed config byte; see code
Referenced by dump_pci_data(), hd_pci_read_data(), and pci_cfg_byte().
| unsigned s_pci_t::data_len |
| unsigned s_pci_t::dev |
Referenced by dump_pci_data(), hd_pci_complete_data(), and hd_pci_read_data().
| unsigned char s_pci_t::edid_data[4][0x80] |
| unsigned s_pci_t::edid_len[4] |
| unsigned s_pci_t::flags |
various info, see enum pci_flags
Referenced by dump_pci_data(), hd_pci_complete_data(), and hd_pci_read_data().
| unsigned s_pci_t::func |
| unsigned s_pci_t::hdr_type |
| unsigned s_pci_t::irq |
| char* s_pci_t::log |
| char* s_pci_t::modalias |
struct s_pci_t* s_pci_t::next [read] |
| unsigned s_pci_t::prog_if |
PCI device classes.
Referenced by dump_pci_data(), hd_modinfo_db(), hd_pci_complete_data(), and hd_pci_read_data().
| unsigned s_pci_t::rev |
| uint64_t s_pci_t::rom_base_addr |
| uint64_t s_pci_t::rom_base_len |
memory range for card ROM
| unsigned s_pci_t::secondary_bus |
| unsigned s_pci_t::slot |
Referenced by dump_pci_data(), hd_pci_complete_data(), and hd_pci_read_data().
| unsigned s_pci_t::sub_class |
Referenced by dump_pci_data(), hd_modinfo_db(), hd_pci_complete_data(), and hd_pci_read_data().
| unsigned s_pci_t::sub_dev |
Referenced by dump_pci_data(), hd_pci_complete_data(), and hd_pci_read_data().
| unsigned s_pci_t::sub_vend |
Referenced by dump_pci_data(), hd_pci_complete_data(), and hd_pci_read_data().
| char* s_pci_t::sysfs_bus_id |
| char* s_pci_t::sysfs_id |
| unsigned s_pci_t::vend |
Referenced by dump_pci_data(), hd_pci_complete_data(), and hd_pci_read_data().