Home
last modified time | relevance | path

Searched refs:CAN_SYNC_SEG (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/can/dev/
H A Dcalc_bittiming.c64 tseg2 = tseg + CAN_SYNC_SEG - in can_update_sample_point()
65 (sample_point_reference * (tseg + CAN_SYNC_SEG)) / in can_update_sample_point()
74 sample_point = 1000 * (tseg + CAN_SYNC_SEG - tseg2) / in can_update_sample_point()
75 (tseg + CAN_SYNC_SEG); in can_update_sample_point()
120 tsegall = CAN_SYNC_SEG + tseg / 2; in can_calc_bittiming()
219 u32 sample_point_in_tc = (CAN_SYNC_SEG + dbt->prop_seg + in can_calc_tdco()
H A Dbittiming.c107 bt->sample_point = ((CAN_SYNC_SEG + tseg1) * 1000) / can_bit_time(bt); in can_fixup_bittiming()
/linux/include/linux/can/
H A Dbittiming.h12 #define CAN_SYNC_SEG 1 macro
248 s32 sample_point_in_tc = (CAN_SYNC_SEG + dbt->prop_seg + in can_get_relative_tdco()
264 return CAN_SYNC_SEG + bt->prop_seg + bt->phase_seg1 + bt->phase_seg2; in can_bit_time()