Home
last modified time | relevance | path

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

/sound/soc/rockchip/
Drk3399_gru_sound.c397 const struct snd_soc_dapm_route *routes; member
403 .routes = rockchip_sound_cdndp_routes,
407 .routes = rockchip_sound_da7219_routes,
411 .routes = rockchip_sound_dmic_routes,
415 .routes = rockchip_sound_max98357a_routes,
419 .routes = rockchip_sound_rt5514_routes,
482 struct snd_soc_dapm_route *routes; in rockchip_sound_of_parse_dais() local
494 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais()
496 if (!routes) in rockchip_sound_of_parse_dais()
498 card->dapm_routes = routes; in rockchip_sound_of_parse_dais()
[all …]
/sound/soc/codecs/
Dwm8776.c143 static const struct snd_soc_dapm_route routes[] = { variable
433 .dapm_routes = routes,
434 .num_dapm_routes = ARRAY_SIZE(routes),
Darizona.c1917 struct snd_soc_dapm_route routes[2]; in arizona_dai_set_sysclk() local
1939 memset(&routes, 0, sizeof(routes)); in arizona_dai_set_sysclk()
1940 routes[0].sink = dai->driver->capture.stream_name; in arizona_dai_set_sysclk()
1941 routes[1].sink = dai->driver->playback.stream_name; in arizona_dai_set_sysclk()
1943 routes[0].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk()
1944 routes[1].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk()
1945 snd_soc_dapm_del_routes(dapm, routes, ARRAY_SIZE(routes)); in arizona_dai_set_sysclk()
1947 routes[0].source = arizona_dai_clk_str(clk_id); in arizona_dai_set_sysclk()
1948 routes[1].source = arizona_dai_clk_str(clk_id); in arizona_dai_set_sysclk()
1949 snd_soc_dapm_add_routes(dapm, routes, ARRAY_SIZE(routes)); in arizona_dai_set_sysclk()
Dmadera.c1213 const struct snd_soc_dapm_route *routes, in madera_init_outputs() argument
1231 if (!routes) in madera_init_outputs()
1232 routes = madera_mono_routes; in madera_init_outputs()
1238 snd_soc_dapm_add_routes(dapm, &routes[i], 1); in madera_init_outputs()
3247 struct snd_soc_dapm_route routes[2]; in madera_dai_set_sysclk() local
3272 memset(&routes, 0, sizeof(routes)); in madera_dai_set_sysclk()
3273 routes[0].sink = dai->driver->capture.stream_name; in madera_dai_set_sysclk()
3274 routes[1].sink = dai->driver->playback.stream_name; in madera_dai_set_sysclk()
3275 routes[0].source = "ASYNCCLK"; in madera_dai_set_sysclk()
3276 routes[1].source = "ASYNCCLK"; in madera_dai_set_sysclk()
[all …]
Dwm8993.c918 static const struct snd_soc_dapm_route routes[] = { variable
1531 snd_soc_dapm_add_routes(dapm, routes, ARRAY_SIZE(routes)); in wm8993_probe()
Dmadera.h427 const struct snd_soc_dapm_route *routes,
/sound/soc/
Dsoc-topology.c1106 struct snd_soc_dapm_route **routes; in soc_tplg_dapm_graph_elems_load() local
1125 routes = kcalloc(count, sizeof(struct snd_soc_dapm_route *), in soc_tplg_dapm_graph_elems_load()
1127 if (!routes) in soc_tplg_dapm_graph_elems_load()
1136 routes[i] = devm_kzalloc(tplg->dev, sizeof(*routes[i]), GFP_KERNEL); in soc_tplg_dapm_graph_elems_load()
1137 if (!routes[i]) in soc_tplg_dapm_graph_elems_load()
1162 routes[i]->source = elem->source; in soc_tplg_dapm_graph_elems_load()
1163 routes[i]->sink = elem->sink; in soc_tplg_dapm_graph_elems_load()
1166 routes[i]->connected = NULL; in soc_tplg_dapm_graph_elems_load()
1168 routes[i]->control = NULL; in soc_tplg_dapm_graph_elems_load()
1170 routes[i]->control = elem->control; in soc_tplg_dapm_graph_elems_load()
[all …]
Dsoc-core.c2929 struct snd_soc_dapm_route *routes; in snd_soc_of_parse_audio_routing() local
2941 routes = devm_kcalloc(card->dev, num_routes, sizeof(*routes), in snd_soc_of_parse_audio_routing()
2943 if (!routes) { in snd_soc_of_parse_audio_routing()
2951 2 * i, &routes[i].sink); in snd_soc_of_parse_audio_routing()
2959 (2 * i) + 1, &routes[i].source); in snd_soc_of_parse_audio_routing()
2969 card->of_dapm_routes = routes; in snd_soc_of_parse_audio_routing()
/sound/soc/intel/boards/
Dbxt_da7219_max98357a.c657 const struct snd_soc_dapm_route *routes; in bxt_card_late_probe() local
667 routes = max98357a_routes; in bxt_card_late_probe()
675 routes = max98390_routes; in bxt_card_late_probe()
695 err = snd_soc_dapm_add_routes(&card->dapm, routes, num_routes); in bxt_card_late_probe()
/sound/pci/au88x0/
Dau88x0_core.c1919 ADBRamLink routes[2];
1920 routes[0] =
1923 routes[1] =
1928 vortex_adb_addroutes(vortex, ch, routes, 0x2);
1932 vortex_adb_delroutes(vortex, ch, routes[0], routes[1]);