16#define PCIAPI_PREFIX_pcbios
18#define PCIAPI_PREFIX_pcbios __pcbios_
23#define PCIBIOS_INSTALLATION_CHECK 0xb1010000
24#define PCIBIOS_READ_CONFIG_BYTE 0xb1080000
25#define PCIBIOS_READ_CONFIG_WORD 0xb1090000
26#define PCIBIOS_READ_CONFIG_DWORD 0xb10a0000
27#define PCIBIOS_WRITE_CONFIG_BYTE 0xb10b0000
28#define PCIBIOS_WRITE_CONFIG_WORD 0xb10c0000
29#define PCIBIOS_WRITE_CONFIG_DWORD 0xb10d0000
struct arbelprm_rc_send_wqe rc
pseudo_bit_t value[0x00020]
#define __always_inline
Declare a function to be always inline.
#define __unused
Declare a variable or data structure as unused.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
void * ioremap(unsigned long bus_addr, size_t len)
Map bus address as an I/O address.
int pci_read_config_dword(struct pci_device *pci, unsigned int where, uint32_t *value)
Read 32-bit dword from PCI configuration space.
int pci_can_probe(struct pci_device *pci)
Check if PCI bus probing is allowed.
int pci_read_config_word(struct pci_device *pci, unsigned int where, uint16_t *value)
Read 16-bit word from PCI configuration space.
void * pci_ioremap(struct pci_device *pci, unsigned long bus_addr, size_t len)
Map PCI bus address as an I/O address.
int pci_write_config_byte(struct pci_device *pci, unsigned int where, uint8_t value)
Write byte to PCI configuration space.
int pci_write_config_word(struct pci_device *pci, unsigned int where, uint16_t value)
Write 16-bit word to PCI configuration space.
int pci_read_config_byte(struct pci_device *pci, unsigned int where, uint8_t *value)
Read byte from PCI configuration space.
#define PCIAPI_INLINE(_subsys, _api_func)
Calculate static inline PCI I/O API function name.
int pci_write_config_dword(struct pci_device *pci, unsigned int where, uint32_t value)
Write 32-bit dword to PCI configuration space.
#define PCIBIOS_READ_CONFIG_WORD
#define PCIBIOS_WRITE_CONFIG_BYTE
static __always_inline void unsigned long bus_addr
#define PCIBIOS_WRITE_CONFIG_WORD
#define PCIBIOS_READ_CONFIG_BYTE
#define PCIBIOS_WRITE_CONFIG_DWORD
int pcibios_write(struct pci_device *pci, uint32_t command, uint32_t value)
Write configuration space via PCI BIOS.
int pcibios_read(struct pci_device *pci, uint32_t command, uint32_t *value)
Read configuration space via PCI BIOS.
static __always_inline int unsigned int where
#define PCIBIOS_READ_CONFIG_DWORD