Searched refs:tsegall (Results 1 – 1 of 1) sorted by relevance
77 unsigned int brp, tsegall, tseg, tseg1 = 0, tseg2 = 0; in can_calc_bittiming() local96 tsegall = CAN_SYNC_SEG + tseg / 2; in can_calc_bittiming()99 brp = priv->clock.freq / (tsegall * bt->bitrate) + tseg % 2; in can_calc_bittiming()106 bitrate = priv->clock.freq / (brp * tsegall); in can_calc_bittiming()