Home
last modified time | relevance | path

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

/linux/drivers/pci/msi/
H A Dpcidev_msi.c16 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 Dmsi.c170 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 Dmsi-octeon.c80 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 Dpci-loongson.c173 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 Dpci.c394 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 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()
/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8822b.h40 u8 msi_cap; member
H A Drtw8822c.h32 u8 msi_cap; member
/linux/drivers/pci/controller/dwc/
H A Dpci-layerscape-ep.c164 pcie->ls_epc->msi_capable = ep_func->msi_cap ? true : false; in ls_pcie_ep_init()
H A Dpcie-designware.h404 u8 msi_cap; /* MSI capability offset */ member
/linux/drivers/net/wireless/ath/ath12k/
H A Dpci.c744 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 Dsys_marvel.c334 msi_loc = dev->msi_cap; in marvel_map_irq()
/linux/drivers/net/ethernet/alacritech/
H A Dslic.h386 u8 msi_cap; /* 21 MSI capabilities */ member
/linux/drivers/crypto/hisilicon/
H A Dqm.c1763 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 Dkvmgt.c1741 info->msi_cap_offset = pdev->msi_cap; in init_device_info()
/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c743 pos = vdev->pdev->msi_cap; in vfio_pci_get_irq_count()
/linux/include/linux/
H A Dpci.h357 u8 msi_cap; /* MSI capability offset */
349 u8 msi_cap; /* MSI capability offset */ global() member
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c9097 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 Dbnx2.c8181 if (pdev->msi_cap) in bnx2_init_board()