Searched refs:msi_cap (Results 1 – 18 of 18) sorted by relevance
/drivers/pci/ |
D | msi.c | 269 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/ |
D | pcie-designware-ep.c | 321 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 …]
|
D | pci-layerscape-ep.c | 163 pcie->ls_epc->msi_capable = ep_func->msi_cap ? true : false; in ls_pcie_ep_init()
|
D | pcie-designware.h | 228 u8 msi_cap; /* MSI capability offset */ member
|
/drivers/infiniband/hw/qib/ |
D | qib_pcie.c | 236 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/ |
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/net/wireless/realtek/rtw88/ |
D | rtw8822b.h | 40 u8 msi_cap; member
|
D | rtw8821c.h | 20 u8 msi_cap; member
|
D | rtw8822c.h | 27 u8 msi_cap; member
|
/drivers/gpu/drm/i915/gvt/ |
D | gvt.c | 80 info->msi_cap_offset = pdev->msi_cap; in init_device_info()
|
/drivers/net/ethernet/alacritech/ |
D | slic.h | 388 u8 msi_cap; /* 21 MSI capabilities */ member
|
/drivers/net/wireless/ath/ath11k/ |
D | pci.c | 464 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/ |
D | qm.c | 2349 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/ |
D | vfio_pci_core.c | 497 pos = vdev->pdev->msi_cap; in vfio_pci_get_irq_count()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.h | 3270 int msi_cap; member
|
D | tg3.c | 9005 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()
|
D | bnx2.c | 8199 if (pdev->msi_cap) in bnx2_init_board()
|
/drivers/iommu/amd/ |
D | init.c | 2207 else if (iommu->dev->msi_cap) in iommu_init_irq()
|