Lines Matching refs:sample_point_nominal
90 unsigned int sample_point_nominal, unsigned int tseg, in can_update_sample_point() argument
100 tseg2 = tseg + CAN_CALC_SYNC_SEG - (sample_point_nominal * (tseg + CAN_CALC_SYNC_SEG)) / 1000 - i; in can_update_sample_point()
109 sample_point_error = abs(sample_point_nominal - sample_point); in can_update_sample_point()
111 if ((sample_point <= sample_point_nominal) && (sample_point_error < best_sample_point_error)) { in can_update_sample_point()
134 unsigned int sample_point_nominal; /* nominal sample point */ in can_calc_bittiming() local
142 sample_point_nominal = bt->sample_point; in can_calc_bittiming()
145 sample_point_nominal = 750; in can_calc_bittiming()
147 sample_point_nominal = 800; in can_calc_bittiming()
149 sample_point_nominal = 875; in can_calc_bittiming()
176 can_update_sample_point(btc, sample_point_nominal, tseg / 2, &tseg1, &tseg2, &sample_point_error); in can_calc_bittiming()
205 bt->sample_point = can_update_sample_point(btc, sample_point_nominal, best_tseg, in can_calc_bittiming()