Searched refs:beep (Results 1 – 14 of 14) sorted by relevance
/sound/pci/hda/ |
D | hda_beep.c | 37 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 …]
|
D | Kconfig | 58 bool "Support digital beep via input layer" 61 Say Y here to build a digital beep interface for HD-audio 65 int "Digital beep registration mode (0=off, 1=on)" 70 Set 0 to disable the digital beep interface for HD-audio by default. 71 Set 1 to always enable the digital beep interface for HD-audio by
|
D | hda_beep.h | 43 void (*power_hook)(struct hda_beep *beep, bool on);
|
D | hda_codec.h | 204 struct hda_beep *beep; member
|
D | patch_sigmatel.c | 900 ucontrol->value.integer.value[0] = codec->beep->enabled; in stac_dig_beep_switch_get() 4312 if (codec->beep) { in stac_parse_auto_config() 4314 codec->beep->linear_tone = spec->linear_tone_beep; in stac_parse_auto_config()
|
D | hda_generic.c | 4204 static void beep_power_hook(struct hda_beep *beep, bool on) in beep_power_hook() argument 4206 set_path_power(beep->codec, beep->nid, -1, on); in beep_power_hook() 5003 if (codec->beep && codec->power_save_node) { in snd_hda_gen_parse_auto_config() 5007 codec->beep->power_hook = beep_power_hook; in snd_hda_gen_parse_auto_config()
|
/sound/ppc/ |
D | beep.c | 48 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 …]
|
D | Makefile | 6 snd-powermac-objs := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o
|
D | pmac.h | 144 struct pmac_beep *beep; member
|
/sound/soc/codecs/ |
D | cs42l52.c | 53 struct input_dev *beep; member 974 input_event(cs42l52->beep, EV_SND, SND_TONE, time); in cs42l52_beep_set() 979 static DEVICE_ATTR(beep, 0200, NULL, cs42l52_beep_set); 986 cs42l52->beep = devm_input_allocate_device(codec->dev); in cs42l52_init_beep() 987 if (!cs42l52->beep) { in cs42l52_init_beep() 995 cs42l52->beep->name = "CS42L52 Beep Generator"; in cs42l52_init_beep() 996 cs42l52->beep->phys = dev_name(codec->dev); in cs42l52_init_beep() 997 cs42l52->beep->id.bustype = BUS_I2C; in cs42l52_init_beep() 999 cs42l52->beep->evbit[0] = BIT_MASK(EV_SND); in cs42l52_init_beep() 1000 cs42l52->beep->sndbit[0] = BIT_MASK(SND_BELL) | BIT_MASK(SND_TONE); in cs42l52_init_beep() [all …]
|
D | cs42l56.c | 60 struct input_dev *beep; member 1048 input_event(cs42l56->beep, EV_SND, SND_TONE, time); in cs42l56_beep_set() 1053 static DEVICE_ATTR(beep, 0200, NULL, cs42l56_beep_set); 1060 cs42l56->beep = devm_input_allocate_device(codec->dev); in cs42l56_init_beep() 1061 if (!cs42l56->beep) { in cs42l56_init_beep() 1069 cs42l56->beep->name = "CS42L56 Beep Generator"; in cs42l56_init_beep() 1070 cs42l56->beep->phys = dev_name(codec->dev); in cs42l56_init_beep() 1071 cs42l56->beep->id.bustype = BUS_I2C; in cs42l56_init_beep() 1073 cs42l56->beep->evbit[0] = BIT_MASK(EV_SND); in cs42l56_init_beep() 1074 cs42l56->beep->sndbit[0] = BIT_MASK(SND_BELL) | BIT_MASK(SND_TONE); in cs42l56_init_beep() [all …]
|
D | wm8962.c | 80 struct input_dev *beep; member 3230 input_event(wm8962->beep, EV_SND, SND_TONE, time); in wm8962_beep_set() 3235 static DEVICE_ATTR(beep, 0200, NULL, wm8962_beep_set); 3242 wm8962->beep = devm_input_allocate_device(codec->dev); in wm8962_init_beep() 3243 if (!wm8962->beep) { in wm8962_init_beep() 3251 wm8962->beep->name = "WM8962 Beep Generator"; in wm8962_init_beep() 3252 wm8962->beep->phys = dev_name(codec->dev); in wm8962_init_beep() 3253 wm8962->beep->id.bustype = BUS_I2C; in wm8962_init_beep() 3255 wm8962->beep->evbit[0] = BIT_MASK(EV_SND); in wm8962_init_beep() 3256 wm8962->beep->sndbit[0] = BIT_MASK(SND_BELL) | BIT_MASK(SND_TONE); in wm8962_init_beep() [all …]
|
/sound/ |
D | Kconfig | 6 than an occasional beep, say Y. Be sure to have all the information
|
/sound/drivers/ |
D | Kconfig | 57 You don't need this driver if you only want your pc-speaker to beep.
|