OpenBIC
OpenSource Bridge-IC
shell_platform.c File Reference
Include dependency graph for shell_platform.c:

Functions

 SHELL_STATIC_SUBCMD_SET_CREATE (sub_platform_cmds, SHELL_CMD(info, NULL, "Platform info.", cmd_info_print), SHELL_CMD(gpio, &sub_gpio_cmds, "GPIO relative command.", NULL), SHELL_CMD(sensor, &sub_sensor_cmds, "SENSOR relative command.", NULL), SHELL_CMD(flash, &sub_flash_cmds, "FLASH(spi) relative command.", NULL), SHELL_CMD(ipmi, &sub_ipmi_cmds, "IPMI relative command.", NULL), SHELL_CMD(power, &sub_power_cmds, "POWER relative command.", NULL), SHELL_CMD(pldm, &sub_pldm_cmds, "PLDM over MCTP relative command.", NULL), SHELL_SUBCMD_SET_END)
 
 SHELL_CMD_REGISTER (platform, &sub_platform_cmds, "Platform commands", NULL)
 

Function Documentation

◆ SHELL_CMD_REGISTER()

SHELL_CMD_REGISTER ( platform  ,
sub_platform_cmds,
"Platform commands"  ,
NULL   
)

◆ SHELL_STATIC_SUBCMD_SET_CREATE()

SHELL_STATIC_SUBCMD_SET_CREATE ( sub_platform_cmds  ,
SHELL_CMD(info, NULL, "Platform info.", cmd_info_print)  ,
SHELL_CMD(gpio, &sub_gpio_cmds, "GPIO relative command.", NULL)  ,
SHELL_CMD(sensor, &sub_sensor_cmds, "SENSOR relative command.", NULL)  ,
SHELL_CMD(flash, &sub_flash_cmds, "FLASH(spi) relative command.", NULL)  ,
SHELL_CMD(ipmi, &sub_ipmi_cmds, "IPMI relative command.", NULL)  ,
SHELL_CMD(power, &sub_power_cmds, "POWER relative command.", NULL)  ,
SHELL_CMD(pldm, &sub_pldm_cmds, "PLDM over MCTP relative command.", NULL)  ,
SHELL_SUBCMD_SET_END   
)