Searched refs:tcbpwm (Results 1 – 1 of 1) sorted by relevance
75 struct atmel_tcb_pwm_device *tcbpwm = pwm_get_chip_data(pwm); in atmel_tcb_pwm_set_polarity() local77 tcbpwm->polarity = polarity; in atmel_tcb_pwm_set_polarity()86 struct atmel_tcb_pwm_device *tcbpwm; in atmel_tcb_pwm_request() local90 tcbpwm = devm_kzalloc(chip->dev, sizeof(*tcbpwm), GFP_KERNEL); in atmel_tcb_pwm_request()91 if (!tcbpwm) in atmel_tcb_pwm_request()96 devm_kfree(chip->dev, tcbpwm); in atmel_tcb_pwm_request()100 pwm_set_chip_data(pwm, tcbpwm); in atmel_tcb_pwm_request()101 tcbpwm->polarity = PWM_POLARITY_NORMAL; in atmel_tcb_pwm_request()102 tcbpwm->duty = 0; in atmel_tcb_pwm_request()103 tcbpwm->period = 0; in atmel_tcb_pwm_request()[all …]