Searched refs:tseg (Results 1 - 1 of 1) sorted by last modified time
/linux-master/drivers/net/can/dev/ |
H A D | calc_bittiming.c | 26 const unsigned int sample_point_nominal, const unsigned int tseg, 36 tseg2 = tseg + CAN_SYNC_SEG - 37 (sample_point_nominal * (tseg + CAN_SYNC_SEG)) / 40 tseg1 = tseg - tseg2; 43 tseg2 = tseg - tseg1; 46 sample_point = 1000 * (tseg + CAN_SYNC_SEG - tseg2) / 47 (tseg + CAN_SYNC_SEG); 75 unsigned int best_tseg = 0; /* current best value for tseg */ 77 unsigned int brp, tsegall, tseg, tseg1 = 0, tseg2 = 0; local 93 /* tseg eve 25 can_update_sample_point(const struct can_bittiming_const *btc, const unsigned int sample_point_nominal, const unsigned int tseg, unsigned int *tseg1_ptr, unsigned int *tseg2_ptr, unsigned int *sample_point_error_ptr) argument [all...] |
Completed in 200 milliseconds