Lines Matching refs:bitrate
440 uint32_t bitrate; in cmd_can_bitrate_set() local
449 bitrate = (uint32_t)strtoul(argv[2], &endptr, 10); in cmd_can_bitrate_set()
462 err = can_calc_timing(dev, &timing, bitrate, sample_pnt); in cmd_can_bitrate_set()
466 bitrate, sample_pnt / 10, sample_pnt % 10, err); in cmd_can_bitrate_set()
481 bitrate, sample_pnt / 10, sample_pnt % 10, err / 10, err % 10, in cmd_can_bitrate_set()
494 shell_print(sh, "setting bitrate to %d bps", bitrate); in cmd_can_bitrate_set()
496 err = can_set_bitrate(dev, bitrate); in cmd_can_bitrate_set()
511 uint32_t bitrate; in cmd_can_dbitrate_set() local
520 bitrate = (uint32_t)strtoul(argv[2], &endptr, 10); in cmd_can_dbitrate_set()
533 err = can_calc_timing_data(dev, &timing, bitrate, sample_pnt); in cmd_can_dbitrate_set()
537 bitrate, sample_pnt / 10, sample_pnt % 10, err); in cmd_can_dbitrate_set()
552 bitrate, sample_pnt / 10, sample_pnt % 10, err / 10, err % 10, in cmd_can_dbitrate_set()
565 shell_print(sh, "setting data bitrate to %d bps", bitrate); in cmd_can_dbitrate_set()
567 err = can_set_bitrate_data(dev, bitrate); in cmd_can_dbitrate_set()
1070 SHELL_CMD_ARG(bitrate, &dsub_can_device_name,