/drivers/bus/fsl-mc/ |
D | fsl-mc-msi.c | 26 struct msi_desc *desc) in fsl_mc_domain_calc_hwirq() 36 struct msi_desc *desc) in fsl_mc_msi_set_desc() 65 struct msi_desc *msi_desc = mc_dev_irq->msi_desc; in __fsl_mc_msi_write_msg() local 73 if (msi_desc->msg.address_lo == 0x0 && msi_desc->msg.address_hi == 0x0) in __fsl_mc_msi_write_msg() 79 irq_cfg.paddr = ((u64)msi_desc->msg.address_hi << 32) | in __fsl_mc_msi_write_msg() 80 msi_desc->msg.address_lo; in __fsl_mc_msi_write_msg() 81 irq_cfg.val = msi_desc->msg.data; in __fsl_mc_msi_write_msg() 82 irq_cfg.irq_num = msi_desc->irq; in __fsl_mc_msi_write_msg() 121 struct msi_desc *msi_desc = irq_data_get_msi_desc(irq_data); in fsl_mc_msi_write_msg() local 122 struct fsl_mc_device *mc_bus_dev = to_fsl_mc_device(msi_desc->dev); in fsl_mc_msi_write_msg() [all …]
|
D | fsl-mc-allocator.c | 353 struct msi_desc *msi_desc; in fsl_mc_populate_irq_pool() local 395 for_each_msi_entry(msi_desc, &mc_bus_dev->dev) { in fsl_mc_populate_irq_pool() 396 mc_dev_irq = &irq_resources[msi_desc->fsl_mc.msi_index]; in fsl_mc_populate_irq_pool() 397 mc_dev_irq->msi_desc = msi_desc; in fsl_mc_populate_irq_pool() 398 mc_dev_irq->resource.id = msi_desc->irq; in fsl_mc_populate_irq_pool()
|
D | dprc-driver.c | 401 struct msi_desc *msi_desc = mc_dev->irqs[0]->msi_desc; in dprc_irq0_handler_thread() local 410 if (!msi_desc || msi_desc->irq != (u32)irq_num) in dprc_irq0_handler_thread() 512 irq->msi_desc->irq, in register_dprc_irq_handler() 752 devm_free_irq(&mc_dev->dev, irq->msi_desc->irq, &mc_dev->dev); in dprc_teardown_irq()
|
/drivers/ntb/ |
D | msi.c | 99 struct msi_desc *desc; in ntb_msi_setup_mws() 191 struct msi_desc *entry; 192 struct ntb_msi_desc *msi_desc; member 195 static int ntb_msi_set_desc(struct ntb_dev *ntb, struct msi_desc *entry, in ntb_msi_set_desc() 196 struct ntb_msi_desc *msi_desc) in ntb_msi_set_desc() argument 211 msi_desc->addr_offset = addr - ntb->msi->base_addr; in ntb_msi_set_desc() 212 msi_desc->data = entry->msg.data; in ntb_msi_set_desc() 217 static void ntb_msi_write_msg(struct msi_desc *entry, void *data) in ntb_msi_write_msg() 221 WARN_ON(ntb_msi_set_desc(dr->ntb, entry, dr->msi_desc)); in ntb_msi_write_msg() 235 static int ntbm_msi_setup_callback(struct ntb_dev *ntb, struct msi_desc *entry, in ntbm_msi_setup_callback() [all …]
|
D | ntb_transport.c | 200 struct ntb_msi_desc msi_desc; member 743 &qp->msi_desc); in ntb_transport_setup_qp_msi() 752 rc = ntb_spad_write(qp->ndev, spad, qp->msi_desc.addr_offset); in ntb_transport_setup_qp_msi() 756 rc = ntb_spad_write(qp->ndev, spad + 1, qp->msi_desc.data); in ntb_transport_setup_qp_msi() 761 qp_num, qp->msi_irq, qp->msi_desc.addr_offset, in ntb_transport_setup_qp_msi() 762 qp->msi_desc.data); in ntb_transport_setup_qp_msi()
|
/drivers/soc/ti/ |
D | ti_sci_inta_msi.c | 65 struct msi_desc *desc, *tmp; in ti_sci_inta_msi_free_descs() 76 struct msi_desc *msi_desc; in ti_sci_inta_msi_alloc_descs() local 81 msi_desc = alloc_msi_entry(dev, 1, NULL); in ti_sci_inta_msi_alloc_descs() 82 if (!msi_desc) { in ti_sci_inta_msi_alloc_descs() 87 msi_desc->inta.dev_index = res->desc[set].start + i; in ti_sci_inta_msi_alloc_descs() 88 INIT_LIST_HEAD(&msi_desc->list); in ti_sci_inta_msi_alloc_descs() 89 list_add_tail(&msi_desc->list, dev_to_msi_list(dev)); in ti_sci_inta_msi_alloc_descs() 138 struct msi_desc *desc; in ti_sci_inta_msi_get_virq()
|
/drivers/pci/ |
D | msi.c | 63 int __weak arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc) in arch_setup_msi_irq() 93 struct msi_desc *entry; in arch_setup_msi_irqs() 123 struct msi_desc *entry; in default_teardown_msi_irqs() 139 struct msi_desc *entry; in default_restore_msi_irq() 174 u32 __pci_msi_desc_mask_irq(struct msi_desc *desc, u32 mask, u32 flag) in __pci_msi_desc_mask_irq() 189 static void msi_mask_irq(struct msi_desc *desc, u32 mask, u32 flag) in msi_mask_irq() 194 static void __iomem *pci_msix_desc_addr(struct msi_desc *desc) in pci_msix_desc_addr() 210 u32 __pci_msix_desc_mask_irq(struct msi_desc *desc, u32 flag) in __pci_msix_desc_mask_irq() 231 static void msix_mask_irq(struct msi_desc *desc, u32 flag) in msix_mask_irq() 238 struct msi_desc *desc = irq_data_get_msi_desc(data); in msi_set_mask_bit() [all …]
|
/drivers/base/ |
D | platform-msi.c | 39 static irq_hw_number_t platform_msi_calc_hwirq(struct msi_desc *desc) in platform_msi_calc_hwirq() 48 static void platform_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc) in platform_msi_set_desc() 81 struct msi_desc *desc = irq_data_get_msi_desc(data); in platform_msi_write_msg() 111 struct msi_desc *desc, *tmp; in platform_msi_free_descs() 127 struct msi_desc *desc; in platform_msi_alloc_descs_with_irq() 132 struct msi_desc, list); in platform_msi_alloc_descs_with_irq() 287 struct msi_desc *desc; in platform_msi_domain_free_irqs() 371 struct msi_desc *desc, *tmp; in platform_msi_domain_free()
|
/drivers/dma/ |
D | mv_xor_v2.c | 171 struct msi_desc *msi_desc; member 618 static void mv_xor_v2_set_msi_msg(struct msi_desc *desc, struct msi_msg *msg) in mv_xor_v2_set_msi_msg() 721 struct msi_desc *msi_desc; in mv_xor_v2_probe() local 773 msi_desc = first_msi_entry(&pdev->dev); in mv_xor_v2_probe() 774 if (!msi_desc) { in mv_xor_v2_probe() 778 xor_dev->msi_desc = msi_desc; in mv_xor_v2_probe() 780 ret = devm_request_irq(&pdev->dev, msi_desc->irq, in mv_xor_v2_probe() 895 devm_free_irq(&pdev->dev, xor_dev->msi_desc->irq, xor_dev); in mv_xor_v2_remove()
|
/drivers/ntb/test/ |
D | ntb_msi_test.c | 37 struct ntb_msi_desc *msi_desc; member 134 struct ntb_msi_desc *desc = nm->peers[peer].msi_desc; in ntb_msit_copy_peer_desc() 171 kfree(nm->peers[peer].msi_desc); in ntb_msit_db_event() 172 nm->peers[peer].msi_desc = desc; in ntb_msit_db_event() 195 &peer->msi_desc[idx]); in ntb_msit_dbgfs_trigger() 398 kfree(nm->peers[i].msi_desc); in ntb_msit_remove()
|
/drivers/soc/fsl/dpio/ |
D | dpio-driver.c | 91 irq_set_affinity_hint(irq->msi_desc->irq, NULL); in unregister_dpio_irq_handlers() 101 irq->msi_desc->irq, in register_dpio_irq_handlers() 114 if (irq_set_affinity_hint(irq->msi_desc->irq, cpumask_of(cpu))) in register_dpio_irq_handlers() 117 irq->msi_desc->irq, cpu); in register_dpio_irq_handlers()
|
/drivers/pci/controller/ |
D | pci-hyperv.c | 1146 struct msi_desc *msi = irq_data_get_msi_desc(irq_data); in hv_msi_free() 1212 struct msi_desc *msi_desc = irq_data_get_msi_desc(data); in hv_irq_unmask() local 1227 pdev = msi_desc_to_pci_dev(msi_desc); in hv_irq_unmask() 1407 struct msi_desc *msi_desc; in hv_compose_msi_msg() local 1429 msi_desc = irq_data_get_msi_desc(data); in hv_compose_msi_msg() 1430 pdev = msi_desc_to_pci_dev(msi_desc); in hv_compose_msi_msg() 1443 if (!msi_desc->msi_attrib.is_msix && msi_desc->nvec_used > 1) { in hv_compose_msi_msg() 1448 if (msi_desc->irq != data->irq) { in hv_compose_msi_msg() 1450 int_desc->address = msi_desc->msg.address_lo | in hv_compose_msi_msg() 1451 (u64)msi_desc->msg.address_hi << 32; in hv_compose_msi_msg() [all …]
|
D | pcie-xilinx.c | 212 struct msi_desc *msi; in xilinx_pcie_destroy_msi() 266 struct msi_desc *desc) in xilinx_pcie_msi_setup_irq()
|
D | vmd.c | 200 static struct vmd_irq_list *vmd_next_irq(struct vmd_dev *vmd, struct msi_desc *desc) in vmd_next_irq() 233 struct msi_desc *desc = arg->desc; in vmd_msi_init() 281 static void vmd_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc) in vmd_set_desc()
|
D | pcie-rcar-host.c | 554 struct msi_desc *desc) in rcar_msi_setup_irq() 592 struct msi_desc *desc; in rcar_msi_setup_irqs() 603 desc = list_entry(pdev->dev.msi_list.next, struct msi_desc, list); in rcar_msi_setup_irqs()
|
/drivers/vfio/fsl-mc/ |
D | vfio_fsl_mc_intr.c | 70 hwirq = vdev->mc_dev->irqs[index]->msi_desc->irq; in vfio_set_trigger() 140 hwirq = vdev->mc_dev->irqs[index]->msi_desc->irq; in vfio_fsl_mc_set_irq_trigger()
|
/drivers/net/wireless/ath/ath11k/ |
D | pci.c | 642 struct msi_desc *msi_desc; in ath11k_pci_enable_msi() local 660 msi_desc = irq_get_msi_desc(ab_pci->pdev->irq); in ath11k_pci_enable_msi() 661 if (!msi_desc) { in ath11k_pci_enable_msi() 667 ab_pci->msi_ep_base_data = msi_desc->msg.data; in ath11k_pci_enable_msi()
|
/drivers/dma/qcom/ |
D | hidma.c | 670 static void hidma_write_msi_msg(struct msi_desc *desc, struct msi_msg *msg) in hidma_write_msi_msg() 687 struct msi_desc *desc; in hidma_free_msis() 702 struct msi_desc *desc; in hidma_request_msi() 703 struct msi_desc *failed_desc = NULL; in hidma_request_msi()
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ptp.c | 181 ptp_qoriq->irq = irq->msi_desc->irq; in dpaa2_ptp_probe()
|
/drivers/irqchip/ |
D | irq-mbigen.c | 147 static void mbigen_write_msg(struct msi_desc *desc, struct msi_msg *msg) in mbigen_write_msg()
|
D | irq-mvebu-icu.c | 92 static void mvebu_icu_write_msg(struct msi_desc *desc, struct msi_msg *msg) in mvebu_icu_write_msg()
|
D | irq-ti-sci-inta.c | 596 struct msi_desc *desc) in ti_sci_inta_msi_set_desc()
|
/drivers/perf/ |
D | arm_smmuv3_pmu.c | 673 static void smmu_pmu_write_msi_msg(struct msi_desc *desc, struct msi_msg *msg) in smmu_pmu_write_msi_msg() 690 struct msi_desc *desc; in smmu_pmu_setup_msi()
|
/drivers/iommu/ |
D | dma-iommu.c | 1315 int iommu_dma_prepare_msi(struct msi_desc *desc, phys_addr_t msi_addr) in iommu_dma_prepare_msi() 1343 void iommu_dma_compose_msi_msg(struct msi_desc *desc, in iommu_dma_compose_msi_msg()
|
/drivers/mailbox/ |
D | bcm-flexrm-mailbox.c | 1483 static void flexrm_mbox_msi_write(struct msi_desc *desc, struct msi_msg *msg) in flexrm_mbox_msi_write() 1500 struct msi_desc *desc; in flexrm_mbox_probe()
|