/linux/drivers/pci/ |
A 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() 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() 856 if (!dev->msi_cap) in pci_msi_vec_count() 1536 dev->msi_cap = pci_find_capability(dev, PCI_CAP_ID_MSI); in pci_msi_init() 1537 if (!dev->msi_cap) in pci_msi_init() 1540 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &ctrl); in pci_msi_init() [all …]
|
/linux/drivers/pci/controller/dwc/ |
A 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() 506 if (!ep_func || !ep_func->msi_cap) in dw_pcie_ep_raise_msi_irq() 512 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_raise_msi_irq() 515 reg = ep_func->msi_cap + func_offset + PCI_MSI_ADDRESS_LO; in dw_pcie_ep_raise_msi_irq() 518 reg = ep_func->msi_cap + func_offset + PCI_MSI_ADDRESS_HI; in dw_pcie_ep_raise_msi_irq() 520 reg = ep_func->msi_cap + func_offset + PCI_MSI_DATA_64; in dw_pcie_ep_raise_msi_irq() 524 reg = ep_func->msi_cap + func_offset + PCI_MSI_DATA_32; in dw_pcie_ep_raise_msi_irq() [all …]
|
A D | pci-layerscape-ep.c | 67 pcie->ls_epc->msi_capable = ep_func->msi_cap ? true : false; in ls_pcie_ep_init()
|
A D | pcie-designware.h | 227 u8 msi_cap; /* MSI capability offset */ member
|
/linux/arch/mips/pci/ |
A D | msi-octeon.c | 76 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()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | msi.c | 356 pci_read_config_dword(pdev, pdev->msi_cap + PCI_MSI_ADDRESS_HI, &addr_hi); in rtas_hack_32bit_msi_gen2() 358 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_ADDRESS_LO, addr_lo); in rtas_hack_32bit_msi_gen2() 359 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_ADDRESS_HI, 0); in rtas_hack_32bit_msi_gen2()
|
/linux/drivers/infiniband/hw/qib/ |
A 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()
|
/linux/drivers/xen/xen-pciback/ |
A D | conf_space.c | 301 if (dev->msi_cap) { in xen_pcibk_get_interrupt_type() 303 dev->msi_cap + PCI_MSI_FLAGS, in xen_pcibk_get_interrupt_type()
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | pci.c | 462 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_LO, in ath11k_pci_get_msi_address() 466 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_HI, in ath11k_pci_get_msi_address() 863 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in ath11k_pci_msi_config() 870 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in ath11k_pci_msi_config()
|
/linux/drivers/net/wireless/realtek/rtw88/ |
A D | rtw8822b.h | 40 u8 msi_cap; member
|
A D | rtw8821c.h | 20 u8 msi_cap; member
|
A D | rtw8822c.h | 27 u8 msi_cap; member
|
/linux/drivers/gpu/drm/i915/gvt/ |
A D | gvt.c | 80 info->msi_cap_offset = pdev->msi_cap; in init_device_info()
|
/linux/drivers/net/ethernet/alacritech/ |
A D | slic.h | 388 u8 msi_cap; /* 21 MSI capabilities */ member
|
/linux/arch/alpha/kernel/ |
A D | sys_marvel.c | 334 msi_loc = dev->msi_cap; in marvel_map_irq()
|
/linux/drivers/crypto/hisilicon/ |
A D | qm.c | 2363 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_MASK_64, in qm_set_msi() 2366 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_MASK_64, in qm_set_msi() 2389 pci_read_config_dword(pdev, pdev->msi_cap + in qm_wait_msi_finish() 2421 pci_read_config_dword(pdev, pdev->msi_cap, &cmd); in qm_set_msi_v3() 2427 pci_write_config_dword(pdev, pdev->msi_cap, cmd); in qm_set_msi_v3() 2430 pci_read_config_dword(pdev, pdev->msi_cap, &cmd); in qm_set_msi_v3()
|
/linux/drivers/vfio/pci/ |
A D | vfio_pci_core.c | 494 pos = vdev->pdev->msi_cap; in vfio_pci_get_irq_count()
|
/linux/drivers/net/ethernet/broadcom/ |
A D | tg3.h | 3270 int msi_cap; member
|
A D | tg3.c | 8993 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state() 8996 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state() 16262 tp->msi_cap = tp->pdev->msi_cap; in tg3_get_invariants()
|
A D | bnx2.c | 8199 if (pdev->msi_cap) in bnx2_init_board()
|
/linux/include/linux/ |
A D | pci.h | 339 u8 msi_cap; /* MSI capability offset */ member
|
/linux/drivers/iommu/amd/ |
A D | init.c | 2189 else if (iommu->dev->msi_cap) in iommu_init_irq()
|