|
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. | |
| int | pcibios_read (struct pci_device *pci, uint32_t command, uint32_t *value) |
| Read configuration space via PCI BIOS. | |
| int | pcibios_write (struct pci_device *pci, uint32_t command, uint32_t value) |
| Write configuration space via PCI BIOS. | |
| 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__(), __unused, __volatile__(), busdevfn, discard_D, PCI_BUSDEVFN, PCIBIOS_INSTALLATION_CHECK, range, and REAL_CODE.
Referenced by PROVIDE_PCIAPI().
| 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.
Referenced by PCIAPI_INLINE(), and PCIAPI_INLINE().
| 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.
Referenced by PCIAPI_INLINE(), PCIAPI_INLINE(), and PCIAPI_INLINE().
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_can_probe | ) |
References pci_can_probe().
| PROVIDE_PCIAPI | ( | pcbios | , |
| pci_discover | , | ||
| pcibios_discover | ) |
References pci_discover(), and pcibios_discover().
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_read_config_byte | ) |
References pci_read_config_byte().
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_read_config_word | ) |
References pci_read_config_word().
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_read_config_dword | ) |
References pci_read_config_dword().
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_write_config_byte | ) |
References pci_write_config_byte().
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_write_config_word | ) |
References pci_write_config_word().
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_write_config_dword | ) |
References pci_write_config_dword().
| PROVIDE_PCIAPI_INLINE | ( | pcbios | , |
| pci_ioremap | ) |
References pci_ioremap().
| PROVIDE_PCIAPI_RUNTIME | ( | pcbios | , |
| PCIAPI_PRIORITY_PCBIOS | ) |
References PCIAPI_PRIORITY_PCBIOS.