Home
last modified time | relevance | path

Searched refs:PCI_MSIX_FLAGS (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/drivers/pci/msi/
H A Dpcidev_msi.c38 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 Dmsi.c551 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 Dapi.c78 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &control); in pci_msix_vec_count()
/openbmc/qemu/tests/qtest/libqos/
H A Dpci.c281 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 Dspapr_pci_vfio.c255 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 Damdgpu_irq.c249 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 Dpcie-cadence-ep.c279 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 Dconf_space_capability.c260 .offset = PCI_MSIX_FLAGS,
H A Dconf_space.c306 dev->msix_cap + PCI_MSIX_FLAGS, in xen_pcibk_get_interrupt_type()
/openbmc/qemu/hw/pci/
H A Dmsix.c32 #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 Dpcie-designware-ep.c390 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 Dxen_pt_msi.c546 rc = xen_host_pci_get_word(hd, base + PCI_MSIX_FLAGS, &control); in xen_pt_msix_init()
/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h323 #define PCI_MSIX_FLAGS 2 /* Message Control */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h324 #define PCI_MSIX_FLAGS 2 /* Message Control */ macro
/openbmc/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c529 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 Ds390-pci-bus.c885 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 Dwx_hw.c1648 pos + PCI_MSIX_FLAGS, in wx_get_pcie_msix_counts()
/openbmc/linux/drivers/pci/
H A Dquirks.c4019 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 Dpci.c1567 vdev->config_offset + pos + PCI_MSIX_FLAGS) != sizeof(ctrl)) { in vfio_msix_early_setup()
/openbmc/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c7478 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 Dctrl.c7287 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 Dbnx2x_main.c13570 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 Dbnxt.c13292 pci_read_config_word(pdev, pdev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in bnxt_get_max_irq()