Home
last modified time | relevance | path

Searched refs:msix_cap (Results 1 – 19 of 19) sorted by relevance

/linux-5.19.10/drivers/pci/msi/
Dpcidev_msi.c34 dev->msix_cap = pci_find_capability(dev, PCI_CAP_ID_MSIX); in pci_msix_init()
35 if (!dev->msix_cap) in pci_msix_init()
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()
Dmsi.c287 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in pci_msix_clear_and_set_ctrl()
290 pci_write_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, ctrl); in pci_msix_clear_and_set_ctrl()
492 pci_read_config_dword(dev, dev->msix_cap + PCI_MSIX_TABLE, in msix_map_region()
629 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &control); in msix_capability_init()
787 if (!dev->msix_cap) in pci_msix_vec_count()
790 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &control); in pci_msix_vec_count()
/linux-5.19.10/drivers/pci/controller/dwc/
Dpcie-designware-ep.c371 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_get_msix()
376 reg = ep_func->msix_cap + func_offset + PCI_MSIX_FLAGS; in dw_pcie_ep_get_msix()
396 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_set_msix()
403 reg = ep_func->msix_cap + func_offset + PCI_MSIX_FLAGS; in dw_pcie_ep_set_msix()
409 reg = ep_func->msix_cap + func_offset + PCI_MSIX_TABLE; in dw_pcie_ep_set_msix()
413 reg = ep_func->msix_cap + func_offset + PCI_MSIX_PBA; in dw_pcie_ep_set_msix()
551 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_raise_msix_irq_doorbell()
578 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_raise_msix_irq()
583 reg = ep_func->msix_cap + func_offset + PCI_MSIX_TABLE; in dw_pcie_ep_raise_msix_irq()
764 ep_func->msix_cap = dw_pcie_ep_find_capability(ep, func_no, in dw_pcie_ep_init()
Dpci-layerscape-ep.c68 pcie->ls_epc->msix_capable = ep_func->msix_cap ? true : false; in ls_pcie_ep_init()
Dpcie-designware.h228 u8 msix_cap; /* MSI-X capability offset */ member
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_irq.c271 pci_read_config_word(adev->pdev, adev->pdev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in amdgpu_restore_msix()
277 pci_write_config_word(adev->pdev, adev->pdev->msix_cap + PCI_MSIX_FLAGS, ctrl); in amdgpu_restore_msix()
279 pci_write_config_word(adev->pdev, adev->pdev->msix_cap + PCI_MSIX_FLAGS, ctrl); in amdgpu_restore_msix()
/linux-5.19.10/drivers/xen/xen-pciback/
Dconf_space.c310 if (dev->msix_cap) { in xen_pcibk_get_interrupt_type()
312 dev->msix_cap + PCI_MSIX_FLAGS, in xen_pcibk_get_interrupt_type()
Dpci_stub.c117 if (dev->msix_cap) { in pcistub_device_release()
404 if (dev->msix_cap) { in pcistub_init_device()
/linux-5.19.10/drivers/scsi/pm8001/
Dpm8001_init.c543 if ((!pdev->msix_cap || !pci_msi_enabled()) in pm8001_pci_alloc()
1035 if (pdev->msix_cap && pci_msi_enabled()) in pm8001_request_irq()
1258 if ((!pdev->msix_cap || !pci_msi_enabled()) || in pm8001_pci_remove()
1316 if ((!pdev->msix_cap || !pci_msi_enabled()) || in pm8001_pci_suspend()
1371 if ((!pdev->msix_cap || !pci_msi_enabled()) || in pm8001_pci_resume()
/linux-5.19.10/arch/x86/pci/
Dxen.c300 pos = dev->msix_cap; in xen_initdom_setup_msi_irqs()
/linux-5.19.10/drivers/net/wwan/t7xx/
Dt7xx_pci.c637 if (!t7xx_dev->pdev->msix_cap) in t7xx_interrupt_init()
/linux-5.19.10/drivers/vfio/pci/
Dvfio_pci_core.c323 msix_pos = pdev->msix_cap; in vfio_pci_core_enable()
533 pos = vdev->pdev->msix_cap; in vfio_pci_get_irq_count()
/linux-5.19.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c440 if (pdev->msix_cap) { in netxen_set_msix_bit()
441 pci_read_config_dword(pdev, pdev->msix_cap, &control); in netxen_set_msix_bit()
446 pci_write_config_dword(pdev, pdev->msix_cap, control); in netxen_set_msix_bit()
/linux-5.19.10/drivers/pci/
Dquirks.c3867 pci_read_config_word(dev, dev->msix_cap+PCI_MSIX_FLAGS, &msix_flags); in reset_chelsio_generic_dev()
3869 pci_write_config_word(dev, dev->msix_cap+PCI_MSIX_FLAGS, in reset_chelsio_generic_dev()
/linux-5.19.10/include/linux/
Dpci.h349 u8 msix_cap; /* MSI-X capability offset */ member
/linux-5.19.10/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c3615 if (myri10ge_max_slices == 1 || !pdev->msix_cap || in myri10ge_probe_slices()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c13210 if (!pdev->msix_cap) in bnxt_get_max_irq()
13213 pci_read_config_word(pdev, pdev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in bnxt_get_max_irq()
13552 if (pdev->msix_cap) in bnxt_init_one()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c13570 if (!pdev->msix_cap) { in bnx2x_get_num_non_def_sbs()
13583 pci_read_config_word(pdev, pdev->msix_cap + PCI_MSIX_FLAGS, &control); in bnx2x_get_num_non_def_sbs()
/linux-5.19.10/drivers/net/ethernet/broadcom/
Dbnx2.c8197 if (pdev->msix_cap) in bnx2_init_board()