FreeBSD kernel amd64 PCI device code
pci_iov_private.h File Reference
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

◆ IOV_BUSY

#define IOV_BUSY   0x0002

Definition at line 57 of file pci_iov_private.h.

◆ IOV_RMAN_INITED

#define IOV_RMAN_INITED   0x0001

Definition at line 56 of file pci_iov_private.h.

Function Documentation

◆ pci_iov_cfg_restore()

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().

Here is the caller graph for this function:

◆ pci_iov_cfg_save()

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().

Here is the caller graph for this function: