Searched defs:beeper (Results 1 - 1 of 1) sorted by relevance

/drivers/input/misc/
H A Dpwm-beeper.c3 * PWM beeper driver
35 struct pwm_beeper *beeper = input_get_drvdata(input); local
52 pwm_config(beeper->pwm, 0, 0);
53 pwm_disable(beeper->pwm);
56 ret = pwm_config(beeper->pwm, period / 2, period);
59 ret = pwm_enable(beeper->pwm);
62 beeper->period = period;
71 struct pwm_beeper *beeper; local
74 beeper = kzalloc(sizeof(*beeper), GFP_KERNE
130 struct pwm_beeper *beeper = platform_get_drvdata(pdev); local
146 struct pwm_beeper *beeper = dev_get_drvdata(dev); local
156 struct pwm_beeper *beeper = dev_get_drvdata(dev); local
[all...]

Completed in 48 milliseconds