libhd
5.0
|
structure holding the (raw) PCI data More...
#include <hd.h>
Data Fields | |
struct s_pci_t * | next |
linked list More... | |
unsigned | data_len |
the actual length of the data field More... | |
unsigned | data_ext_len |
max. More... | |
unsigned char | data [256] |
the PCI data More... | |
char * | log |
log messages More... | |
unsigned | flags |
various info, see enum pci_flags More... | |
unsigned | cmd |
PCI_COMMAND. More... | |
unsigned | hdr_type |
PCI_HEADER_TYPE. More... | |
unsigned | secondary_bus |
More... | |
unsigned | bus |
PCI bus #, nothing to do with hw_t.bus. More... | |
unsigned | slot |
unsigned | func |
slot & function More... | |
unsigned | base_class |
unsigned | sub_class |
unsigned | prog_if |
PCI device classes. More... | |
unsigned | dev |
unsigned | vend |
unsigned | sub_dev |
unsigned | sub_vend |
unsigned | rev |
vendor & device ids More... | |
unsigned | irq |
used irq, if any More... | |
uint64_t | base_addr [7] |
I/O or memory base. More... | |
uint64_t | base_len [7] |
I/O or memory ranges. More... | |
unsigned | addr_flags [7] |
I/O or memory address flags. More... | |
uint64_t | rom_base_addr |
memory base for card ROM More... | |
uint64_t | rom_base_len |
memory range for card ROM More... | |
char * | sysfs_id |
sysfs path More... | |
char * | sysfs_bus_id |
sysfs bus id More... | |
char * | modalias |
module alias More... | |
char * | label |
Consistant Device Name (CDN), pci firmware spec 3.1, chapter 4.6.7. More... | |
unsigned | edid_len [6] |
edid record length More... | |
unsigned char | edid_data [6][0x80] |
edid record More... | |
structure holding the (raw) PCI data
unsigned s_pci_t::addr_flags[7] |
I/O or memory address flags.
Referenced by hd_pci_complete_data(), and hd_pci_read_data().
uint64_t s_pci_t::base_addr[7] |
I/O or memory base.
Referenced by dump_pci_data(), hd_pci_complete_data(), and hd_pci_read_data().
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 |
PCI_COMMAND.
Referenced by hd_pci_read_data().
unsigned char s_pci_t::data[256] |
the PCI data
Referenced by dump_pci_data(), hd_pci_read_data(), and pci_cfg_byte().
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 |
the actual length of the data field
Referenced by hd_pci_read_data().
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[6][0x80] |
edid record
Referenced by add_edid_from_file(), and hd_scan_monitor().
unsigned s_pci_t::edid_len[6] |
edid record length
Referenced by add_edid_from_file(), hd_pci_read_data(), and hd_scan_monitor().
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 |
slot & function
Referenced by dump_pci_data(), hd_pci_complete_data(), and hd_pci_read_data().
unsigned s_pci_t::hdr_type |
PCI_HEADER_TYPE.
Referenced by dump_pci_data(), and hd_pci_read_data().
unsigned s_pci_t::irq |
used irq, if any
Referenced by dump_pci_data(), hd_pci_complete_data(), and hd_pci_read_data().
char* s_pci_t::label |
Consistant Device Name (CDN), pci firmware spec 3.1, chapter 4.6.7.
Referenced by hd_pci_complete_data(), and hd_pci_read_data().
char* s_pci_t::log |
log messages
Referenced by dump_pci_data(), and free_hd_detail().
char* s_pci_t::modalias |
module alias
Referenced by hd_pci_complete_data(), and hd_pci_read_data().
struct s_pci_t* s_pci_t::next |
linked list
Referenced by add_pci(), add_pci_data(), add_pci_entry(), and dump_pci_data().
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 |
vendor & device ids
Referenced by dump_pci_data(), hd_pci_complete_data(), and hd_pci_read_data().
uint64_t s_pci_t::rom_base_addr |
memory base for card ROM
Referenced by dump_pci_data().
uint64_t s_pci_t::rom_base_len |
memory range for card ROM
unsigned s_pci_t::secondary_bus |
0 for PCI & CB bridges
Referenced by dump_pci_data(), and hd_pci_read_data().
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 |
sysfs bus id
Referenced by free_hd_detail(), hd_pci_complete_data(), and hd_pci_read_data().
char* s_pci_t::sysfs_id |
sysfs path
Referenced by add_pci(), add_pci_data(), free_hd_detail(), and hd_pci_read_data().
unsigned s_pci_t::vend |
Referenced by dump_pci_data(), hd_pci_complete_data(), and hd_pci_read_data().