Searched refs:CAN_CALC_SYNC_SEG (Results 1 – 1 of 1) sorted by relevance
74 #define CAN_CALC_SYNC_SEG 1 macro100 tseg2 = tseg + CAN_CALC_SYNC_SEG - (sample_point_nominal * (tseg + CAN_CALC_SYNC_SEG)) / 1000 - i; in can_update_sample_point()108 sample_point = 1000 * (tseg + CAN_CALC_SYNC_SEG - tseg2) / (tseg + CAN_CALC_SYNC_SEG); in can_update_sample_point()155 tsegall = CAN_CALC_SYNC_SEG + tseg / 2; in can_calc_bittiming()230 bt->bitrate = priv->clock.freq / (bt->brp * (CAN_CALC_SYNC_SEG + tseg1 + tseg2)); in can_calc_bittiming()