Home
last modified time | relevance | path

Searched refs:cprd (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/pwm/
Dpwm-atmel.c194 unsigned long *cprd, u32 *pres) in atmel_pwm_calculate_cprd_and_pres() argument
221 *cprd = cycles; in atmel_pwm_calculate_cprd_and_pres()
227 unsigned long clkrate, unsigned long cprd, in atmel_pwm_calculate_cdty() argument
235 *cdty = cprd - cycles; in atmel_pwm_calculate_cdty()
258 unsigned long cprd, unsigned long cdty) in atmel_pwm_set_cprd_cdty() argument
265 atmel_pwm->data->regs.period, cprd); in atmel_pwm_set_cprd_cdty()
296 unsigned long cprd, cdty; in atmel_pwm_apply() local
308 cprd = atmel_pwm_ch_readl(atmel_pwm, pwm->hwpwm, in atmel_pwm_apply()
312 atmel_pwm_calculate_cdty(state, clkrate, cprd, pres, &cdty); in atmel_pwm_apply()
317 ret = atmel_pwm_calculate_cprd_and_pres(chip, clkrate, state, &cprd, in atmel_pwm_apply()
[all …]