Searched refs:can_shell_mode_map (Results 1 – 1 of 1) sorted by relevance
35 static const struct can_shell_mode_mapping can_shell_mode_map[] = { variable268 for (i = 0; i < ARRAY_SIZE(can_shell_mode_map); i++) { in can_shell_print_extended_modes()269 if (BIT(bit) == can_shell_mode_map[i].mode) { in can_shell_print_extended_modes()270 shell_fprintf_normal(sh, "%s ", can_shell_mode_map[i].name); in can_shell_print_extended_modes()275 if (i == ARRAY_SIZE(can_shell_mode_map)) { in can_shell_print_extended_modes()690 for (j = 0; j < ARRAY_SIZE(can_shell_mode_map); j++) { in cmd_can_mode_set()691 if (strcmp(argv[i], can_shell_mode_map[j].name) == 0) { in cmd_can_mode_set()692 mode |= can_shell_mode_map[j].mode; in cmd_can_mode_set()697 if (j == ARRAY_SIZE(can_shell_mode_map)) { in cmd_can_mode_set()1020 if (idx < ARRAY_SIZE(can_shell_mode_map)) { in cmd_can_mode()[all …]