Home
last modified time | relevance | path

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

/drivers/pci/controller/dwc/
Dpcie-designware-ep.c220 if (!ep->msi_cap) in dw_pcie_ep_get_msi()
223 reg = ep->msi_cap + PCI_MSI_FLAGS; in dw_pcie_ep_get_msi()
239 if (!ep->msi_cap) in dw_pcie_ep_set_msi()
242 reg = ep->msi_cap + PCI_MSI_FLAGS; in dw_pcie_ep_set_msi()
374 if (!ep->msi_cap) in dw_pcie_ep_raise_msi_irq()
378 reg = ep->msi_cap + PCI_MSI_FLAGS; in dw_pcie_ep_raise_msi_irq()
381 reg = ep->msi_cap + PCI_MSI_ADDRESS_LO; in dw_pcie_ep_raise_msi_irq()
384 reg = ep->msi_cap + PCI_MSI_ADDRESS_HI; in dw_pcie_ep_raise_msi_irq()
386 reg = ep->msi_cap + PCI_MSI_DATA_64; in dw_pcie_ep_raise_msi_irq()
390 reg = ep->msi_cap + PCI_MSI_DATA_32; in dw_pcie_ep_raise_msi_irq()
[all …]
Dpcie-designware.h225 u8 msi_cap; /* MSI capability offset */ member
/drivers/pci/
Dmsi.c294 int pos = dev->msi_cap; in __pci_read_msi_msg()
327 int pos = dev->msi_cap; in __pci_write_msi_msg()
426 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in __pci_restore_msi_state()
431 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in __pci_restore_msi_state()
572 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in msi_setup_entry()
584 entry->mask_pos = dev->msi_cap + PCI_MSI_MASK_64; in msi_setup_entry()
586 entry->mask_pos = dev->msi_cap + PCI_MSI_MASK_32; in msi_setup_entry()
905 if (!dev->msi_cap) in pci_msi_vec_count()
908 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &msgctl); in pci_msi_vec_count()
Dpci.h187 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in pci_msi_set_enable()
191 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in pci_msi_set_enable()
Dprobe.c1660 dev->msi_cap = pci_find_capability(dev, PCI_CAP_ID_MSI); in pci_msi_setup_pci_dev()
1661 if (dev->msi_cap) in pci_msi_setup_pci_dev()
/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()
/drivers/net/wireless/realtek/rtw88/
Drtw8822b.h40 u8 msi_cap; member
Drtw8822c.h27 u8 msi_cap; member
/drivers/gpu/drm/i915/gvt/
Dgvt.c205 info->msi_cap_offset = pdev->msi_cap; in init_device_info()
/drivers/net/ethernet/alacritech/
Dslic.h388 u8 msi_cap; /* 21 MSI capabilities */ member
/drivers/vfio/pci/
Dvfio_pci.c523 pos = vdev->pdev->msi_cap; in vfio_pci_get_irq_count()
/drivers/net/ethernet/broadcom/
Dtg3.h3270 int msi_cap; member
Dtg3.c9011 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state()
9014 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state()
16333 tp->msi_cap = tp->pdev->msi_cap; in tg3_get_invariants()
Dbnx2.c8218 if (pdev->msi_cap) in bnx2_init_board()
/drivers/iommu/
Damd_iommu_init.c2031 if (iommu->dev->msi_cap) in iommu_init_msi()