Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/can/dev/
H A Dcalc_bittiming.c36 tseg2 = tseg + CAN_SYNC_SEG - in can_update_sample_point()
37 (sample_point_nominal * (tseg + CAN_SYNC_SEG)) / 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()
96 tsegall = CAN_SYNC_SEG + tseg / 2; in can_calc_bittiming()
190 u32 sample_point_in_tc = (CAN_SYNC_SEG + dbt->prop_seg + in can_calc_tdco()
H A Dbittiming.c106 bt->sample_point = ((CAN_SYNC_SEG + tseg1) * 1000) / can_bit_time(bt); in can_fixup_bittiming()
/openbmc/linux/include/linux/can/
H A Dbittiming.h12 #define CAN_SYNC_SEG 1 macro
162 return CAN_SYNC_SEG + bt->prop_seg + bt->phase_seg1 + bt->phase_seg2; in can_bit_time()
H A Ddev.h118 s32 sample_point_in_tc = (CAN_SYNC_SEG + dbt->prop_seg + in can_get_relative_tdco()