Searched refs:num_routes (Results 1 – 3 of 3) sorted by relevance
137 int num_routes; in byt_rt5640_init() local152 num_routes = ARRAY_SIZE(byt_rt5640_intmic_in1_map); in byt_rt5640_init()156 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic2_map); in byt_rt5640_init()160 num_routes = ARRAY_SIZE(byt_rt5640_intmic_dmic1_map); in byt_rt5640_init()163 ret = snd_soc_dapm_add_routes(&card->dapm, custom_map, num_routes); in byt_rt5640_init()
27 int num_routes; member38 .num_routes = ARRAY_SIZE(routes_ssi0_ak4642),375 priv->snd_card.num_of_dapm_routes = of_data->num_routes; in rsrc_card_parse_of()
3374 int num_routes; in snd_soc_of_parse_audio_routing() local3378 num_routes = of_property_count_strings(np, propname); in snd_soc_of_parse_audio_routing()3379 if (num_routes < 0 || num_routes & 1) { in snd_soc_of_parse_audio_routing()3385 num_routes /= 2; in snd_soc_of_parse_audio_routing()3386 if (!num_routes) { in snd_soc_of_parse_audio_routing()3392 routes = devm_kzalloc(card->dev, num_routes * sizeof(*routes), in snd_soc_of_parse_audio_routing()3400 for (i = 0; i < num_routes; i++) { in snd_soc_of_parse_audio_routing()3419 card->num_of_dapm_routes = num_routes; in snd_soc_of_parse_audio_routing()