Home
last modified time | relevance | path

Searched refs:msi_data (Results 1 – 25 of 36) sorted by relevance

12

/Linux-v6.6/drivers/irqchip/
Dirq-ls-scfg-msi.c36 struct ls_scfg_msi *msi_data; member
87 struct ls_scfg_msi *msi_data = irq_data_get_irq_chip_data(data); in ls_scfg_msi_compose_msg() local
89 msg->address_hi = upper_32_bits(msi_data->msiir_addr); in ls_scfg_msi_compose_msg()
90 msg->address_lo = lower_32_bits(msi_data->msiir_addr); in ls_scfg_msi_compose_msg()
106 struct ls_scfg_msi *msi_data = irq_data_get_irq_chip_data(irq_data); in ls_scfg_msi_set_affinity() local
117 if (cpu >= msi_data->msir_num) in ls_scfg_msi_set_affinity()
120 if (msi_data->msir[cpu].gic_irq <= 0) { in ls_scfg_msi_set_affinity()
142 struct ls_scfg_msi *msi_data = domain->host_data; in ls_scfg_msi_domain_irq_alloc() local
147 spin_lock(&msi_data->lock); in ls_scfg_msi_domain_irq_alloc()
148 pos = find_first_zero_bit(msi_data->used, msi_data->irqs_num); in ls_scfg_msi_domain_irq_alloc()
[all …]
Dirq-imx-mu-msi.c71 static void imx_mu_write(struct imx_mu_msi *msi_data, u32 val, u32 offs) in imx_mu_write() argument
73 iowrite32(val, msi_data->regs + offs); in imx_mu_write()
76 static u32 imx_mu_read(struct imx_mu_msi *msi_data, u32 offs) in imx_mu_read() argument
78 return ioread32(msi_data->regs + offs); in imx_mu_read()
81 static u32 imx_mu_xcr_rmw(struct imx_mu_msi *msi_data, enum imx_mu_xcr type, u32 set, u32 clr) in imx_mu_xcr_rmw() argument
86 raw_spin_lock_irqsave(&msi_data->lock, flags); in imx_mu_xcr_rmw()
87 val = imx_mu_read(msi_data, msi_data->cfg->xCR[type]); in imx_mu_xcr_rmw()
90 imx_mu_write(msi_data, val, msi_data->cfg->xCR[type]); in imx_mu_xcr_rmw()
91 raw_spin_unlock_irqrestore(&msi_data->lock, flags); in imx_mu_xcr_rmw()
98 struct imx_mu_msi *msi_data = irq_data_get_irq_chip_data(data); in imx_mu_msi_parent_mask_irq() local
[all …]
Dirq-mvebu-icu.c72 struct mvebu_icu_msi_data *msi_data, in mvebu_icu_init() argument
75 const struct mvebu_icu_subset_data *subset = msi_data->subset_data; in mvebu_icu_init()
77 if (atomic_cmpxchg(&msi_data->initialized, false, true)) in mvebu_icu_init()
95 struct mvebu_icu_msi_data *msi_data = platform_msi_get_host_data(d->domain); in mvebu_icu_write_msg() local
102 mvebu_icu_init(icu, msi_data, msg); in mvebu_icu_write_msg()
155 struct mvebu_icu_msi_data *msi_data = platform_msi_get_host_data(d); in mvebu_icu_irq_domain_translate() local
156 struct mvebu_icu *icu = msi_data->icu; in mvebu_icu_irq_domain_translate()
183 if (msi_data->subset_data->icu_group == ICU_GRP_SEI) in mvebu_icu_irq_domain_translate()
202 struct mvebu_icu_msi_data *msi_data = platform_msi_get_host_data(domain); in mvebu_icu_irq_domain_alloc() local
203 struct mvebu_icu *icu = msi_data->icu; in mvebu_icu_irq_domain_alloc()
[all …]
/Linux-v6.6/arch/powerpc/sysdev/
Dfsl_msi.c49 struct fsl_msi *msi_data; member
69 struct fsl_msi *msi_data = irqd->domain->host_data; in fsl_msi_print_chip() local
73 srs = (hwirq >> msi_data->srs_shift) & MSI_SRS_MASK; in fsl_msi_print_chip()
74 cascade_virq = msi_data->cascade_array[srs]->virq; in fsl_msi_print_chip()
90 struct fsl_msi *msi_data = h->host_data; in fsl_msi_host_map() local
95 irq_set_chip_data(virq, msi_data); in fsl_msi_host_map()
105 static int fsl_msi_init_allocator(struct fsl_msi *msi_data) in fsl_msi_init_allocator() argument
109 rc = msi_bitmap_alloc(&msi_data->bitmap, NR_MSI_IRQS_MAX, in fsl_msi_init_allocator()
110 irq_domain_get_of_node(msi_data->irqhost)); in fsl_msi_init_allocator()
119 msi_bitmap_reserve_hwirq(&msi_data->bitmap, hwirq); in fsl_msi_init_allocator()
[all …]
/Linux-v6.6/drivers/virt/acrn/
Dvm.c104 int acrn_msi_inject(struct acrn_vm *vm, u64 msi_addr, u64 msi_data) in acrn_msi_inject() argument
119 msi->msi_data = msi_data; in acrn_msi_inject()
Dacrn_drv.h219 int acrn_msi_inject(struct acrn_vm *vm, u64 msi_addr, u64 msi_data);
Dirqfd.c46 irqfd->msi.msi_data); in acrn_irqfd_inject()
/Linux-v6.6/drivers/net/wireless/ath/ath11k/
Dmhi.c259 unsigned int msi_data; in ath11k_mhi_get_msi() local
274 msi_data = base_vector; in ath11k_mhi_get_msi()
277 msi_data += i; in ath11k_mhi_get_msi()
279 irq[i] = ath11k_pci_get_msi_irq(ab, msi_data); in ath11k_mhi_get_msi()
Dhal.c291 srng->msi_data); in ath11k_hal_srng_dst_hw_init()
371 srng->msi_data); in ath11k_hal_srng_src_hw_init()
521 params->msi_data = srng->msi_data; in ath11k_hal_srng_get_params()
975 srng->msi_data = params->msi_data; in ath11k_hal_srng_setup()
Dpcic.c622 unsigned int msi_data; in ath11k_pcic_config_irq() local
640 msi_data = (msi_data_idx % msi_data_count) + msi_irq_start; in ath11k_pcic_config_irq()
641 irq = ath11k_pcic_get_msi_irq(ab, msi_data); in ath11k_pcic_config_irq()
Dhal.h508 u32 msi_data; member
570 u32 msi_data; member
Ddp_tx.c951 cmd->msi_data = params.msi_data; in ath11k_dp_tx_htt_srng_setup()
970 cmd->msi_data, ring_id, ring_type, cmd->intr_info, cmd->info2); in ath11k_dp_tx_htt_srng_setup()
/Linux-v6.6/drivers/pci/controller/mobiveil/
Dpcie-mobiveil-host.c89 u32 msi_data, msi_addr_lo, msi_addr_hi; in mobiveil_pcie_isr() local
139 msi_data = readl_relaxed(pcie->apb_csr_base + MSI_DATA_OFFSET); in mobiveil_pcie_isr()
152 msi_data, msi_addr_hi, msi_addr_lo); in mobiveil_pcie_isr()
154 generic_handle_domain_irq(msi->dev_domain, msi_data); in mobiveil_pcie_isr()
/Linux-v6.6/include/linux/
Dpci-epc.h85 u32 entry_size, u32 *msi_data,
230 u32 entry_size, u32 *msi_data, u32 *msi_addr_offset);
/Linux-v6.6/drivers/staging/media/atomisp/pci/
Datomisp_internal.h159 u16 msi_data; member
/Linux-v6.6/drivers/infiniband/hw/qib/
Dqib_pcie.c193 &dd->msi_data); in qib_cache_msi_info()
325 dd->msi_data); in qib_reinit_intr()
/Linux-v6.6/drivers/net/wireless/ath/ath10k/
Dpci.h60 u32 msi_data; member
/Linux-v6.6/drivers/pci/controller/dwc/
Dpcie-designware-host.c108 msi_target = (u64)pp->msi_data; in dw_pci_setup_msi_msg()
276 u64 msi_target = (u64)pp->msi_data; in dw_pcie_msi_init()
385 msi_vaddr = dmam_alloc_coherent(dev, sizeof(u64), &pp->msi_data, in dw_pcie_msi_host_init()
/Linux-v6.6/include/uapi/linux/
Dacrn.h488 __u64 msi_data; member
/Linux-v6.6/drivers/pci/endpoint/
Dpci-epc-core.c264 u32 *msi_data, u32 *msi_addr_offset) in pci_epc_map_msi_irq() argument
279 interrupt_num, entry_size, msi_data, in pci_epc_map_msi_irq()
/Linux-v6.6/drivers/net/wireless/ath/ath12k/
Dhal.c1276 srng->msi_data); in ath12k_hal_srng_dst_hw_init()
1353 srng->msi_data); in ath12k_hal_srng_src_hw_init()
1491 params->msi_data = srng->msi_data; in ath12k_hal_srng_get_params()
1917 srng->msi_data = params->msi_data; in ath12k_hal_srng_setup()
Ddp_tx.c765 cmd->msi_data = cpu_to_le32(params.msi_data); in ath12k_dp_tx_htt_srng_setup()
783 cmd->msi_data); in ath12k_dp_tx_htt_srng_setup()
Dpci.c568 unsigned int msi_data; in ath12k_pci_config_irq() local
583 msi_data = (msi_data_idx % msi_data_count) + msi_irq_start; in ath12k_pci_config_irq()
584 irq = ath12k_pci_get_msi_irq(ab->dev, msi_data); in ath12k_pci_config_irq()
/Linux-v6.6/arch/sparc/kernel/
Dpci_sun4v.c955 u64 msi_data; member
997 *msi = ep->msi_data; in pci_sun4v_dequeue_msi()
1000 ep->msi_data /* msi_num */, in pci_sun4v_dequeue_msi()
/Linux-v6.6/drivers/pci/controller/cadence/
Dpcie-cadence-ep.c432 u32 entry_size, u32 *msi_data, in cdns_pcie_ep_map_msi_irq() argument
477 *msi_data = data; in cdns_pcie_ep_map_msi_irq()

12