summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_ipi.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2020-03-09 06:52:41 +0300
committerAnup Patel <anup@brainfault.org>2020-03-10 07:57:28 +0300
commit650c0e525ce60e80b6756aa8cc4eeae5b20ccbd8 (patch)
tree579e92ff39fa780818fe483337850d28df5ddb15 /include/sbi/sbi_ipi.h
parent6e87507db6ce7be39ccccb33d6283814f0283c09 (diff)
downloadopensbi-650c0e525ce60e80b6756aa8cc4eeae5b20ccbd8.tar.xz
lib: sbi: Fix coding style issues
This fixes various coding style issues found in the SBI codes. No functional changes. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'include/sbi/sbi_ipi.h')
-rw-r--r--include/sbi/sbi_ipi.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/include/sbi/sbi_ipi.h b/include/sbi/sbi_ipi.h
index d680148..bf91142 100644
--- a/include/sbi/sbi_ipi.h
+++ b/include/sbi/sbi_ipi.h
@@ -25,23 +25,26 @@ struct sbi_ipi_event_ops {
/** Name of the IPI event operations */
char name[32];
- /** Update callback to save/enqueue data for remote HART
- * Note: This is an optional callback and it is called just before
- * triggering IPI to remote HART.
+ /**
+ * Update callback to save/enqueue data for remote HART
+ * Note: This is an optional callback and it is called just before
+ * triggering IPI to remote HART.
*/
int (* update)(struct sbi_scratch *scratch,
struct sbi_scratch *remote_scratch,
u32 remote_hartid, void *data);
- /** Sync callback to wait for remote HART
- * Note: This is an optional callback and it is called just after
- * triggering IPI to remote HART.
+ /**
+ * Sync callback to wait for remote HART
+ * Note: This is an optional callback and it is called just after
+ * triggering IPI to remote HART.
*/
void (* sync)(struct sbi_scratch *scratch);
- /** Process callback to handle IPI event
- * Note: This is a mandatory callback and it is called on the
- * remote HART after IPI is triggered.
+ /**
+ * Process callback to handle IPI event
+ * Note: This is a mandatory callback and it is called on the
+ * remote HART after IPI is triggered.
*/
void (* process)(struct sbi_scratch *scratch);
};