Lines Matching refs:period
40 unsigned period; /* PWM period expressed in clk cycles */ member
103 tcbpwm->period = 0; in atmel_tcb_pwm_request()
124 &tcbpwm->period); in atmel_tcb_pwm_request()
252 if (tcbpwm->duty != tcbpwm->period && tcbpwm->duty > 0) { in atmel_tcb_pwm_enable()
280 tcbpwm->period); in atmel_tcb_pwm_enable()
298 unsigned period; in atmel_tcb_pwm_config() local
338 period = div_u64(period_ns, min); in atmel_tcb_pwm_config()
354 atcbpwm->duty != atcbpwm->period) && in atmel_tcb_pwm_config()
355 (atcbpwm->div != i || atcbpwm->period != period)) { in atmel_tcb_pwm_config()
361 tcbpwm->period = period; in atmel_tcb_pwm_config()
371 int duty_cycle, period; in atmel_tcb_pwm_apply() local
382 period = state->period < INT_MAX ? state->period : INT_MAX; in atmel_tcb_pwm_apply()
385 ret = atmel_tcb_pwm_config(chip, pwm, duty_cycle, period); in atmel_tcb_pwm_apply()