Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/pwm/
Dpwm-atmel-tcb.c71 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); in atmel_tcb_pwm_request() local
72 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_request()
76 ret = clk_prepare_enable(tcbpwmc->clk); in atmel_tcb_pwm_request()
84 guard(spinlock)(&tcbpwmc->lock); in atmel_tcb_pwm_request()
86 regmap_read(tcbpwmc->regmap, ATMEL_TC_REG(tcbpwmc->channel, CMR), &cmr); in atmel_tcb_pwm_request()
93 regmap_read(tcbpwmc->regmap, in atmel_tcb_pwm_request()
94 ATMEL_TC_REG(tcbpwmc->channel, RA), in atmel_tcb_pwm_request()
97 regmap_read(tcbpwmc->regmap, in atmel_tcb_pwm_request()
98 ATMEL_TC_REG(tcbpwmc->channel, RB), in atmel_tcb_pwm_request()
102 regmap_read(tcbpwmc->regmap, ATMEL_TC_REG(tcbpwmc->channel, RC), in atmel_tcb_pwm_request()
[all …]