Home
last modified time | relevance | path

Searched refs:pwm_apply_state (Results 1 - 3 of 3) sorted by relevance

/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dpwm.h159 * pwm_init_state() - prepare a new state to be applied with pwm_apply_state()
164 * to the PWM device with pwm_apply_state(). This is a convenient function
168 * fields according to your needs before calling pwm_apply_state().
172 * an error if the user calls pwm_apply_state() without adjusting ->duty_cycle
225 * pwm_apply_state(pwm, &state);
310 int pwm_apply_state(struct pwm_device *pwm, const struct pwm_state *state);
340 return pwm_apply_state(pwm, &state); in pwm_config()
363 return pwm_apply_state(pwm, &state); in pwm_enable()
384 pwm_apply_state(pwm, &state); in pwm_disable()
417 static inline int pwm_apply_state(struc function
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/pwm/
H A Dsysfs.c62 ret = pwm_apply_state(pwm, &state); in period_store()
94 ret = pwm_apply_state(pwm, &state); in duty_cycle_store()
127 ret = pwm_apply_state(pwm, &state); in oneshot_count_store()
172 ret = pwm_apply_state(pwm, &state); in enable_store()
219 ret = pwm_apply_state(pwm, &state); in polarity_store()
428 int ret = pwm_apply_state(pwm, state); in pwm_class_apply_state()
/device/soc/rockchip/common/sdk_linux/drivers/video/backlight/
H A Dpwm_bl.c56 pwm_apply_state(pb->pwm, &state); in pwm_backlight_power_on()
88 pwm_apply_state(pb->pwm, &state); in pwm_backlight_power_off()
127 pwm_apply_state(pb->pwm, &state); in pwm_backlight_update_status()
547 ret = pwm_apply_state(pb->pwm, &state); in pwm_backlight_probe()

Completed in 4 milliseconds