Searched refs:bit_timing (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/can/
H A Dti_hecc.c290 struct can_bittiming *bit_timing = &priv->can.bittiming; ti_hecc_set_btc() local
293 can_btc = (bit_timing->phase_seg2 - 1) & 0x7; ti_hecc_set_btc()
294 can_btc |= ((bit_timing->phase_seg1 + bit_timing->prop_seg - 1) ti_hecc_set_btc()
297 if (bit_timing->brp > 4) ti_hecc_set_btc()
303 can_btc |= ((bit_timing->sjw - 1) & 0x3) << 8; ti_hecc_set_btc()
304 can_btc |= ((bit_timing->brp - 1) & 0xFF) << 16; ti_hecc_set_btc()

Completed in 41 milliseconds