FreeBSD kernel amd64 PCI device code
|
Go to the source code of this file.
Data Structures | |
struct | pci_iov_bar |
struct | pcicfg_iov |
Macros | |
#define | IOV_RMAN_INITED 0x0001 |
#define | IOV_BUSY 0x0002 |
Functions | |
void | pci_iov_cfg_restore (device_t dev, struct pci_devinfo *dinfo) |
void | pci_iov_cfg_save (device_t dev, struct pci_devinfo *dinfo) |
#define IOV_BUSY 0x0002 |
Definition at line 57 of file pci_iov_private.h.
#define IOV_RMAN_INITED 0x0001 |
Definition at line 56 of file pci_iov_private.h.
void pci_iov_cfg_restore | ( | device_t | dev, |
struct pci_devinfo * | dinfo | ||
) |
Definition at line 796 of file pci_iov.c.
References pcicfg_iov::iov_ctl, pcicfg_iov::iov_num_vfs, pcicfg_iov::iov_page_size, IOV_WRITE, PCIR_SRIOV_CTL, PCIR_SRIOV_NUM_VFS, and PCIR_SRIOV_PAGE_SIZE.
Referenced by pci_cfg_restore().
void pci_iov_cfg_save | ( | device_t | dev, |
struct pci_devinfo * | dinfo | ||
) |
Definition at line 808 of file pci_iov.c.
References pcicfg_iov::iov_ctl, pcicfg_iov::iov_page_size, IOV_READ, PCIR_SRIOV_CTL, and PCIR_SRIOV_PAGE_SIZE.
Referenced by pci_cfg_save().