Lines Matching full:ps2
411 int bpr, rsj, ps1, ps2, scaler; in grcan_set_bittiming() local
422 ps2 = bt->phase_seg2; in grcan_set_bittiming()
424 netdev_dbg(dev, "Request for BPR=%d, RSJ=%d, PS1=%d, PS2=%d, SCALER=%d", in grcan_set_bittiming()
425 bpr, rsj, ps1, ps2, scaler); in grcan_set_bittiming()
426 if (!(ps1 > ps2)) { in grcan_set_bittiming()
427 netdev_err(dev, "PS1 > PS2 must hold: PS1=%d, PS2=%d\n", in grcan_set_bittiming()
428 ps1, ps2); in grcan_set_bittiming()
431 if (!(ps2 >= rsj)) { in grcan_set_bittiming()
432 netdev_err(dev, "PS2 >= RSJ must hold: PS2=%d, RSJ=%d\n", in grcan_set_bittiming()
433 ps2, rsj); in grcan_set_bittiming()
440 timing |= (ps2 << GRCAN_CONF_PS2_BIT) & GRCAN_CONF_PS2; in grcan_set_bittiming()