Home
last modified time | relevance | path

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

/drivers/pci/
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()
420 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in __pci_restore_msi_state()
424 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in __pci_restore_msi_state()
479 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in msi_setup_entry()
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()
855 if (!dev->msi_cap) in pci_msi_vec_count()
[all …]
/drivers/pci/controller/dwc/
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()
501 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_raise_msi_irq()
507 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_raise_msi_irq()
510 reg = ep_func->msi_cap + func_offset + PCI_MSI_ADDRESS_LO; in dw_pcie_ep_raise_msi_irq()
513 reg = ep_func->msi_cap + func_offset + PCI_MSI_ADDRESS_HI; in dw_pcie_ep_raise_msi_irq()
515 reg = ep_func->msi_cap + func_offset + PCI_MSI_DATA_64; in dw_pcie_ep_raise_msi_irq()
519 reg = ep_func->msi_cap + func_offset + PCI_MSI_DATA_32; in dw_pcie_ep_raise_msi_irq()
[all …]
Dpci-layerscape-ep.c163 pcie->ls_epc->msi_capable = ep_func->msi_cap ? true : false; in ls_pcie_ep_init()
Dpcie-designware.h228 u8 msi_cap; /* MSI capability offset */ member
/drivers/infiniband/hw/qib/
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()
/drivers/xen/xen-pciback/
Dconf_space.c295 if (dev->msi_cap) { in xen_pcibk_get_interrupt_type()
297 dev->msi_cap + PCI_MSI_FLAGS, in xen_pcibk_get_interrupt_type()
/drivers/net/wireless/realtek/rtw88/
Drtw8822b.h40 u8 msi_cap; member
Drtw8821c.h20 u8 msi_cap; member
Drtw8822c.h27 u8 msi_cap; member
/drivers/gpu/drm/i915/gvt/
Dgvt.c80 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/net/wireless/ath/ath11k/
Dpci.c464 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_LO, in ath11k_pci_get_msi_address()
468 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_HI, in ath11k_pci_get_msi_address()
/drivers/crypto/hisilicon/
Dqm.c2349 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_MASK_64, in qm_set_msi()
2352 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_MASK_64, in qm_set_msi()
2375 pci_read_config_dword(pdev, pdev->msi_cap + in qm_wait_msi_finish()
2407 pci_read_config_dword(pdev, pdev->msi_cap, &cmd); in qm_set_msi_v3()
2413 pci_write_config_dword(pdev, pdev->msi_cap, cmd); in qm_set_msi_v3()
2416 pci_read_config_dword(pdev, pdev->msi_cap, &cmd); in qm_set_msi_v3()
/drivers/vfio/pci/
Dvfio_pci_core.c497 pos = vdev->pdev->msi_cap; in vfio_pci_get_irq_count()
/drivers/net/ethernet/broadcom/
Dtg3.h3270 int msi_cap; member
Dtg3.c9005 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state()
9008 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state()
16308 tp->msi_cap = tp->pdev->msi_cap; in tg3_get_invariants()
Dbnx2.c8199 if (pdev->msi_cap) in bnx2_init_board()
/drivers/iommu/amd/
Dinit.c2207 else if (iommu->dev->msi_cap) in iommu_init_irq()