Home
last modified time | relevance | path

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

/linux/drivers/pci/msi/
H A 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()
H A Dapi.c74 if (!dev->msix_cap) in pci_msix_vec_count()
77 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &control); in pci_msix_vec_count()
124 if (!dev->msix_cap) in pci_msix_can_alloc_dyn()
H A Dmsi.c556 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in pci_msix_clear_and_set_ctrl()
559 pci_write_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, ctrl); in pci_msix_clear_and_set_ctrl()
570 pci_read_config_dword(dev, dev->msix_cap + PCI_MSIX_TABLE, in msix_map_region()
729 pci_read_config_word(dev, dev->msix_cap + PCI_MSIX_FLAGS, &control); in msix_capability_init()
/linux/drivers/pci/controller/dwc/
H A Dpcie-designware-ep.c569 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_get_msix()
572 reg = ep_func->msix_cap + PCI_MSIX_FLAGS; in dw_pcie_ep_get_msix()
591 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_set_msix()
596 reg = ep_func->msix_cap + PCI_MSIX_FLAGS; in dw_pcie_ep_set_msix()
602 reg = ep_func->msix_cap + PCI_MSIX_TABLE; in dw_pcie_ep_set_msix()
606 reg = ep_func->msix_cap + PCI_MSIX_PBA; in dw_pcie_ep_set_msix()
762 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_raise_msix_irq_doorbell()
797 if (!ep_func || !ep_func->msix_cap) in dw_pcie_ep_raise_msix_irq()
800 reg = ep_func->msix_cap + PCI_MSIX_TABLE; in dw_pcie_ep_raise_msix_irq()
987 ep_func->msix_cap in dw_pcie_ep_init_registers()
[all...]
H A Dpcie-designware.h451 u8 msix_cap; /* MSI-X capability offset */ member
/linux/arch/um/drivers/
H A Dvfio_kern.c38 int msix_cap; member
235 if (size == 2 && offset == dev->msix_cap + PCI_MSIX_FLAGS) { in uml_vfio_update_msix_cap()
336 if (offset < dev->msix_cap + PCI_CAP_MSIX_SIZEOF && in uml_vfio_cfgspace_write()
337 offset + size > dev->msix_cap) in uml_vfio_cfgspace_write()
468 dev->msix_cap = off; in uml_vfio_read_msix_table()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_irq.c250 pci_read_config_word(adev->pdev, adev->pdev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in amdgpu_restore_msix()
256 pci_write_config_word(adev->pdev, adev->pdev->msix_cap + PCI_MSIX_FLAGS, ctrl); in amdgpu_restore_msix()
258 pci_write_config_word(adev->pdev, adev->pdev->msix_cap + PCI_MSIX_FLAGS, ctrl); in amdgpu_restore_msix()
/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_core.c213 pci_read_config_word(pdev, pdev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in bnge_get_max_irq()
238 if (!pdev->msix_cap) { in bnge_probe_one()
/linux/drivers/xen/xen-pciback/
H A Dconf_space.c304 if (dev->msix_cap) { in xen_pcibk_get_interrupt_type()
306 dev->msix_cap + PCI_MSIX_FLAGS, in xen_pcibk_get_interrupt_type()
H A Dpci_stub.c136 if (dev->msix_cap) { in pcistub_device_release()
428 if (dev->msix_cap) { in pcistub_init_device()
/linux/drivers/scsi/pm8001/
H A Dpm8001_init.c229 if ((!pm8001_ha->pdev->msix_cap || !pci_msi_enabled()) || in pm8001_init_tasklet()
248 if ((!pm8001_ha->pdev->msix_cap || !pci_msi_enabled()) || in pm8001_kill_tasklet()
1059 if (!pdev->msix_cap || !pci_msi_enabled()) in pm8001_request_irq()
/linux/arch/x86/pci/
H A Dxen.c300 pos = dev->msix_cap; in xen_initdom_setup_msi_irqs()
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_pci.c813 if (!t7xx_dev->pdev->msix_cap) in t7xx_interrupt_init()
/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c519 msix_pos = pdev->msix_cap; in vfio_pci_core_enable()
744 pos = vdev->pdev->msix_cap; in vfio_pci_get_irq_count()
/linux/drivers/pci/
H A Dquirks.c4024 pci_read_config_word(dev, dev->msix_cap+PCI_MSIX_FLAGS, &msix_flags); in reset_chelsio_generic_dev()
4026 pci_write_config_word(dev, dev->msix_cap+PCI_MSIX_FLAGS, in reset_chelsio_generic_dev()
/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c3615 if (myri10ge_max_slices == 1 || !pdev->msix_cap || in myri10ge_probe_slices()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c16219 if (!pdev->msix_cap) in bnxt_get_max_irq()
16222 pci_read_config_word(pdev, pdev->msix_cap + PCI_MSIX_FLAGS, &ctrl); in bnxt_get_max_irq()
16557 if (!pdev->msix_cap) { in bnxt_init_one()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c13556 if (!pdev->msix_cap) { in bnx2x_get_num_non_def_sbs()
13569 pci_read_config_word(pdev, pdev->msix_cap + PCI_MSIX_FLAGS, &control); in bnx2x_get_num_non_def_sbs()
/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c8175 if (pdev->msix_cap) in bnx2_init_board()