Lines Matching refs:bt
361 const struct can_bittiming *bt = &priv->can.bittiming; in acc_set_bittiming() local
369 bt->brp, bt->prop_seg, in acc_set_bittiming()
370 bt->phase_seg1, bt->phase_seg2, bt->sjw); in acc_set_bittiming()
372 brp = FIELD_PREP(ACC_REG_BRP_FD_MASK_BRP, bt->brp - 1); in acc_set_bittiming()
374 btr = FIELD_PREP(ACC_REG_BTR_FD_MASK_TSEG1, bt->phase_seg1 + bt->prop_seg - 1); in acc_set_bittiming()
375 btr |= FIELD_PREP(ACC_REG_BTR_FD_MASK_TSEG2, bt->phase_seg2 - 1); in acc_set_bittiming()
376 btr |= FIELD_PREP(ACC_REG_BTR_FD_MASK_SJW, bt->sjw - 1); in acc_set_bittiming()
386 bt->brp, bt->prop_seg, in acc_set_bittiming()
387 bt->phase_seg1, bt->phase_seg2, bt->sjw); in acc_set_bittiming()
389 brp = FIELD_PREP(ACC_REG_BRP_CL_MASK_BRP, bt->brp - 1); in acc_set_bittiming()
391 btr = FIELD_PREP(ACC_REG_BTR_CL_MASK_TSEG1, bt->phase_seg1 + bt->prop_seg - 1); in acc_set_bittiming()
392 btr |= FIELD_PREP(ACC_REG_BTR_CL_MASK_TSEG2, bt->phase_seg2 - 1); in acc_set_bittiming()
393 btr |= FIELD_PREP(ACC_REG_BTR_CL_MASK_SJW, bt->sjw - 1); in acc_set_bittiming()