OpenBIC
OpenSource Bridge-IC
|
#include "commands/gpio_shell.h"
#include "commands/info_shell.h"
#include "commands/sensor_shell.h"
#include "commands/flash_shell.h"
#include "commands/ipmi_shell.h"
#include "commands/power_shell.h"
#include "commands/pldm_shell.h"
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) | |
SHELL_CMD_REGISTER | ( | platform | , |
& | sub_platform_cmds, | ||
"Platform commands" | , | ||
NULL | |||
) |
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 | |||
) |