Searched refs:btc (Results 1 – 2 of 2) sorted by relevance
52 static int can_update_spt(const struct can_bittiming_const *btc, in can_update_spt() argument56 if (*tseg2 < btc->tseg2_min) in can_update_spt()57 *tseg2 = btc->tseg2_min; in can_update_spt()58 if (*tseg2 > btc->tseg2_max) in can_update_spt()59 *tseg2 = btc->tseg2_max; in can_update_spt()61 if (*tseg1 > btc->tseg1_max) { in can_update_spt()62 *tseg1 = btc->tseg1_max; in can_update_spt()71 const struct can_bittiming_const *btc = priv->bittiming_const; in can_calc_bittiming() local95 for (tseg = (btc->tseg1_max + btc->tseg2_max) * 2 + 1; in can_calc_bittiming()96 tseg >= (btc->tseg1_min + btc->tseg2_min) * 2; tseg--) { in can_calc_bittiming()[all …]
29 -btc