Home
last modified time | relevance | path

Searched refs:PCI_MSI_FLAGS (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.6/drivers/pci/msi/
Dpcidev_msi.c20 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()
Dmsi.c189 pci_read_config_word(dev, pos + PCI_MSI_FLAGS, &msgctl); in pci_write_msg_msi()
192 pci_write_config_word(dev, pos + PCI_MSI_FLAGS, msgctl); in pci_write_msg_msi()
202 pci_read_config_word(dev, pos + PCI_MSI_FLAGS, &msgctl); 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()
480 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &msgctl); in pci_msi_vec_count()
511 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in __pci_restore_msi_state()
515 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in __pci_restore_msi_state()
/Linux-v6.6/drivers/infiniband/hw/qib/
Dqib_pcie.c188 pci_read_config_word(pdev, pos + PCI_MSI_FLAGS, &control); in qib_cache_msi_info()
316 pci_read_config_word(dd->pcidev, pos + PCI_MSI_FLAGS, &control); in qib_reinit_intr()
319 pci_write_config_word(dd->pcidev, pos + PCI_MSI_FLAGS, in qib_reinit_intr()
/Linux-v6.6/arch/mips/pci/
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-v6.6/drivers/pci/controller/cadence/
Dpcie-cadence-ep.c238 flags = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_MSI_FLAGS); in cdns_pcie_ep_set_msi()
242 cdns_pcie_ep_fn_writew(pcie, fn, cap + PCI_MSI_FLAGS, flags); in cdns_pcie_ep_set_msi()
257 flags = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_MSI_FLAGS); in cdns_pcie_ep_get_msi()
392 flags = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_MSI_FLAGS); in cdns_pcie_ep_send_msi_irq()
447 flags = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_MSI_FLAGS); in cdns_pcie_ep_map_msi_irq()
/Linux-v6.6/drivers/vfio/pci/
Dvfio_pci_config.c1135 if (offset <= PCI_MSI_FLAGS && offset + count >= PCI_MSI_FLAGS) { in vfio_msi_config_read()
1159 if (offset <= PCI_MSI_FLAGS && offset + count >= PCI_MSI_FLAGS) { in vfio_msi_config_write()
1166 pflags = (__le16 *)&vdev->vconfig[start + PCI_MSI_FLAGS]; in vfio_msi_config_write()
1183 start + PCI_MSI_FLAGS, in vfio_msi_config_write()
1210 p_setb(perm, PCI_MSI_FLAGS, (u8)ALL_VIRT, (u8)ALL_WRITE); in init_pci_cap_msi_perm()
1236 ret = pci_read_config_word(pdev, pos + PCI_MSI_FLAGS, &flags); in vfio_msi_cap_len()
Dvfio_pci_core.c750 pos + PCI_MSI_FLAGS, &flags); in vfio_pci_get_irq_count()
/Linux-v6.6/arch/alpha/kernel/
Dsys_marvel.c337 pci_read_config_word(dev, msi_loc + PCI_MSI_FLAGS, &msg_ctl); in marvel_map_irq()
364 pci_write_config_word(dev, msi_loc + PCI_MSI_FLAGS, in marvel_map_irq()
/Linux-v6.6/drivers/pci/controller/dwc/
Dpci-imx6.c1192 val = dw_pcie_readw_dbi(pci, offset + PCI_MSI_FLAGS); in imx6_pcie_msi_save_restore()
1197 dw_pcie_writew_dbi(pci, offset + PCI_MSI_FLAGS, val); in imx6_pcie_msi_save_restore()
1456 val = dw_pcie_readw_dbi(pci, offset + PCI_MSI_FLAGS); in imx6_pcie_probe()
1458 dw_pcie_writew_dbi(pci, offset + PCI_MSI_FLAGS, val); in imx6_pcie_probe()
Dpcie-designware-ep.c332 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_get_msi()
357 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_set_msi()
514 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_raise_msi_irq()
/Linux-v6.6/drivers/xen/xen-pciback/
Dconf_space_capability.c265 .offset = PCI_MSI_FLAGS,
Dconf_space.c303 dev->msi_cap + PCI_MSI_FLAGS, in xen_pcibk_get_interrupt_type()
/Linux-v6.6/drivers/pci/controller/
Dpcie-microchip-host.c396 reg = readw_relaxed(ecam + MC_MSI_CAP_CTRL_OFFSET + PCI_MSI_FLAGS); in mc_pcie_enable_msi()
398 writew_relaxed(reg, ecam + MC_MSI_CAP_CTRL_OFFSET + PCI_MSI_FLAGS); in mc_pcie_enable_msi()
403 writew_relaxed(reg, ecam + MC_MSI_CAP_CTRL_OFFSET + PCI_MSI_FLAGS); in mc_pcie_enable_msi()
/Linux-v6.6/drivers/net/wireless/ath/ath11k/
Dpci.c391 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()
/Linux-v6.6/drivers/net/wireless/ath/ath12k/
Dpci.c641 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in ath12k_pci_msi_config()
648 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in ath12k_pci_msi_config()
/Linux-v6.6/include/uapi/linux/
Dpci_regs.h306 #define PCI_MSI_FLAGS 0x02 /* Message Control */ macro
/Linux-v6.6/drivers/net/ethernet/broadcom/
Dtg3.c8989 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state()
8992 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state()