#include <pci.h>
Data Fields | |
| struct device | dev |
| Generic device. | |
| unsigned long | membase |
| Memory base. | |
| unsigned long | ioaddr |
| I/O address. | |
| uint16_t | vendor |
| Vendor ID. | |
| uint16_t | device |
| Device ID. | |
| uint32_t | class |
| Device class. | |
| uint8_t | irq |
| Interrupt number. | |
| uint8_t | bus |
| Bus number. | |
| uint8_t | devfn |
| Device and function number. | |
| struct pci_driver * | driver |
| Driver for this device. | |
| void * | priv |
| Driver-private data. | |
| const char * | driver_name |
| Driver name. | |
Definition at line 282 of file pci.h.
struct device pci_device::dev [read] |
Generic device.
Definition at line 284 of file pci.h.
Referenced by a3c90x_probe(), arbel_probe(), atl1e_init_netdev(), b44_probe(), e1000_probe(), e1000e_probe(), efab_probe(), hermon_probe(), ifec_pci_probe(), igb_probe(), linda_probe(), mtnic_probe(), myri10ge_pci_probe(), natsemi_probe(), pcibus_probe(), pcibus_remove(), phantom_probe(), pnic_probe(), rtl8169_probe(), rtl818x_probe(), rtl_probe(), sis190_get_mac_addr_from_apc(), sis190_init_board(), skge_devinit(), sky2_init_netdev(), undipci_probe(), and vxge_device_register().
| unsigned long pci_device::membase |
Memory base.
This is the physical address of the first valid memory BAR.
Definition at line 289 of file pci.h.
Referenced by ath5k_probe(), atl1e_probe(), b44_probe(), linda_probe(), myri10ge_net_open(), pci_probe(), pci_read_bases(), prism2_pci_probe(), rtl8169_probe(), and sis190_init_board().
| unsigned long pci_device::ioaddr |
I/O address.
This is the physical address of the first valid I/O BAR.
Definition at line 295 of file pci.h.
Referenced by a3c90x_probe(), amd8111e_probe(), bnx2_init_board(), davicom_probe(), dmfe_probe(), e1000_probe(), e1000e_probe(), efab_probe(), epic100_probe(), eth_probe(), forcedeth_probe(), ifec_pci_probe(), igb_probe(), mtd_probe(), natsemi_probe(), ns83820_probe(), pci_probe(), pci_read_bases(), pcibus_probe(), pcnet32_probe(), pnic_probe(), rhine_probe(), rtl818x_probe(), rtl_probe(), sis900_probe(), skge_probe(), sundance_probe(), t595_probe(), tg3_probe(), tlan_probe(), tulip_probe(), virtnet_probe(), and w89c840_probe().
Vendor ID.
Definition at line 297 of file pci.h.
Referenced by a3c90x_probe(), davicom_probe(), dmfe_probe(), e1000_sw_init(), forcedeth_probe(), igb_probe(), igb_sw_init(), ns83820_probe(), pci_probe(), pcibus_probe(), pcnet32_probe(), sis190_get_mac_addr_from_apc(), sis900_probe(), sundance_probe(), tg3_get_invariants(), tlan_probe(), tulip_probe(), undipci_find_rom(), velocity_probe(), and w89c840_probe().
Device ID.
Definition at line 299 of file pci.h.
Referenced by a3c90x_probe(), ath5k_attach(), ath5k_hw_attach(), davicom_probe(), dmfe_probe(), e1000_sw_init(), e1000e_get_variants_82571(), e1000e_probe(), forcedeth_probe(), igb_probe(), igb_sw_init(), mtd_probe(), ns83820_probe(), pci_probe(), pcibus_probe(), pcnet32_probe(), rhine_probe(), sis190_get_mac_addr_from_apc(), sis900_probe(), sundance_probe(), tg3_get_invariants(), tlan_probe(), tulip_probe(), undipci_find_rom(), velocity_probe(), vxge_probe(), and w89c840_probe().
Device class.
Definition at line 301 of file pci.h.
Referenced by pcibus_probe(), and undipci_probe().
Interrupt number.
Definition at line 303 of file pci.h.
Referenced by amd8111e_probe(), e1000_probe(), e1000e_probe(), igb_probe(), pci_probe(), pcibus_probe(), rhine_probe(), rtl8169_probe(), skge_probe(), sundance_probe(), and virtnet_probe().
Bus number.
Definition at line 305 of file pci.h.
Referenced by adjust_pci_device(), efipci_address(), efipci_read(), efipci_write(), mtnic_init_pci(), pci_probe(), pci_remove(), pcibios_read(), pcibios_write(), pcibus_probe(), pcidirect_prepare(), phantom_map_crb(), undipci_probe(), vxge_probe(), and w89c840_probe().
Device and function number.
Definition at line 307 of file pci.h.
Referenced by adjust_pci_device(), efipci_address(), efipci_read(), efipci_write(), mtnic_init_pci(), pci_probe(), pci_remove(), pcibios_read(), pcibios_write(), pcibus_probe(), pcidirect_prepare(), phantom_map_crb(), phantom_probe(), tg3_get_device_address(), undipci_probe(), vxge_probe(), and w89c840_probe().
struct pci_driver* pci_device::driver [read] |
Driver for this device.
Definition at line 309 of file pci.h.
Referenced by forcedeth_probe(), pci_probe(), and pci_remove().
| void* pci_device::priv |
Driver-private data.
Use pci_set_drvdata() and pci_get_drvdata() to access this field.
Definition at line 315 of file pci.h.
Referenced by pci_get_drvdata(), and pci_set_drvdata().
| const char* pci_device::driver_name |
Driver name.
Definition at line 317 of file pci.h.
Referenced by dmfe_probe(), forcedeth_probe(), mtd_probe(), ns83820_probe(), pci_probe(), pcnet32_probe(), sundance_probe(), tlan_probe(), tulip_probe(), and velocity_probe().
1.5.7.1