Searched refs:tcbpwmc (Results 1 – 1 of 1) sorted by relevance
75 struct atmel_tcb_pwm_chip *tcbpwmc = to_tcb_chip(chip); in atmel_tcb_pwm_request() local77 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() local134 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() local145 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_disable()[all …]