can_btc 268 drivers/net/can/ti_hecc.c u32 can_btc; can_btc 270 drivers/net/can/ti_hecc.c can_btc = (bit_timing->phase_seg2 - 1) & 0x7; can_btc 271 drivers/net/can/ti_hecc.c can_btc |= ((bit_timing->phase_seg1 + bit_timing->prop_seg - 1) can_btc 275 drivers/net/can/ti_hecc.c can_btc |= HECC_CANBTC_SAM; can_btc 280 drivers/net/can/ti_hecc.c can_btc |= ((bit_timing->sjw - 1) & 0x3) << 8; can_btc 281 drivers/net/can/ti_hecc.c can_btc |= ((bit_timing->brp - 1) & 0xFF) << 16; can_btc 285 drivers/net/can/ti_hecc.c hecc_write(priv, HECC_CANBTC, can_btc); can_btc 286 drivers/net/can/ti_hecc.c netdev_info(priv->ndev, "setting CANBTC=%#x\n", can_btc);