Home
last modified time | relevance | path

Searched refs:tseg (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/net/can/dev/
Dcalc_bittiming.c26 const unsigned int sample_point_nominal, const unsigned int tseg, in can_update_sample_point() argument
36 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() local
93 for (tseg = (btc->tseg1_max + btc->tseg2_max) * 2 + 1; in can_calc_bittiming()
94 tseg >= (btc->tseg1_min + btc->tseg2_min) * 2; tseg--) { in can_calc_bittiming()
[all …]
/Linux-v6.1/arch/x86/kernel/
Dmodule.c307 void *tseg = (void *)text->sh_addr; in module_finalize() local
310 tseg, tseg + text->sh_size); in module_finalize()