mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-11-20 02:22:19 +00:00
lib: utils/mpxy: Rename fdt_mpxy_rpmi_mbox to fdt_mpxy_rpmi
The common fdt_mpxy_rpmi_mbox driver is being upgraded to support emulated MPXY channels hence drop term "mbox" from fdt_mpxy_rpmi_mbox everywhere. Signed-off-by: Anup Patel <anup.patel@oss.qualcomm.com> Reviewed-by: Pawandeep Oza <pawandeep.oza@oss.qualcomm.com> Tested-by: Pawandeep Oza <pawandeep.oza@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260923032359.4041876-2-anup.patel@oss.qualcomm.com Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
1 parent
fde5dfe96f
commit
0298a2c343
12 files changed
+76
-84
No files matched your search
+6
-6
@@ -7,8 +7,8 @@
|
||||
* Anup Patel <apatel@ventanamicro.com>
|
||||
*/
|
||||
|
||||
#ifndef __FDT_MPXY_RPMI_MBOX_H__
|
||||
#define __FDT_MPXY_RPMI_MBOX_H__
|
||||
#ifndef __FDT_MPXY_RPMI_H__
|
||||
#define __FDT_MPXY_RPMI_H__
|
||||
|
||||
#include <sbi/sbi_types.h>
|
||||
#include <sbi/sbi_mpxy.h>
|
||||
@@ -61,8 +61,8 @@ struct mpxy_rpmi_service_data {
|
||||
u32 max_rx_len;
|
||||
};
|
||||
|
||||
/** MPXY RPMI mbox data for each service group */
|
||||
struct mpxy_rpmi_mbox_data {
|
||||
/** MPXY RPMI data for each service group */
|
||||
struct mpxy_rpmi_data {
|
||||
u32 servicegrp_id;
|
||||
u32 num_services;
|
||||
struct mpxy_rpmi_service_data *service_data;
|
||||
@@ -73,13 +73,13 @@ struct mpxy_rpmi_mbox_data {
|
||||
|
||||
/** Setup RPMI service group context for MPXY */
|
||||
int (*setup_group)(void **context, struct mbox_chan *chan,
|
||||
const struct mpxy_rpmi_mbox_data *data);
|
||||
const struct mpxy_rpmi_data *data);
|
||||
|
||||
/** Cleanup RPMI service group context for MPXY */
|
||||
void (*cleanup_group)(void *context);
|
||||
};
|
||||
|
||||
/** Common probe function for MPXY RPMI drivers */
|
||||
int mpxy_rpmi_mbox_init(const void *fdt, int nodeoff, const struct fdt_match *match);
|
||||
int fdt_mpxy_rpmi_init(const void *fdt, int nodeoff, const struct fdt_match *match);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user