Lines Matching refs:last
35 struct pwm_state *last = &pwm->last;
77 last->polarity == state->polarity &&
78 last->period > s2.period &&
79 last->period <= state->period)
82 state->period, s2.period, last->period);
90 last->polarity == state->polarity &&
91 last->period == s2.period &&
92 last->duty_cycle > s2.duty_cycle &&
93 last->duty_cycle <= state->duty_cycle)
98 last->duty_cycle, last->period);
114 *last = s1;
119 *last = (struct pwm_state){ 0 };
120 err = chip->ops->get_state(chip, pwm, last);
121 trace_pwm_get(pwm, last, err);
126 if (s1.enabled != last->enabled ||
127 s1.polarity != last->polarity ||
128 (s1.enabled && s1.period != last->period) ||
129 (s1.enabled && s1.duty_cycle != last->duty_cycle)) {
133 last->enabled, last->polarity, last->duty_cycle,
134 last->period);
378 pwm->last = pwm->state;