Searched refs:can_btc (Results 1 – 1 of 1) sorted by relevance
258 u32 can_btc; 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()265 can_btc |= HECC_CANBTC_SAM; 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()275 hecc_write(priv, HECC_CANBTC, can_btc); in ti_hecc_set_btc()276 netdev_info(priv->ndev, "setting CANBTC=%#x\n", can_btc); in ti_hecc_set_btc()