Home
last modified time | relevance | path

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

/linux-4.1.27/sound/pci/hda/
Dhda_beep.c37 static void generate_tone(struct hda_beep *beep, int tone) in generate_tone() argument
39 struct hda_codec *codec = beep->codec; in generate_tone()
41 if (tone && !beep->playing) { in generate_tone()
43 if (beep->power_hook) in generate_tone()
44 beep->power_hook(beep, true); in generate_tone()
45 beep->playing = 1; in generate_tone()
47 snd_hda_codec_write(codec, beep->nid, 0, in generate_tone()
49 if (!tone && beep->playing) { in generate_tone()
50 beep->playing = 0; in generate_tone()
51 if (beep->power_hook) in generate_tone()
[all …]
Dhda_beep.h43 void (*power_hook)(struct hda_beep *beep, bool on);
DKconfig74 bool "Support digital beep via input layer"
77 Say Y here to build a digital beep interface for HD-audio
81 int "Digital beep registration mode (0=off, 1=on)"
86 Set 0 to disable the digital beep interface for HD-audio by default.
87 Set 1 to always enable the digital beep interface for HD-audio by
Dhda_codec.h229 struct hda_beep *beep; member
Dpatch_sigmatel.c899 ucontrol->value.integer.value[0] = codec->beep->enabled; in stac_dig_beep_switch_get()
4290 if (codec->beep) { in stac_parse_auto_config()
4292 codec->beep->linear_tone = spec->linear_tone_beep; in stac_parse_auto_config()
Dhda_generic.c4185 static void beep_power_hook(struct hda_beep *beep, bool on) in beep_power_hook() argument
4187 set_path_power(beep->codec, beep->nid, -1, on); in beep_power_hook()
4984 if (codec->beep && codec->power_save_node) { in snd_hda_gen_parse_auto_config()
4988 codec->beep->power_hook = beep_power_hook; in snd_hda_gen_parse_auto_config()
/linux-4.1.27/sound/ppc/
Dbeep.c48 struct pmac_beep *beep = chip->beep; in snd_pmac_beep_stop() local
49 if (beep && beep->running) { in snd_pmac_beep_stop()
50 beep->running = 0; in snd_pmac_beep_stop()
103 struct pmac_beep *beep; in snd_pmac_beep_event() local
121 if (! chip || (beep = chip->beep) == NULL) in snd_pmac_beep_event()
126 if (beep->running) in snd_pmac_beep_event()
139 if (chip->playback.running || chip->capture.running || beep->running) { in snd_pmac_beep_event()
143 beep->running = 1; in snd_pmac_beep_event()
146 if (hz == beep->hz && beep->volume == beep->volume_play) { in snd_pmac_beep_event()
147 nsamples = beep->nsamples; in snd_pmac_beep_event()
[all …]
DMakefile6 snd-powermac-objs := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o
Dpmac.h144 struct pmac_beep *beep; member
/linux-4.1.27/drivers/input/misc/
Dgpio-beeper.c27 static void gpio_beeper_toggle(struct gpio_beeper *beep, bool on) in gpio_beeper_toggle() argument
29 gpiod_set_value_cansleep(beep->desc, on); in gpio_beeper_toggle()
34 struct gpio_beeper *beep = container_of(work, struct gpio_beeper, work); in gpio_beeper_work() local
36 gpio_beeper_toggle(beep, beep->beeping); in gpio_beeper_work()
42 struct gpio_beeper *beep = input_get_drvdata(dev); in gpio_beeper_event() local
50 beep->beeping = value; in gpio_beeper_event()
52 schedule_work(&beep->work); in gpio_beeper_event()
59 struct gpio_beeper *beep = input_get_drvdata(input); in gpio_beeper_close() local
61 cancel_work_sync(&beep->work); in gpio_beeper_close()
62 gpio_beeper_toggle(beep, false); in gpio_beeper_close()
[all …]
/linux-4.1.27/arch/x86/realmode/rm/
Dwakemain.c10 static void beep(unsigned int hz) in beep() function
46 beep(DOT_HZ); in send_morse()
48 beep(0); in send_morse()
52 beep(DASH_HZ); in send_morse()
54 beep(0); in send_morse()
/linux-4.1.27/drivers/accessibility/braille/
Dbraille_console.c51 static void beep(unsigned int freq) in beep() function
171 beep(880); in keyboard_notifier_call()
180 beep(440); in keyboard_notifier_call()
191 beep(880); in keyboard_notifier_call()
195 beep(220); in keyboard_notifier_call()
201 beep(880); in keyboard_notifier_call()
205 beep(220); in keyboard_notifier_call()
211 beep(220); in keyboard_notifier_call()
217 beep(220); in keyboard_notifier_call()
257 beep(880); in keyboard_notifier_call()
[all …]
/linux-4.1.27/sound/soc/codecs/
Dcs42l52.c53 struct input_dev *beep; member
1027 input_event(cs42l52->beep, EV_SND, SND_TONE, time); in cs42l52_beep_set()
1032 static DEVICE_ATTR(beep, 0200, NULL, cs42l52_beep_set);
1039 cs42l52->beep = devm_input_allocate_device(codec->dev); in cs42l52_init_beep()
1040 if (!cs42l52->beep) { in cs42l52_init_beep()
1048 cs42l52->beep->name = "CS42L52 Beep Generator"; in cs42l52_init_beep()
1049 cs42l52->beep->phys = dev_name(codec->dev); in cs42l52_init_beep()
1050 cs42l52->beep->id.bustype = BUS_I2C; in cs42l52_init_beep()
1052 cs42l52->beep->evbit[0] = BIT_MASK(EV_SND); in cs42l52_init_beep()
1053 cs42l52->beep->sndbit[0] = BIT_MASK(SND_BELL) | BIT_MASK(SND_TONE); in cs42l52_init_beep()
[all …]
Dcs42l56.c60 struct input_dev *beep; member
1097 input_event(cs42l56->beep, EV_SND, SND_TONE, time); in cs42l56_beep_set()
1102 static DEVICE_ATTR(beep, 0200, NULL, cs42l56_beep_set);
1109 cs42l56->beep = devm_input_allocate_device(codec->dev); in cs42l56_init_beep()
1110 if (!cs42l56->beep) { in cs42l56_init_beep()
1118 cs42l56->beep->name = "CS42L56 Beep Generator"; in cs42l56_init_beep()
1119 cs42l56->beep->phys = dev_name(codec->dev); in cs42l56_init_beep()
1120 cs42l56->beep->id.bustype = BUS_I2C; in cs42l56_init_beep()
1122 cs42l56->beep->evbit[0] = BIT_MASK(EV_SND); in cs42l56_init_beep()
1123 cs42l56->beep->sndbit[0] = BIT_MASK(SND_BELL) | BIT_MASK(SND_TONE); in cs42l56_init_beep()
[all …]
Dwm8962.c80 struct input_dev *beep; member
3235 input_event(wm8962->beep, EV_SND, SND_TONE, time); in wm8962_beep_set()
3240 static DEVICE_ATTR(beep, 0200, NULL, wm8962_beep_set);
3247 wm8962->beep = devm_input_allocate_device(codec->dev); in wm8962_init_beep()
3248 if (!wm8962->beep) { in wm8962_init_beep()
3256 wm8962->beep->name = "WM8962 Beep Generator"; in wm8962_init_beep()
3257 wm8962->beep->phys = dev_name(codec->dev); in wm8962_init_beep()
3258 wm8962->beep->id.bustype = BUS_I2C; in wm8962_init_beep()
3260 wm8962->beep->evbit[0] = BIT_MASK(EV_SND); in wm8962_init_beep()
3261 wm8962->beep->sndbit[0] = BIT_MASK(SND_BELL) | BIT_MASK(SND_TONE); in wm8962_init_beep()
[all …]
/linux-4.1.27/Documentation/hwmon/
Dw83791d85 alarm is triggered as well as a bitmask to enable or disable the beep for
86 specific alarms. You need both the global beep enable bit and the
87 corresponding beep bit to be on for a triggered alarm to sound a beep.
92 The sysfs interface to the beep bitmask has migrated from the original legacy
Dsysfs-interface648 beep_enable Master beep enable
657 Channel beep
662 In theory, a chip could provide per-limit beep masking, but no such chip
683 beep_mask Bitmask for beep.
705 Chassis intrusion beep
Dw83781d72 lines, alarms with beep warnings, and some miscellaneous stuff.
125 Individual alarm and beep bits:
163 Note that the individual beep bits are inverted from the other chips.
Dnct677551 one VID, alarms with beep warnings (control unimplemented), and some automatic
Dw83627ehf55 (except for 627UHG), alarms with beep warnings (control unimplemented),
/linux-4.1.27/Documentation/sound/alsa/
DControlNames.txt40 Beep (beep generator)
DALSA-Configuration.txt884 beep_mode - Selects the beep registration mode (0=off, 1=on); default
1598 enable_beep - enable beep using PCM (enabled as default)
/linux-4.1.27/sound/
DKconfig6 than an occasional beep, say Y. Be sure to have all the information
/linux-4.1.27/Documentation/laptops/
Dthinkpad-acpi.txt807 ACPI sounds -- /proc/acpi/ibm/beep
816 echo <number> >/proc/acpi/ibm/beep
823 2 - two beeps, pause, third beep ("low battery")
824 3 - single beep
825 4 - high, followed by low-pitched beep ("unable")
826 5 - single beep
827 6 - very high, followed by high-pitched beep ("AC/DC")
828 7 - high-pitched beep
830 10 - very long beep
831 12 - low-pitched beep
[all …]
/linux-4.1.27/arch/m68k/q40/
DREADME95 Linux uses the 200 Hz interrupt for timer and beep by default.
/linux-4.1.27/sound/drivers/
DKconfig57 You don't need this driver if you only want your pc-speaker to beep.
/linux-4.1.27/drivers/hwmon/
Dnct6775.c1505 u8 beep; in nct6775_update_device() local
1509 beep = nct6775_read_value(data, data->REG_BEEP[i]); in nct6775_update_device()
1510 data->beeps |= ((u64)beep) << (i << 3); in nct6775_update_device()
1649 unsigned int beep = 0; in show_temp_beep() local
1661 beep = (data->beeps >> bit) & 0x01; in show_temp_beep()
1663 return sprintf(buf, "%u\n", beep); in show_temp_beep()
/linux-4.1.27/Documentation/sound/oss/
DPAS1668 than an occasional beep, say Y. Be sure to have all the information
/linux-4.1.27/Documentation/input/
Djoystick.txt499 command. After that the Magellan will be detected, initialized, will beep,
/linux-4.1.27/drivers/platform/x86/
Dthinkpad_acpi.c5679 TPACPI_HANDLE(beep, ec, "BEEP"); /* all except R30, R31 */
5694 TPACPI_ACPIHANDLE_INIT(beep); in beep_init()
9339 TPACPI_PARAM(beep);
/linux-4.1.27/Documentation/
Ddevices.txt348 128 = /dev/beep Fancy beep device
Dkernel-parameters.txt350 s3_beep is for debugging; it makes the PC's speaker beep