Searched refs:routes (Results 1 – 8 of 8) sorted by relevance
/sound/soc/rockchip/ |
D | rk3399_gru_sound.c | 369 const struct snd_soc_dapm_route *routes; member 375 .routes = rockchip_sound_cdndp_routes, 379 .routes = rockchip_sound_da7219_routes, 383 .routes = rockchip_sound_dmic_routes, 387 .routes = rockchip_sound_max98357a_routes, 391 .routes = rockchip_sound_rt5514_routes, 454 struct snd_soc_dapm_route *routes; in rockchip_sound_of_parse_dais() local 466 routes = devm_kcalloc(dev, num_routes, sizeof(*routes), in rockchip_sound_of_parse_dais() 468 if (!routes) in rockchip_sound_of_parse_dais() 470 card->dapm_routes = routes; in rockchip_sound_of_parse_dais() [all …]
|
/sound/soc/ |
D | soc-topology.c | 1186 struct snd_soc_dapm_route **routes; in soc_tplg_dapm_graph_elems_load() local 1213 routes = kcalloc(count, sizeof(struct snd_soc_dapm_route *), in soc_tplg_dapm_graph_elems_load() 1215 if (!routes) in soc_tplg_dapm_graph_elems_load() 1224 routes[i] = kzalloc(sizeof(*routes[i]), GFP_KERNEL); in soc_tplg_dapm_graph_elems_load() 1225 if (!routes[i]) { in soc_tplg_dapm_graph_elems_load() 1228 kfree(routes[j]); in soc_tplg_dapm_graph_elems_load() 1230 kfree(routes); in soc_tplg_dapm_graph_elems_load() 1256 routes[i]->source = elem->source; in soc_tplg_dapm_graph_elems_load() 1257 routes[i]->sink = elem->sink; in soc_tplg_dapm_graph_elems_load() 1260 routes[i]->connected = NULL; in soc_tplg_dapm_graph_elems_load() [all …]
|
D | soc-core.c | 3123 struct snd_soc_dapm_route *routes; in snd_soc_of_parse_audio_routing() local 3140 routes = devm_kcalloc(card->dev, num_routes, sizeof(*routes), in snd_soc_of_parse_audio_routing() 3142 if (!routes) { in snd_soc_of_parse_audio_routing() 3150 2 * i, &routes[i].sink); in snd_soc_of_parse_audio_routing() 3158 (2 * i) + 1, &routes[i].source); in snd_soc_of_parse_audio_routing() 3168 card->of_dapm_routes = routes; in snd_soc_of_parse_audio_routing()
|
/sound/soc/codecs/ |
D | wm8776.c | 143 static const struct snd_soc_dapm_route routes[] = { variable 432 .dapm_routes = routes, 433 .num_dapm_routes = ARRAY_SIZE(routes),
|
D | arizona.c | 1916 struct snd_soc_dapm_route routes[2]; in arizona_dai_set_sysclk() local 1938 memset(&routes, 0, sizeof(routes)); in arizona_dai_set_sysclk() 1939 routes[0].sink = dai->driver->capture.stream_name; in arizona_dai_set_sysclk() 1940 routes[1].sink = dai->driver->playback.stream_name; in arizona_dai_set_sysclk() 1942 routes[0].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk() 1943 routes[1].source = arizona_dai_clk_str(dai_priv->clk); in arizona_dai_set_sysclk() 1944 snd_soc_dapm_del_routes(dapm, routes, ARRAY_SIZE(routes)); in arizona_dai_set_sysclk() 1946 routes[0].source = arizona_dai_clk_str(clk_id); in arizona_dai_set_sysclk() 1947 routes[1].source = arizona_dai_clk_str(clk_id); in arizona_dai_set_sysclk() 1948 snd_soc_dapm_add_routes(dapm, routes, ARRAY_SIZE(routes)); in arizona_dai_set_sysclk()
|
D | madera.c | 3217 struct snd_soc_dapm_route routes[2]; in madera_dai_set_sysclk() local 3242 memset(&routes, 0, sizeof(routes)); in madera_dai_set_sysclk() 3243 routes[0].sink = dai->driver->capture.stream_name; in madera_dai_set_sysclk() 3244 routes[1].sink = dai->driver->playback.stream_name; in madera_dai_set_sysclk() 3245 routes[0].source = "ASYNCCLK"; in madera_dai_set_sysclk() 3246 routes[1].source = "ASYNCCLK"; in madera_dai_set_sysclk() 3249 snd_soc_dapm_del_routes(dapm, routes, ARRAY_SIZE(routes)); in madera_dai_set_sysclk() 3251 snd_soc_dapm_add_routes(dapm, routes, ARRAY_SIZE(routes)); in madera_dai_set_sysclk()
|
D | wm8993.c | 918 static const struct snd_soc_dapm_route routes[] = { variable 1530 snd_soc_dapm_add_routes(dapm, routes, ARRAY_SIZE(routes)); in wm8993_probe()
|
/sound/pci/au88x0/ |
D | au88x0_core.c | 1919 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]);
|