/Linux-v6.1/drivers/pci/msi/ |
D | pcidev_msi.c | 34 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()
|
D | msi.c | 287 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-v6.1/drivers/pci/controller/dwc/ |
D | pcie-designware-ep.c | 379 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_get_msix() 384 reg = ep_func->msix_cap + func_offset + PCI_MSIX_FLAGS; in dw_pcie_ep_get_msix() 404 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_set_msix() 411 reg = ep_func->msix_cap + func_offset + PCI_MSIX_FLAGS; in dw_pcie_ep_set_msix() 417 reg = ep_func->msix_cap + func_offset + PCI_MSIX_TABLE; in dw_pcie_ep_set_msix() 421 reg = ep_func->msix_cap + func_offset + PCI_MSIX_PBA; in dw_pcie_ep_set_msix() 555 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_raise_msix_irq_doorbell() 582 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_raise_msix_irq() 587 reg = ep_func->msix_cap + func_offset + PCI_MSIX_TABLE; in dw_pcie_ep_raise_msix_irq() 766 ep_func->msix_cap = dw_pcie_ep_find_capability(ep, func_no, in dw_pcie_ep_init()
|
D | pci-layerscape-ep.c | 59 pcie->ls_epc->msix_capable = ep_func->msix_cap ? true : false; in ls_pcie_ep_init()
|
D | pcie-designware.h | 273 u8 msix_cap; /* MSI-X capability offset */ member
|
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_irq.c | 271 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-v6.1/drivers/xen/xen-pciback/ |
D | conf_space.c | 310 if (dev->msix_cap) { in xen_pcibk_get_interrupt_type() 312 dev->msix_cap + PCI_MSIX_FLAGS, in xen_pcibk_get_interrupt_type()
|
D | pci_stub.c | 117 if (dev->msix_cap) { in pcistub_device_release() 404 if (dev->msix_cap) { in pcistub_init_device()
|
/Linux-v6.1/drivers/scsi/pm8001/ |
D | pm8001_init.c | 558 if ((!pdev->msix_cap || !pci_msi_enabled()) in pm8001_pci_alloc() 1050 if (pdev->msix_cap && pci_msi_enabled()) in pm8001_request_irq() 1284 if ((!pdev->msix_cap || !pci_msi_enabled()) || in pm8001_pci_remove() 1342 if ((!pdev->msix_cap || !pci_msi_enabled()) || in pm8001_pci_suspend() 1397 if ((!pdev->msix_cap || !pci_msi_enabled()) || in pm8001_pci_resume()
|
/Linux-v6.1/arch/x86/pci/ |
D | xen.c | 300 pos = dev->msix_cap; in xen_initdom_setup_msi_irqs()
|
/Linux-v6.1/drivers/net/wwan/t7xx/ |
D | t7xx_pci.c | 637 if (!t7xx_dev->pdev->msix_cap) in t7xx_interrupt_init()
|
/Linux-v6.1/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 439 if (pdev->msix_cap) { in netxen_set_msix_bit() 440 pci_read_config_dword(pdev, pdev->msix_cap, &control); in netxen_set_msix_bit() 445 pci_write_config_dword(pdev, pdev->msix_cap, control); in netxen_set_msix_bit()
|
/Linux-v6.1/drivers/vfio/pci/ |
D | vfio_pci_core.c | 518 msix_pos = pdev->msix_cap; in vfio_pci_core_enable() 744 pos = vdev->pdev->msix_cap; in vfio_pci_get_irq_count()
|
/Linux-v6.1/drivers/pci/ |
D | quirks.c | 3878 pci_read_config_word(dev, dev->msix_cap+PCI_MSIX_FLAGS, &msix_flags); in reset_chelsio_generic_dev() 3880 pci_write_config_word(dev, dev->msix_cap+PCI_MSIX_FLAGS, in reset_chelsio_generic_dev()
|
/Linux-v6.1/include/linux/ |
D | pci.h | 349 u8 msix_cap; /* MSI-X capability offset */ member
|
/Linux-v6.1/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 3615 if (myri10ge_max_slices == 1 || !pdev->msix_cap || in myri10ge_probe_slices()
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 13214 if (!pdev->msix_cap) in bnxt_get_max_irq() 13217 pci_read_config_word(pdev, pdev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in bnxt_get_max_irq() 13556 if (pdev->msix_cap) in bnxt_init_one()
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 13570 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-v6.1/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 8197 if (pdev->msix_cap) in bnx2_init_board()
|