OpenBIC
OpenSource Bridge-IC
plat_pldm_fw_version_shell.h File Reference
#include <shell/shell.h>
Include dependency graph for plat_pldm_fw_version_shell.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void cmd_get_fw_version_vr (const struct shell *shell, size_t argc, char **argv)
 
void cmd_get_fw_version_cpld (const struct shell *shell, size_t argc, char **argv)
 
 SHELL_STATIC_SUBCMD_SET_CREATE (sub_get_fw_version_cmd, SHELL_CMD(vr, NULL, "get fw version vr", cmd_get_fw_version_vr), SHELL_CMD(cpld, NULL, "get fw version cpld", cmd_get_fw_version_cpld), SHELL_SUBCMD_SET_END)
 
 SHELL_CMD_REGISTER (get_fw_version, &sub_get_fw_version_cmd, "Get fw version command", NULL)
 

Function Documentation

◆ cmd_get_fw_version_cpld()

void cmd_get_fw_version_cpld ( const struct shell *  shell,
size_t  argc,
char **  argv 
)
Here is the call graph for this function:

◆ cmd_get_fw_version_vr()

void cmd_get_fw_version_vr ( const struct shell *  shell,
size_t  argc,
char **  argv 
)
Here is the call graph for this function:

◆ SHELL_CMD_REGISTER()

SHELL_CMD_REGISTER ( get_fw_version  ,
sub_get_fw_version_cmd,
"Get fw version command"  ,
NULL   
)

◆ SHELL_STATIC_SUBCMD_SET_CREATE()

SHELL_STATIC_SUBCMD_SET_CREATE ( sub_get_fw_version_cmd  ,
SHELL_CMD(vr, NULL, "get fw version vr", cmd_get_fw_version_vr)  ,
SHELL_CMD(cpld, NULL, "get fw version cpld", cmd_get_fw_version_cpld)  ,
SHELL_SUBCMD_SET_END   
)