Searched refs:bit_timing (Results 1 – 1 of 1) sorted by relevance
257 struct can_bittiming *bit_timing = &priv->can.bittiming; in ti_hecc_set_btc() local260 can_btc = (bit_timing->phase_seg2 - 1) & 0x7; in ti_hecc_set_btc()261 can_btc |= ((bit_timing->phase_seg1 + bit_timing->prop_seg - 1) in ti_hecc_set_btc()264 if (bit_timing->brp > 4) in ti_hecc_set_btc()270 can_btc |= ((bit_timing->sjw - 1) & 0x3) << 8; in ti_hecc_set_btc()271 can_btc |= ((bit_timing->brp - 1) & 0xFF) << 16; in ti_hecc_set_btc()