Home
last modified time | relevance | path

Searched refs:PCI_SRIOV_CTRL (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/pci/
H A Diov.c678 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 Dpcie_sriov.c66 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 Dpci_regs.h945 #define PCI_SRIOV_CTRL 0x08 /* SR-IOV Control */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h948 #define PCI_SRIOV_CTRL 0x08 /* SR-IOV Control */ macro
/openbmc/linux/arch/powerpc/kernel/
H A Deeh.c1789 pos += PCI_SRIOV_CTRL; in eeh_debugfs_break_device()
/openbmc/linux/drivers/crypto/hisilicon/
H A Dqm.c4090 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 Dbnx2x_sriov.c1128 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 Dqed_sriov.c346 pci_read_config_word(cdev->pdev, pos + PCI_SRIOV_CTRL, &iov->ctrl); in qed_iov_pci_cfg_info()