/linux/drivers/pci/msi/ |
H A 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()
|
H A D | msi.c | 170 int pos = dev->msi_cap; in __pci_read_msi_msg() 190 int pos = dev->msi_cap; in pci_write_msg_msi() 278 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in pci_msi_set_enable() 282 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in pci_msi_set_enable() 294 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in msi_setup_msi_desc() 311 desc.pci.mask_pos = dev->msi_cap + PCI_MSI_MASK_64; in msi_setup_msi_desc() 313 desc.pci.mask_pos = dev->msi_cap + PCI_MSI_MASK_32; in msi_setup_msi_desc() 487 if (!dev->msi_cap) in pci_msi_vec_count() 490 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &msgctl); in pci_msi_vec_count() 521 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in __pci_restore_msi_state() [all …]
|
/linux/arch/mips/pci/ |
H A D | msi-octeon.c | 80 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in arch_setup_msi_irq() 182 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in arch_setup_msi_irq()
|
/linux/drivers/pci/controller/ |
H A 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()
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | pci.c | 394 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in ath11k_pci_msi_config() 401 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in ath11k_pci_msi_config() 455 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_LO, in ath11k_pci_alloc_msi() 459 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_HI, in ath11k_pci_alloc_msi()
|
/linux/drivers/xen/xen-pciback/ |
H A 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()
|
/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | rtw8822b.h | 40 u8 msi_cap; member
|
H A D | rtw8822c.h | 32 u8 msi_cap; member
|
/linux/drivers/pci/controller/dwc/ |
H A D | pci-layerscape-ep.c | 164 pcie->ls_epc->msi_capable = ep_func->msi_cap ? true : false; in ls_pcie_ep_init()
|
H A D | pcie-designware.h | 404 u8 msi_cap; /* MSI capability offset */ member
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | pci.c | 744 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in ath12k_pci_msi_config() 751 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in ath12k_pci_msi_config() 1072 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_LO, in ath12k_pci_get_msi_address() 1076 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_HI, in ath12k_pci_get_msi_address()
|
/linux/arch/alpha/kernel/ |
H A D | sys_marvel.c | 334 msi_loc = dev->msi_cap; in marvel_map_irq()
|
/linux/drivers/net/ethernet/alacritech/ |
H A D | slic.h | 386 u8 msi_cap; /* 21 MSI capabilities */ member
|
/linux/drivers/crypto/hisilicon/ |
H A D | qm.c | 1763 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_MASK_64, in qm_set_msi() 1766 pci_write_config_dword(pdev, pdev->msi_cap + PCI_MSI_MASK_64, in qm_set_msi() 1789 pci_read_config_dword(pdev, pdev->msi_cap + in qm_wait_msi_finish() 1821 pci_read_config_dword(pdev, pdev->msi_cap, &cmd); in qm_set_msi_v3() 1827 pci_write_config_dword(pdev, pdev->msi_cap, cmd); in qm_set_msi_v3() 1830 pci_read_config_dword(pdev, pdev->msi_cap, &cmd); in qm_set_msi_v3()
|
/linux/drivers/gpu/drm/i915/gvt/ |
H A D | kvmgt.c | 1741 info->msi_cap_offset = pdev->msi_cap; in init_device_info()
|
/linux/drivers/vfio/pci/ |
H A D | vfio_pci_core.c | 743 pos = vdev->pdev->msi_cap; in vfio_pci_get_irq_count()
|
/linux/include/linux/ |
H A D | pci.h | 357 u8 msi_cap; /* MSI capability offset */ 349 u8 msi_cap; /* MSI capability offset */ global() member
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 9097 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state() 9100 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state() 16406 tp->msi_cap = tp->pdev->msi_cap; in tg3_get_invariants()
|
H A D | bnx2.c | 8181 if (pdev->msi_cap) in bnx2_init_board()
|