OpenBIC
OpenSource Bridge-IC
plat_shell.c File Reference
#include <zephyr.h>
#include <shell/shell.h>
#include "plat_shell_e1s.h"
Include dependency graph for plat_shell.c:

Functions

 SHELL_STATIC_SUBCMD_SET_CREATE (sub_e1s_cmds, SHELL_CMD(power, NULL, "Stress E1S power consumption", cmd_stress_e1s_pwr), SHELL_SUBCMD_SET_END)
 
 SHELL_STATIC_SUBCMD_SET_CREATE (sub_test_cmds, SHELL_CMD(e1s, &sub_e1s_cmds, "E1S related command", NULL), SHELL_SUBCMD_SET_END)
 
 SHELL_CMD_REGISTER (test, &sub_test_cmds, "Test commands for GT", NULL)
 

Function Documentation

◆ SHELL_CMD_REGISTER()

SHELL_CMD_REGISTER ( test  ,
sub_test_cmds,
"Test commands for GT"  ,
NULL   
)

◆ SHELL_STATIC_SUBCMD_SET_CREATE() [1/2]

SHELL_STATIC_SUBCMD_SET_CREATE ( sub_e1s_cmds  ,
SHELL_CMD(power, NULL, "Stress E1S power consumption", cmd_stress_e1s_pwr)  ,
SHELL_SUBCMD_SET_END   
)

◆ SHELL_STATIC_SUBCMD_SET_CREATE() [2/2]

SHELL_STATIC_SUBCMD_SET_CREATE ( sub_test_cmds  ,
SHELL_CMD(e1s, &sub_e1s_cmds, "E1S related command", NULL)  ,
SHELL_SUBCMD_SET_END   
)