Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
Dpcie-designware-ep.c319 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_get_msi()
324 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_get_msi()
343 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_set_msi()
348 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_set_msi()
504 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_raise_msi_irq()
510 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_raise_msi_irq()
513 reg = ep_func->msi_cap + func_offset + PCI_MSI_ADDRESS_LO; in dw_pcie_ep_raise_msi_irq()
516 reg = ep_func->msi_cap + func_offset + PCI_MSI_ADDRESS_HI; in dw_pcie_ep_raise_msi_irq()
518 reg = ep_func->msi_cap + func_offset + PCI_MSI_DATA_64; in dw_pcie_ep_raise_msi_irq()
522 reg = ep_func->msi_cap + func_offset + PCI_MSI_DATA_32; in dw_pcie_ep_raise_msi_irq()
[all …]
Dpci-layerscape-ep.c69 pcie->ls_epc->msi_capable = ep_func->msi_cap ? true : false; in ls_pcie_ep_init()
Dpcie-designware.h227 u8 msi_cap; /* MSI capability offset */ member
/kernel/linux/linux-5.10/drivers/pci/
Dmsi.c296 int pos = dev->msi_cap; in __pci_read_msi_msg()
347 int pos = dev->msi_cap; in __pci_write_msi_msg()
448 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in __pci_restore_msi_state()
453 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in __pci_restore_msi_state()
594 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in msi_setup_entry()
609 entry->mask_pos = dev->msi_cap + PCI_MSI_MASK_64; in msi_setup_entry()
611 entry->mask_pos = dev->msi_cap + PCI_MSI_MASK_32; in msi_setup_entry()
951 if (!dev->msi_cap) in pci_msi_vec_count()
954 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &msgctl); in pci_msi_vec_count()
Dpci.h192 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in pci_msi_set_enable()
196 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in pci_msi_set_enable()
Dprobe.c1732 dev->msi_cap = pci_find_capability(dev, PCI_CAP_ID_MSI); in pci_msi_setup_pci_dev()
1733 if (dev->msi_cap) in pci_msi_setup_pci_dev()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dmsi.c365 pci_read_config_dword(pdev, pdev->msi_cap + PCI_MSI_ADDRESS_HI, &addr_hi); in rtas_hack_32bit_msi_gen2()
367 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_ADDRESS_LO, addr_lo); in rtas_hack_32bit_msi_gen2()
368 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_ADDRESS_HI, 0); in rtas_hack_32bit_msi_gen2()
/kernel/linux/linux-5.10/arch/mips/pci/
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()
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/
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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_pcie.c243 qib_cache_msi_info(dd, dd->pcidev->msi_cap); in qib_pcie_params()
319 pos = dd->pcidev->msi_cap; in qib_reinit_intr()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Drtw8822b.h40 u8 msi_cap; member
Drtw8821c.h20 u8 msi_cap; member
Drtw8822c.h27 u8 msi_cap; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dgvt.c203 info->msi_cap_offset = pdev->msi_cap; in init_device_info()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dsys_marvel.c334 msi_loc = dev->msi_cap; in marvel_map_irq()
/kernel/linux/linux-5.10/drivers/net/ethernet/alacritech/
Dslic.h388 u8 msi_cap; /* 21 MSI capabilities */ member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dpci.c269 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_LO, in ath11k_pci_get_msi_address()
272 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_HI, in ath11k_pci_get_msi_address()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
Dqm.c3362 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_MASK_64, in qm_set_msi()
3365 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_MASK_64, in qm_set_msi()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dtg3.h3270 int msi_cap; member
Dtg3.c9003 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state()
9006 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state()
16336 tp->msi_cap = tp->pdev->msi_cap; in tg3_get_invariants()
Dbnx2.c8216 if (pdev->msi_cap) in bnx2_init_board()
/kernel/linux/linux-5.10/include/linux/
Dpci.h333 u8 msi_cap; /* MSI capability offset */ member
/kernel/linux/linux-5.10/drivers/vfio/pci/
Dvfio_pci.c626 pos = vdev->pdev->msi_cap; in vfio_pci_get_irq_count()
/kernel/linux/linux-5.10/drivers/iommu/amd/
Dinit.c2115 if (iommu->dev->msi_cap) in iommu_init_msi()