Lines Matching refs:bt
419 struct can_bittiming *bt)
425 cmd->sjw_t = PUCAN_TSLOW_SJW_T(bt->sjw - 1,
428 cmd->tseg2 = PUCAN_TSLOW_TSEG2(bt->phase_seg2 - 1);
429 cmd->tseg1 = PUCAN_TSLOW_TSEG1(bt->prop_seg + bt->phase_seg1 - 1);
430 cmd->brp = cpu_to_le16(PUCAN_TSLOW_BRP(bt->brp - 1));
440 struct can_bittiming *bt)
446 cmd->sjw = PUCAN_TFAST_SJW(bt->sjw - 1);
447 cmd->tseg2 = PUCAN_TFAST_TSEG2(bt->phase_seg2 - 1);
448 cmd->tseg1 = PUCAN_TFAST_TSEG1(bt->prop_seg + bt->phase_seg1 - 1);
449 cmd->brp = cpu_to_le16(PUCAN_TFAST_BRP(bt->brp - 1));