Lines Matching refs:num_tuples

53 			  struct snd_sof_tuple *tuples, int num_tuples,  in sof_update_ipc_object()  argument
86 for (j = 0; j < num_tuples; j++) { in sof_update_ipc_object()
1173 static int sof_get_token_value(u32 token_id, struct snd_sof_tuple *tuples, int num_tuples) in sof_get_token_value() argument
1180 for (i = 0; i < num_tuples; i++) { in sof_get_token_value()
1196 int num_tuples = 0; in sof_widget_parse_tokens() local
1211 num_tuples += token_list[object_token_list[i]].count; in sof_widget_parse_tokens()
1214 swidget->tuples = kcalloc(num_tuples, sizeof(*swidget->tuples), GFP_KERNEL); in sof_widget_parse_tokens()
1246 swidget->tuples, swidget->num_tuples); in sof_widget_parse_tokens()
1256 swidget->tuples, swidget->num_tuples); in sof_widget_parse_tokens()
1271 num_tuples += token_list[object_token_list[i]].count * (num_sets - 1); in sof_widget_parse_tokens()
1273 sizeof(*new_tuples) * num_tuples, GFP_KERNEL); in sof_widget_parse_tokens()
1285 num_tuples, &swidget->num_tuples); in sof_widget_parse_tokens()
1544 swidget->num_tuples); in sof_widget_ready()
1860 int num_tuples = 0; in sof_link_load() local
1921 num_tuples += token_list[SOF_DAI_LINK_TOKENS].count; in sof_link_load()
1926 num_tuples += token_list[SOF_SSP_TOKENS].count * slink->num_hw_configs; in sof_link_load()
1930 num_tuples += token_list[SOF_DMIC_TOKENS].count; in sof_link_load()
1933 num_tuples += token_list[SOF_DMIC_PDM_TOKENS].count * SOF_DAI_INTEL_DMIC_NUM_CTRL; in sof_link_load()
1937 num_tuples += token_list[SOF_HDA_TOKENS].count; in sof_link_load()
1941 num_tuples += token_list[SOF_ALH_TOKENS].count; in sof_link_load()
1945 num_tuples += token_list[SOF_SAI_TOKENS].count; in sof_link_load()
1949 num_tuples += token_list[SOF_ESAI_TOKENS].count; in sof_link_load()
1953 num_tuples += token_list[SOF_AFE_TOKENS].count; in sof_link_load()
1957 num_tuples += token_list[SOF_ACPDMIC_TOKENS].count; in sof_link_load()
1965 num_tuples += token_list[SOF_ACPI2S_TOKENS].count; in sof_link_load()
1969 num_tuples += token_list[SOF_MICFIL_TOKENS].count; in sof_link_load()
1973 num_tuples += token_list[SOF_ACP_SDW_TOKENS].count; in sof_link_load()
1980 slink->tuples = kcalloc(num_tuples, sizeof(*slink->tuples), GFP_KERNEL); in sof_link_load()
1991 num_tuples, &slink->num_tuples); in sof_link_load()
2005 token_id, num_sets, slink->tuples, num_tuples, &slink->num_tuples); in sof_link_load()
2015 slink->tuples, slink->num_tuples); in sof_link_load()
2025 num_tuples, &slink->num_tuples); in sof_link_load()