Searched refs:tseg (Results 1 – 1 of 1) sorted by relevance
26 const unsigned int sample_point_nominal, const unsigned int tseg, in can_update_sample_point() argument36 tseg2 = tseg + CAN_SYNC_SEG - in can_update_sample_point()37 (sample_point_nominal * (tseg + CAN_SYNC_SEG)) / in can_update_sample_point()40 tseg1 = tseg - tseg2; in can_update_sample_point()43 tseg2 = tseg - tseg1; in can_update_sample_point()46 sample_point = 1000 * (tseg + CAN_SYNC_SEG - tseg2) / in can_update_sample_point()47 (tseg + CAN_SYNC_SEG); in can_update_sample_point()77 unsigned int brp, tsegall, tseg, tseg1 = 0, tseg2 = 0; in can_calc_bittiming() local94 for (tseg = (btc->tseg1_max + btc->tseg2_max) * 2 + 1; in can_calc_bittiming()95 tseg >= (btc->tseg1_min + btc->tseg2_min) * 2; tseg--) { in can_calc_bittiming()[all …]