Home
last modified time | relevance | path

Searched refs:btc (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/can/
Ddev.c89 static int can_update_sample_point(const struct can_bittiming_const *btc, in can_update_sample_point() argument
101 tseg2 = clamp(tseg2, btc->tseg2_min, btc->tseg2_max); in can_update_sample_point()
103 if (tseg1 > btc->tseg1_max) { in can_update_sample_point()
104 tseg1 = btc->tseg1_max; in can_update_sample_point()
126 const struct can_bittiming_const *btc) in can_calc_bittiming() argument
153 for (tseg = (btc->tseg1_max + btc->tseg2_max) * 2 + 1; in can_calc_bittiming()
154 tseg >= (btc->tseg1_min + btc->tseg2_min) * 2; tseg--) { in can_calc_bittiming()
161 brp = (brp / btc->brp_inc) * btc->brp_inc; in can_calc_bittiming()
162 if ((brp < btc->brp_min) || (brp > btc->brp_max)) in can_calc_bittiming()
176 can_update_sample_point(btc, sample_point_nominal, tseg / 2, &tseg1, &tseg2, &sample_point_error); in can_calc_bittiming()
[all …]
/Linux-v4.19/arch/x86/include/asm/
Dbitops.h185 asm volatile(__ASM_SIZE(btc) " %1,%0" : ADDR : "Ir" (nr)); in __change_bit()
204 asm volatile(LOCK_PREFIX __ASM_SIZE(btc) " %1,%0" in change_bit()
303 asm volatile(__ASM_SIZE(btc) " %2,%1" in __test_and_change_bit()
321 GEN_BINARY_RMWcc(LOCK_PREFIX __ASM_SIZE(btc), in test_and_change_bit()
/Linux-v4.19/kernel/debug/kdb/
Dkdb_cmds29 -btc
/Linux-v4.19/arch/x86/kvm/
Demulate.c1011 FASTOP2W(btc);