Lines Matching refs:duty_cycle

454 		s2.duty_cycle = s1.period - s1.duty_cycle;  in pwm_apply_state_debug()
462 state->duty_cycle < state->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()
485 state->duty_cycle, state->period, in pwm_apply_state_debug()
486 s2.duty_cycle, s2.period, in pwm_apply_state_debug()
487 last->duty_cycle, last->period); in pwm_apply_state_debug()
489 if (state->enabled && state->duty_cycle < s2.duty_cycle) in pwm_apply_state_debug()
492 state->duty_cycle, state->period, in pwm_apply_state_debug()
493 s2.duty_cycle, s2.period); in pwm_apply_state_debug()
495 if (!state->enabled && s2.enabled && s2.duty_cycle > 0) in pwm_apply_state_debug()
516 (s1.enabled && s1.duty_cycle != last->duty_cycle)) { in pwm_apply_state_debug()
519 s1.enabled, s1.polarity, s1.duty_cycle, s1.period, in pwm_apply_state_debug()
520 last->enabled, last->polarity, last->duty_cycle, in pwm_apply_state_debug()
545 state->duty_cycle > state->period) in pwm_apply_state()
551 state->duty_cycle == pwm->state.duty_cycle && in pwm_apply_state()
598 state->duty_cycle != pwm->state.duty_cycle) { in pwm_apply_state()
600 state->duty_cycle, in pwm_apply_state()
605 pwm->state.duty_cycle = state->duty_cycle; in pwm_apply_state()
678 state.duty_cycle = 0; in pwm_adjust_config()
690 u64 dutycycle = (u64)state.duty_cycle * pargs.period; in pwm_adjust_config()
693 state.duty_cycle = dutycycle; in pwm_adjust_config()
702 state.duty_cycle = state.period - state.duty_cycle; in pwm_adjust_config()
1192 seq_printf(s, " duty: %llu ns", state.duty_cycle); in pwm_dbg_show()