Lines Matching defs:last
120 pwm->last = pwm->state;
388 struct pwm_state *last = &pwm->last;
430 last->polarity == state->polarity &&
431 last->period > s2.period &&
432 last->period <= state->period)
435 state->period, s2.period, last->period);
443 last->polarity == state->polarity &&
444 last->period == s2.period &&
445 last->duty_cycle > s2.duty_cycle &&
446 last->duty_cycle <= state->duty_cycle)
451 last->duty_cycle, last->period);
467 *last = s1;
472 *last = (struct pwm_state){ 0 };
473 err = chip->ops->get_state(chip, pwm, last);
474 trace_pwm_get(pwm, last, err);
479 if (s1.enabled != last->enabled ||
480 s1.polarity != last->polarity ||
481 (s1.enabled && s1.period != last->period) ||
482 (s1.enabled && s1.duty_cycle != last->duty_cycle)) {
486 last->enabled, last->polarity, last->duty_cycle,
487 last->period);