Home
last modified time | relevance | path

Searched refs:beep (Results 1 – 25 of 59) sorted by relevance

123

/openbmc/linux/sound/pci/hda/
H A Dhda_beep.c31 beep->power_hook(beep, true); in generate_tone()
39 beep->power_hook(beep, false); in generate_tone()
50 generate_tone(beep, beep->tone); in snd_hda_generate_beep()
108 beep->tone = beep_linear_tone(beep, hz); in snd_hda_beep_event()
110 beep->tone = beep_standard_tone(beep, hz); in snd_hda_beep_event()
145 struct hda_beep *beep = codec->beep; in snd_hda_enable_beep_device() local
189 beep->codec->beep = NULL; in beep_dev_free()
223 snprintf(beep->phys, sizeof(beep->phys), in snd_hda_attach_beep_device()
231 codec->beep = beep; in snd_hda_attach_beep_device()
303 struct hda_beep *beep = codec->beep; in snd_hda_mixer_amp_switch_get_beep() local
[all …]
H A Dhda_beep.h31 void (*power_hook)(struct hda_beep *beep, bool on);
H A DKconfig68 bool "Support digital beep via input layer"
71 Say Y here to build a digital beep interface for HD-audio
75 int "Digital beep registration mode (0=off, 1=on)"
80 Set 0 to disable the digital beep interface for HD-audio by default.
81 Set 1 to always enable the digital beep interface for HD-audio by
/openbmc/linux/sound/ppc/
H A Dbeep.c35 struct pmac_beep *beep = chip->beep; in snd_pmac_beep_stop() local
36 if (beep && beep->running) { in snd_pmac_beep_stop()
110 beep = chip->beep; in snd_pmac_beep_event()
111 if (!beep) in snd_pmac_beep_event()
136 if (hz == beep->hz && beep->volume == beep->volume_play) { in snd_pmac_beep_event()
150 beep->volume_play = beep->volume; in snd_pmac_beep_event()
216 beep = kzalloc(sizeof(*beep), GFP_KERNEL); in snd_pmac_attach_beep()
217 if (! beep) in snd_pmac_attach_beep()
249 chip->beep = beep; in snd_pmac_attach_beep()
262 kfree(beep); in snd_pmac_attach_beep()
[all …]
H A DMakefile7 snd-powermac-objs := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o
H A Dpmac.h132 struct pmac_beep *beep; member
/openbmc/linux/drivers/input/misc/
H A Dgpio-beeper.c32 gpio_beeper_toggle(beep, beep->beeping); in gpio_beeper_work()
46 beep->beeping = value; in gpio_beeper_event()
48 schedule_work(&beep->work); in gpio_beeper_event()
57 cancel_work_sync(&beep->work); in gpio_beeper_close()
58 gpio_beeper_toggle(beep, false); in gpio_beeper_close()
63 struct gpio_beeper *beep; in gpio_beeper_probe() local
66 beep = devm_kzalloc(&pdev->dev, sizeof(*beep), GFP_KERNEL); in gpio_beeper_probe()
67 if (!beep) in gpio_beeper_probe()
71 if (IS_ERR(beep->desc)) in gpio_beeper_probe()
72 return PTR_ERR(beep->desc); in gpio_beeper_probe()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/beep/
H A Dbeep_1.4.12.bb1 SUMMARY = "beep allows you to have the PC speaker issue beeps and beep patterns"
2 DESCRIPTION = "beep allows you to have the PC speaker issue beeps and beep \
4 HOMEPAGE = "https://github.com/spkr-beep/beep"
5 BUGTRACKER = "https://github.com/spkr-beep/beep/issues"
10 SRC_URI = "git://github.com/spkr-beep/beep.git;protocol=https;branch=master \
11 file://0001-beep-library-Make-it-compatible-with-c99.patch"
/openbmc/linux/arch/x86/realmode/rm/
H A Dwakemain.c11 static void beep(unsigned int hz) in beep() function
47 beep(DOT_HZ); in send_morse()
49 beep(0); in send_morse()
53 beep(DASH_HZ); in send_morse()
55 beep(0); in send_morse()
/openbmc/linux/drivers/accessibility/braille/
H A Dbraille_console.c37 static void beep(unsigned int freq) in beep() function
157 beep(880); in keyboard_notifier_call()
166 beep(440); in keyboard_notifier_call()
177 beep(880); in keyboard_notifier_call()
181 beep(220); in keyboard_notifier_call()
187 beep(880); in keyboard_notifier_call()
191 beep(220); in keyboard_notifier_call()
197 beep(220); in keyboard_notifier_call()
203 beep(220); in keyboard_notifier_call()
244 beep(880); in keyboard_notifier_call()
[all …]
/openbmc/u-boot/doc/device-tree-bindings/sound/
H A Dintel-hda.txt11 - beep-verbs: list of verbs to send for a beep
14 - intel,beep-nid: Node ID to use for beep (will be detected if not provided)
/openbmc/linux/sound/soc/codecs/
H A Dcs42l56.c56 struct input_dev *beep; member
1040 static DEVICE_ATTR_WO(beep);
1048 if (!cs42l56->beep) { in cs42l56_init_beep()
1058 cs42l56->beep->id.bustype = BUS_I2C; in cs42l56_init_beep()
1060 cs42l56->beep->evbit[0] = BIT_MASK(EV_SND); in cs42l56_init_beep()
1062 cs42l56->beep->event = cs42l56_beep_event; in cs42l56_init_beep()
1063 cs42l56->beep->dev.parent = component->dev; in cs42l56_init_beep()
1064 input_set_drvdata(cs42l56->beep, component); in cs42l56_init_beep()
1066 ret = input_register_device(cs42l56->beep); in cs42l56_init_beep()
1068 cs42l56->beep = NULL; in cs42l56_init_beep()
[all …]
H A Dcs42l52.c49 struct input_dev *beep; member
978 static DEVICE_ATTR_WO(beep);
986 if (!cs42l52->beep) { in cs42l52_init_beep()
996 cs42l52->beep->id.bustype = BUS_I2C; in cs42l52_init_beep()
998 cs42l52->beep->evbit[0] = BIT_MASK(EV_SND); in cs42l52_init_beep()
1000 cs42l52->beep->event = cs42l52_beep_event; in cs42l52_init_beep()
1001 cs42l52->beep->dev.parent = component->dev; in cs42l52_init_beep()
1002 input_set_drvdata(cs42l52->beep, component); in cs42l52_init_beep()
1004 ret = input_register_device(cs42l52->beep); in cs42l52_init_beep()
1006 cs42l52->beep = NULL; in cs42l52_init_beep()
[all …]
H A Dwm8962.c76 struct input_dev *beep; member
3311 static DEVICE_ATTR_WO(beep);
3319 if (!wm8962->beep) { in wm8962_init_beep()
3329 wm8962->beep->id.bustype = BUS_I2C; in wm8962_init_beep()
3331 wm8962->beep->evbit[0] = BIT_MASK(EV_SND); in wm8962_init_beep()
3333 wm8962->beep->event = wm8962_beep_event; in wm8962_init_beep()
3334 wm8962->beep->dev.parent = component->dev; in wm8962_init_beep()
3335 input_set_drvdata(wm8962->beep, component); in wm8962_init_beep()
3337 ret = input_register_device(wm8962->beep); in wm8962_init_beep()
3339 wm8962->beep = NULL; in wm8962_init_beep()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/beep/files/
H A D0001-beep-library-Make-it-compatible-with-c99.patch4 Subject: [PATCH] beep-library: Make it compatible with < c99
9 beep-library.c | 9 +++++----
12 --- a/beep-library.c
13 +++ b/beep-library.c
/openbmc/linux/drivers/hwmon/
H A Dnct7802.c631 static SENSOR_DEVICE_ATTR_2_RW(temp1_beep, beep, 0x5c, 0);
632 static SENSOR_DEVICE_ATTR_2_RW(temp2_beep, beep, 0x5c, 1);
633 static SENSOR_DEVICE_ATTR_2_RW(temp3_beep, beep, 0x5c, 2);
634 static SENSOR_DEVICE_ATTR_2_RW(temp4_beep, beep, 0x5c, 3);
743 static SENSOR_DEVICE_ATTR_2_RW(in0_beep, beep, 0x5a, 3);
751 static SENSOR_DEVICE_ATTR_2_RW(in2_beep, beep, 0x5a, 0);
757 static SENSOR_DEVICE_ATTR_2_RW(in3_beep, beep, 0x5a, 1);
763 static SENSOR_DEVICE_ATTR_2_RW(in4_beep, beep, 0x5a, 2);
828 static SENSOR_DEVICE_ATTR_2_RW(fan1_beep, beep, 0x5b, 0);
832 static SENSOR_DEVICE_ATTR_2_RW(fan2_beep, beep, 0x5b, 1);
[all …]
H A Dgl520sm.c704 static SENSOR_DEVICE_ATTR_RW(in0_beep, beep, 0);
705 static SENSOR_DEVICE_ATTR_RW(in1_beep, beep, 1);
706 static SENSOR_DEVICE_ATTR_RW(in2_beep, beep, 2);
707 static SENSOR_DEVICE_ATTR_RW(in3_beep, beep, 3);
708 static SENSOR_DEVICE_ATTR_RW(temp1_beep, beep, 4);
709 static SENSOR_DEVICE_ATTR_RW(fan1_beep, beep, 5);
710 static SENSOR_DEVICE_ATTR_RW(fan2_beep, beep, 6);
711 static SENSOR_DEVICE_ATTR_RW(temp2_beep, beep, 7);
712 static SENSOR_DEVICE_ATTR_RW(in4_beep, beep, 7);
H A Dgl518sm.c499 static SENSOR_DEVICE_ATTR_RW(in0_beep, beep, 0);
500 static SENSOR_DEVICE_ATTR_RW(in1_beep, beep, 1);
501 static SENSOR_DEVICE_ATTR_RW(in2_beep, beep, 2);
502 static SENSOR_DEVICE_ATTR_RW(in3_beep, beep, 3);
503 static SENSOR_DEVICE_ATTR_RW(temp1_beep, beep, 4);
504 static SENSOR_DEVICE_ATTR_RW(fan1_beep, beep, 5);
505 static SENSOR_DEVICE_ATTR_RW(fan2_beep, beep, 6);
H A Dw83627hf.c989 static SENSOR_DEVICE_ATTR_RW(in0_beep, beep, 0);
990 static SENSOR_DEVICE_ATTR_RW(in1_beep, beep, 1);
991 static SENSOR_DEVICE_ATTR_RW(in2_beep, beep, 2);
992 static SENSOR_DEVICE_ATTR_RW(in3_beep, beep, 3);
993 static SENSOR_DEVICE_ATTR_RW(in4_beep, beep, 8);
994 static SENSOR_DEVICE_ATTR_RW(in5_beep, beep, 9);
995 static SENSOR_DEVICE_ATTR_RW(in6_beep, beep, 10);
996 static SENSOR_DEVICE_ATTR_RW(in7_beep, beep, 16);
997 static SENSOR_DEVICE_ATTR_RW(in8_beep, beep, 17);
998 static SENSOR_DEVICE_ATTR_RW(fan1_beep, beep, 6);
[all …]
/openbmc/linux/Documentation/sound/hd-audio/
H A Dindex.rst11 realtek-pc-beep
H A Drealtek-pc-beep.rst27 When zero, expose the PC Beep line (from the internal beep generator, when
96 Beep line (which is itself multiplexed between the codec's internal beep
97 generator and external PCBEEP pin, depending on if the beep generator is
104 beep input pin] connection may be maintained *only* while the Link reset
/openbmc/linux/Documentation/hwmon/
H A Dw83791d.rst96 alarm is triggered as well as a bitmask to enable or disable the beep for
97 specific alarms. You need both the global beep enable bit and the
98 corresponding beep bit to be on for a triggered alarm to sound a beep.
103 The sysfs interface to the beep bitmask has migrated from the original legacy
H A Dsysfs-interface.rst555 Master beep enable.
558 Channel beep.
560 In theory, a chip could provide per-limit beep masking, but no such chip
571 Bitmask for beep.
582 Chassis intrusion beep.
/openbmc/linux/arch/arm/boot/dts/marvell/
H A Darmada-385-synology-ds116.dts55 * "2" : short beep
56 * "3" : long beep
/openbmc/u-boot/drivers/sound/
H A DKconfig7 beep at a chosen frequency for a selected length of time. However
49 the length of the beeps, by turning a beep on, waiting for a period

123