|
iPXE
|
PCI configuration space access via PCI BIOS. More...
Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| static void | pcibios_discover (uint32_t busdevfn __unused, struct pci_range *range) |
| Find next PCI bus:dev.fn address range in system. More... | |
| int | pcibios_read (struct pci_device *pci, uint32_t command, uint32_t *value) |
| Read configuration space via PCI BIOS. More... | |
| int | pcibios_write (struct pci_device *pci, uint32_t command, uint32_t value) |
| Write configuration space via PCI BIOS. More... | |
| PROVIDE_PCIAPI_INLINE (pcbios, pci_can_probe) | |
| PROVIDE_PCIAPI (pcbios, pci_discover, pcibios_discover) | |
| PROVIDE_PCIAPI_INLINE (pcbios, pci_read_config_byte) | |
| PROVIDE_PCIAPI_INLINE (pcbios, pci_read_config_word) | |
| PROVIDE_PCIAPI_INLINE (pcbios, pci_read_config_dword) | |
| PROVIDE_PCIAPI_INLINE (pcbios, pci_write_config_byte) | |
| PROVIDE_PCIAPI_INLINE (pcbios, pci_write_config_word) | |
| PROVIDE_PCIAPI_INLINE (pcbios, pci_write_config_dword) | |
| PROVIDE_PCIAPI_INLINE (pcbios, pci_ioremap) | |
| PROVIDE_PCIAPI_RUNTIME (pcbios, PCIAPI_PRIORITY_PCBIOS) | |
PCI configuration space access via PCI BIOS.
Definition in file pcibios.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
Find next PCI bus:dev.fn address range in system.
| busdevfn | Starting PCI bus:dev.fn address |
| range | PCI bus:dev.fn address range to fill in |
Definition at line 42 of file pcibios.c.
References __asm__(), __volatile__(), pci_range::count, discard_D, PCI_BUSDEVFN, PCIBIOS_INSTALLATION_CHECK, range, REAL_CODE, and pci_range::start.
| int pcibios_read | ( | struct pci_device * | pci, |
| uint32_t | command, | ||
| uint32_t * | value | ||
| ) |
Read configuration space via PCI BIOS.
| pci | PCI device |
| command | PCI BIOS command |
| value | Value read |
| rc | Return status code |
Definition at line 77 of file pcibios.c.
References __asm__(), __volatile__(), pci_device::busdevfn, discard_D, REAL_CODE, status, and value.
| int pcibios_write | ( | struct pci_device * | pci, |
| uint32_t | command, | ||
| uint32_t | value | ||
| ) |
Write configuration space via PCI BIOS.
| pci | PCI device |
| command | PCI BIOS command |
| value | Value to be written |
| rc | Return status code |
Definition at line 105 of file pcibios.c.
References __asm__(), __volatile__(), pci_device::busdevfn, discard_c, discard_D, REAL_CODE, status, and value.
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_can_probe | |||
| ) |
| PROVIDE_PCIAPI | ( | pcbios | , |
| pci_discover | , | ||
| pcibios_discover | |||
| ) |
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_read_config_byte | |||
| ) |
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_read_config_word | |||
| ) |
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_read_config_dword | |||
| ) |
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_write_config_byte | |||
| ) |
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_write_config_word | |||
| ) |
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_write_config_dword | |||
| ) |
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_ioremap | |||
| ) |
| PROVIDE_PCIAPI_RUNTIME | ( | pcbios | , |
| PCIAPI_PRIORITY_PCBIOS | |||
| ) |
1.8.15