Home
last modified time | relevance | path

Searched refs:pwmd_state (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/video/backlight/
H A Dlm3630a_bl.c55 struct pwm_state pwmd_state; member
175 pchip->pwmd_state.period = pchip->pdata->pwm_period; in lm3630a_pwm_ctrl()
177 err = pwm_set_relative_duty_cycle(&pchip->pwmd_state, br, br_max); in lm3630a_pwm_ctrl()
181 pchip->pwmd_state.enabled = pchip->pwmd_state.duty_cycle ? true : false; in lm3630a_pwm_ctrl()
183 return pwm_apply_might_sleep(pchip->pwmd, &pchip->pwmd_state); in lm3630a_pwm_ctrl()
566 pwm_init_state(pchip->pwmd, &pchip->pwmd_state); in lm3630a_probe()