OpenBIC
OpenSource Bridge-IC
|
Functions | |
SHELL_DYNAMIC_CMD_CREATE (vr_status_rname_for_vr_status, vr_status_rname_get) | |
SHELL_DYNAMIC_CMD_CREATE (vr_rname_for_vr_status, voltage_rname_get) | |
SHELL_DYNAMIC_CMD_CREATE (vr_rname_for_vr_status_clear, voltage_rname_clear) | |
SHELL_STATIC_SUBCMD_SET_CREATE (sub_vr_status_cmds, SHELL_CMD(get, &vr_rname_for_vr_status, "get all|<voltage-rail> all|<which-status>", cmd_vr_status_get), SHELL_CMD(clear, &vr_rname_for_vr_status_clear, "clear all|<voltage-rail>", cmd_vr_status_clear), SHELL_SUBCMD_SET_END) | |
SHELL_CMD_REGISTER (vr_status, &sub_vr_status_cmds, "vr fault status set/get commands", NULL) | |
SHELL_CMD_REGISTER | ( | vr_status | , |
& | sub_vr_status_cmds, | ||
"vr fault status set/get commands" | , | ||
NULL | |||
) |
SHELL_DYNAMIC_CMD_CREATE | ( | vr_rname_for_vr_status | , |
voltage_rname_get | |||
) |
SHELL_DYNAMIC_CMD_CREATE | ( | vr_rname_for_vr_status_clear | , |
voltage_rname_clear | |||
) |
SHELL_DYNAMIC_CMD_CREATE | ( | vr_status_rname_for_vr_status | , |
vr_status_rname_get | |||
) |
SHELL_STATIC_SUBCMD_SET_CREATE | ( | sub_vr_status_cmds | , |
SHELL_CMD(get, &vr_rname_for_vr_status, "get all|<voltage-rail> all|<which-status>", cmd_vr_status_get) | , | ||
SHELL_CMD(clear, &vr_rname_for_vr_status_clear, "clear all|<voltage-rail>", cmd_vr_status_clear) | , | ||
SHELL_SUBCMD_SET_END | |||
) |