Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/can/
Ddev.c253 int tseg1, alltseg; in can_fixup_bittiming() local
276 alltseg = bt->prop_seg + bt->phase_seg1 + bt->phase_seg2 + 1; in can_fixup_bittiming()
277 bt->bitrate = priv->clock.freq / (bt->brp * alltseg); in can_fixup_bittiming()
278 bt->sample_point = ((tseg1 + 1) * 1000) / alltseg; in can_fixup_bittiming()