Home
last modified time | relevance | path

Searched +full:beeper +full:- +full:hz (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/input/
Dpwm-beeper.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/pwm-beeper.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: PWM beeper
10 - Sascha Hauer <s.hauer@pengutronix.de>
14 const: pwm-beeper
19 amp-supply:
20 description: an amplifier for the beeper
22 beeper-hz:
[all …]
/linux-6.12.1/drivers/input/misc/
Dpwm-beeper.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
4 * PWM beeper driver
31 static int pwm_beeper_on(struct pwm_beeper *beeper, unsigned long period) in pwm_beeper_on() argument
36 pwm_get_state(beeper->pwm, &state); in pwm_beeper_on()
42 error = pwm_apply_might_sleep(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()
[all …]
Dpcspkr.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * PC Speaker beeper driver for Linux
19 MODULE_DESCRIPTION("PC Speaker beeper driver");
30 return -EINVAL; in pcspkr_event()
40 return -EINVAL; in pcspkr_event()
51 /* select desired HZ */ in pcspkr_event()
73 return -ENOMEM; in pcspkr_probe()
75 pcspkr_dev->name = "PC Speaker"; in pcspkr_probe()
76 pcspkr_dev->phys = "isa0061/input0"; in pcspkr_probe()
77 pcspkr_dev->id.bustype = BUS_ISA; in pcspkr_probe()
[all …]
Dsparcspkr.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for PC-speaker like devices found on various Sparc systems.
19 MODULE_DESCRIPTION("Sparc Speaker beeper driver");
45 u32 val, clock_freq = info->clock_freq; in bbc_count_to_reg()
58 for (i = 19; i >= 11; i--) { in bbc_count_to_reg()
69 struct sparcspkr_state *state = dev_get_drvdata(dev->dev.parent); in bbc_spkr_event()
70 struct bbc_beep_info *info = &state->u.bbc; in bbc_spkr_event()
75 return -1; in bbc_spkr_event()
80 default: return -1; in bbc_spkr_event()
88 spin_lock_irqsave(&state->lock, flags); in bbc_spkr_event()
[all …]
/linux-6.12.1/arch/arm/boot/dts/intel/ixp/
Dintel-ixp42x-linksys-nslu2.dts1 // SPDX-License-Identifier: ISC
6 /dts-v1/;
8 #include "intel-ixp42x.dtsi"
9 #include <dt-bindings/input/input.h>
14 #address-cells = <1>;
15 #size-cells = <1>;
25 stdout-path = "uart0:115200n8";
33 compatible = "gpio-leds";
34 led-status {
37 default-state = "on";
[all …]
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dmba8mx.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright 2020-2021 TQ-Systems GmbH
6 #include <dt-bindings/net/ti-dp83867.h>
8 /* TQ-Systems GmbH MBa8Mx baseboard */
12 compatible = "pwm-backlight";
14 brightness-levels = <0 4 8 16 32 64 128 255>;
15 default-brightness-level = <7>;
16 power-supply = <&reg_12v>;
17 enable-gpios = <&expander2 2 GPIO_ACTIVE_HIGH>;
21 beeper {
[all …]
/linux-6.12.1/sound/drivers/pcsp/
Dpcsp_input.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * PC Speaker beeper driver for Linux
25 /* select desired HZ */ in pcspkr_do_sound()
61 return -1; in pcspkr_input_event()
66 return -1; in pcspkr_input_event()
83 return -ENOMEM; in pcspkr_input_init()
85 input_dev->name = "PC Speaker"; in pcspkr_input_init()
86 input_dev->phys = "isa0061/input0"; in pcspkr_input_init()
87 input_dev->id.bustype = BUS_ISA; in pcspkr_input_init()
88 input_dev->id.vendor = 0x001f; in pcspkr_input_init()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/rockchip/
Drk3588-friendlyelec-cm3588-nas.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/pinctrl/rockchip.h>
14 #include <dt-bindings/usb/pd.h>
15 #include "rk3588-friendlyelec-cm3588.dtsi"
19 compatible = "friendlyarm,cm3588-nas", "friendlyarm,cm3588", "rockchip,rk3588";
21 adc_key_recovery: adc-key-recovery {
22 compatible = "adc-keys";
[all …]
/linux-6.12.1/arch/m68k/amiga/
Dconfig.c32 #include <asm/bootinfo-amiga.h>
79 [AMI_500-AMI_500] = s_a500,
80 [AMI_500PLUS-AMI_500] = s_a500p,
81 [AMI_600-AMI_500] = s_a600,
82 [AMI_1000-AMI_500] = s_a1000,
83 [AMI_1200-AMI_500] = s_a1200,
84 [AMI_2000-AMI_500] = s_a2000,
85 [AMI_2500-AMI_500] = s_a2500,
86 [AMI_3000-AMI_500] = s_a3000,
87 [AMI_3000T-AMI_500] = s_a3000t,
[all …]
/linux-6.12.1/drivers/input/serio/
Dhp_sdc.c2 * HP i8042-based System Device Controller driver.
31 * for Part Number 1820-4784 Revision B. Dwg No. A-1820-4784-2
32 * Helge Deller's original hilkbd.c port for PA-RISC.
47 * capable of is more than can be done at HZ=100.
55 * The i8042 write index and the values in the 4-byte input buffer
75 /* Machine-specific abstraction */
78 # include <asm/parisc-device.h>
92 MODULE_DESCRIPTION("HP i8042-based SDC Driver");
193 curr->seq[curr->idx++] = status; in hp_sdc_take()
194 curr->seq[curr->idx++] = data; in hp_sdc_take()
[all …]