Home
last modified time | relevance | path

Searched refs:pcm_name (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/sound/soc/codecs/
Dhdac_hda.c333 const char *pcm_name; in snd_soc_find_pcm_from_dai() local
343 pcm_name = "Analog"; in snd_soc_find_pcm_from_dai()
346 pcm_name = "Digital"; in snd_soc_find_pcm_from_dai()
349 pcm_name = "Alt Analog"; in snd_soc_find_pcm_from_dai()
352 pcm_name = "HDMI 0"; in snd_soc_find_pcm_from_dai()
355 pcm_name = "HDMI 1"; in snd_soc_find_pcm_from_dai()
358 pcm_name = "HDMI 2"; in snd_soc_find_pcm_from_dai()
361 pcm_name = "HDMI 3"; in snd_soc_find_pcm_from_dai()
369 if (strstr(cpcm->name, pcm_name)) { in snd_soc_find_pcm_from_dai()
370 if (strcmp(pcm_name, "Analog") == 0) { in snd_soc_find_pcm_from_dai()
/linux-6.6.21/tools/testing/selftests/alsa/
Dtest-pcmtest-driver.c87 char pcm_name[32]; in setup_handle() local
90 sprintf(pcm_name, "hw:%d,0,0", card); in setup_handle()
91 err = snd_pcm_open(handle, pcm_name, stream, 0); in setup_handle()
/linux-6.6.21/drivers/usb/gadget/function/
Du_audio.h114 int g_audio_setup(struct g_audio *g_audio, const char *pcm_name,
Du_audio.c1155 int g_audio_setup(struct g_audio *g_audio, const char *pcm_name, in g_audio_setup() argument
1241 err = snd_pcm_new(uac->card, pcm_name, 0, in g_audio_setup()
1246 strscpy(pcm->name, pcm_name, sizeof(pcm->name)); in g_audio_setup()
/linux-6.6.21/include/uapi/sound/
Dasoc.h515 char pcm_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; member
615 char pcm_name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; member
/linux-6.6.21/sound/soc/
Dsoc-topology.c1688 if (strlen(pcm->pcm_name)) { in soc_tplg_fe_link_create()
1689 link->name = devm_kstrdup(tplg->dev, pcm->pcm_name, GFP_KERNEL); in soc_tplg_fe_link_create()
1690 link->stream_name = devm_kstrdup(tplg->dev, pcm->pcm_name, GFP_KERNEL); in soc_tplg_fe_link_create()
1814 memcpy(dest->pcm_name, src_v4->pcm_name, SNDRV_CTL_ELEM_ID_NAME_MAXLEN); in pcm_new_ver()
Dsoc-topology-test.c179 .pcm_name = "KUNIT Audio",
/linux-6.6.21/sound/soc/sof/
Dsof-audio.c937 const char *pcm_name, int dir) in snd_sof_find_swidget_sname() argument
949 if (!strcmp(pcm_name, swidget->widget->sname) && in snd_sof_find_swidget_sname()
Dsof-audio.h575 const char *pcm_name, int dir);
Dpcm.c536 dev_dbg(component->dev, "creating new PCM %s\n", spcm->pcm.pcm_name); in sof_pcm_new()