/sound/soc/tegra/ |
D | tegra210_ahub.h | 79 #define WIDGETS(sname, ename) \ argument 80 SND_SOC_DAPM_AIF_IN(sname " XBAR-RX", NULL, 0, SND_SOC_NOPM, 0, 0), \ 81 SND_SOC_DAPM_AIF_OUT(sname " XBAR-TX", NULL, 0, SND_SOC_NOPM, 0, 0), \ 82 SND_SOC_DAPM_MUX(sname " Mux", SND_SOC_NOPM, 0, 0, \ 85 #define TX_WIDGETS(sname) \ argument 86 SND_SOC_DAPM_AIF_IN(sname " XBAR-RX", NULL, 0, SND_SOC_NOPM, 0, 0), \ 87 SND_SOC_DAPM_AIF_OUT(sname " XBAR-TX", NULL, 0, SND_SOC_NOPM, 0, 0) 89 #define DAI(sname) \ argument 91 .name = "XBAR-" #sname, \ 93 .stream_name = #sname " XBAR-Playback", \ [all …]
|
D | tegra210_adx.c | 296 #define STREAM_ROUTES(id, sname) \ argument 297 { "XBAR-" sname, NULL, "XBAR-TX" }, \ 298 { "RX-CIF-" sname, NULL, "XBAR-" sname }, \ 299 { "RX", NULL, "RX-CIF-" sname }, \ 301 { "TX" #id "-CIF-" sname, NULL, "TX" #id }, \ 302 { "TX" #id " XBAR-" sname, NULL, "TX" #id "-CIF-" sname }, \ 303 { "TX" #id " XBAR-RX", NULL, "TX" #id " XBAR-" sname } 309 #define STREAM_ROUTES(id, sname) \ argument 310 { "XBAR-" sname, NULL, "XBAR-TX" }, \ 311 { "RX-CIF-" sname, NULL, "XBAR-" sname }, \ [all …]
|
D | tegra210_mixer.c | 447 #define RX_ROUTES(id, sname) \ argument 448 { "RX" #id " XBAR-" sname, NULL, "RX" #id " XBAR-TX" }, \ 449 { "RX" #id "-CIF-" sname, NULL, "RX" #id " XBAR-" sname }, \ 450 { "RX" #id, NULL, "RX" #id "-CIF-" sname } 456 #define ADDER_ROUTES(id, sname) \ argument 468 { "TX" #id "-CIF-" sname, NULL, "TX" #id }, \ 469 { "TX" #id " XBAR-" sname, NULL, "TX" #id "-CIF-" sname }, \ 470 { "TX" #id " XBAR-RX", NULL, "TX" #id " XBAR-" sname } \ 472 #define TX_ROUTES(id, sname) \ argument 473 ADDER_ROUTES(1, sname), \ [all …]
|
D | tegra210_ope.c | 175 #define OPE_ROUTES(sname) \ argument 176 { "RX XBAR-" sname, NULL, "XBAR-TX" }, \ 177 { "RX-CIF-" sname, NULL, "RX XBAR-" sname }, \ 178 { "RX", NULL, "RX-CIF-" sname }, \ 179 { "TX-CIF-" sname, NULL, "TX" }, \ 180 { "TX XBAR-" sname, NULL, "TX-CIF-" sname }, \ 181 { "XBAR-RX", NULL, "TX XBAR-" sname }
|
D | tegra210_amx.c | 325 #define STREAM_ROUTES(id, sname) \ argument 326 { "RX" #id " XBAR-" sname, NULL, "RX" #id " XBAR-TX" }, \ 327 { "RX" #id "-CIF-" sname, NULL, "RX" #id " XBAR-" sname },\ 328 { "RX" #id, NULL, "RX" #id "-CIF-" sname }, \ 330 { "TX-CIF-" sname, NULL, "TX" }, \ 331 { "XBAR-" sname, NULL, "TX-CIF-" sname }, \ 332 { "XBAR-RX", NULL, "XBAR-" sname }
|
D | tegra186_asrc.c | 610 #define ASRC_STREAM_ROUTE(id, sname) \ argument 611 { "RX" #id " XBAR-" sname, NULL, "RX" #id " XBAR-TX" }, \ 612 { "RX" #id "-CIF-" sname, NULL, "RX" #id " XBAR-" sname }, \ 613 { "RX" #id, NULL, "RX" #id "-CIF-" sname }, \ 615 { "TX" #id "-CIF-" sname, NULL, "TX" #id }, \ 616 { "TX" #id " XBAR-" sname, NULL, "TX" #id "-CIF-" sname }, \ 617 { "TX" #id " XBAR-RX", NULL, "TX" #id " XBAR-" sname }, 623 #define ASRC_RATIO_ROUTE(sname) \ argument 624 { "RX7 XBAR-" sname, NULL, "RX7 XBAR-TX" }, \ 625 { "RX7-CIF-" sname, NULL, "RX7 XBAR-" sname }, \ [all …]
|
D | tegra210_mvc.c | 617 #define MVC_ROUTES(sname) \ argument 618 { "RX XBAR-" sname, NULL, "XBAR-TX" }, \ 619 { "RX-CIF-" sname, NULL, "RX XBAR-" sname }, \ 620 { "RX", NULL, "RX-CIF-" sname }, \ 621 { "TX-CIF-" sname, NULL, "TX" }, \ 622 { "TX XBAR-" sname, NULL, "TX-CIF-" sname }, \ 623 { "XBAR-RX", NULL, "TX XBAR-" sname }
|
D | tegra210_sfc.c | 3443 #define RESAMPLE_ROUTE(sname) \ argument 3444 { "RX XBAR-" sname, NULL, "XBAR-TX" }, \ 3445 { "RX-CIF-" sname, NULL, "RX XBAR-" sname }, \ 3446 { "RX", NULL, "RX-CIF-" sname }, \ 3447 { "TX-CIF-" sname, NULL, "TX" }, \ 3448 { "TX XBAR-" sname, NULL, "TX-CIF-" sname }, \ 3449 { "XBAR-RX", NULL, "TX XBAR-" sname }
|
/sound/pci/hda/ |
D | hda_eld.c | 500 char *sname; in snd_hdmi_write_eld_info() local 531 sname = name + 4; in snd_hdmi_write_eld_info() 534 sname++; in snd_hdmi_write_eld_info() 539 if (!strcmp(sname, "_coding_type")) in snd_hdmi_write_eld_info() 541 else if (!strcmp(sname, "_channels")) in snd_hdmi_write_eld_info() 543 else if (!strcmp(sname, "_rates")) in snd_hdmi_write_eld_info() 545 else if (!strcmp(sname, "_bits")) in snd_hdmi_write_eld_info() 547 else if (!strcmp(sname, "_max_bitrate")) in snd_hdmi_write_eld_info() 549 else if (!strcmp(sname, "_profile")) in snd_hdmi_write_eld_info()
|
D | hda_tegra.c | 267 const char *sname, *drv_name = "tegra-hda"; in hda_tegra_first_init() local 383 sname = of_get_property(np, "nvidia,model", NULL); in hda_tegra_first_init() 384 if (!sname) in hda_tegra_first_init() 385 sname = drv_name; in hda_tegra_first_init() 386 if (strlen(sname) > sizeof(card->shortname)) in hda_tegra_first_init() 388 strncpy(card->shortname, sname, sizeof(card->shortname)); in hda_tegra_first_init()
|
/sound/soc/sof/ |
D | topology.c | 1013 if (!w->sname) { in sof_connect_dai_widget() 1021 strcmp(w->sname, rtd->dai_link->stream_name)) in sof_connect_dai_widget() 1077 w->name, w->sname); in sof_connect_dai_widget() 1089 const char *sname = w->sname; in sof_disconnect_dai_widget() local 1093 if (!sname) in sof_disconnect_dai_widget() 1099 strcmp(sname, rtd->dai_link->stream_name)) in sof_disconnect_dai_widget() 1287 strnlen(tw->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 in sof_widget_ready() 1288 ? tw->sname : "none"); in sof_widget_ready() 1357 strnlen(tw->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 in sof_widget_ready() 1358 ? tw->sname : "none"); in sof_widget_ready()
|
D | ipc4-topology.c | 518 if (w->widget->sname && in sof_ipc4_widget_setup_comp_dai() 519 strcmp(w->widget->sname, swidget->widget->sname)) in sof_ipc4_widget_setup_comp_dai() 1240 if (w->widget->sname && in sof_ipc4_prepare_copier_module() 1241 strcmp(w->widget->sname, swidget->widget->sname)) in sof_ipc4_prepare_copier_module()
|
D | sof-priv.h | 71 #define SOF_DAI_STREAM(sname, scmin, scmax, srates, sfmt) \ argument 72 {.stream_name = sname, .channels_min = scmin, .channels_max = scmax, \
|
D | ipc3-topology.c | 502 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline() 505 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline() 1784 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_ipc3_keyword_detect_pcm_params() 1870 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_ipc3_keyword_dapm_event()
|
D | sof-audio.c | 736 if (!strcmp(pcm_name, swidget->widget->sname) && in snd_sof_find_swidget_sname()
|
/sound/soc/intel/atom/ |
D | sst-atom-controls.h | 589 { .id = snd_soc_dapm_aif_in, .name = wname, .sname = NULL, \ 597 { .id = snd_soc_dapm_aif_out, .name = wname, .sname = NULL, \ 605 { .id = snd_soc_dapm_input, .name = wname, .sname = NULL, \ 613 { .id = snd_soc_dapm_output, .name = wname, .sname = NULL, \ 621 { .id = snd_soc_dapm_output, .name = wname, .sname = NULL, \
|
/sound/soc/ |
D | soc-dapm.c | 335 if (_widget->sname) { in dapm_cnew_widget() 336 w->sname = kstrdup_const(_widget->sname, GFP_KERNEL); in dapm_cnew_widget() 337 if (!w->sname) { in dapm_cnew_widget() 2141 if (w->sname) in dapm_widget_power_read_file() 2143 w->sname, in dapm_widget_power_read_file() 2513 kfree_const(w->sname); in snd_soc_dapm_free_widget() 3768 kfree_const(w->sname); in snd_soc_dapm_new_control_unlocked() 4244 template.sname = dai->driver->playback.stream_name; in snd_soc_dapm_new_dai_widgets() 4260 template.sname = dai->driver->capture.stream_name; in snd_soc_dapm_new_dai_widgets() 4315 if (!w->sname || !strstr(w->sname, dai_w->sname)) in snd_soc_dapm_link_dai_widgets()
|
D | soc-topology.c | 1360 if (strnlen(w->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_create() 1378 template.sname = kstrdup(w->sname, GFP_KERNEL); in soc_tplg_dapm_widget_create() 1379 if (!template.sname) { in soc_tplg_dapm_widget_create() 1494 kfree(template.sname); in soc_tplg_dapm_widget_create() 1503 kfree(template.sname); in soc_tplg_dapm_widget_create()
|
/sound/pci/ |
D | cmipci.c | 2397 #define DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask_on, xis_byte, xac3) \ argument 2398 static struct cmipci_switch_args cmipci_switch_arg_##sname = { \ 2406 #define DEFINE_BIT_SWITCH_ARG(sname, xreg, xmask, xis_byte, xac3) \ argument 2407 DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask, xis_byte, xac3) 2438 #define DEFINE_SWITCH(sname, stype, sarg) \ argument 2439 { .name = sname, \ 2447 #define DEFINE_CARD_SWITCH(sname, sarg) DEFINE_SWITCH(sname, SNDRV_CTL_ELEM_IFACE_CARD, sarg) argument 2448 #define DEFINE_MIXER_SWITCH(sname, sarg) DEFINE_SWITCH(sname, SNDRV_CTL_ELEM_IFACE_MIXER, sarg) argument
|
/sound/soc/intel/catpt/ |
D | pcm.c | 1072 #define CATPT_VOLUME_CTL(kname, sname) \ argument 1078 .get = catpt_##sname##_volume_get, \ 1079 .put = catpt_##sname##_volume_put, \
|
/sound/soc/sunxi/ |
D | sun8i-codec.c | 758 struct sun8i_codec_aif *aif = &scodec->aifs[w->sname[3] - '1']; in sun8i_codec_aif_event()
|
/sound/soc/codecs/ |
D | hdac_hdmi.c | 694 w->sname = stream; in hdac_hdmi_fill_widget_info()
|