|
|
- Info
PCI bus access
The DDE Kit provides exactly one virtual PCI bus.
Functions
Public functions
dde_kit_pci_get_devfn
Get device-function descriptor
| dde_kit_pci_dev * |
dev |
Device handle |
- Return
-
unsigned char Combined device-function id
dde_kit_pci_init
dde_kit_pci_readb
Read byte from PCI config space
| int |
slot |
Slot number |
| int |
func |
Function number |
| int |
pos |
Offset in config space |
| dde_kit_uint8_t * |
val |
|
- Return
-
int 0 success, -1 otherwise
dde_kit_pci_readl
Read dword from PCI config space
| int |
slot |
Slot number |
| int |
func |
Function number |
| int |
pos |
Offset in config space |
| dde_kit_uint32_t * |
val |
|
- Return
-
int 0 success, -1 otherwise
dde_kit_pci_readw
Read word from PCI config space
| int |
slot |
Slot number |
| int |
func |
Function number |
| int |
pos |
Offset in config space |
| dde_kit_uint16_t * |
val |
|
- Return
-
int 0 success, -1 otherwise
dde_kit_pci_writeb
Write byte to PCI config space
| int |
slot |
Slot numer |
| int |
func |
Function number |
| int |
pos |
Offset in config space |
| dde_kit_uint8_t |
val |
Value to write |
- Return
-
int 0 success, -1 otherwise
dde_kit_pci_writel
Write dword to PCI config space.
| int |
slot |
Slot numer |
| int |
func |
Function number |
| int |
pos |
Offset in config space |
| dde_kit_uint32_t |
val |
Value to write |
- Return
-
int 0 success, -1 otherwise
dde_kit_pci_writew
Write word to PCI config space
| int |
slot |
Slot numer |
| int |
func |
Function number |
| int |
pos |
Offset in config space |
| dde_kit_uint16_t |
val |
Value to write |
- Return
-
int 0 success, -1 otherwise
|