OpenBIC
OpenSource Bridge-IC
plat_perm_config_shell.c File Reference
#include <shell/shell.h>
#include <stdlib.h>
#include <logging/log.h>
#include "sensor.h"
#include "plat_hook.h"
#include "plat_class.h"
Include dependency graph for plat_perm_config_shell.c:

Functions

 LOG_MODULE_REGISTER (plat_perm_config_shell, LOG_LEVEL_DBG)
 
 SHELL_STATIC_SUBCMD_SET_CREATE (sub_perm_config_cmds, SHELL_CMD(get, NULL, "get perm_config", cmd_perm_config_get), SHELL_CMD(clear, NULL, "clear perm_config", cmd_perm_config_clear), SHELL_SUBCMD_SET_END)
 
 SHELL_CMD_REGISTER (perm_config, &sub_perm_config_cmds, "perm_config get/clear commands", NULL)
 

Function Documentation

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_perm_config_shell  ,
LOG_LEVEL_DBG   
)

◆ SHELL_CMD_REGISTER()

SHELL_CMD_REGISTER ( perm_config  ,
sub_perm_config_cmds,
"perm_config get/clear commands"  ,
NULL   
)

◆ SHELL_STATIC_SUBCMD_SET_CREATE()

SHELL_STATIC_SUBCMD_SET_CREATE ( sub_perm_config_cmds  ,
SHELL_CMD(get, NULL, "get perm_config", cmd_perm_config_get)  ,
SHELL_CMD(clear, NULL, "clear perm_config", cmd_perm_config_clear)  ,
SHELL_SUBCMD_SET_END   
)