Lines Matching refs:last
115 pwm->last = pwm->state; in pwm_device_request()
427 struct pwm_state *last = &pwm->last; in pwm_apply_state_debug() local
466 last->polarity == state->polarity && in pwm_apply_state_debug()
467 last->period > s2.period && in pwm_apply_state_debug()
468 last->period <= state->period) in pwm_apply_state_debug()
471 state->period, s2.period, last->period); in pwm_apply_state_debug()
479 last->polarity == state->polarity && in pwm_apply_state_debug()
480 last->period == s2.period && in pwm_apply_state_debug()
481 last->duty_cycle > s2.duty_cycle && in pwm_apply_state_debug()
482 last->duty_cycle <= state->duty_cycle) in pwm_apply_state_debug()
487 last->duty_cycle, last->period); in pwm_apply_state_debug()
502 *last = s1; in pwm_apply_state_debug()
509 chip->ops->get_state(chip, pwm, last); in pwm_apply_state_debug()
510 trace_pwm_get(pwm, last); in pwm_apply_state_debug()
513 if (s1.enabled != last->enabled || in pwm_apply_state_debug()
514 s1.polarity != last->polarity || in pwm_apply_state_debug()
515 (s1.enabled && s1.period != last->period) || in pwm_apply_state_debug()
516 (s1.enabled && s1.duty_cycle != last->duty_cycle)) { in pwm_apply_state_debug()
520 last->enabled, last->polarity, last->duty_cycle, in pwm_apply_state_debug()
521 last->period); in pwm_apply_state_debug()