Home
last modified time | relevance | path

Searched refs:ipi_desc (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/remoteproc/
Dmtk_scp_ipi.c40 scp->ipi_desc[id].handler = handler; in scp_ipi_register()
41 scp->ipi_desc[id].priv = priv; in scp_ipi_register()
65 scp->ipi_desc[id].handler = NULL; in scp_ipi_unregister()
66 scp->ipi_desc[id].priv = NULL; in scp_ipi_unregister()
119 mutex_lock(&scp->ipi_desc[id].lock); in scp_ipi_lock()
135 mutex_unlock(&scp->ipi_desc[id].lock); in scp_ipi_unlock()
Dmtk_scp.c90 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()
874 mutex_init(&scp->ipi_desc[i].lock); in scp_probe()
909 mutex_destroy(&scp->ipi_desc[i].lock); in scp_probe()
925 mutex_destroy(&scp->ipi_desc[i].lock); in scp_remove()
Dmtk_common.h113 struct scp_ipi_desc ipi_desc[SCP_IPI_MAX]; member
/linux-6.1.9/drivers/media/platform/mediatek/vpu/
Dmtk_vpu.c214 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.1.9/arch/arm/kernel/
Dsmp.c85 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()
713 __ipi_send_mask(ipi_desc[ipinr], target); in smp_cross_call()
741 ipi_desc[i] = irq_to_desc(ipi_base + i); in set_smp_ipi_range()
850 __ipi_send_mask(ipi_desc[IPI_CPU_BACKTRACE], mask); in raise_nmi()
/linux-6.1.9/arch/arm64/kernel/
Dsmp.c82 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()