Searched refs:btc (Results 1 – 3 of 3) sorted by relevance
86 static int can_update_spt(const struct can_bittiming_const *btc, in can_update_spt() argument90 if (*tseg2 < btc->tseg2_min) in can_update_spt()91 *tseg2 = btc->tseg2_min; in can_update_spt()92 if (*tseg2 > btc->tseg2_max) in can_update_spt()93 *tseg2 = btc->tseg2_max; in can_update_spt()95 if (*tseg1 > btc->tseg1_max) { in can_update_spt()96 *tseg1 = btc->tseg1_max; in can_update_spt()103 const struct can_bittiming_const *btc) in can_calc_bittiming() argument126 for (tseg = (btc->tseg1_max + btc->tseg2_max) * 2 + 1; in can_calc_bittiming()127 tseg >= (btc->tseg1_min + btc->tseg2_min) * 2; tseg--) { in can_calc_bittiming()[all …]
29 -btc
937 FASTOP2W(btc);