|
OpenBIC
OpenSource Bridge-IC
|
#include <shell/shell.h>#include <stdlib.h>#include <logging/log.h>#include "plat_hook.h"#include "plat_user_setting.h"
Functions | |
| LOG_MODULE_REGISTER (plat_temp_threshold_shell, LOG_LEVEL_DBG) | |
| SHELL_DYNAMIC_CMD_CREATE (temp_index_threshold_type_name, get_temp_index_threshold_type_name_) | |
| SHELL_STATIC_SUBCMD_SET_CREATE (sub_temp_threshold_get_cmds, SHELL_CMD(all, NULL, "temp_threshold get all", cmd_temp_threshold_get_all), SHELL_SUBCMD_SET_END) | |
| SHELL_STATIC_SUBCMD_SET_CREATE (sub_temp_threshold_cmds, SHELL_CMD(get, &sub_temp_threshold_get_cmds, "get all", NULL), SHELL_CMD_ARG(set, &temp_index_threshold_type_name, "set <temp_threshold> <value>|default [perm]", cmd_temp_threshold_set, 3, 1), SHELL_SUBCMD_SET_END) | |
| SHELL_CMD_REGISTER (temp_threshold, &sub_temp_threshold_cmds, "temp_threshold set/get commands", NULL) | |
| LOG_MODULE_REGISTER | ( | plat_temp_threshold_shell | , |
| LOG_LEVEL_DBG | |||
| ) |
| SHELL_CMD_REGISTER | ( | temp_threshold | , |
| & | sub_temp_threshold_cmds, | ||
| "temp_threshold set/get commands" | , | ||
| NULL | |||
| ) |
| SHELL_DYNAMIC_CMD_CREATE | ( | temp_index_threshold_type_name | , |
| get_temp_index_threshold_type_name_ | |||
| ) |
| SHELL_STATIC_SUBCMD_SET_CREATE | ( | sub_temp_threshold_cmds | , |
| SHELL_CMD(get, &sub_temp_threshold_get_cmds, "get all", NULL) | , | ||
| SHELL_CMD_ARG(set, &temp_index_threshold_type_name, "set <temp_threshold> <value>|default [perm]", cmd_temp_threshold_set, 3, 1) | , | ||
| SHELL_SUBCMD_SET_END | |||
| ) |
| SHELL_STATIC_SUBCMD_SET_CREATE | ( | sub_temp_threshold_get_cmds | , |
| SHELL_CMD(all, NULL, "temp_threshold get all", cmd_temp_threshold_get_all) | , | ||
| SHELL_SUBCMD_SET_END | |||
| ) |