Home
last modified time | relevance | path

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

12

/linux/sound/hda/common/
H A Dbeep.c24 static void generate_tone(struct hda_beep *beep, int tone) in generate_tone() argument
26 struct hda_codec *codec = beep->codec; in generate_tone()
28 if (tone && !beep->playing) { in generate_tone()
30 if (beep->power_hook) in generate_tone()
31 beep->power_hook(beep, true); in generate_tone()
32 beep->playing = 1; in generate_tone()
35 snd_hda_codec_write(codec, beep->nid, 0, in generate_tone()
37 if (!tone && beep->playing) { in generate_tone()
38 beep->playing = 0; in generate_tone()
39 if (beep->power_hook) in generate_tone()
[all …]
H A DKconfig33 bool "Support digital beep via input layer"
36 Say Y here to build a digital beep interface for HD-audio
40 int "Digital beep registration mode (0=off, 1=on)"
45 Set 0 to disable the digital beep interface for HD-audio by default.
46 Set 1 to always enable the digital beep interface for HD-audio by
H A Dhda_beep.h30 void (*power_hook)(struct hda_beep *beep, bool on);
H A DMakefile7 snd-hda-codec-$(CONFIG_SND_HDA_INPUT_BEEP) += beep.o
/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()
37 beep->running = 0; in snd_pmac_beep_stop()
90 struct pmac_beep *beep; in snd_pmac_beep_event() local
109 beep = chip->beep; in snd_pmac_beep_event()
110 if (!beep) in snd_pmac_beep_event()
115 if (beep->running) in snd_pmac_beep_event()
127 if (chip->playback.running || chip->capture.running || beep->running) in snd_pmac_beep_event()
129 beep->running = 1; in snd_pmac_beep_event()
132 if (hz == beep->hz && beep->volume == beep->volume_play) { in snd_pmac_beep_event()
[all …]
H A DMakefile7 snd-powermac-y := 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
/linux/drivers/input/misc/
H A Dgpio-beeper.c23 static void gpio_beeper_toggle(struct gpio_beeper *beep, bool on) in gpio_beeper_toggle() argument
25 gpiod_set_value_cansleep(beep->desc, on); in gpio_beeper_toggle()
30 struct gpio_beeper *beep = container_of(work, struct gpio_beeper, work); in gpio_beeper_work() local
32 gpio_beeper_toggle(beep, beep->beeping); in gpio_beeper_work()
38 struct gpio_beeper *beep = input_get_drvdata(dev); in gpio_beeper_event() local
46 beep->beeping = value; in gpio_beeper_event()
48 schedule_work(&beep->work); in gpio_beeper_event()
55 struct gpio_beeper *beep = input_get_drvdata(input); in gpio_beeper_close() local
57 cancel_work_sync(&beep->work); in gpio_beeper_close()
58 gpio_beeper_toggle(beep, false); in gpio_beeper_close()
[all …]
/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 …]
/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()
/linux/sound/soc/codecs/
H A Dcs42l56.c88 struct input_dev *beep; member
1012 dev_dbg(component->dev, "Set beep rate %dHz for requested %dHz\n", in cs42l56_beep_work()
1019 dev_dbg(component->dev, "Disabling beep\n"); in cs42l56_beep_work()
1029 /* For usability define a way of injecting beep events for the device -
1051 /* Kick the beep from a workqueue */ in cs42l56_beep_event()
1068 input_event(cs42l56->beep, EV_SND, SND_TONE, time); in beep_store()
1073 static DEVICE_ATTR_WO(beep);
1080 cs42l56->beep = devm_input_allocate_device(component->dev); in cs42l56_init_beep()
1081 if (!cs42l56->beep) { in cs42l56_init_beep()
1082 dev_err(component->dev, "Failed to allocate beep devic in cs42l56_init_beep()
[all...]
H A Dcs42l52.c66 struct input_dev *beep; member
935 dev_dbg(component->dev, "Set beep rate %dHz for requested %dHz\n", in cs42l52_beep_work()
942 dev_dbg(component->dev, "Disabling beep\n"); in cs42l52_beep_work()
952 /* For usability define a way of injecting beep events for the device -
974 /* Kick the beep from a workqueue */ in cs42l52_beep_event()
991 input_event(cs42l52->beep, EV_SND, SND_TONE, time); in beep_store()
996 static DEVICE_ATTR_WO(beep);
1003 cs42l52->beep = devm_input_allocate_device(component->dev); in cs42l52_init_beep()
1004 if (!cs42l52->beep) { in cs42l52_init_beep()
1005 dev_err(component->dev, "Failed to allocate beep devic in cs42l52_init_beep()
[all...]
H A Dwm8962.c78 struct input_dev *beep;
3295 dev_dbg(component->dev, "Set beep rate %dHz for requested %dHz\n", in wm8962_beep_event()
3302 dev_dbg(component->dev, "Disabling beep\n"); in beep_store()
3312 /* For usability define a way of injecting beep events for the device - in beep_store()
3334 /* Kick the beep from a workqueue */ in wm8962_init_beep()
3351 input_event(wm8962->beep, EV_SND, SND_TONE, time); in wm8962_init_beep()
3356 static DEVICE_ATTR_WO(beep); in wm8962_free_beep()
3363 wm8962->beep = devm_input_allocate_device(component->dev); in wm8962_free_beep()
3364 if (!wm8962->beep) {
3365 dev_err(component->dev, "Failed to allocate beep devic
76 struct input_dev *beep; global() member
[all...]
/linux/drivers/hwmon/
H A Dnct7802.c615 static SENSOR_DEVICE_ATTR_2_RW(temp1_beep, beep, 0x5c, 0);
616 static SENSOR_DEVICE_ATTR_2_RW(temp2_beep, beep, 0x5c, 1);
617 static SENSOR_DEVICE_ATTR_2_RW(temp3_beep, beep, 0x5c, 2);
618 static SENSOR_DEVICE_ATTR_2_RW(temp4_beep, beep, 0x5c, 3);
619 static SENSOR_DEVICE_ATTR_2_RW(temp5_beep, beep, 0x5c, 4);
620 static SENSOR_DEVICE_ATTR_2_RW(temp6_beep, beep, 0x5c, 5);
727 static SENSOR_DEVICE_ATTR_2_RW(in0_beep, beep, 0x5a, 3);
735 static SENSOR_DEVICE_ATTR_2_RW(in2_beep, beep, 0x5a, 0);
741 static SENSOR_DEVICE_ATTR_2_RW(in3_beep, beep, 0x5a, 1);
747 static SENSOR_DEVICE_ATTR_2_RW(in4_beep, beep, 0x5a, 2);
[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);
/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.
/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
/linux/arch/arm/boot/dts/marvell/
H A Darmada-385-synology-ds116.dts55 * "2" : short beep
56 * "3" : long beep
/linux/Documentation/sound/designs/
H A Dcontrol-names.rst61 Beep beep generator
/linux/Documentation/driver-api/gpio/
H A Ddrivers-on-gpio.rst29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from
30 an external speaker connected to a GPIO line. (If the beep is controlled by
/linux/sound/
H A DKconfig7 than an occasional beep, say Y.
/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-itop-elite.dts122 beep {

12