Searched refs:bitrate_error (Results 1 – 1 of 1) sorted by relevance
70 unsigned int bitrate_error; /* difference between current and nominal value */ in can_calc_bittiming() local107 bitrate_error = abs(bt->bitrate - bitrate); in can_calc_bittiming()110 if (bitrate_error > best_bitrate_error) in can_calc_bittiming()114 if (bitrate_error < best_bitrate_error) in can_calc_bittiming()123 best_bitrate_error = bitrate_error; in can_calc_bittiming()127 if (bitrate_error == 0 && sample_point_error == 0) in can_calc_bittiming()135 bitrate_error = (u32)v64; in can_calc_bittiming()136 if (bitrate_error > CAN_CALC_MAX_ERROR) { in can_calc_bittiming()139 bitrate_error / 10, bitrate_error % 10); in can_calc_bittiming()144 bitrate_error / 10, bitrate_error % 10); in can_calc_bittiming()