OpenBIC
OpenSource Bridge-IC
plat_sensor_polling_shell.h File Reference
#include <shell/shell.h>
Include dependency graph for plat_sensor_polling_shell.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void cmd_set_plat_sensor_polling_all (const struct shell *shell, size_t argc, char **argv)
 
void cmd_set_plat_sensor_polling_ubc (const struct shell *shell, size_t argc, char **argv)
 
void cmd_set_plat_sensor_polling_vr (const struct shell *shell, size_t argc, char **argv)
 
void cmd_set_plat_sensor_polling_temp (const struct shell *shell, size_t argc, char **argv)
 
void cmd_get_plat_sensor_polling_all (const struct shell *shell, size_t argc, char **argv)
 
void cmd_get_plat_sensor_polling_ubc (const struct shell *shell, size_t argc, char **argv)
 
void cmd_get_plat_sensor_polling_vr (const struct shell *shell, size_t argc, char **argv)
 
void cmd_get_plat_sensor_polling_temp (const struct shell *shell, size_t argc, char **argv)
 
 SHELL_STATIC_SUBCMD_SET_CREATE (cmd_set_plat_sensor_polling, SHELL_CMD(all, NULL, "set platform sensor polling all", cmd_set_plat_sensor_polling_all), SHELL_CMD(ubc, NULL, "set platform sensor polling ubc", cmd_set_plat_sensor_polling_ubc), SHELL_CMD(vr, NULL, "set platform sensor polling vr", cmd_set_plat_sensor_polling_vr), SHELL_CMD(temp, NULL, "set platform sensor polling temp", cmd_set_plat_sensor_polling_temp), SHELL_SUBCMD_SET_END)
 
 SHELL_STATIC_SUBCMD_SET_CREATE (cmd_get_plat_sensor_polling, SHELL_CMD(all, NULL, "get platform sensor polling all", cmd_get_plat_sensor_polling_all), SHELL_SUBCMD_SET_END)
 
 SHELL_STATIC_SUBCMD_SET_CREATE (sub_plat_sensor_polling_cmd, SHELL_CMD(set, &cmd_set_plat_sensor_polling, "set platform sensor polling", NULL), SHELL_CMD(get, &cmd_get_plat_sensor_polling, "get platform sensor polling", NULL), SHELL_SUBCMD_SET_END)
 
 SHELL_CMD_REGISTER (set_sensor_polling, &sub_plat_sensor_polling_cmd, "Disable/Enable sensor polling for group of sensors", NULL)
 

Function Documentation

◆ cmd_get_plat_sensor_polling_all()

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

◆ cmd_get_plat_sensor_polling_temp()

void cmd_get_plat_sensor_polling_temp ( const struct shell *  shell,
size_t  argc,
char **  argv 
)

◆ cmd_get_plat_sensor_polling_ubc()

void cmd_get_plat_sensor_polling_ubc ( const struct shell *  shell,
size_t  argc,
char **  argv 
)

◆ cmd_get_plat_sensor_polling_vr()

void cmd_get_plat_sensor_polling_vr ( const struct shell *  shell,
size_t  argc,
char **  argv 
)

◆ cmd_set_plat_sensor_polling_all()

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

◆ cmd_set_plat_sensor_polling_temp()

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

◆ cmd_set_plat_sensor_polling_ubc()

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

◆ cmd_set_plat_sensor_polling_vr()

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

◆ SHELL_CMD_REGISTER()

SHELL_CMD_REGISTER ( set_sensor_polling  ,
sub_plat_sensor_polling_cmd,
"Disable/Enable sensor polling for group of sensors"  ,
NULL   
)

◆ SHELL_STATIC_SUBCMD_SET_CREATE() [1/3]

SHELL_STATIC_SUBCMD_SET_CREATE ( cmd_get_plat_sensor_polling  ,
SHELL_CMD(all, NULL, "get platform sensor polling all", cmd_get_plat_sensor_polling_all)  ,
SHELL_SUBCMD_SET_END   
)

◆ SHELL_STATIC_SUBCMD_SET_CREATE() [2/3]

SHELL_STATIC_SUBCMD_SET_CREATE ( cmd_set_plat_sensor_polling  ,
SHELL_CMD(all, NULL, "set platform sensor polling all", cmd_set_plat_sensor_polling_all)  ,
SHELL_CMD(ubc, NULL, "set platform sensor polling ubc", cmd_set_plat_sensor_polling_ubc)  ,
SHELL_CMD(vr, NULL, "set platform sensor polling vr", cmd_set_plat_sensor_polling_vr)  ,
SHELL_CMD(temp, NULL, "set platform sensor polling temp", cmd_set_plat_sensor_polling_temp)  ,
SHELL_SUBCMD_SET_END   
)

◆ SHELL_STATIC_SUBCMD_SET_CREATE() [3/3]

SHELL_STATIC_SUBCMD_SET_CREATE ( sub_plat_sensor_polling_cmd  ,
SHELL_CMD(set, &cmd_set_plat_sensor_polling, "set platform sensor polling", NULL)  ,
SHELL_CMD(get, &cmd_get_plat_sensor_polling, "get platform sensor polling", NULL)  ,
SHELL_SUBCMD_SET_END   
)