Home
last modified time | relevance | path

Searched refs:msi_cap (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/pci/
A Dmsi.c269 int pos = dev->msi_cap; in __pci_read_msi_msg()
321 int pos = dev->msi_cap; in __pci_write_msi_msg()
399 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in pci_msi_set_enable()
403 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in pci_msi_set_enable()
495 entry->mask_pos = dev->msi_cap + PCI_MSI_MASK_64; in msi_setup_entry()
497 entry->mask_pos = dev->msi_cap + PCI_MSI_MASK_32; in msi_setup_entry()
856 if (!dev->msi_cap) in pci_msi_vec_count()
1536 dev->msi_cap = pci_find_capability(dev, PCI_CAP_ID_MSI); in pci_msi_init()
1537 if (!dev->msi_cap) in pci_msi_init()
1540 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &ctrl); in pci_msi_init()
[all …]
/linux/drivers/pci/controller/dwc/
A Dpcie-designware-ep.c321 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_get_msi()
326 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_get_msi()
346 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_set_msi()
351 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_set_msi()
506 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_raise_msi_irq()
512 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_raise_msi_irq()
515 reg = ep_func->msi_cap + func_offset + PCI_MSI_ADDRESS_LO; in dw_pcie_ep_raise_msi_irq()
518 reg = ep_func->msi_cap + func_offset + PCI_MSI_ADDRESS_HI; in dw_pcie_ep_raise_msi_irq()
520 reg = ep_func->msi_cap + func_offset + PCI_MSI_DATA_64; in dw_pcie_ep_raise_msi_irq()
524 reg = ep_func->msi_cap + func_offset + PCI_MSI_DATA_32; in dw_pcie_ep_raise_msi_irq()
[all …]
A Dpci-layerscape-ep.c67 pcie->ls_epc->msi_capable = ep_func->msi_cap ? true : false; in ls_pcie_ep_init()
A Dpcie-designware.h227 u8 msi_cap; /* MSI capability offset */ member
/linux/arch/mips/pci/
A Dmsi-octeon.c76 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in arch_setup_msi_irq()
178 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in arch_setup_msi_irq()
/linux/arch/powerpc/platforms/pseries/
A Dmsi.c356 pci_read_config_dword(pdev, pdev->msi_cap + PCI_MSI_ADDRESS_HI, &addr_hi); in rtas_hack_32bit_msi_gen2()
358 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_ADDRESS_LO, addr_lo); in rtas_hack_32bit_msi_gen2()
359 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_ADDRESS_HI, 0); in rtas_hack_32bit_msi_gen2()
/linux/drivers/infiniband/hw/qib/
A Dqib_pcie.c236 qib_cache_msi_info(dd, dd->pcidev->msi_cap); in qib_pcie_params()
312 pos = dd->pcidev->msi_cap; in qib_reinit_intr()
/linux/drivers/xen/xen-pciback/
A Dconf_space.c301 if (dev->msi_cap) { in xen_pcibk_get_interrupt_type()
303 dev->msi_cap + PCI_MSI_FLAGS, in xen_pcibk_get_interrupt_type()
/linux/drivers/net/wireless/ath/ath11k/
A Dpci.c462 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_LO, in ath11k_pci_get_msi_address()
466 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_HI, in ath11k_pci_get_msi_address()
863 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in ath11k_pci_msi_config()
870 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in ath11k_pci_msi_config()
/linux/drivers/net/wireless/realtek/rtw88/
A Drtw8822b.h40 u8 msi_cap; member
A Drtw8821c.h20 u8 msi_cap; member
A Drtw8822c.h27 u8 msi_cap; member
/linux/drivers/gpu/drm/i915/gvt/
A Dgvt.c80 info->msi_cap_offset = pdev->msi_cap; in init_device_info()
/linux/drivers/net/ethernet/alacritech/
A Dslic.h388 u8 msi_cap; /* 21 MSI capabilities */ member
/linux/arch/alpha/kernel/
A Dsys_marvel.c334 msi_loc = dev->msi_cap; in marvel_map_irq()
/linux/drivers/crypto/hisilicon/
A Dqm.c2363 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_MASK_64, in qm_set_msi()
2366 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_MASK_64, in qm_set_msi()
2389 pci_read_config_dword(pdev, pdev->msi_cap + in qm_wait_msi_finish()
2421 pci_read_config_dword(pdev, pdev->msi_cap, &cmd); in qm_set_msi_v3()
2427 pci_write_config_dword(pdev, pdev->msi_cap, cmd); in qm_set_msi_v3()
2430 pci_read_config_dword(pdev, pdev->msi_cap, &cmd); in qm_set_msi_v3()
/linux/drivers/vfio/pci/
A Dvfio_pci_core.c494 pos = vdev->pdev->msi_cap; in vfio_pci_get_irq_count()
/linux/drivers/net/ethernet/broadcom/
A Dtg3.h3270 int msi_cap; member
A Dtg3.c8993 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state()
8996 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state()
16262 tp->msi_cap = tp->pdev->msi_cap; in tg3_get_invariants()
A Dbnx2.c8199 if (pdev->msi_cap) in bnx2_init_board()
/linux/include/linux/
A Dpci.h339 u8 msi_cap; /* MSI capability offset */ member
/linux/drivers/iommu/amd/
A Dinit.c2189 else if (iommu->dev->msi_cap) in iommu_init_irq()

Completed in 109 milliseconds