Searched refs:tcbpwm (Results 1 – 1 of 1) sorted by relevance
65 struct atmel_tcb_pwm_device *tcbpwm = pwm_get_chip_data(pwm); in atmel_tcb_pwm_set_polarity() local67 tcbpwm->polarity = polarity; in atmel_tcb_pwm_set_polarity()76 struct atmel_tcb_pwm_device *tcbpwm; in atmel_tcb_pwm_request() local84 tcbpwm = devm_kzalloc(chip->dev, sizeof(*tcbpwm), GFP_KERNEL); in atmel_tcb_pwm_request()85 if (!tcbpwm) in atmel_tcb_pwm_request()90 devm_kfree(chip->dev, tcbpwm); in atmel_tcb_pwm_request()94 pwm_set_chip_data(pwm, tcbpwm); in atmel_tcb_pwm_request()95 tcbpwm->polarity = PWM_POLARITY_NORMAL; in atmel_tcb_pwm_request()96 tcbpwm->duty = 0; in atmel_tcb_pwm_request()97 tcbpwm->period = 0; in atmel_tcb_pwm_request()[all …]