Searched refs:tcbpwmc (Results 1 – 1 of 1) sorted by relevance
66 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); in atmel_tcb_pwm_request() local68 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_request()91 spin_lock(&tcbpwmc->lock); in atmel_tcb_pwm_request()114 spin_unlock(&tcbpwmc->lock); in atmel_tcb_pwm_request()116 tcbpwmc->pwms[pwm->hwpwm] = tcbpwm; in atmel_tcb_pwm_request()123 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); in atmel_tcb_pwm_free() local125 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_free()128 tcbpwmc->pwms[pwm->hwpwm] = NULL; in atmel_tcb_pwm_free()134 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); in atmel_tcb_pwm_disable() local136 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_disable()[all …]