iPXE
|
A PCI device. More...
#include <pci.h>
Data Fields | |
struct device | dev |
Generic device. More... | |
struct dma_device | dma |
DMA device. More... | |
unsigned long | membase |
Memory base. More... | |
unsigned long | ioaddr |
I/O address. More... | |
uint16_t | vendor |
Vendor ID. More... | |
uint16_t | device |
Device ID. More... | |
uint32_t | class |
Device class. More... | |
uint8_t | irq |
Interrupt number. More... | |
uint8_t | hdrtype |
Header type. More... | |
uint32_t | busdevfn |
Segment, bus, device, and function (bus:dev.fn) number. More... | |
struct pci_driver * | driver |
Driver for this device. More... | |
void * | priv |
Driver-private data. More... | |
struct pci_device_id * | id |
Driver device ID. More... | |
struct device pci_device::dev |
Generic device.
Definition at line 208 of file pci.h.
Referenced by a3c90x_probe(), arbel_probe(), atl1e_init_netdev(), atl_probe(), b44_probe(), bnxt_init_one(), efab_probe(), efi_pci_info(), efipci_start(), efipci_stop(), efx_probe(), ehci_probe(), ena_probe(), exanic_probe(), flexboot_nodnic_allocate_infiniband_devices(), forcedeth_probe(), golan_probe_normal(), gve_probe(), hermon_probe(), hunt_probe(), hvm_probe(), hvm_remove(), ice_probe(), icplus_probe(), ifec_pci_probe(), igbvf_probe(), intel_probe(), intelx_probe(), intelxl_probe(), intelxlvf_probe(), intelxvf_probe(), jme_probe(), linda_probe(), myri10ge_pci_probe(), myri10ge_pcidev(), myson_probe(), natsemi_probe(), pci_read_config(), pci_set_driver(), pcibus_probe(), pcibus_remove(), pcnet32_probe(), phantom_probe(), pnic_probe(), qib7322_probe(), rdc_probe(), realtek_probe(), rhine_probe(), rtl818x_probe(), sis190_get_mac_addr_from_apc(), sis190_init_board(), skeleton_probe(), tg3_init_one(), txnic_alloc(), txnic_bgx_probe(), txnic_pf_probe(), uhci_probe(), undipci_probe(), velocity_probe(), virtnet_probe_legacy(), virtnet_probe_modern(), vmxnet3_probe(), vxge_device_register(), and xhci_probe().
struct dma_device pci_device::dma |
DMA device.
Definition at line 210 of file pci.h.
Referenced by atl_probe(), efipci_dma_alloc(), efipci_dma_free(), efipci_dma_map(), efipci_dma_set_mask(), efipci_dma_unmap(), efipci_open(), efipci_stop(), gve_probe(), ice_probe(), intel_probe(), intelx_probe(), intelxl_probe(), intelxlvf_probe(), intelxvf_probe(), rdc_probe(), realtek_probe(), virtnet_probe_legacy(), virtnet_probe_modern(), and xhci_probe().
unsigned long pci_device::membase |
Memory base.
This is the physical address of the first valid memory BAR.
Definition at line 215 of file pci.h.
Referenced by ath5k_probe(), ath_pci_probe(), atl1e_probe(), atl_probe(), b44_probe(), ena_membase(), ena_probe(), ice_probe(), icplus_probe(), intel_probe(), intelx_probe(), intelxl_probe(), intelxlvf_probe(), intelxvf_probe(), jme_probe(), linda_probe(), myri10ge_net_open(), myson_probe(), natsemi_probe(), pci_probe(), pci_read_bases(), prism2_pci_probe(), qib7322_probe(), rdc_probe(), realtek_probe(), rhine_probe(), sis190_init_board(), skeleton_probe(), and velocity_probe().
unsigned long pci_device::ioaddr |
I/O address.
This is the physical address of the first valid I/O BAR.
Definition at line 221 of file pci.h.
Referenced by a3c90x_probe(), amd8111e_probe(), bnx2_init_board(), davicom_probe(), dmfe_probe(), efab_probe(), epic100_probe(), eth_probe(), ifec_pci_probe(), igbvf_probe(), pci_probe(), pci_read_bases(), pci_read_config(), pcnet32_probe(), pcnet32_remove(), pnic_probe(), rhine_probe(), rtl818x_probe(), sis900_probe(), skge_probe(), sundance_probe(), t595_probe(), tlan_probe(), tulip_probe(), uhci_probe(), virtnet_probe_legacy(), and w89c840_probe().
uint16_t pci_device::vendor |
Vendor ID.
Definition at line 223 of file pci.h.
Referenced by a3c90x_probe(), bofm_find_driver(), davicom_probe(), dmfe_probe(), efipci_supported(), hermon_reset(), igbvf_probe(), igbvf_sw_init(), pci_find_driver(), pci_probe(), pci_read_config(), pcibus_probe(), sis190_get_mac_addr_from_apc(), sis900_probe(), sundance_probe(), tlan_probe(), tulip_probe(), undipci_find_rom(), and w89c840_probe().
uint16_t pci_device::device |
Device ID.
Definition at line 225 of file pci.h.
Referenced by a3c90x_probe(), ath5k_attach(), ath5k_hw_attach(), ath_pci_probe(), bofm_find_driver(), davicom_probe(), dmfe_probe(), efipci_supported(), golan_probe_normal(), golan_remove_normal(), igbvf_probe(), igbvf_sw_init(), jme_check_link(), jme_probe(), jme_reset_phy_processor(), pci_find_driver(), pci_probe(), pci_read_config(), pcibus_probe(), shomron_nodnic_is_supported(), sis190_get_mac_addr_from_apc(), sis900_probe(), sundance_probe(), tlan_probe(), tulip_probe(), undipci_find_rom(), virtnet_probe(), vxge_probe(), and w89c840_probe().
uint32_t pci_device::class |
Device class.
Definition at line 227 of file pci.h.
Referenced by efipci_supported(), pci_find_driver(), pci_read_config(), and pcibus_probe().
uint8_t pci_device::irq |
Interrupt number.
Definition at line 229 of file pci.h.
Referenced by amd8111e_probe(), ath_pci_probe(), igbvf_probe(), pci_probe(), pci_read_config(), skge_probe(), sundance_probe(), virtnet_probe_legacy(), and virtnet_probe_modern().
uint8_t pci_device::hdrtype |
Header type.
Definition at line 231 of file pci.h.
Referenced by efipci_supported(), and pci_read_config().
uint32_t pci_device::busdevfn |
Segment, bus, device, and function (bus:dev.fn) number.
Definition at line 233 of file pci.h.
Referenced by bofm_test(), ecam_access(), ecam_read(), ecam_write(), efipci_address(), efipci_discover_any(), efipci_discover_one(), ehci_companion(), ena_membase(), ena_probe(), hunt_probe(), intel_probe(), intelx_probe(), pci_init(), pci_read_config(), pcibios_read(), pcibios_write(), pcibridge_find(), pcidirect_prepare(), phantom_probe(), and undipci_probe().
struct pci_driver* pci_device::driver |
Driver for this device.
Definition at line 235 of file pci.h.
Referenced by pci_probe(), pci_remove(), and pci_set_driver().
void* pci_device::priv |
Driver-private data.
Use pci_set_drvdata() and pci_get_drvdata() to access this field.
Definition at line 241 of file pci.h.
Referenced by pci_get_drvdata(), and pci_set_drvdata().
struct pci_device_id* pci_device::id |
Driver device ID.
Definition at line 243 of file pci.h.
Referenced by ath5k_probe(), atl_probe(), b44_probe(), bnxt_is_pci_vf(), dmfe_probe(), efab_probe(), efi_bofm_supported(), efipci_start(), efipci_supported(), forcedeth_probe(), intel_probe(), natsemi_probe(), pci_probe(), pci_set_driver(), pcnet32_probe(), sundance_probe(), tlan_probe(), tulip_probe(), and xhci_probe().