Home
last modified time | relevance | path

Searched refs:tone (Results 1 – 7 of 7) sorted by relevance

/sound/pci/hda/
Dhda_beep.c24 static void generate_tone(struct hda_beep *beep, int tone) in generate_tone() argument
28 if (tone && !beep->playing) { in generate_tone()
35 AC_VERB_SET_BEEP_CONTROL, tone); in generate_tone()
36 if (!tone && beep->playing) { 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()
Dhda_beep.h22 int tone; member
/sound/soc/sof/
Dipc3-topology.c418 struct sof_ipc_comp_tone *tone; in sof_ipc3_widget_setup_comp_tone() local
419 size_t ipc_size = sizeof(*tone); in sof_ipc3_widget_setup_comp_tone()
422 tone = sof_comp_alloc(swidget, &ipc_size, swidget->pipeline_id); in sof_ipc3_widget_setup_comp_tone()
423 if (!tone) in sof_ipc3_widget_setup_comp_tone()
426 swidget->private = tone; in sof_ipc3_widget_setup_comp_tone()
429 tone->comp.type = SOF_COMP_TONE; in sof_ipc3_widget_setup_comp_tone()
430 tone->config.hdr.size = sizeof(tone->config); in sof_ipc3_widget_setup_comp_tone()
433 ret = sof_update_ipc_object(scomp, &tone->config, SOF_COMP_TOKENS, swidget->tuples, in sof_ipc3_widget_setup_comp_tone()
434 swidget->num_tuples, sizeof(tone->config), 1); in sof_ipc3_widget_setup_comp_tone()
442 swidget->widget->name, tone->frequency, tone->amplitude); in sof_ipc3_widget_setup_comp_tone()
[all …]
/sound/drivers/opl4/
Dopl4_local.h135 u16 tone; member
Dopl4_synth.c517 (sound[i]->tone >> 8) & OPL4_TONE_NUMBER_BIT8; in snd_opl4_note_on()
521 sound[i]->tone & 0xff); in snd_opl4_note_on()
/sound/pci/asihpi/
Dhpicmn.c418 phr->u.c.param1 = pC->u.tone.state; in hpi_check_control_cache_single()
Dhpi_internal.h1349 struct hpi_control_cache_tonedetector tone; member