Lines Matching defs:token_id
48 * @token_id: token ID for the token array to be searched
52 * @token_instance_num: number of times the same @token_id needs to be parsed i.e. the function
54 * with the @token_id
56 int sof_update_ipc_object(struct snd_soc_component *scomp, void *object, enum sof_tokens token_id,
71 if (token_list[token_id].count < 0) {
72 dev_err(scomp->dev, "Invalid token count for token ID: %d\n", token_id);
77 if (!token_list[token_id].count)
80 tokens = token_list[token_id].tokens;
82 dev_err(scomp->dev, "Invalid tokens for token id: %d\n", token_id);
86 for (i = 0; i < token_list[token_id].count; i++) {
115 tokens[i].token, token_list[token_id].name);
495 * @token_id: Token ID associated with a token array
496 * @token_instance_num: number of times the same @token_id needs to be parsed i.e. the function
498 * with the @token_id
505 int array_size, u32 token_id, int token_instance_num,
525 tokens = token_list[token_id].tokens;
526 num_tokens = token_list[token_id].count;
529 dev_err(sdev->dev, "No token array defined for token ID: %d\n", token_id);
536 token_list[token_id].name);
1195 static int sof_get_token_value(u32 token_id, struct snd_sof_tuple *tuples, int num_tuples)
1203 if (tuples[i].token == token_id)
1881 u32 token_id = 0;
1947 token_id = SOF_SSP_TOKENS;
1951 token_id = SOF_DMIC_TOKENS;
1958 token_id = SOF_HDA_TOKENS;
1962 token_id = SOF_ALH_TOKENS;
1966 token_id = SOF_SAI_TOKENS;
1970 token_id = SOF_ESAI_TOKENS;
1974 token_id = SOF_AFE_TOKENS;
1978 token_id = SOF_ACPDMIC_TOKENS;
1986 token_id = SOF_ACPI2S_TOKENS;
1990 token_id = SOF_MICFIL_TOKENS;
1994 token_id = SOF_ACP_SDW_TOKENS;
2022 if (!token_id || !token_list[token_id].tokens)
2027 token_id, num_sets, slink->tuples, num_tuples, &slink->num_tuples);
2030 token_list[token_id].name, link->name);
2035 if (token_id == SOF_DMIC_TOKENS) {