Searched refs:PCI_SRIOV_CTRL (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/pci/ |
H A D | iov.c | 678 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl); in sriov_enable() 694 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl); in sriov_enable() 726 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl); in sriov_disable() 750 pci_read_config_word(dev, pos + PCI_SRIOV_CTRL, &ctrl); in sriov_init() 752 pci_write_config_word(dev, pos + PCI_SRIOV_CTRL, 0); in sriov_init() 766 pci_write_config_word(dev, pos + PCI_SRIOV_CTRL, ctrl); in sriov_init() 868 pci_read_config_word(dev, iov->pos + PCI_SRIOV_CTRL, &ctrl); in sriov_restore_state() 878 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, ctrl); in sriov_restore_state() 885 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl); in sriov_restore_state() 961 pci_read_config_word(dev, iov->pos + PCI_SRIOV_CTRL, &cmd); in pci_iov_update_resource()
|
/openbmc/qemu/hw/pci/ |
H A D | pcie_sriov.c | 66 pci_set_word(wmask + PCI_SRIOV_CTRL, in pcie_sriov_pf_init() 237 if (range_covers_byte(off, len, PCI_SRIOV_CTRL)) { in pcie_sriov_config_write() 259 pci_set_word(dev->config + sriov_cap + PCI_SRIOV_CTRL, 0); in pcie_sriov_pf_reset()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pci_regs.h | 945 #define PCI_SRIOV_CTRL 0x08 /* SR-IOV Control */ macro
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | pci_regs.h | 948 #define PCI_SRIOV_CTRL 0x08 /* SR-IOV Control */ macro
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | eeh.c | 1789 pos += PCI_SRIOV_CTRL; in eeh_debugfs_break_device()
|
/openbmc/linux/drivers/crypto/hisilicon/ |
H A D | qm.c | 4090 pci_read_config_word(pdev, pos + PCI_SRIOV_CTRL, &sriov_ctrl); in qm_set_vf_mse() 4095 pci_write_config_word(pdev, pos + PCI_SRIOV_CTRL, sriov_ctrl); in qm_set_vf_mse() 4098 pci_read_config_word(pdev, pos + PCI_SRIOV_CTRL, &sriov_ctrl); in qm_set_vf_mse()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.c | 1128 pci_read_config_word(dev, pos + PCI_SRIOV_CTRL, &iov->ctrl); in bnx2x_sriov_pci_cfg_info()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_sriov.c | 346 pci_read_config_word(cdev->pdev, pos + PCI_SRIOV_CTRL, &iov->ctrl); in qed_iov_pci_cfg_info()
|