Searched refs:beeper (Results 1 – 3 of 3) sorted by relevance
31 static int pwm_beeper_on(struct pwm_beeper *beeper, unsigned long period) in pwm_beeper_on() argument36 pwm_get_state(beeper->pwm, &state); in pwm_beeper_on()42 error = pwm_apply_state(beeper->pwm, &state); in pwm_beeper_on()46 if (!beeper->amplifier_on) { in pwm_beeper_on()47 error = regulator_enable(beeper->amplifier); in pwm_beeper_on()49 pwm_disable(beeper->pwm); in pwm_beeper_on()53 beeper->amplifier_on = true; in pwm_beeper_on()59 static void pwm_beeper_off(struct pwm_beeper *beeper) in pwm_beeper_off() argument61 if (beeper->amplifier_on) { in pwm_beeper_off()62 regulator_disable(beeper->amplifier); in pwm_beeper_off()[all …]
39 obj-$(CONFIG_INPUT_GPIO_BEEPER) += gpio-beeper.o65 obj-$(CONFIG_INPUT_PWM_BEEPER) += pwm-beeper.o
284 Say Y here if you have a beeper connected to a GPIO pin.287 module will be called gpio-beeper.567 tristate "PWM beeper support"570 Say Y here to get support for PWM based beeper devices.575 called pwm-beeper.