CAN_SYNC_SEG
bt->sample_point = ((CAN_SYNC_SEG + tseg1) * 1000) / can_bit_time(bt);
tsegall = CAN_SYNC_SEG + tseg / 2;
u32 sample_point_in_tc = (CAN_SYNC_SEG + dbt->prop_seg +
tseg2 = tseg + CAN_SYNC_SEG -
(sample_point_reference * (tseg + CAN_SYNC_SEG)) /
sample_point = 1000 * (tseg + CAN_SYNC_SEG - tseg2) /
(tseg + CAN_SYNC_SEG);
s32 sample_point_in_tc = (CAN_SYNC_SEG + dbt->prop_seg +
return CAN_SYNC_SEG + bt->prop_seg + bt->phase_seg1 + bt->phase_seg2;