Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/pwm/
H A Dpwm-atmel-tcb.c72 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); in atmel_tcb_pwm_request() local
73 struct atmel_tcb_pwm_device *tcbpwm = &tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_request()
77 ret = clk_prepare_enable(tcbpwmc->clk); in atmel_tcb_pwm_request()
85 spin_lock(&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 in atmel_tcb_pwm_request()
118 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); atmel_tcb_pwm_free() local
126 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); atmel_tcb_pwm_disable() local
183 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); atmel_tcb_pwm_enable() local
267 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); atmel_tcb_pwm_config() local
[all...]
/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-atmel-tcb.c75 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); in atmel_tcb_pwm_request() local
77 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_request()
100 spin_lock(&tcbpwmc->lock); in atmel_tcb_pwm_request()
123 spin_unlock(&tcbpwmc->lock); in atmel_tcb_pwm_request()
125 tcbpwmc->pwms[pwm->hwpwm] = tcbpwm; in atmel_tcb_pwm_request()
132 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); in atmel_tcb_pwm_free() local
134 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_free()
137 tcbpwmc->pwms[pwm->hwpwm] = NULL; in atmel_tcb_pwm_free()
143 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); in atmel_tcb_pwm_disable() local
145 struct atmel_tc *tc = tcbpwmc in atmel_tcb_pwm_disable()
202 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); atmel_tcb_pwm_enable() local
286 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); atmel_tcb_pwm_config() local
[all...]

Completed in 2 milliseconds