Lines Matching full:sjw
344 shell_print(sh, "timing: sjw %u..%u, prop_seg %u..%u, " in cmd_can_show()
346 timing_min->sjw, timing_max->sjw, in cmd_can_show()
356 shell_print(sh, "timing data: sjw %u..%u, prop_seg %u..%u, " in cmd_can_show()
358 timing_min->sjw, timing_max->sjw, in cmd_can_show()
404 /* Overwrite calculated default SJW with user-provided value */ in cmd_can_bitrate_set()
405 timing.sjw = (uint16_t)strtoul(argv[4], &endptr, 10); in cmd_can_bitrate_set()
407 shell_error(sh, "failed to parse SJW"); in cmd_can_bitrate_set()
413 "(+/- %d.%d%%), sjw %d", in cmd_can_bitrate_set()
415 timing.sjw); in cmd_can_bitrate_set()
417 LOG_DBG("sjw %u, prop_seg %u, phase_seg1 %u, phase_seg2 %u, prescaler %u", in cmd_can_bitrate_set()
418 timing.sjw, timing.prop_seg, timing.phase_seg1, timing.phase_seg2, in cmd_can_bitrate_set()
475 /* Overwrite calculated default SJW with user-provided value */ in cmd_can_dbitrate_set()
476 timing.sjw = (uint16_t)strtoul(argv[4], &endptr, 10); in cmd_can_dbitrate_set()
478 shell_error(sh, "failed to parse SJW"); in cmd_can_dbitrate_set()
484 "(+/- %d.%d%%), sjw %d", in cmd_can_dbitrate_set()
486 timing.sjw); in cmd_can_dbitrate_set()
488 LOG_DBG("sjw %u, prop_seg %u, phase_seg1 %u, phase_seg2 %u, prescaler %u", in cmd_can_dbitrate_set()
489 timing.sjw, timing.prop_seg, timing.phase_seg1, timing.phase_seg2, in cmd_can_dbitrate_set()
925 "Set CAN controller bitrate (sample point and SJW optional)\n"
926 "Usage: can bitrate <device> <bitrate> [sample point] [sjw]",
930 "Set CAN controller data phase bitrate (sample point and SJW optional)\n"
931 "Usage: can dbitrate <device> <data phase bitrate> [sample point] [sjw]",