Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/pwm/
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->tc; in atmel_tcb_pwm_disable()
[all …]