|
OpenBIC
OpenSource Bridge-IC
|
#include <shell/shell.h>#include <stdlib.h>#include <logging/log.h>#include "sensor.h"#include "plat_class.h"#include "plat_hook.h"#include "plat_hamsa_avdd_pcie.h"
Functions | |
| LOG_MODULE_REGISTER (plat_hamsa_avdd_pcie_shell, LOG_LEVEL_DBG) | |
| SHELL_STATIC_SUBCMD_SET_CREATE (sub_hamsa_avdd_pcie_cmds, SHELL_CMD(get, NULL, "get", cmd_hamsa_avdd_pcie_get), SHELL_CMD(set, NULL, "set <new-voltage> perm", cmd_hamsa_avdd_pcie_set), SHELL_SUBCMD_SET_END) | |
| SHELL_CMD_REGISTER (hamsa_avdd_pcie, &sub_hamsa_avdd_pcie_cmds, "hamsa_avdd_pcie voltage set/get commands", NULL) | |
| LOG_MODULE_REGISTER | ( | plat_hamsa_avdd_pcie_shell | , |
| LOG_LEVEL_DBG | |||
| ) |
| SHELL_CMD_REGISTER | ( | hamsa_avdd_pcie | , |
| & | sub_hamsa_avdd_pcie_cmds, | ||
| "hamsa_avdd_pcie voltage set/get commands" | , | ||
| NULL | |||
| ) |
| SHELL_STATIC_SUBCMD_SET_CREATE | ( | sub_hamsa_avdd_pcie_cmds | , |
| SHELL_CMD(get, NULL, "get", cmd_hamsa_avdd_pcie_get) | , | ||
| SHELL_CMD(set, NULL, "set <new-voltage> perm", cmd_hamsa_avdd_pcie_set) | , | ||
| SHELL_SUBCMD_SET_END | |||
| ) |