|
| 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 (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) |
|
PCI configuration space access via PCI BIOS.
Definition in file pcibios.c.
Find next PCI bus:dev.fn address range in system.
- Parameters
-
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.
53 "movzbw %%cl, %%cx\n\t" 58 :
"=c" ( num_bus ),
"=a" ( discard_a ),
uint32_t start
Starting bus:dev.fn address.
static __always_inline void struct pci_range * range
#define PCI_BUSDEVFN(segment, bus, slot, func)
#define PCIBIOS_INSTALLATION_CHECK
__asm__ __volatile__("\n1:\n\t" "movb -1(%3,%1), %%al\n\t" "stosb\n\t" "loop 1b\n\t" "xorl %%eax, %%eax\n\t" "mov %4, %1\n\t" "rep stosb\n\t" :"=&D"(discard_D), "=&c"(discard_c), "+m"(*value) :"r"(data), "g"(pad_len), "0"(value0), "1"(len) :"eax")
unsigned int count
Number of bus:dev.fn addresses within this range.
__asm__(".section \".rodata\", \"a\", " PROGBITS "\n\t" "\nprivate_key_data:\n\t" ".size private_key_data, ( . - private_key_data )\n\t" ".equ private_key_len, ( . - private_key_data )\n\t" ".previous\n\t")
#define REAL_CODE(asm_code_str)
References __asm__(), __volatile__(), pci_range::count, discard_D, PCI_BUSDEVFN, PCIBIOS_INSTALLATION_CHECK, range, REAL_CODE, and pci_range::start.