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[] = { variable270 for (i = 0; i < ARRAY_SIZE(can_shell_mode_map); i++) { in can_shell_print_extended_modes()271 if (BIT(bit) == can_shell_mode_map[i].mode) { in can_shell_print_extended_modes()272 shell_fprintf_normal(sh, "%s ", can_shell_mode_map[i].name); in can_shell_print_extended_modes()277 if (i == ARRAY_SIZE(can_shell_mode_map)) { in can_shell_print_extended_modes()692 for (j = 0; j < ARRAY_SIZE(can_shell_mode_map); j++) { in cmd_can_mode_set()693 if (strcmp(argv[i], can_shell_mode_map[j].name) == 0) { in cmd_can_mode_set()694 mode |= can_shell_mode_map[j].mode; in cmd_can_mode_set()699 if (j == ARRAY_SIZE(can_shell_mode_map)) { in cmd_can_mode_set()1022 if (idx < ARRAY_SIZE(can_shell_mode_map)) { in cmd_can_mode()[all …]