Lines Matching refs:period
155 pwm->args.period = args->args[1]; in of_pwm_xlate_with_flags()
185 pwm->args.period = args->args[1]; in of_pwm_simple_xlate()
471 if (!pwm || !state || !state->period || in pwm_apply_state()
472 state->duty_cycle > state->period) in pwm_apply_state()
510 if (state->period != pwm->state.period || in pwm_apply_state()
514 state->period); in pwm_apply_state()
519 pwm->state.period = state->period; in pwm_apply_state()
590 if (!state.period) { in pwm_adjust_config()
592 state.period = pargs.period; in pwm_adjust_config()
602 if (pargs.period != state.period) { in pwm_adjust_config()
603 u64 dutycycle = (u64)state.duty_cycle * pargs.period; in pwm_adjust_config()
605 do_div(dutycycle, state.period); in pwm_adjust_config()
607 state.period = pargs.period; in pwm_adjust_config()
615 state.duty_cycle = state.period - state.duty_cycle; in pwm_adjust_config()
851 pwm->args.period = chosen->period; in pwm_get()
998 seq_printf(s, " period: %u ns", state.period); in pwm_dbg_show()