OpenBIC
OpenSource Bridge-IC
|
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <zephyr.h>
#include "plat_hook.h"
#include "plat_pwrlevel_shell.h"
Functions | |
void | cmd_set_pwrlevel (const struct shell *shell, size_t argc, char **argv) |
void | cmd_get_pwrlevel (const struct shell *shell, size_t argc, char **argv) |
SHELL_STATIC_SUBCMD_SET_CREATE (sub_pwrlevel_cmds, SHELL_CMD(set, NULL, "set_pwrlevel", cmd_set_pwrlevel), SHELL_CMD(get, NULL, "get_pwrlevel", cmd_get_pwrlevel), SHELL_SUBCMD_SET_END) | |
SHELL_CMD_REGISTER (pwrlevel1, &sub_pwrlevel_cmds, "pwrlevel1 commands for AG", NULL) | |
void cmd_get_pwrlevel | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
void cmd_set_pwrlevel | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
SHELL_CMD_REGISTER | ( | pwrlevel1 | , |
& | sub_pwrlevel_cmds, | ||
"pwrlevel1 commands for AG" | , | ||
NULL | |||
) |
SHELL_STATIC_SUBCMD_SET_CREATE | ( | sub_pwrlevel_cmds | , |
SHELL_CMD(set, NULL, "set_pwrlevel", cmd_set_pwrlevel) | , | ||
SHELL_CMD(get, NULL, "get_pwrlevel", cmd_get_pwrlevel) | , | ||
SHELL_SUBCMD_SET_END | |||
) |