Home
last modified time | relevance | path

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

/linux/drivers/pci/controller/dwc/
A 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()
A Dpci-layerscape-ep.c68 pcie->ls_epc->msix_capable = ep_func->msix_cap ? true : false; in ls_pcie_ep_init()
A Dpcie-designware.h228 u8 msix_cap; /* MSI-X capability offset */ member
/linux/drivers/pci/
A Dmsi.c431 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in pci_msix_clear_and_set_ctrl()
434 pci_write_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, ctrl); in pci_msix_clear_and_set_ctrl()
595 pci_read_config_dword(dev, dev->msix_cap + PCI_MSIX_TABLE, in msix_map_region()
716 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &control); in msix_capability_init()
910 if (!dev->msix_cap) in pci_msix_vec_count()
913 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &control); in pci_msix_vec_count()
1553 dev->msix_cap = pci_find_capability(dev, PCI_CAP_ID_MSIX); in pci_msix_init()
1554 if (!dev->msix_cap) in pci_msix_init()
1557 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in pci_msix_init()
1559 pci_write_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, in pci_msix_init()
A Dquirks.c3854 pci_read_config_word(dev, dev->msix_cap+PCI_MSIX_FLAGS, &msix_flags); in reset_chelsio_generic_dev()
3856 pci_write_config_word(dev, dev->msix_cap+PCI_MSIX_FLAGS, in reset_chelsio_generic_dev()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_irq.c284 pci_read_config_word(adev->pdev, adev->pdev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in amdgpu_restore_msix()
290 pci_write_config_word(adev->pdev, adev->pdev->msix_cap + PCI_MSIX_FLAGS, ctrl); in amdgpu_restore_msix()
292 pci_write_config_word(adev->pdev, adev->pdev->msix_cap + PCI_MSIX_FLAGS, ctrl); in amdgpu_restore_msix()
/linux/drivers/xen/xen-pciback/
A 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()
A Dpci_stub.c117 if (dev->msix_cap) { in pcistub_device_release()
404 if (dev->msix_cap) { in pcistub_init_device()
/linux/drivers/scsi/pm8001/
A Dpm8001_init.c540 if ((!pdev->msix_cap || !pci_msi_enabled()) in pm8001_pci_alloc()
1032 if (pdev->msix_cap && pci_msi_enabled()) in pm8001_request_irq()
1254 if ((!pdev->msix_cap || !pci_msi_enabled()) || in pm8001_pci_remove()
1312 if ((!pdev->msix_cap || !pci_msi_enabled()) || in pm8001_pci_suspend()
1367 if ((!pdev->msix_cap || !pci_msi_enabled()) || in pm8001_pci_resume()
/linux/arch/x86/pci/
A Dxen.c300 pos = dev->msix_cap; in xen_initdom_setup_msi_irqs()
/linux/drivers/vfio/pci/
A Dvfio_pci_core.c293 msix_pos = pdev->msix_cap; in vfio_pci_core_enable()
504 pos = vdev->pdev->msix_cap; in vfio_pci_get_irq_count()
/linux/drivers/net/ethernet/qlogic/netxen/
A 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/include/linux/
A Dpci.h340 u8 msix_cap; /* MSI-X capability offset */ member
/linux/drivers/net/ethernet/myricom/myri10ge/
A Dmyri10ge.c3615 if (myri10ge_max_slices == 1 || !pdev->msix_cap || in myri10ge_probe_slices()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt.c12939 if (!pdev->msix_cap) in bnxt_get_max_irq()
12942 pci_read_config_word(pdev, pdev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in bnxt_get_max_irq()
13279 if (pdev->msix_cap) in bnxt_init_one()
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_main.c13558 if (!pdev->msix_cap) { in bnx2x_get_num_non_def_sbs()
13571 pci_read_config_word(pdev, pdev->msix_cap + PCI_MSIX_FLAGS, &control); in bnx2x_get_num_non_def_sbs()
/linux/drivers/net/ethernet/broadcom/
A Dbnx2.c8193 if (pdev->msix_cap) in bnx2_init_board()

Completed in 113 milliseconds