include: Rename ipi_inject() to ipi_send() for sbi_platform

For better naming, we rename ipi_inject() to ipi_send() in
struct sbi_platform. We also replace term "inject" with
"send" in all related places.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
Anup Patel
2019-01-23 08:13:29 +05:30
committed by Anup Patel
parent 36394d2f24
commit 025d0ae994
9 changed files with 15 additions and 15 deletions

View File

@@ -12,7 +12,7 @@
#include <sbi/sbi_types.h>
void clint_ipi_inject(u32 target_hart);
void clint_ipi_send(u32 target_hart);
void clint_ipi_sync(u32 target_hart);

View File

@@ -16,7 +16,7 @@ static u32 clint_ipi_hart_count;
static volatile void *clint_ipi_base;
static volatile u32 *clint_ipi;
void clint_ipi_inject(u32 target_hart)
void clint_ipi_send(u32 target_hart)
{
if (clint_ipi_hart_count <= target_hart)
return;

View File

@@ -114,7 +114,7 @@ struct sbi_platform platform = {
.irqchip_init = k210_irqchip_init,
.ipi_init = k210_ipi_init,
.ipi_inject = clint_ipi_inject,
.ipi_send = clint_ipi_send,
.ipi_sync = clint_ipi_sync,
.ipi_clear = clint_ipi_clear,

View File

@@ -138,7 +138,7 @@ struct sbi_platform platform = {
.console_getc = sifive_uart_getc,
.console_init = sifive_u_console_init,
.irqchip_init = sifive_u_irqchip_init,
.ipi_inject = clint_ipi_inject,
.ipi_send = clint_ipi_send,
.ipi_sync = clint_ipi_sync,
.ipi_clear = clint_ipi_clear,
.ipi_init = sifive_u_ipi_init,

View File

@@ -139,7 +139,7 @@ struct sbi_platform platform = {
.console_getc = uart8250_getc,
.console_init = virt_console_init,
.irqchip_init = virt_irqchip_init,
.ipi_inject = clint_ipi_inject,
.ipi_send = clint_ipi_send,
.ipi_sync = clint_ipi_sync,
.ipi_clear = clint_ipi_clear,
.ipi_init = virt_ipi_init,

View File

@@ -191,7 +191,7 @@ struct sbi_platform platform = {
.console_getc = sifive_uart_getc,
.console_init = fu540_console_init,
.irqchip_init = fu540_irqchip_init,
.ipi_inject = clint_ipi_inject,
.ipi_send = clint_ipi_send,
.ipi_sync = clint_ipi_sync,
.ipi_clear = clint_ipi_clear,
.ipi_init = fu540_ipi_init,