Go to the source code of this file.
|
void | pci_writeDWord (uint32_t bus, uint32_t device, uint32_t function, uint32_t offset, uint32_t val) |
|
uint32_t | pci_readDWord (uint32_t bus, uint32_t device, uint32_t function, uint32_t offset) |
|
void | pci_GetPCIClass (long classcode, char **base, char **sub, char **prog) |
|
void | pci_GetPCIDevice (uint16_t venID, uint16_t devID, char **chip_name, char **chip_desc) |
|
void | pci_GetPCIVendor (uint16_t venID, char **short_name, char **long_name) |
|
void | pci_Initialize (void) |
|
void | pci_setCommand (uint32_t device_index, uint16_t value) |
|
#define MAX_DEVICE_COUNT 128 |
#define MAX_POSSIBLE_BARS 6 |
#define PCI_BUS_MASTER_CMD (1<<2) |
#define PCI_MASS_STORAGE_DEVICE_CLASS 0x1 |
void pci_GetPCIClass |
( |
long |
classcode, |
|
|
char ** |
base, |
|
|
char ** |
sub, |
|
|
char ** |
prog |
|
) |
| |
void pci_GetPCIDevice |
( |
uint16_t |
venID, |
|
|
uint16_t |
devID, |
|
|
char ** |
chip_name, |
|
|
char ** |
chip_desc |
|
) |
| |
void pci_GetPCIVendor |
( |
uint16_t |
venID, |
|
|
char ** |
short_name, |
|
|
char ** |
long_name |
|
) |
| |
void pci_Initialize |
( |
void |
| ) |
|
uint32_t pci_readDWord |
( |
uint32_t |
bus, |
|
|
uint32_t |
device, |
|
|
uint32_t |
function, |
|
|
uint32_t |
offset |
|
) |
| |
void pci_setCommand |
( |
uint32_t |
device_index, |
|
|
uint16_t |
value |
|
) |
| |
void pci_writeDWord |
( |
uint32_t |
bus, |
|
|
uint32_t |
device, |
|
|
uint32_t |
function, |
|
|
uint32_t |
offset, |
|
|
uint32_t |
val |
|
) |
| |