Searched refs:pwm_apply_state (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/include/linux/ |
D | pwm.h | 320 int pwm_apply_state(struct pwm_device *pwm, struct pwm_state *state); 348 return pwm_apply_state(pwm, &state); in pwm_config() 384 return pwm_apply_state(pwm, &state); in pwm_set_polarity() 405 return pwm_apply_state(pwm, &state); in pwm_enable() 424 pwm_apply_state(pwm, &state); in pwm_disable() 462 static inline int pwm_apply_state(struct pwm_device *pwm, in pwm_apply_state() function 596 pwm_apply_state(pwm, &state); in pwm_apply_args()
|
/Linux-v4.19/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() 156 err = pwm_apply_state(vibrator->pwm, &state); in pwm_vibrator_probe() 170 err = pwm_apply_state(vibrator->pwm_dir, &state); in pwm_vibrator_probe()
|
D | pwm-beeper.c | 51 error = pwm_apply_state(beeper->pwm, &state); in pwm_beeper_on() 155 error = pwm_apply_state(beeper->pwm, &state); in pwm_beeper_probe()
|
/Linux-v4.19/drivers/pwm/ |
D | sysfs.c | 73 ret = pwm_apply_state(pwm, &state); in period_store() 108 ret = pwm_apply_state(pwm, &state); in duty_cycle_store() 155 ret = pwm_apply_state(pwm, &state); in enable_store() 205 ret = pwm_apply_state(pwm, &state); in polarity_store()
|
D | core.c | 467 int pwm_apply_state(struct pwm_device *pwm, struct pwm_state *state) in pwm_apply_state() function 537 EXPORT_SYMBOL_GPL(pwm_apply_state); 595 return pwm_apply_state(pwm, &state); in pwm_adjust_config() 618 return pwm_apply_state(pwm, &state); in pwm_adjust_config()
|
/Linux-v4.19/drivers/hwmon/ |
D | pwm-fan.c | 56 ret = pwm_apply_state(ctx->pwm, &state); in __set_pwm() 237 ret = pwm_apply_state(ctx->pwm, &state); in pwm_fan_probe() 274 pwm_apply_state(ctx->pwm, &state); in pwm_fan_probe()
|
/Linux-v4.19/Documentation/ |
D | pwm.txt | 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-v4.19/drivers/regulator/ |
D | pwm-regulator.c | 99 ret = pwm_apply_state(drvdata->pwm, &pstate); in pwm_regulator_set_voltage_sel() 225 ret = pwm_apply_state(drvdata->pwm, &pstate); in pwm_regulator_set_voltage()
|