/vbox/src/VBox/Devices/PC/ipxe/src/arch/x86/core/ |
H A D | pcidirect.c | 22 #include <ipxe/pci.h> 33 * @v pci PCI device 36 void pcidirect_prepare ( struct pci_device *pci, int where ) { argument 37 outl ( ( 0x80000000 | ( pci->busdevfn << 8 ) | ( where & ~3 ) ),
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/bus/ |
H A D | pcibackup.c | 22 #include <ipxe/pci.h> 34 * @v pci PCI device 39 pci_backup_excluded ( struct pci_device *pci, unsigned int offset, argument 46 DBGC ( pci, "PCI %p skipping configuration offset " 47 "%02x\n", pci, offset ); 57 * @v pci PCI device 61 void pci_backup ( struct pci_device *pci, struct pci_config_backup *backup, argument 68 if ( ! pci_backup_excluded ( pci, offset, exclude ) ) 69 pci_read_config_dword ( pci, offset, dword ); 76 * @v pci PC 80 pci_restore( struct pci_device *pci, struct pci_config_backup *backup, const uint8_t *exclude ) argument [all...] |
H A D | pciextra.c | 4 #include <ipxe/pci.h> 9 * @v pci PCI device to query 18 int pci_find_capability ( struct pci_device *pci, int cap ) { argument 24 pci_read_config_word ( pci, PCI_STATUS, &status ); 28 pci_read_config_byte ( pci, PCI_HEADER_TYPE, &hdr_type ); 33 pci_read_config_byte ( pci, PCI_CAPABILITY_LIST, &pos ); 36 pci_read_config_byte ( pci, PCI_CB_CAPABILITY_LIST, &pos ); 41 pci_read_config_byte ( pci, pos + PCI_CAP_LIST_ID, &id ); 47 pci_read_config_byte ( pci, pos + PCI_CAP_LIST_NEXT, &pos ); 55 * @v pci PC 62 pci_bar_size( struct pci_device *pci, unsigned int reg ) argument [all...] |
H A D | pci.c | 4 * Based in part on pci.c from Etherboot 5.4, by Ken Yap and David 31 #include <ipxe/pci.h> 44 * @v pci PCI device 55 static unsigned long pci_bar ( struct pci_device *pci, unsigned int reg ) { argument 59 pci_read_config_dword ( pci, reg, &low ); 62 pci_read_config_dword ( pci, reg + 4, &high ); 67 DBGC ( pci, PCI_FMT " unhandled 64-bit BAR " 69 PCI_ARGS ( pci ), high, low ); 80 * @v pci PCI device 91 unsigned long pci_bar_start ( struct pci_device *pci, unsigne argument 277 struct pci_device *pci = NULL; local 347 struct pci_device *pci; local [all...] |
H A D | pcivpd.c | 26 #include <ipxe/pci.h> 40 * @v pci PCI device 43 int pci_vpd_init ( struct pci_vpd *vpd, struct pci_device *pci ) { 46 vpd->pci = pci; 50 vpd->cap = pci_find_capability ( pci, PCI_CAP_ID_VPD ); 53 PCI_ARGS ( pci ) ); 58 PCI_ARGS ( pci ), vpd->cap ); 72 struct pci_device *pci = vpd->pci; local 130 struct pci_device *pci = vpd->pci; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/ |
H A D | efi_pci.h | 23 struct pci_device pci; member in struct:efi_pci_device
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/include/ |
H A D | undirom.h | 25 struct undi_pci_device_id pci; member in union:undi_device_id
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/ |
H A D | pcibios.c | 22 #include <ipxe/pci.h> 57 * @v pci PCI device 62 int pcibios_read ( struct pci_device *pci, uint32_t command, uint32_t *value ){ argument 76 "b" ( pci->busdevfn ) 85 * @v pci PCI device 90 int pcibios_write ( struct pci_device *pci, uint32_t command, uint32_t value ){ argument 102 "b" ( pci->busdevfn ), "c" ( value )
|
/vbox/src/VBox/Devices/PC/ipxe/src/tests/ |
H A D | bofm_test.c | 26 #include <ipxe/pci.h> 98 * @v pci PCI device 100 void bofm_test ( struct pci_device *pci ) { 103 printf ( "BOFMTEST using " PCI_FMT "\n", PCI_ARGS ( pci ) ); 107 bofmtab_harvest.en.busdevfn = pci->busdevfn; 109 bofmrc = bofm ( virt_to_user ( &bofmtab_harvest ), pci ); 121 bofmtab_update.en.busdevfn = pci->busdevfn; 123 bofmrc = bofm ( virt_to_user ( &bofmtab_update ), pci ); 139 struct pci_device pci; local 154 memset ( &pci, [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/nvs/ |
H A D | nvsvpd.c | 24 #include <ipxe/pci.h> 48 struct pci_device *pci = nvsvpd->vpd.pci; local 60 DBGC ( pci, PCI_FMT " NVS VPD could not locate field " 61 PCI_VPD_FIELD_FMT ": %s\n", PCI_ARGS ( pci ), 68 DBGC ( pci, PCI_FMT " NVS VPD cannot read %#02zx bytes " 70 PCI_ARGS ( pci ), len, PCI_VPD_FIELD_ARGS ( field ), 77 DBGC ( pci, PCI_FMT " NVS VPD could not read field " 79 PCI_ARGS ( pci ), PCI_VPD_FIELD_ARGS ( field ), 100 struct pci_device *pci local 149 struct pci_device *pci = nvsvpd->vpd.pci; local 217 struct pci_device *pci = nvsvpd->vpd.pci; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
H A D | pcivpd.h | 16 #include <ipxe/pci.h> 132 struct pci_device *pci; member in struct:pci_vpd 171 extern int pci_vpd_init ( struct pci_vpd *vpd, struct pci_device *pci );
|
H A D | bofm.h | 15 #include <ipxe/pci.h> 288 struct pci_device *pci; member in struct:bofm_device 335 * @v pci PCI device 339 bofm_init ( struct bofm_device *bofm, struct pci_device *pci, argument 341 bofm->pci = pci; 347 extern int bofm_find_driver ( struct pci_device *pci ); 348 extern int bofm ( userptr_t bofmtab, struct pci_device *pci ); 349 extern void bofm_test ( struct pci_device *pci );
|
H A D | edd.h | 92 } __attribute__ (( packed )) pci; member in union:edd_interface_path
|
/vbox/src/VBox/Devices/PC/ipxe/src/interface/efi/ |
H A D | efi_pci.c | 23 #include <ipxe/pci.h> 48 static unsigned long efipci_address ( struct pci_device *pci, argument 50 return EFI_PCI_ADDRESS ( PCI_BUS ( pci->busdevfn ), 51 PCI_SLOT ( pci->busdevfn ), 52 PCI_FUNC ( pci->busdevfn ), 56 int efipci_read ( struct pci_device *pci, unsigned long location, argument 61 efipci_address ( pci, location ), 1, 64 "failed: %s\n", PCI_ARGS ( pci ), 72 int efipci_write ( struct pci_device *pci, unsigned long location, argument 77 efipci_address ( pci, locatio [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/util/ |
H A D | efirom.c | 102 PCI_DATA_STRUCTURE pci __attribute__ (( aligned ( 4 ) )); member in struct:__anon15809 143 offsetof ( typeof ( *headers ), pci ); 144 headers->pci.Signature = PCI_DATA_STRUCTURE_SIGNATURE; 145 headers->pci.VendorId = opts->vendor; 146 headers->pci.DeviceId = opts->device; 147 headers->pci.Length = sizeof ( headers->pci ); 148 headers->pci.ClassCode[0] = PCI_CLASS_NETWORK; 149 headers->pci.ImageLength = ( rom_size / 512 ); 150 headers->pci [all...] |
/vbox/src/VBox/Additions/x11/x11include/libpciaccess-0.10.8/ |
H A D | pciaccess_private.h | 98 struct pci_bridge_info * pci; member in union:pci_device_private::__anon3695
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/ |
H A D | xf86Bus.h | 94 #define pciBusId bus.id.pci 119 } pci; member in union:x_BusAccRec::__anon7521
|
H A D | xf86int10.h | 70 } pci; member in union:__anon7624::__anon7625 198 /* pci.c */
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/ |
H A D | xf86Bus.h | 94 #define pciBusId bus.id.pci 119 } pci; member in union:x_BusAccRec::__anon7890
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.5.3/ |
H A D | xf86Bus.h | 118 } pci; member in union:x_BusAccRec::__anon8246
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/ |
H A D | xf86Bus.h | 118 } pci; member in union:x_BusAccRec::__anon8563
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/ |
H A D | xf86int10.h | 71 } pci; member in union:__anon4777::__anon4778 194 /* pci.c */
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ |
H A D | 3c90x.c | 56 #include <ipxe/pci.h> 608 * @v pci PCI device info 610 static void a3c90x_remove(struct pci_device *pci) argument 612 struct net_device *netdev = pci_get_drvdata(pci); 859 * If this routine is called, the pci functions did find the 863 * @v pci PCI device info 868 static int a3c90x_probe(struct pci_device *pci) argument 878 if (pci->ioaddr == 0) 886 pci_set_drvdata(pci, netdev); 887 netdev->dev = &pci [all...] |
H A D | ns8390.c | 46 #include <ipxe/pci.h> 631 static int eth_probe (struct nic *nic, struct pci_device *pci) argument 638 unsigned short pci_probe_addrs[] = { pci->ioaddr, 0 };
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/tg3/ |
H A D | tg3.c | 9 #include <ipxe/pci.h> 843 static void tg3_remove_one(struct pci_device *pci) argument 846 struct net_device *netdev = pci_get_drvdata(pci);
|