Searched refs:can_shell_mode_map (Results 1 – 1 of 1) sorted by relevance
30 static const struct can_shell_mode_mapping can_shell_mode_map[] = { variable217 for (i = 0; i < ARRAY_SIZE(can_shell_mode_map); i++) { in can_shell_print_capabilities()218 if (BIT(bit) == can_shell_mode_map[i].mode) { in can_shell_print_capabilities()219 shell_fprintf(sh, SHELL_NORMAL, "%s ", can_shell_mode_map[i].name); in can_shell_print_capabilities()224 if (i == ARRAY_SIZE(can_shell_mode_map)) { in can_shell_print_capabilities()527 for (j = 0; j < ARRAY_SIZE(can_shell_mode_map); j++) { in cmd_can_mode_set()528 if (strcmp(argv[i], can_shell_mode_map[j].name) == 0) { in cmd_can_mode_set()529 mode |= can_shell_mode_map[j].mode; in cmd_can_mode_set()534 if (j == ARRAY_SIZE(can_shell_mode_map)) { in cmd_can_mode_set()871 if (idx < ARRAY_SIZE(can_shell_mode_map)) { in cmd_can_mode()[all …]