Lines Matching +full:beeper +full:- +full:hz
1 // 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()
78 pcspkr_dev->id.vendor = 0x001f; in pcspkr_probe()
79 pcspkr_dev->id.product = 0x0001; in pcspkr_probe()
80 pcspkr_dev->id.version = 0x0100; in pcspkr_probe()
81 pcspkr_dev->dev.parent = &dev->dev; in pcspkr_probe()
83 pcspkr_dev->evbit[0] = BIT_MASK(EV_SND); in pcspkr_probe()
84 pcspkr_dev->sndbit[0] = BIT_MASK(SND_BELL) | BIT_MASK(SND_TONE); in pcspkr_probe()
85 pcspkr_dev->event = pcspkr_event; in pcspkr_probe()