Searched refs:tseg (Results 1 – 1 of 1) sorted by relevance
54 const unsigned int sample_point_reference, const unsigned int tseg, in can_update_sample_point() argument64 tseg2 = tseg + CAN_SYNC_SEG - in can_update_sample_point()65 (sample_point_reference * (tseg + CAN_SYNC_SEG)) / in can_update_sample_point()68 tseg1 = tseg - tseg2; in can_update_sample_point()71 tseg2 = tseg - tseg1; in can_update_sample_point()74 sample_point = 1000 * (tseg + CAN_SYNC_SEG - tseg2) / in can_update_sample_point()75 (tseg + CAN_SYNC_SEG); in can_update_sample_point()105 unsigned int brp, tsegall, tseg, tseg1 = 0, tseg2 = 0; in can_calc_bittiming() local118 for (tseg = (btc->tseg1_max + btc->tseg2_max) * 2 + 1; in can_calc_bittiming()119 tseg >= (btc->tseg1_min + btc->tseg2_min) * 2; tseg--) { in can_calc_bittiming()[all …]