Searched refs:num_routes (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/sound/soc/intel/boards/
H A Dbyt-rt5640.c137 int num_routes; byt_rt5640_init() local
152 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in1_map); byt_rt5640_init()
156 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic2_map); byt_rt5640_init()
160 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic1_map); byt_rt5640_init()
163 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); byt_rt5640_init()
/linux-4.4.14/sound/soc/sh/rcar/
H A Drsrc-card.c27 int num_routes; member in struct:rsrc_card_of_data
38 .num_routes = ARRAY_SIZE(routes_ssi0_ak4642),
375 priv->snd_card.num_of_dapm_routes = of_data->num_routes; rsrc_card_parse_of()
/linux-4.4.14/sound/soc/
H A Dsoc-core.c3372 int num_routes; snd_soc_of_parse_audio_routing() local
3376 num_routes = of_property_count_strings(np, propname); snd_soc_of_parse_audio_routing()
3377 if (num_routes < 0 || num_routes & 1) { snd_soc_of_parse_audio_routing()
3383 num_routes /= 2; snd_soc_of_parse_audio_routing()
3384 if (!num_routes) { snd_soc_of_parse_audio_routing()
3390 routes = devm_kzalloc(card->dev, num_routes * sizeof(*routes), snd_soc_of_parse_audio_routing()
3398 for (i = 0; i < num_routes; i++) { snd_soc_of_parse_audio_routing()
3417 card->num_of_dapm_routes = num_routes; snd_soc_of_parse_audio_routing()

Completed in 177 milliseconds