/linux/sound/pci/hda/ |
A D | hda_beep.c | 31 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() 137 struct hda_beep *beep = codec->beep; in snd_hda_enable_beep_device() local 178 beep->codec->beep = NULL; in beep_dev_free() 212 snprintf(beep->phys, sizeof(beep->phys), in snd_hda_attach_beep_device() 220 codec->beep = beep; in snd_hda_attach_beep_device() 292 struct hda_beep *beep = codec->beep; in snd_hda_mixer_amp_switch_get_beep() local [all …]
|
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
|
A D | hda_beep.h | 30 void (*power_hook)(struct hda_beep *beep, bool on);
|
/linux/sound/ppc/ |
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() 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 …]
|
A D | Makefile | 7 snd-powermac-objs := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o
|
A D | pmac.h | 131 struct pmac_beep *beep; member
|
/linux/drivers/input/misc/ |
A D | gpio-beeper.c | 32 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 …]
|
/linux/drivers/accessibility/braille/ |
A D | braille_console.c | 38 static void beep(unsigned int freq) in beep() function 158 beep(880); in keyboard_notifier_call() 167 beep(440); in keyboard_notifier_call() 178 beep(880); in keyboard_notifier_call() 182 beep(220); in keyboard_notifier_call() 188 beep(880); in keyboard_notifier_call() 192 beep(220); in keyboard_notifier_call() 198 beep(220); in keyboard_notifier_call() 204 beep(220); in keyboard_notifier_call() 245 beep(880); in keyboard_notifier_call() [all …]
|
/linux/arch/x86/realmode/rm/ |
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()
|
/linux/sound/soc/codecs/ |
A D | cs42l52.c | 49 struct input_dev *beep; member 976 static DEVICE_ATTR_WO(beep); 984 if (!cs42l52->beep) { in cs42l52_init_beep() 994 cs42l52->beep->id.bustype = BUS_I2C; in cs42l52_init_beep() 996 cs42l52->beep->evbit[0] = BIT_MASK(EV_SND); in cs42l52_init_beep() 998 cs42l52->beep->event = cs42l52_beep_event; in cs42l52_init_beep() 999 cs42l52->beep->dev.parent = component->dev; in cs42l52_init_beep() 1000 input_set_drvdata(cs42l52->beep, component); in cs42l52_init_beep() 1002 ret = input_register_device(cs42l52->beep); in cs42l52_init_beep() 1004 cs42l52->beep = NULL; in cs42l52_init_beep() [all …]
|
A D | cs42l56.c | 56 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 …]
|
A D | wm8962.c | 76 struct input_dev *beep; member 3238 static DEVICE_ATTR_WO(beep); 3246 if (!wm8962->beep) { in wm8962_init_beep() 3256 wm8962->beep->id.bustype = BUS_I2C; in wm8962_init_beep() 3258 wm8962->beep->evbit[0] = BIT_MASK(EV_SND); in wm8962_init_beep() 3260 wm8962->beep->event = wm8962_beep_event; in wm8962_init_beep() 3261 wm8962->beep->dev.parent = component->dev; in wm8962_init_beep() 3262 input_set_drvdata(wm8962->beep, component); in wm8962_init_beep() 3264 ret = input_register_device(wm8962->beep); in wm8962_init_beep() 3266 wm8962->beep = NULL; in wm8962_init_beep() [all …]
|
/linux/drivers/hwmon/ |
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); 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 …]
|
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);
|
A D | w83627hf.c | 959 static SENSOR_DEVICE_ATTR_RW(in0_beep, beep, 0); 960 static SENSOR_DEVICE_ATTR_RW(in1_beep, beep, 1); 961 static SENSOR_DEVICE_ATTR_RW(in2_beep, beep, 2); 962 static SENSOR_DEVICE_ATTR_RW(in3_beep, beep, 3); 963 static SENSOR_DEVICE_ATTR_RW(in4_beep, beep, 8); 964 static SENSOR_DEVICE_ATTR_RW(in5_beep, beep, 9); 965 static SENSOR_DEVICE_ATTR_RW(in6_beep, beep, 10); 966 static SENSOR_DEVICE_ATTR_RW(in7_beep, beep, 16); 967 static SENSOR_DEVICE_ATTR_RW(in8_beep, beep, 17); 968 static SENSOR_DEVICE_ATTR_RW(fan1_beep, beep, 6); [all …]
|
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);
|
/linux/Documentation/hwmon/ |
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
|
A D | sysfs-interface.rst | 551 Master beep enable. 554 Channel beep. 556 In theory, a chip could provide per-limit beep masking, but no such chip 567 Bitmask for beep. 578 Chassis intrusion beep.
|
/linux/Documentation/sound/hd-audio/ |
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
|
A D | index.rst | 11 realtek-pc-beep
|
/linux/arch/arm/boot/dts/ |
A D | armada-385-synology-ds116.dts | 55 * "2" : short beep 56 * "3" : long beep
|
A D | exynos4412-itop-elite.dts | 115 beep {
|
/linux/Documentation/sound/designs/ |
A D | control-names.rst | 61 Beep beep generator
|
/linux/sound/ |
A D | Kconfig | 7 than an occasional beep, say Y.
|
/linux/Documentation/admin-guide/laptops/ |
A D | thinkpad-acpi.rst | 855 ACPI sounds -- /proc/acpi/ibm/beep 864 echo <number> >/proc/acpi/ibm/beep 871 - 2 - two beeps, pause, third beep ("low battery") 872 - 3 - single beep 873 - 4 - high, followed by low-pitched beep ("unable") 874 - 5 - single beep 875 - 6 - very high, followed by high-pitched beep ("AC/DC") 876 - 7 - high-pitched beep 878 - 10 - very long beep 879 - 12 - low-pitched beep [all …]
|