Lines Matching full:bitrate
28 /** Bitrate in bit/s */
29 uint32_t bitrate; member
66 * @brief Assert that a CAN timing struct matches the specified bitrate
68 * Assert that the values of a CAN timing struct matches the specified bitrate
73 * @param bitrate the CAN bitrate in bit/s
76 uint32_t bitrate) in assert_bitrate_correct() argument
89 zassert_equal(bitrate, bitrate_calc, "bitrate mismatch"); in assert_bitrate_correct()
146 * returns true if bitrate was supported, false otherwise
157 printk("testing bitrate %u, sample point %u.%u%%: ", in test_timing_values()
158 test->bitrate, test->sp / 10, test->sp % 10); in test_timing_values()
164 sp_err = can_calc_timing_data(dev, &timing, test->bitrate, test->sp); in test_timing_values()
171 sp_err = can_calc_timing(dev, &timing, test->bitrate, test->sp); in test_timing_values()
175 printk("bitrate not supported\n"); in test_timing_values()
186 assert_bitrate_correct(dev, &timing, test->bitrate); in test_timing_values()