Searched refs:sp_err (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/drivers/can/timing/src/ |
D | main.c | 154 int sp_err = -EINVAL; in test_timing_values() local 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() 174 if (sp_err == -ENOTSUP) { in test_timing_values() 178 zassert_true(sp_err >= 0, "unknown error %d", sp_err); in test_timing_values() 179 zassert_true(sp_err <= SAMPLE_POINT_MARGIN, "sample point error %d too large", in test_timing_values() 180 sp_err); in test_timing_values() 197 printk("OK, sample point error %d.%d%%\n", sp_err / 10, sp_err % 10); in test_timing_values()
|