Home
last modified time | relevance | path

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

12

/linux/sound/pci/hda/
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()
302 struct hda_beep *beep = codec->beep; in snd_hda_mixer_amp_switch_get_beep() local
[all …]
A Dhda_beep.h30 void (*power_hook)(struct hda_beep *beep, bool on);
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
/linux/sound/ppc/
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 …]
A DMakefile7 snd-powermac-y := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o
A Dpmac.h132 struct pmac_beep *beep; member
/linux/drivers/input/misc/
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 …]
/linux/drivers/accessibility/braille/
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/
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/
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 …]
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 …]
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 …]
/linux/drivers/hwmon/
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);
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);
812 static SENSOR_DEVICE_ATTR_2_RW(fan1_beep, beep, 0x5b, 0);
816 static SENSOR_DEVICE_ATTR_2_RW(fan2_beep, beep, 0x5b, 1);
[all …]
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);
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);
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 …]
/linux/Documentation/hwmon/
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
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/
A Dindex.rst11 realtek-pc-beep
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/Documentation/devicetree/bindings/
A Dincomplete-devices.yaml216 - SUNW,bbc-beep
225 - SUNW,smbus-beep
/linux/arch/arm/boot/dts/marvell/
A Darmada-385-synology-ds116.dts55 * "2" : short beep
56 * "3" : long beep
/linux/Documentation/sound/designs/
A Dcontrol-names.rst61 Beep beep generator
/linux/sound/
A DKconfig7 than an occasional beep, say Y.
/linux/Documentation/driver-api/gpio/
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

Completed in 36 milliseconds

12