Searched refs:msix_cap (Results 1 – 15 of 15) sorted by relevance
/drivers/pci/controller/dwc/ |
D | pcie-designware-ep.c | 371 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() 545 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_raise_msix_irq_doorbell() 572 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_raise_msix_irq() 577 reg = ep_func->msix_cap + func_offset + PCI_MSIX_TABLE; in dw_pcie_ep_raise_msix_irq() 759 ep_func->msix_cap = dw_pcie_ep_find_capability(ep, func_no, in dw_pcie_ep_init()
|
D | pci-layerscape-ep.c | 164 pcie->ls_epc->msix_capable = ep_func->msix_cap ? true : false; in ls_pcie_ep_init()
|
D | pcie-designware.h | 229 u8 msix_cap; /* MSI-X capability offset */ member
|
/drivers/pci/ |
D | msi.c | 431 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() 594 pci_read_config_dword(dev, dev->msix_cap + PCI_MSIX_TABLE, in msix_map_region() 715 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &control); in msix_capability_init() 909 if (!dev->msix_cap) in pci_msix_vec_count() 912 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &control); in pci_msix_vec_count() 1562 dev->msix_cap = pci_find_capability(dev, PCI_CAP_ID_MSIX); in pci_msix_init() 1563 if (!dev->msix_cap) in pci_msix_init() 1566 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in pci_msix_init() 1568 pci_write_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, in pci_msix_init()
|
D | quirks.c | 3884 pci_read_config_word(dev, dev->msix_cap+PCI_MSIX_FLAGS, &msix_flags); in reset_chelsio_generic_dev() 3886 pci_write_config_word(dev, dev->msix_cap+PCI_MSIX_FLAGS, in reset_chelsio_generic_dev()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_irq.c | 284 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()
|
/drivers/xen/xen-pciback/ |
D | conf_space.c | 304 if (dev->msix_cap) { in xen_pcibk_get_interrupt_type() 306 dev->msix_cap + PCI_MSIX_FLAGS, in xen_pcibk_get_interrupt_type()
|
D | pci_stub.c | 116 if (dev->msix_cap) { in pcistub_device_release() 403 if (dev->msix_cap) { in pcistub_init_device()
|
/drivers/scsi/pm8001/ |
D | pm8001_init.c | 531 if ((!pdev->msix_cap || !pci_msi_enabled()) in pm8001_pci_alloc() 1015 if (pdev->msix_cap && pci_msi_enabled()) in pm8001_request_irq() 1236 if ((!pdev->msix_cap || !pci_msi_enabled()) || in pm8001_pci_remove() 1294 if ((!pdev->msix_cap || !pci_msi_enabled()) || in pm8001_pci_suspend() 1349 if ((!pdev->msix_cap || !pci_msi_enabled()) || in pm8001_pci_resume()
|
/drivers/vfio/pci/ |
D | vfio_pci_core.c | 310 msix_pos = pdev->msix_cap; in vfio_pci_core_enable() 507 pos = vdev->pdev->msix_cap; in vfio_pci_get_irq_count()
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 440 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()
|
/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 3613 if (myri10ge_max_slices == 1 || !pdev->msix_cap || in myri10ge_probe_slices()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 12945 if (!pdev->msix_cap) in bnxt_get_max_irq() 12948 pci_read_config_word(pdev, pdev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in bnxt_get_max_irq() 13274 if (pdev->msix_cap) in bnxt_init_one()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 13575 if (!pdev->msix_cap) { in bnx2x_get_num_non_def_sbs() 13588 pci_read_config_word(pdev, pdev->msix_cap + PCI_MSIX_FLAGS, &control); in bnx2x_get_num_non_def_sbs()
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 8193 if (pdev->msix_cap) in bnx2_init_board()
|