Searched refs:bitrate_error (Results 1 – 1 of 1) sorted by relevance
130 unsigned int bitrate_error; /* difference between current and nominal value */ in can_calc_bittiming() local166 bitrate_error = abs(bt->bitrate - bitrate); in can_calc_bittiming()169 if (bitrate_error > best_bitrate_error) in can_calc_bittiming()173 if (bitrate_error < best_bitrate_error) in can_calc_bittiming()181 best_bitrate_error = bitrate_error; in can_calc_bittiming()185 if (bitrate_error == 0 && sample_point_error == 0) in can_calc_bittiming()193 bitrate_error = (u32)v64; in can_calc_bittiming()194 if (bitrate_error > CAN_CALC_MAX_ERROR) { in can_calc_bittiming()197 bitrate_error / 10, bitrate_error % 10); in can_calc_bittiming()201 bitrate_error / 10, bitrate_error % 10); in can_calc_bittiming()