OpenBIC
OpenSource Bridge-IC
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
cpld_shell.h File Reference
#include <shell/shell.h>
Include dependency graph for cpld_shell.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void cmd_cpld_dump (const struct shell *shell, size_t argc, char **argv)
 
void set_cpld_polling (const struct shell *shell, size_t argc, char **argv)
 
void get_cpld_polling (const struct shell *shell, size_t argc, char **argv)
 
 SHELL_STATIC_SUBCMD_SET_CREATE (sub_cpld_control_polling_cmds, SHELL_CMD(set, NULL, "cpld polling set", set_cpld_polling), SHELL_CMD(get, NULL, "cpld polling get", get_cpld_polling), SHELL_SUBCMD_SET_END)
 
 SHELL_STATIC_SUBCMD_SET_CREATE (sub_cpld_cmd, SHELL_CMD(dump, NULL, "cpld dump", cmd_cpld_dump), SHELL_CMD(control_polling, &sub_cpld_control_polling_cmds, "cpld control polling", NULL), SHELL_SUBCMD_SET_END)
 

Function Documentation

◆ cmd_cpld_dump()

void cmd_cpld_dump ( const struct shell *  shell,
size_t  argc,
char **  argv 
)
Here is the call graph for this function:

◆ get_cpld_polling()

void get_cpld_polling ( const struct shell *  shell,
size_t  argc,
char **  argv 
)
Here is the call graph for this function:

◆ set_cpld_polling()

void set_cpld_polling ( const struct shell *  shell,
size_t  argc,
char **  argv 
)
Here is the call graph for this function:

◆ SHELL_STATIC_SUBCMD_SET_CREATE() [1/2]

SHELL_STATIC_SUBCMD_SET_CREATE ( sub_cpld_cmd  ,
SHELL_CMD(dump, NULL, "cpld dump", cmd_cpld_dump)  ,
SHELL_CMD(control_polling, &sub_cpld_control_polling_cmds, "cpld control polling", NULL)  ,
SHELL_SUBCMD_SET_END   
)

◆ SHELL_STATIC_SUBCMD_SET_CREATE() [2/2]

SHELL_STATIC_SUBCMD_SET_CREATE ( sub_cpld_control_polling_cmds  ,
SHELL_CMD(set, NULL, "cpld polling set", set_cpld_polling)  ,
SHELL_CMD(get, NULL, "cpld polling get", get_cpld_polling)  ,
SHELL_SUBCMD_SET_END   
)