Lines Matching defs:token_id
44 * @token_id: token ID for the token array to be searched
48 * @token_instance_num: number of times the same @token_id needs to be parsed i.e. the function
50 * with the @token_id
52 int sof_update_ipc_object(struct snd_soc_component *scomp, void *object, enum sof_tokens token_id,
67 if (token_list[token_id].count < 0) {
68 dev_err(scomp->dev, "Invalid token count for token ID: %d\n", token_id);
73 if (!token_list[token_id].count)
76 tokens = token_list[token_id].tokens;
78 dev_err(scomp->dev, "Invalid tokens for token id: %d\n", token_id);
82 for (i = 0; i < token_list[token_id].count; i++) {
111 tokens[i].token, token_list[token_id].name);
485 * @token_id: Token ID associated with a token array
486 * @token_instance_num: number of times the same @token_id needs to be parsed i.e. the function
488 * with the @token_id
495 int array_size, u32 token_id, int token_instance_num,
515 tokens = token_list[token_id].tokens;
516 num_tokens = token_list[token_id].count;
519 dev_err(sdev->dev, "No token array defined for token ID: %d\n", token_id);
526 token_list[token_id].name);
1171 static int sof_get_token_value(u32 token_id, struct snd_sof_tuple *tuples, int num_tuples)
1179 if (tuples[i].token == token_id)
1858 u32 token_id = 0;
1924 token_id = SOF_SSP_TOKENS;
1928 token_id = SOF_DMIC_TOKENS;
1935 token_id = SOF_HDA_TOKENS;
1939 token_id = SOF_ALH_TOKENS;
1943 token_id = SOF_SAI_TOKENS;
1947 token_id = SOF_ESAI_TOKENS;
1951 token_id = SOF_AFE_TOKENS;
1955 token_id = SOF_ACPDMIC_TOKENS;
1962 token_id = SOF_ACPI2S_TOKENS;
1990 if (!token_id || !token_list[token_id].tokens)
1995 token_id, num_sets, slink->tuples, num_tuples, &slink->num_tuples);
1998 token_list[token_id].name, link->name);
2003 if (token_id == SOF_DMIC_TOKENS) {