/openbmc/linux/drivers/pci/msi/ |
H A D | pcidev_msi.c | 38 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in pci_msix_init() 40 pci_write_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, in pci_msix_init()
|
H A D | msi.c | 551 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in pci_msix_clear_and_set_ctrl() 554 pci_write_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, ctrl); in pci_msix_clear_and_set_ctrl() 722 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &control); in msix_capability_init()
|
H A D | api.c | 78 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &control); in pci_msix_vec_count()
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | pci.c | 281 val = qpci_config_readw(dev, addr + PCI_MSIX_FLAGS); in qpci_msix_enable() 282 qpci_config_writew(dev, addr + PCI_MSIX_FLAGS, val | PCI_MSIX_FLAGS_ENABLE); in qpci_msix_enable() 309 val = qpci_config_readw(dev, addr + PCI_MSIX_FLAGS); in qpci_msix_disable() 310 qpci_config_writew(dev, addr + PCI_MSIX_FLAGS, in qpci_msix_disable() 345 val = qpci_config_readw(dev, addr + PCI_MSIX_FLAGS); in qpci_msix_masked() 364 control = qpci_config_readw(dev, addr + PCI_MSIX_FLAGS); in qpci_msix_table_size()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_pci_vfio.c | 255 pdev->msix_cap + PCI_MSIX_FLAGS, in spapr_phb_vfio_eeh_clear_dev_msix() 259 pdev->msix_cap + PCI_MSIX_FLAGS, in spapr_phb_vfio_eeh_clear_dev_msix()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_irq.c | 249 pci_read_config_word(adev->pdev, adev->pdev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in amdgpu_restore_msix() 255 pci_write_config_word(adev->pdev, adev->pdev->msix_cap + PCI_MSIX_FLAGS, ctrl); in amdgpu_restore_msix() 257 pci_write_config_word(adev->pdev, adev->pdev->msix_cap + PCI_MSIX_FLAGS, ctrl); in amdgpu_restore_msix()
|
/openbmc/linux/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-ep.c | 279 reg = cap + PCI_MSIX_FLAGS; in cdns_pcie_ep_get_msix() 300 reg = cap + PCI_MSIX_FLAGS; in cdns_pcie_ep_set_msix() 503 flags = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_MSIX_FLAGS); in cdns_pcie_ep_send_msix_irq()
|
/openbmc/linux/drivers/xen/xen-pciback/ |
H A D | conf_space_capability.c | 260 .offset = PCI_MSIX_FLAGS,
|
H A D | conf_space.c | 306 dev->msix_cap + PCI_MSIX_FLAGS, in xen_pcibk_get_interrupt_type()
|
/openbmc/qemu/hw/pci/ |
H A D | msix.c | 32 #define MSIX_CONTROL_OFFSET (PCI_MSIX_FLAGS + 1) 357 pci_set_word(config + PCI_MSIX_FLAGS, nentries - 1); in msix_init()
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-designware-ep.c | 390 reg = ep_func->msix_cap + func_offset + PCI_MSIX_FLAGS; in dw_pcie_ep_get_msix() 417 reg = ep_func->msix_cap + func_offset + PCI_MSIX_FLAGS; in dw_pcie_ep_set_msix()
|
/openbmc/qemu/hw/xen/ |
H A D | xen_pt_msi.c | 546 rc = xen_host_pci_get_word(hd, base + PCI_MSIX_FLAGS, &control); in xen_pt_msix_init()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pci_regs.h | 323 #define PCI_MSIX_FLAGS 2 /* Message Control */ macro
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | pci_regs.h | 324 #define PCI_MSIX_FLAGS 2 /* Message Control */ macro
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_core.c | 529 pci_read_config_word(pdev, msix_pos + PCI_MSIX_FLAGS, &flags); in vfio_pci_core_enable() 760 pos + PCI_MSIX_FLAGS, &flags); in vfio_pci_get_irq_count()
|
/openbmc/qemu/hw/s390x/ |
H A D | s390-pci-bus.c | 885 ctrl = pci_host_config_read_common(pbdev->pdev, pos + PCI_MSIX_FLAGS, in s390_pci_msix_init()
|
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_hw.c | 1648 pos + PCI_MSIX_FLAGS, in wx_get_pcie_msix_counts()
|
/openbmc/linux/drivers/pci/ |
H A D | quirks.c | 4019 pci_read_config_word(dev, dev->msix_cap+PCI_MSIX_FLAGS, &msix_flags); in reset_chelsio_generic_dev() 4021 pci_write_config_word(dev, dev->msix_cap+PCI_MSIX_FLAGS, in reset_chelsio_generic_dev()
|
/openbmc/qemu/hw/vfio/ |
H A D | pci.c | 1567 vdev->config_offset + pos + PCI_MSIX_FLAGS) != sizeof(ctrl)) { in vfio_msix_early_setup()
|
/openbmc/linux/drivers/scsi/megaraid/ |
H A D | megaraid_sas_base.c | 7478 pci_read_config_word(pdev, pos + PCI_MSIX_FLAGS, in megasas_probe_one() 7483 pos + PCI_MSIX_FLAGS, in megasas_probe_one()
|
/openbmc/qemu/hw/nvme/ |
H A D | ctrl.c | 7287 pci_set_word_by_mask(config + PCI_MSIX_FLAGS, PCI_MSIX_FLAGS_QSIZE, in nvme_update_msixcap_ts()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_main.c | 13570 pci_read_config_word(pdev, pdev->msix_cap + PCI_MSIX_FLAGS, &control); in bnx2x_get_num_non_def_sbs()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 13292 pci_read_config_word(pdev, pdev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in bnxt_get_max_irq()
|