Lines Matching full:period
18 * period
21 * period
30 * @period: reference period
42 u64 period; member
53 * @period: PWM period (in nanoseconds)
59 u64 period; member
110 static inline void pwm_set_period(struct pwm_device *pwm, u64 period) in pwm_set_period() argument
113 pwm->state.period = period; in pwm_set_period()
122 return state.period; in pwm_get_period()
162 * that first retrieves the current PWM state and the replaces the period
168 * ->duty_cycle value exceed the pwm_args->period one, which would trigger
183 state->period = args.period; in pwm_init_state()
194 * in nanosecond) into a value relative to the period.
204 if (!state->period) in pwm_get_relative_duty_cycle()
208 state->period); in pwm_get_relative_duty_cycle()
237 state->period, in pwm_set_relative_duty_cycle()
253 * @config: configure duty cycles and period length for this PWM
306 * @period: period of the PWM signal (in nanoseconds)
310 unsigned int period; member
341 if (state.duty_cycle == duty_ns && state.period == period_ns) in pwm_config()
345 state.period = period_ns; in pwm_config()
541 * where the polarity and period are set according to pwm_args info. in pwm_apply_args()
552 * the PWM device and set the reference period and polarity config. in pwm_apply_args()
562 state.period = pwm->args.period; in pwm_apply_args()
573 unsigned int period; member
585 .period = _period, \