Searched refs:cnvst_pwm_state (Results 1 – 1 of 1) sorted by relevance
579 struct pwm_state cnvst_pwm_state; in ad7606_pwm_set_high() local582 pwm_get_state(st->cnvst_pwm, &cnvst_pwm_state); in ad7606_pwm_set_high()583 cnvst_pwm_state.enabled = true; in ad7606_pwm_set_high()584 cnvst_pwm_state.duty_cycle = cnvst_pwm_state.period; in ad7606_pwm_set_high()586 ret = pwm_apply_might_sleep(st->cnvst_pwm, &cnvst_pwm_state); in ad7606_pwm_set_high()593 struct pwm_state cnvst_pwm_state; in ad7606_pwm_set_low() local596 pwm_get_state(st->cnvst_pwm, &cnvst_pwm_state); in ad7606_pwm_set_low()597 cnvst_pwm_state.enabled = true; in ad7606_pwm_set_low()598 cnvst_pwm_state.duty_cycle = 0; in ad7606_pwm_set_low()600 ret = pwm_apply_might_sleep(st->cnvst_pwm, &cnvst_pwm_state); in ad7606_pwm_set_low()[all …]