iPXE
Defines | Functions | Variables
linux_pci.h File Reference

iPXE PCI API for Linux More...

Go to the source code of this file.

Defines

#define PCIAPI_PREFIX_linux   __linux_

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
int linux_pci_read (struct pci_device *pci, unsigned long where, unsigned long *value, size_t len)
int linux_pci_write (struct pci_device *pci, unsigned long where, unsigned long value, size_t len)
static __always_inline int PCIAPI_INLINE (linux, pci_read_config_byte)(struct pci_device *pci
 Read byte from PCI configuration space.

Variables

static __always_inline int
unsigned int 
where

Detailed Description

iPXE PCI API for Linux

Definition in file linux_pci.h.


Define Documentation

#define PCIAPI_PREFIX_linux   __linux_

Definition at line 15 of file linux_pci.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
int linux_pci_read ( struct pci_device pci,
unsigned long  where,
unsigned long *  value,
size_t  len 
)
int linux_pci_write ( struct pci_device pci,
unsigned long  where,
unsigned long  value,
size_t  len 
)
static __always_inline int PCIAPI_INLINE ( linux  ,
pci_read_config_byte   
) [inline, static]

Read byte from PCI configuration space.

Parameters:
pciPCI device
whereLocation within PCI configuration space
valueValue read
Return values:
rcReturn status code

Variable Documentation

__always_inline int unsigned int where

Definition at line 35 of file linux_pci.h.