/linux-6.12.1/drivers/irqchip/ |
D | irq-ls-scfg-msi.c | 37 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 …]
|
D | irq-imx-mu-msi.c | 73 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 …]
|
D | irq-mvebu-icu.c | 71 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/ |
D | fsl_msi.c | 51 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/ |
D | vm.c | 104 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()
|
D | acrn_drv.h | 219 int acrn_msi_inject(struct acrn_vm *vm, u64 msi_addr, u64 msi_data);
|
D | irqfd.c | 46 irqfd->msi.msi_data); in acrn_irqfd_inject()
|
/linux-6.12.1/drivers/net/wireless/ath/ath11k/ |
D | mhi.c | 204 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()
|
D | hal.c | 291 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()
|
D | pcic.c | 655 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()
|
D | hal.h | 508 u32 msi_data; member 570 u32 msi_data; member
|
/linux-6.12.1/drivers/net/wireless/ath/ath12k/ |
D | mhi.c | 202 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()
|
D | hal.c | 1673 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/ |
D | pcie-mobiveil-host.c | 89 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/ |
D | mcdi_functions.h | 86 u32 msi_vector, u64 msi_address, u32 msi_data);
|
D | mcdi_functions.c | 163 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/ |
D | pci-epc.h | 78 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/ |
D | atomisp_internal.h | 150 u16 msi_data; member
|
/linux-6.12.1/drivers/pci/controller/dwc/ |
D | pcie-designware-host.c | 109 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/ |
D | qib_pcie.c | 193 &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/ |
D | pci.h | 61 u32 msi_data; member
|
/linux-6.12.1/include/uapi/linux/ |
D | acrn.h | 488 __u64 msi_data; member
|
/linux-6.12.1/drivers/pci/endpoint/ |
D | pci-epc-core.c | 261 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/ |
D | pci_sun4v.c | 955 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/ |
D | pcie-cadence-ep.c | 430 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()
|