• Home
  • Raw
  • Download

Lines Matching refs:tuples

53 			  struct snd_sof_tuple *tuples, int num_tuples,  in sof_update_ipc_object()  argument
82 if (tokens[i].token == tuples[j].token) { in sof_update_ipc_object()
89 *val = tuples[j].value.v; in sof_update_ipc_object()
98 *val = (u16)tuples[j].value.v; in sof_update_ipc_object()
110 tokens[i].get_token((void *)tuples[j].value.s, object, in sof_update_ipc_object()
456 struct snd_sof_tuple *tuples, int tuples_size, int *num_copied_tuples) in sof_copy_tuples() argument
469 if (!tuples || !num_copied_tuples) { in sof_copy_tuples()
526 tuples[*num_copied_tuples].token = tokens[j].token; in sof_copy_tuples()
527 tuples[*num_copied_tuples].value.s = elem->string; in sof_copy_tuples()
537 tuples[*num_copied_tuples].token = tokens[j].token; in sof_copy_tuples()
538 tuples[*num_copied_tuples].value.v = in sof_copy_tuples()
1144 static int sof_get_token_value(u32 token_id, struct snd_sof_tuple *tuples, int num_tuples) in sof_get_token_value() argument
1148 if (!tuples) in sof_get_token_value()
1152 if (tuples[i].token == token_id) in sof_get_token_value()
1153 return tuples[i].value.v; in sof_get_token_value()
1180 swidget->tuples = kcalloc(num_tuples, sizeof(*swidget->tuples), GFP_KERNEL); in sof_widget_parse_tokens()
1181 if (!swidget->tuples) in sof_widget_parse_tokens()
1215 swidget->tuples, swidget->num_tuples); in sof_widget_parse_tokens()
1228 new_tuples = krealloc(swidget->tuples, in sof_widget_parse_tokens()
1235 swidget->tuples = new_tuples; in sof_widget_parse_tokens()
1244 object_token_list[i], num_sets, swidget->tuples, in sof_widget_parse_tokens()
1255 kfree(swidget->tuples); in sof_widget_parse_tokens()
1366 int core = sof_get_token_value(SOF_TKN_COMP_CORE_ID, swidget->tuples, in sof_widget_ready()
1382 kfree(swidget->tuples); in sof_widget_ready()
1479 kfree(swidget->tuples); in sof_widget_unload()
1747 slink->tuples = kcalloc(num_tuples, sizeof(*slink->tuples), GFP_KERNEL); in sof_link_load()
1748 if (!slink->tuples) { in sof_link_load()
1757 SOF_DAI_LINK_TOKENS, 1, slink->tuples, in sof_link_load()
1772 token_id, num_sets, slink->tuples, num_tuples, &slink->num_tuples); in sof_link_load()
1782 slink->tuples, slink->num_tuples); in sof_link_load()
1791 SOF_DMIC_PDM_TOKENS, num_sets, slink->tuples, in sof_link_load()
1806 kfree(slink->tuples); in sof_link_load()
1820 kfree(slink->tuples); in sof_link_unload()