Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/irqchip/
Dirq-ls-scfg-msi.c37 struct ls_scfg_msi *msi_data; member
88 struct ls_scfg_msi *msi_data = irq_data_get_irq_chip_data(data); in ls_scfg_msi_compose_msg() local
90 msg->address_hi = upper_32_bits(msi_data->msiir_addr); in ls_scfg_msi_compose_msg()
91 msg->address_lo = lower_32_bits(msi_data->msiir_addr); in ls_scfg_msi_compose_msg()
107 struct ls_scfg_msi *msi_data = irq_data_get_irq_chip_data(irq_data); in ls_scfg_msi_set_affinity() local
118 if (cpu >= msi_data->msir_num) in ls_scfg_msi_set_affinity()
121 if (msi_data->msir[cpu].gic_irq <= 0) { in ls_scfg_msi_set_affinity()
143 struct ls_scfg_msi *msi_data = domain->host_data; in ls_scfg_msi_domain_irq_alloc() local
148 spin_lock(&msi_data->lock); in ls_scfg_msi_domain_irq_alloc()
149 pos = find_first_zero_bit(msi_data->used, msi_data->irqs_num); in ls_scfg_msi_domain_irq_alloc()
[all …]
Dirq-imx-mu-msi.c73 static void imx_mu_write(struct imx_mu_msi *msi_data, u32 val, u32 offs) in imx_mu_write() argument
75 iowrite32(val, msi_data->regs + offs); in imx_mu_write()
78 static u32 imx_mu_read(struct imx_mu_msi *msi_data, u32 offs) in imx_mu_read() argument
80 return ioread32(msi_data->regs + offs); in imx_mu_read()
83 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
88 raw_spin_lock_irqsave(&msi_data->lock, flags); in imx_mu_xcr_rmw()
89 val = imx_mu_read(msi_data, msi_data->cfg->xCR[type]); in imx_mu_xcr_rmw()
92 imx_mu_write(msi_data, val, msi_data->cfg->xCR[type]); in imx_mu_xcr_rmw()
93 raw_spin_unlock_irqrestore(&msi_data->lock, flags); in imx_mu_xcr_rmw()
100 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.c71 struct mvebu_icu_msi_data *msi_data = d->host_data; in mvebu_icu_translate() local
72 struct mvebu_icu *icu = msi_data->icu; in mvebu_icu_translate()
99 if (msi_data->subset_data->icu_group == ICU_GRP_SEI) in mvebu_icu_translate()
112 struct mvebu_icu_msi_data *msi_data, in mvebu_icu_init() argument
115 const struct mvebu_icu_subset_data *subset = msi_data->subset_data; in mvebu_icu_init()
117 if (atomic_cmpxchg(&msi_data->initialized, false, true)) in mvebu_icu_init()
147 struct mvebu_icu_msi_data *msi_data = d->chip_data; in mvebu_icu_write_msi_msg() local
148 unsigned int icu_group = msi_data->subset_data->icu_group; in mvebu_icu_write_msi_msg()
150 struct mvebu_icu *icu = msi_data->icu; in mvebu_icu_write_msi_msg()
156 mvebu_icu_init(icu, msi_data, msg); in mvebu_icu_write_msi_msg()
[all …]
/linux-6.12.1/arch/powerpc/sysdev/
Dfsl_msi.c51 struct fsl_msi *msi_data; member
71 struct fsl_msi *msi_data = irqd->domain->host_data; in fsl_msi_print_chip() local
75 srs = (hwirq >> msi_data->srs_shift) & MSI_SRS_MASK; in fsl_msi_print_chip()
76 cascade_virq = msi_data->cascade_array[srs]->virq; in fsl_msi_print_chip()
92 struct fsl_msi *msi_data = h->host_data; in fsl_msi_host_map() local
97 irq_set_chip_data(virq, msi_data); in fsl_msi_host_map()
107 static int fsl_msi_init_allocator(struct fsl_msi *msi_data) in fsl_msi_init_allocator() argument
111 rc = msi_bitmap_alloc(&msi_data->bitmap, NR_MSI_IRQS_MAX, in fsl_msi_init_allocator()
112 irq_domain_get_of_node(msi_data->irqhost)); in fsl_msi_init_allocator()
121 msi_bitmap_reserve_hwirq(&msi_data->bitmap, hwirq); in fsl_msi_init_allocator()
[all …]
/linux-6.12.1/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-6.12.1/drivers/net/wireless/ath/ath11k/
Dmhi.c204 unsigned int msi_data; in ath11k_mhi_get_msi() local
219 msi_data = base_vector; in ath11k_mhi_get_msi()
222 msi_data += i; in ath11k_mhi_get_msi()
224 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()
1002 srng->msi_data = params->msi_data; in ath11k_hal_srng_setup()
Dpcic.c655 unsigned int msi_data; in ath11k_pcic_config_irq() local
673 msi_data = (msi_data_idx % msi_data_count) + msi_irq_start; in ath11k_pcic_config_irq()
674 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
/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Dmhi.c202 unsigned int msi_data; in ath12k_mhi_get_msi() local
217 msi_data = base_vector; in ath12k_mhi_get_msi()
221 msi_data++); in ath12k_mhi_get_msi()
224 msi_data); in ath12k_mhi_get_msi()
Dhal.c1673 srng->msi_data); in ath12k_hal_srng_dst_hw_init()
1750 srng->msi_data); in ath12k_hal_srng_src_hw_init()
1888 params->msi_data = srng->msi_data; in ath12k_hal_srng_get_params()
2315 srng->msi_data = params->msi_data; in ath12k_hal_srng_setup()
/linux-6.12.1/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-6.12.1/drivers/cdx/controller/
Dmcdi_functions.h86 u32 msi_vector, u64 msi_address, u32 msi_data);
Dmcdi_functions.c163 u32 msi_vector, u64 msi_address, u32 msi_data) in cdx_mcdi_write_msi() argument
172 MCDI_SET_DWORD(inbuf, CDX_DEVICE_WRITE_MSI_MSG_IN_MSI_DATA, msi_data); in cdx_mcdi_write_msi()
/linux-6.12.1/include/linux/
Dpci-epc.h78 u32 entry_size, u32 *msi_data,
257 u32 entry_size, u32 *msi_data, u32 *msi_addr_offset);
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Datomisp_internal.h150 u16 msi_data; member
/linux-6.12.1/drivers/pci/controller/dwc/
Dpcie-designware-host.c109 msi_target = (u64)pp->msi_data; in dw_pci_setup_msi_msg()
270 u64 msi_target = (u64)pp->msi_data; in dw_pcie_msi_init()
377 msi_vaddr = dmam_alloc_coherent(dev, sizeof(u64), &pp->msi_data, in dw_pcie_msi_host_init()
383 msi_vaddr = dmam_alloc_coherent(dev, sizeof(u64), &pp->msi_data, in dw_pcie_msi_host_init()
/linux-6.12.1/drivers/infiniband/hw/qib/
Dqib_pcie.c193 &dd->msi_data); in qib_cache_msi_info()
325 dd->msi_data); in qib_reinit_intr()
/linux-6.12.1/drivers/net/wireless/ath/ath10k/
Dpci.h61 u32 msi_data; member
/linux-6.12.1/include/uapi/linux/
Dacrn.h488 __u64 msi_data; member
/linux-6.12.1/drivers/pci/endpoint/
Dpci-epc-core.c261 u32 *msi_data, u32 *msi_addr_offset) in pci_epc_map_msi_irq() argument
276 interrupt_num, entry_size, msi_data, in pci_epc_map_msi_irq()
/linux-6.12.1/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-6.12.1/drivers/pci/controller/cadence/
Dpcie-cadence-ep.c430 u32 entry_size, u32 *msi_data, in cdns_pcie_ep_map_msi_irq() argument
475 *msi_data = data; in cdns_pcie_ep_map_msi_irq()

12