Lines Matching defs:last
125 pwm->last = pwm->state;
470 struct pwm_state *last = &pwm->last;
509 last->polarity == state->polarity &&
510 last->period > s2.period &&
511 last->period <= state->period)
514 state->period, s2.period, last->period);
522 last->polarity == state->polarity &&
523 last->period == s2.period &&
524 last->duty_cycle > s2.duty_cycle &&
525 last->duty_cycle <= state->duty_cycle)
530 last->duty_cycle, last->period);
545 *last = s1;
552 chip->ops->get_state(chip, pwm, last);
553 trace_pwm_get(pwm, last);
556 if (s1.enabled != last->enabled ||
557 s1.polarity != last->polarity ||
558 (s1.enabled && s1.period != last->period) ||
559 (s1.enabled && s1.duty_cycle != last->duty_cycle)) {
563 last->enabled, last->polarity, last->duty_cycle,
564 last->period);