Searched refs:pwm_apply_state (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/include/linux/ |
| D | pwm.h | 319 int pwm_apply_state(struct pwm_device *pwm, const struct pwm_state *state); 347 return pwm_apply_state(pwm, &state); in pwm_config() 368 return pwm_apply_state(pwm, &state); in pwm_enable() 387 pwm_apply_state(pwm, &state); in pwm_disable() 429 static inline int pwm_apply_state(struct pwm_device *pwm, in pwm_apply_state() function 565 pwm_apply_state(pwm, &state); in pwm_apply_args()
|
| /Linux-v5.4/drivers/input/misc/ |
| D | pwm-vibra.c | 55 err = pwm_apply_state(vibrator->pwm, &state); in pwm_vibrator_start() 66 err = pwm_apply_state(vibrator->pwm_dir, &state); in pwm_vibrator_start() 159 err = pwm_apply_state(vibrator->pwm, &state); in pwm_vibrator_probe() 173 err = pwm_apply_state(vibrator->pwm_dir, &state); in pwm_vibrator_probe()
|
| D | pwm-beeper.c | 42 error = pwm_apply_state(beeper->pwm, &state); in pwm_beeper_on() 146 error = pwm_apply_state(beeper->pwm, &state); in pwm_beeper_probe()
|
| /Linux-v5.4/drivers/pwm/ |
| D | sysfs.c | 65 ret = pwm_apply_state(pwm, &state); in period_store() 100 ret = pwm_apply_state(pwm, &state); in duty_cycle_store() 147 ret = pwm_apply_state(pwm, &state); in enable_store() 197 ret = pwm_apply_state(pwm, &state); in polarity_store() 404 int ret = pwm_apply_state(pwm, state); in pwm_class_apply_state()
|
| D | core.c | 453 int pwm_apply_state(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_state() function 529 EXPORT_SYMBOL_GPL(pwm_apply_state); 587 return pwm_apply_state(pwm, &state); in pwm_adjust_config() 610 return pwm_apply_state(pwm, &state); in pwm_adjust_config()
|
| /Linux-v5.4/drivers/video/backlight/ |
| D | pwm_bl.c | 57 pwm_apply_state(pb->pwm, &state); in pwm_backlight_power_on() 84 pwm_apply_state(pb->pwm, &state); in pwm_backlight_power_off() 126 pwm_apply_state(pb->pwm, &state); in pwm_backlight_update_status() 557 ret = pwm_apply_state(pb->pwm, &state); in pwm_backlight_probe()
|
| /Linux-v5.4/Documentation/driver-api/ |
| D | pwm.rst | 47 int pwm_apply_state(struct pwm_device *pwm, struct pwm_state *state); 53 around pwm_apply_state() and should not be used if the user wants to change 56 should switch to pwm_apply_state().
|
| /Linux-v5.4/drivers/regulator/ |
| D | pwm-regulator.c | 93 ret = pwm_apply_state(drvdata->pwm, &pstate); in pwm_regulator_set_voltage_sel() 219 ret = pwm_apply_state(drvdata->pwm, &pstate); in pwm_regulator_set_voltage()
|
| /Linux-v5.4/drivers/hwmon/ |
| D | pwm-fan.c | 85 ret = pwm_apply_state(ctx->pwm, &state); in __set_pwm() 336 ret = pwm_apply_state(ctx->pwm, &state); in pwm_fan_probe()
|