Lines Matching refs:pres
128 unsigned long *cprd, u32 *pres) in atmel_pwm_calculate_cprd_and_pres() argument
149 *pres = shift; in atmel_pwm_calculate_cprd_and_pres()
150 cycles >>= *pres; in atmel_pwm_calculate_cprd_and_pres()
152 *pres = 0; in atmel_pwm_calculate_cprd_and_pres()
241 u32 pres, val; in atmel_pwm_apply() local
258 &pres); in atmel_pwm_apply()
279 val = (val & ~PWM_CMR_CPRE_MSK) | (pres & PWM_CMR_CPRE_MSK); in atmel_pwm_apply()
309 u32 cdty, cprd, pres; in atmel_pwm_get_state() local
312 pres = cmr & PWM_CMR_CPRE_MSK; in atmel_pwm_get_state()
317 tmp <<= pres; in atmel_pwm_get_state()
323 tmp <<= pres; in atmel_pwm_get_state()