Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/pwm/
Dpwm-atmel.c195 unsigned long *cprd, u32 *pres) in atmel_pwm_calculate_cprd_and_pres() argument
222 *cprd = cycles; in atmel_pwm_calculate_cprd_and_pres()
228 unsigned long clkrate, unsigned long cprd, in atmel_pwm_calculate_cdty() argument
236 *cdty = cprd - cycles; in atmel_pwm_calculate_cdty()
259 unsigned long cprd, unsigned long cdty) in atmel_pwm_set_cprd_cdty() argument
266 atmel_pwm->data->regs.period, cprd); in atmel_pwm_set_cprd_cdty()
298 unsigned long cprd, cdty; in atmel_pwm_apply() local
312 cprd = atmel_pwm_ch_readl(atmel_pwm, pwm->hwpwm, in atmel_pwm_apply()
316 atmel_pwm_calculate_cdty(state, clkrate, cprd, pres, &cdty); in atmel_pwm_apply()
321 ret = atmel_pwm_calculate_cprd_and_pres(chip, clkrate, state, &cprd, in atmel_pwm_apply()
[all …]