Lines Matching refs:period
143 pwm->args.period = args->args[1]; in of_pwm_xlate_with_flags()
173 pwm->args.period = args->args[1]; in of_pwm_simple_xlate()
458 if (!pwm || !state || !state->period || in pwm_apply_state()
459 state->duty_cycle > state->period) in pwm_apply_state()
464 if (state->period == pwm->state.period && in pwm_apply_state()
502 if (state->period != pwm->state.period || in pwm_apply_state()
506 state->period); in pwm_apply_state()
511 pwm->state.period = state->period; in pwm_apply_state()
582 if (!state.period) { in pwm_adjust_config()
584 state.period = pargs.period; in pwm_adjust_config()
594 if (pargs.period != state.period) { in pwm_adjust_config()
595 u64 dutycycle = (u64)state.duty_cycle * pargs.period; in pwm_adjust_config()
597 do_div(dutycycle, state.period); in pwm_adjust_config()
599 state.period = pargs.period; in pwm_adjust_config()
607 state.duty_cycle = state.period - state.duty_cycle; in pwm_adjust_config()
811 pwm->args.period = args.args[1]; in acpi_pwm_get()
973 pwm->args.period = chosen->period; in pwm_get()
1159 seq_printf(s, " period: %u ns", state.period); in pwm_dbg_show()