/drivers/pci/msi/ |
D | pcidev_msi.c | 16 dev->msi_cap = pci_find_capability(dev, PCI_CAP_ID_MSI); in pci_msi_init() 17 if (!dev->msi_cap) in pci_msi_init() 20 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &ctrl); in pci_msi_init() 22 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, in pci_msi_init()
|
D | msi.c | 166 int pos = dev->msi_cap; in __pci_read_msi_msg() 186 int pos = dev->msi_cap; in pci_write_msg_msi() 274 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in pci_msi_set_enable() 278 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in pci_msi_set_enable() 290 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in msi_setup_msi_desc() 307 desc.pci.mask_pos = dev->msi_cap + PCI_MSI_MASK_64; in msi_setup_msi_desc() 309 desc.pci.mask_pos = dev->msi_cap + PCI_MSI_MASK_32; in msi_setup_msi_desc() 483 if (!dev->msi_cap) in pci_msi_vec_count() 486 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &msgctl); in pci_msi_vec_count() 517 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in __pci_restore_msi_state() [all …]
|
/drivers/pci/controller/dwc/ |
D | pcie-designware-ep.c | 335 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_get_msi() 340 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_get_msi() 360 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_set_msi() 365 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_set_msi() 516 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_raise_msi_irq() 522 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_raise_msi_irq() 525 reg = ep_func->msi_cap + func_offset + PCI_MSI_ADDRESS_LO; in dw_pcie_ep_raise_msi_irq() 528 reg = ep_func->msi_cap + func_offset + PCI_MSI_ADDRESS_HI; in dw_pcie_ep_raise_msi_irq() 530 reg = ep_func->msi_cap + func_offset + PCI_MSI_DATA_64; in dw_pcie_ep_raise_msi_irq() 534 reg = ep_func->msi_cap + func_offset + PCI_MSI_DATA_32; in dw_pcie_ep_raise_msi_irq() [all …]
|
D | pci-layerscape-ep.c | 164 pcie->ls_epc->msi_capable = ep_func->msi_cap ? true : false; in ls_pcie_ep_init()
|
D | pcie-designware.h | 349 u8 msi_cap; /* MSI capability offset */ member
|
/drivers/pci/controller/ |
D | pci-loongson.c | 173 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &val); in loongson_pci_msi_quirk() 175 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, val); in loongson_pci_msi_quirk()
|
/drivers/net/wireless/ath/ath11k/ |
D | pci.c | 391 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in ath11k_pci_msi_config() 398 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in ath11k_pci_msi_config() 452 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_LO, in ath11k_pci_alloc_msi() 456 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_HI, in ath11k_pci_alloc_msi()
|
/drivers/xen/xen-pciback/ |
D | conf_space.c | 295 if (dev->msi_cap) { in xen_pcibk_get_interrupt_type() 297 dev->msi_cap + PCI_MSI_FLAGS, in xen_pcibk_get_interrupt_type()
|
/drivers/infiniband/hw/qib/ |
D | qib_pcie.c | 228 qib_cache_msi_info(dd, dd->pcidev->msi_cap); in qib_pcie_params() 304 pos = dd->pcidev->msi_cap; in qib_reinit_intr()
|
/drivers/net/wireless/ath/ath12k/ |
D | pci.c | 656 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in ath12k_pci_msi_config() 663 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in ath12k_pci_msi_config() 932 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_LO, in ath12k_pci_get_msi_address() 936 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_HI, in ath12k_pci_get_msi_address()
|
/drivers/net/wireless/realtek/rtw88/ |
D | rtw8822b.h | 40 u8 msi_cap; member
|
D | rtw8821c.h | 40 u8 msi_cap; member
|
D | rtw8822c.h | 32 u8 msi_cap; member
|
/drivers/net/ethernet/alacritech/ |
D | slic.h | 386 u8 msi_cap; /* 21 MSI capabilities */ member
|
/drivers/crypto/hisilicon/ |
D | qm.c | 1761 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_MASK_64, in qm_set_msi() 1764 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_MASK_64, in qm_set_msi() 1787 pci_read_config_dword(pdev, pdev->msi_cap + in qm_wait_msi_finish() 1819 pci_read_config_dword(pdev, pdev->msi_cap, &cmd); in qm_set_msi_v3() 1825 pci_write_config_dword(pdev, pdev->msi_cap, cmd); in qm_set_msi_v3() 1828 pci_read_config_dword(pdev, pdev->msi_cap, &cmd); in qm_set_msi_v3()
|
/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 1733 info->msi_cap_offset = pdev->msi_cap; in init_device_info()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.h | 3270 int msi_cap; member
|
D | tg3.c | 8999 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state() 9002 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state() 16300 tp->msi_cap = tp->pdev->msi_cap; in tg3_get_invariants()
|
D | bnx2.c | 8180 if (pdev->msi_cap) in bnx2_init_board()
|
/drivers/vfio/pci/ |
D | vfio_pci_core.c | 747 pos = vdev->pdev->msi_cap; in vfio_pci_get_irq_count()
|
/drivers/iommu/amd/ |
D | init.c | 2527 else if (iommu->dev->msi_cap) in iommu_init_irq()
|