/linux-6.6.21/drivers/pci/msi/ |
D | pcidev_msi.c | 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()
|
D | msi.c | 189 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-6.6.21/drivers/infiniband/hw/qib/ |
D | qib_pcie.c | 188 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-6.6.21/arch/mips/pci/ |
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-6.6.21/drivers/pci/controller/cadence/ |
D | pcie-cadence-ep.c | 238 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-6.6.21/drivers/vfio/pci/ |
D | vfio_pci_config.c | 1135 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()
|
D | vfio_pci_core.c | 750 pos + PCI_MSI_FLAGS, &flags); in vfio_pci_get_irq_count()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | sys_marvel.c | 337 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-6.6.21/drivers/pci/controller/dwc/ |
D | pci-imx6.c | 1192 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()
|
D | pcie-designware-ep.c | 333 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_get_msi() 358 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_set_msi() 515 reg = ep_func->msi_cap + func_offset + PCI_MSI_FLAGS; in dw_pcie_ep_raise_msi_irq()
|
/linux-6.6.21/drivers/xen/xen-pciback/ |
D | conf_space_capability.c | 271 .offset = PCI_MSI_FLAGS,
|
D | conf_space.c | 297 dev->msi_cap + PCI_MSI_FLAGS, in xen_pcibk_get_interrupt_type()
|
/linux-6.6.21/drivers/pci/controller/ |
D | pcie-microchip-host.c | 396 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-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | pci.c | 391 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-6.6.21/drivers/net/wireless/ath/ath12k/ |
D | pci.c | 641 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-6.6.21/include/uapi/linux/ |
D | pci_regs.h | 306 #define PCI_MSI_FLAGS 0x02 /* Message Control */ macro
|
/linux-6.6.21/drivers/net/ethernet/broadcom/ |
D | tg3.c | 8999 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state() 9002 tp->msi_cap + PCI_MSI_FLAGS, in tg3_restore_pci_state()
|