Searched refs:ipi_desc (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/drivers/remoteproc/ |
A D | mtk_scp_ipi.c | 44 scp->ipi_desc[id].handler = handler; in scp_ipi_register() 45 scp->ipi_desc[id].priv = priv; in scp_ipi_register() 69 scp->ipi_desc[id].handler = NULL; in scp_ipi_unregister() 70 scp->ipi_desc[id].priv = NULL; in scp_ipi_unregister() 123 mutex_lock(&scp->ipi_desc[id].lock); in scp_ipi_lock() 139 mutex_unlock(&scp->ipi_desc[id].lock); in scp_ipi_unlock()
|
A D | mtk_scp.c | 90 struct scp_ipi_desc *ipi_desc = scp->ipi_desc; in scp_ipi_handler() local 107 handler = ipi_desc[id].handler; in scp_ipi_handler() 115 handler(tmp_data, len, ipi_desc[id].priv); in scp_ipi_handler() 875 mutex_init(&scp->ipi_desc[i].lock); in scp_probe() 910 mutex_destroy(&scp->ipi_desc[i].lock); in scp_probe() 926 mutex_destroy(&scp->ipi_desc[i].lock); in scp_remove()
|
A D | mtk_common.h | 113 struct scp_ipi_desc ipi_desc[SCP_IPI_MAX]; member
|
/linux-6.3-rc2/drivers/media/platform/mediatek/vpu/ |
A D | mtk_vpu.c | 214 struct vpu_ipi_desc ipi_desc[IPI_MAX]; member 292 struct vpu_ipi_desc *ipi_desc; in vpu_ipi_register() local 300 ipi_desc = vpu->ipi_desc; in vpu_ipi_register() 301 ipi_desc[id].name = name; in vpu_ipi_register() 302 ipi_desc[id].handler = handler; in vpu_ipi_register() 303 ipi_desc[id].priv = priv; in vpu_ipi_register() 744 struct vpu_ipi_desc *ipi_desc = vpu->ipi_desc; in vpu_ipi_handler() local 749 if (id < IPI_MAX && ipi_desc[id].handler) { in vpu_ipi_handler() 750 ipi_desc[id].handler(data, readl(&rcv_obj->len), in vpu_ipi_handler() 751 ipi_desc[id].priv); in vpu_ipi_handler() [all …]
|
/linux-6.3-rc2/arch/arm/kernel/ |
A D | smp.c | 85 static struct irq_desc *ipi_desc[MAX_IPI] __read_mostly; variable 554 if (!ipi_desc[i]) in show_ipi_list() 560 seq_printf(p, "%10u ", irq_desc_kstat_cpu(ipi_desc[i], cpu)); in show_ipi_list() 712 __ipi_send_mask(ipi_desc[ipinr], target); in smp_cross_call() 740 ipi_desc[i] = irq_to_desc(ipi_base + i); in set_smp_ipi_range() 849 __ipi_send_mask(ipi_desc[IPI_CPU_BACKTRACE], mask); in raise_nmi()
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A D | smp.c | 82 static struct irq_desc *ipi_desc[NR_IPI] __read_mostly; variable 787 seq_printf(p, "%10u ", irq_desc_kstat_cpu(ipi_desc[i], cpu)); in arch_show_interrupts() 929 __ipi_send_mask(ipi_desc[ipinr], target); in smp_cross_call() 970 ipi_desc[i] = irq_to_desc(ipi_base + i); in set_smp_ipi_range()
|
Completed in 16 milliseconds