Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/pwm/ !
Dpwm-atmel-tcb.c75 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); in atmel_tcb_pwm_set_polarity() local
76 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_set_polarity()
86 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); in atmel_tcb_pwm_request() local
95 ret = clk_prepare_enable(tcbpwmc->clk); in atmel_tcb_pwm_request()
106 spin_lock(&tcbpwmc->lock); in atmel_tcb_pwm_request()
107 regmap_read(tcbpwmc->regmap, ATMEL_TC_REG(tcbpwmc->channel, CMR), &cmr); in atmel_tcb_pwm_request()
114 regmap_read(tcbpwmc->regmap, in atmel_tcb_pwm_request()
115 ATMEL_TC_REG(tcbpwmc->channel, RA), in atmel_tcb_pwm_request()
118 regmap_read(tcbpwmc->regmap, in atmel_tcb_pwm_request()
119 ATMEL_TC_REG(tcbpwmc->channel, RB), in atmel_tcb_pwm_request()
[all …]