/openbmc/linux/sound/pci/hda/ |
H A D | hda_beep.c | 24 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() 34 snd_hda_codec_write(codec, beep->nid, 0, in generate_tone() 36 if (!tone && beep->playing) { in generate_tone() 37 beep->playing = 0; in generate_tone() 38 if (beep->power_hook) in generate_tone() [all …]
|
H A D | hda_beep.h | 31 void (*power_hook)(struct hda_beep *beep, bool on);
|
H A D | Kconfig | 68 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 D | beep.c | 35 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 110 beep = chip->beep; in snd_pmac_beep_event() 111 if (!beep) in snd_pmac_beep_event() 116 if (beep->running) in snd_pmac_beep_event() 129 if (chip->playback.running || chip->capture.running || beep->running) { in snd_pmac_beep_event() 133 beep->running = 1; in snd_pmac_beep_event() 136 if (hz == beep->hz && beep->volume == beep->volume_play) { in snd_pmac_beep_event() [all …]
|
H A D | Makefile | 7 snd-powermac-objs := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o
|
H A D | pmac.h | 132 struct pmac_beep *beep; member
|
/openbmc/linux/drivers/input/misc/ |
H A D | gpio-beeper.c | 23 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 …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/beep/ |
H A D | beep_1.4.12.bb | 1 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/drivers/accessibility/braille/ |
H A D | braille_console.c | 37 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/linux/arch/x86/realmode/rm/ |
H A D | wakemain.c | 11 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/u-boot/doc/device-tree-bindings/sound/ |
H A D | intel-hda.txt | 11 - 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 D | cs42l52.c | 49 struct input_dev *beep; member 973 input_event(cs42l52->beep, EV_SND, SND_TONE, time); in beep_store() 978 static DEVICE_ATTR_WO(beep); 985 cs42l52->beep = devm_input_allocate_device(component->dev); in cs42l52_init_beep() 986 if (!cs42l52->beep) { in cs42l52_init_beep() 994 cs42l52->beep->name = "CS42L52 Beep Generator"; in cs42l52_init_beep() 995 cs42l52->beep->phys = dev_name(component->dev); 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() 999 cs42l52->beep->sndbit[0] = BIT_MASK(SND_BELL) | BIT_MASK(SND_TONE); in cs42l52_init_beep() [all …]
|
H A D | cs42l56.c | 56 struct input_dev *beep; member 1035 input_event(cs42l56->beep, EV_SND, SND_TONE, time); in beep_store() 1040 static DEVICE_ATTR_WO(beep); 1047 cs42l56->beep = devm_input_allocate_device(component->dev); in cs42l56_init_beep() 1048 if (!cs42l56->beep) { in cs42l56_init_beep() 1056 cs42l56->beep->name = "CS42L56 Beep Generator"; in cs42l56_init_beep() 1057 cs42l56->beep->phys = dev_name(component->dev); 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() 1061 cs42l56->beep->sndbit[0] = BIT_MASK(SND_BELL) | BIT_MASK(SND_TONE); in cs42l56_init_beep() [all …]
|
H A D | wm8962.c | 76 struct input_dev *beep; member 3306 input_event(wm8962->beep, EV_SND, SND_TONE, time); in beep_store() 3311 static DEVICE_ATTR_WO(beep); 3318 wm8962->beep = devm_input_allocate_device(component->dev); in wm8962_init_beep() 3319 if (!wm8962->beep) { in wm8962_init_beep() 3327 wm8962->beep->name = "WM8962 Beep Generator"; in wm8962_init_beep() 3328 wm8962->beep->phys = dev_name(component->dev); 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() 3332 wm8962->beep->sndbit[0] = BIT_MASK(SND_BELL) | BIT_MASK(SND_TONE); in wm8962_init_beep() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/beep/files/ |
H A D | 0001-beep-library-Make-it-compatible-with-c99.patch | 4 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 D | nct7802.c | 631 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); 635 static SENSOR_DEVICE_ATTR_2_RW(temp5_beep, beep, 0x5c, 4); 636 static SENSOR_DEVICE_ATTR_2_RW(temp6_beep, beep, 0x5c, 5); 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); [all …]
|
H A D | gl520sm.c | 704 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 D | gl518sm.c | 499 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 D | w83627hf.c | 989 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/hwmon/ |
H A D | w83791d.rst | 96 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 D | sysfs-interface.rst | 555 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/Documentation/sound/hd-audio/ |
H A D | index.rst | 11 realtek-pc-beep
|
H A D | realtek-pc-beep.rst | 27 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/arch/arm/boot/dts/marvell/ |
H A D | armada-385-synology-ds116.dts | 55 * "2" : short beep 56 * "3" : long beep
|
/openbmc/u-boot/drivers/sound/ |
H A D | Kconfig | 7 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
|