Searched refs:pwmd (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/video/backlight/ |
H A D | mp3309c.c | 76 struct pwm_device *pwmd; member 126 pwm_get_state(chip->pwmd, &pwmstate); in mp3309c_bl_update_status() 131 ret = pwm_apply_might_sleep(chip->pwmd, &pwmstate); in mp3309c_bl_update_status() 221 chip->pwmd = devm_pwm_get(dev, NULL); in mp3309c_parse_fwnode() 222 if (IS_ERR(chip->pwmd)) in mp3309c_parse_fwnode() 223 return dev_err_probe(dev, PTR_ERR(chip->pwmd), "error getting pwm data\n"); in mp3309c_parse_fwnode() 225 pwm_apply_args(chip->pwmd); in mp3309c_parse_fwnode() 370 pwm_init_state(chip->pwmd, &pwmstate); in mp3309c_probe() 375 ret = pwm_apply_might_sleep(chip->pwmd, &pwmstate); in mp3309c_probe()
|
H A D | lm3630a_bl.c | 54 struct pwm_device *pwmd; member 183 return pwm_apply_might_sleep(pchip->pwmd, &pchip->pwmd_state); in lm3630a_pwm_ctrl() 560 pchip->pwmd = devm_pwm_get(pchip->dev, "lm3630a-pwm"); in lm3630a_probe() 561 if (IS_ERR(pchip->pwmd)) in lm3630a_probe() 562 return dev_err_probe(&client->dev, PTR_ERR(pchip->pwmd), in lm3630a_probe() 565 pwm_init_state(pchip->pwmd, &pchip->pwmd_state); in lm3630a_probe()
|