Lines Matching +full:beeper +full:- +full:hz
1 // 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()
89 input_dev->id.product = 0x0001; in pcspkr_input_init()
90 input_dev->id.version = 0x0100; in pcspkr_input_init()
91 input_dev->dev.parent = dev; in pcspkr_input_init()
93 input_dev->evbit[0] = BIT(EV_SND); in pcspkr_input_init()
94 input_dev->sndbit[0] = BIT(SND_BELL) | BIT(SND_TONE); in pcspkr_input_init()
95 input_dev->event = pcspkr_input_event; in pcspkr_input_init()