Home
last modified time | relevance | path

Searched refs:parsed_cmd (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/include/
Dethsw.h65 int (*cmd_function)(struct ethsw_command_def *parsed_cmd);
71 int (*port_enable)(struct ethsw_command_def *parsed_cmd);
72 int (*port_disable)(struct ethsw_command_def *parsed_cmd);
73 int (*port_show)(struct ethsw_command_def *parsed_cmd);
74 int (*port_stats)(struct ethsw_command_def *parsed_cmd);
75 int (*port_stats_clear)(struct ethsw_command_def *parsed_cmd);
76 int (*port_learn)(struct ethsw_command_def *parsed_cmd);
77 int (*port_learn_show)(struct ethsw_command_def *parsed_cmd);
78 int (*fdb_show)(struct ethsw_command_def *parsed_cmd);
79 int (*fdb_flush)(struct ethsw_command_def *parsed_cmd);
[all …]
/external/u-boot/cmd/
Dethsw.c20 static int ethsw_port_stats_help_key_func(struct ethsw_command_def *parsed_cmd) in ethsw_port_stats_help_key_func() argument
31 static int ethsw_learn_help_key_func(struct ethsw_command_def *parsed_cmd) in ethsw_learn_help_key_func() argument
43 static int ethsw_fdb_help_key_func(struct ethsw_command_def *parsed_cmd) in ethsw_fdb_help_key_func() argument
54 static int ethsw_pvid_help_key_func(struct ethsw_command_def *parsed_cmd) in ethsw_pvid_help_key_func() argument
65 static int ethsw_vlan_help_key_func(struct ethsw_command_def *parsed_cmd) in ethsw_vlan_help_key_func() argument
76 static int ethsw_port_untag_help_key_func(struct ethsw_command_def *parsed_cmd) in ethsw_port_untag_help_key_func() argument
88 static int ethsw_egr_tag_help_key_func(struct ethsw_command_def *parsed_cmd) in ethsw_egr_tag_help_key_func() argument
99 static int ethsw_vlan_learn_help_key_func(struct ethsw_command_def *parsed_cmd) in ethsw_vlan_learn_help_key_func() argument
110 static int ethsw_ingr_fltr_help_key_func(struct ethsw_command_def *parsed_cmd) in ethsw_ingr_fltr_help_key_func() argument
121 static int ethsw_port_aggr_help_key_func(struct ethsw_command_def *parsed_cmd) in ethsw_port_aggr_help_key_func() argument
[all …]
/external/u-boot/drivers/net/
Dvsc9953.c1754 static int vsc9953_port_status_key_func(struct ethsw_command_def *parsed_cmd) in vsc9953_port_status_key_func() argument
1760 if (parsed_cmd->cmd_to_keywords[parsed_cmd->cmd_keywords_nr - 1] == in vsc9953_port_status_key_func()
1763 else if (parsed_cmd->cmd_to_keywords[parsed_cmd->cmd_keywords_nr - 1] == in vsc9953_port_status_key_func()
1769 if (parsed_cmd->port != ETHSW_CMD_PORT_ALL) { in vsc9953_port_status_key_func()
1770 if (!VSC9953_PORT_CHECK(parsed_cmd->port)) { in vsc9953_port_status_key_func()
1771 printf("Invalid port number: %d\n", parsed_cmd->port); in vsc9953_port_status_key_func()
1774 vsc9953_port_status_set(parsed_cmd->port, enabled); in vsc9953_port_status_key_func()
1783 static int vsc9953_port_config_key_func(struct ethsw_command_def *parsed_cmd) in vsc9953_port_config_key_func() argument
1787 if (parsed_cmd->port != ETHSW_CMD_PORT_ALL) { in vsc9953_port_config_key_func()
1788 if (!VSC9953_PORT_CHECK(parsed_cmd->port)) { in vsc9953_port_config_key_func()
[all …]