Lines Matching refs:duty_cycle
418 s2.duty_cycle = s1.period - s1.duty_cycle; in pwm_apply_state_debug()
426 state->duty_cycle < state->period) in pwm_apply_state_debug()
445 last->duty_cycle > s2.duty_cycle && in pwm_apply_state_debug()
446 last->duty_cycle <= state->duty_cycle) in pwm_apply_state_debug()
449 state->duty_cycle, state->period, in pwm_apply_state_debug()
450 s2.duty_cycle, s2.period, in pwm_apply_state_debug()
451 last->duty_cycle, last->period); in pwm_apply_state_debug()
453 if (state->enabled && state->duty_cycle < s2.duty_cycle) in pwm_apply_state_debug()
456 state->duty_cycle, state->period, in pwm_apply_state_debug()
457 s2.duty_cycle, s2.period); in pwm_apply_state_debug()
459 if (!state->enabled && s2.enabled && s2.duty_cycle > 0) in pwm_apply_state_debug()
482 (s1.enabled && s1.duty_cycle != last->duty_cycle)) { in pwm_apply_state_debug()
485 s1.enabled, s1.polarity, s1.duty_cycle, s1.period, in pwm_apply_state_debug()
486 last->enabled, last->polarity, last->duty_cycle, in pwm_apply_state_debug()
511 state->duty_cycle > state->period) in pwm_apply_state()
517 state->duty_cycle == pwm->state.duty_cycle && in pwm_apply_state()
592 state.duty_cycle = 0; in pwm_adjust_config()
604 u64 dutycycle = (u64)state.duty_cycle * pargs.period; in pwm_adjust_config()
607 state.duty_cycle = dutycycle; in pwm_adjust_config()
616 state.duty_cycle = state.period - state.duty_cycle; in pwm_adjust_config()
1075 seq_printf(s, " duty: %llu ns", state.duty_cycle); in pwm_dbg_show()