Lines Matching refs:hwpwm
76 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_set_polarity()
113 if (pwm->hwpwm == 0) in atmel_tcb_pwm_request()
134 tcbpwmc->pwms[pwm->hwpwm] = tcbpwm; in atmel_tcb_pwm_request()
142 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_free()
145 tcbpwmc->pwms[pwm->hwpwm] = NULL; in atmel_tcb_pwm_free()
152 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_disable()
171 if (pwm->hwpwm == 0) { in atmel_tcb_pwm_disable()
209 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_enable()
230 if (pwm->hwpwm == 0) { in atmel_tcb_pwm_enable()
253 if (pwm->hwpwm == 0) { in atmel_tcb_pwm_enable()
270 if (pwm->hwpwm == 0) in atmel_tcb_pwm_enable()
294 struct atmel_tcb_pwm_device *tcbpwm = tcbpwmc->pwms[pwm->hwpwm]; in atmel_tcb_pwm_config()
340 if (pwm->hwpwm == 0) in atmel_tcb_pwm_config()