Go to the source code of this file.
|
typedef | CLIB_PACKED (union{struct{u16 domain;u8 bus;u8 slot:5;u8 function:3;};u32 as_u32;}) vlib_pci_addr_t |
|
vlib_pci_device_info_t * | vlib_pci_get_device_info (vlib_pci_addr_t *addr, clib_error_t **error) |
|
vlib_pci_addr_t * | vlib_pci_get_all_dev_addrs () |
|
vlib_pci_addr_t * | vlib_pci_get_addr (vlib_pci_dev_handle_t h) |
|
uword | vlib_pci_get_private_data (vlib_pci_dev_handle_t h) |
|
void | vlib_pci_set_private_data (vlib_pci_dev_handle_t h, uword private_data) |
|
static void | vlib_pci_free_device_info (vlib_pci_device_info_t *di) |
|
clib_error_t * | vlib_pci_bind_to_uio (vlib_pci_addr_t *addr, char *uio_driver_name) |
|
clib_error_t * | vlib_pci_read_write_config (vlib_pci_dev_handle_t handle, vlib_read_or_write_t read_or_write, uword address, void *data, u32 n_bytes) |
|
static clib_error_t * | vlib_pci_intr_enable (vlib_pci_dev_handle_t h) |
|
static clib_error_t * | vlib_pci_intr_disable (vlib_pci_dev_handle_t h) |
|
static clib_error_t * | vlib_pci_bus_master_enable (vlib_pci_dev_handle_t h) |
|
clib_error_t * | vlib_pci_map_resource (vlib_pci_dev_handle_t h, u32 resource, void **result) |
|
clib_error_t * | vlib_pci_map_resource_fixed (vlib_pci_dev_handle_t h, u32 resource, u8 *addr, void **result) |
|
#define PCI_REGISTER_DEVICE |
( |
|
x, |
|
|
|
... |
|
) |
| |
Value:static void __vlib_add_pci_device_registration_##x (void) \
__attribute__((__constructor__)) ; \
static void __vlib_add_pci_device_registration_##x (void) \
{ \
pm->pci_device_registrations = &x; \
} \
pci_device_registration_t * pci_device_registrations
struct _pci_device_registration pci_device_registration_t
Definition at line 145 of file pci.h.
Definition at line 94 of file pci.h.
typedef CLIB_PACKED |
( |
union{struct{u16 domain;u8 bus;u8 slot:5;u8 function:3;};u32 as_u32;} |
| ) |
|
clib_error_t* vlib_pci_bind_to_uio |
( |
vlib_pci_addr_t * |
addr, |
|
|
char * |
uio_driver_name |
|
) |
| |
vlib_pci_addr_t* vlib_pci_get_all_dev_addrs |
( |
| ) |
|
Definition at line 53 of file pci.c.