Lines Matching defs:value
165 const char *value = NULL;
174 if (snd_config_get_string(cfg, &value) < 0)
179 snprintf(filename, sizeof(filename), "%s/%s", env, value);
182 snd_config_topdir(), value);
267 /* get number of hex value elements in CSV list */
288 /* check 00 hexadecimal value */
334 /* there should always be one less comma than value */
362 SNDERR("invalid value for uuid");
386 SNDERR("invalid value for uuid");
467 const char *value = NULL;
473 if (snd_config_get_string(cfg, &value) < 0)
476 num = get_hex_num(value);
478 SNDERR("malformed hex variable list %s", value);
507 ret = copy_data_hex(priv->data, off, value, width);
513 /* get the token integer value from its id */
521 return tokens->token[i].value;
597 struct snd_soc_tplg_vendor_value_elem *value;
662 value = &array->value[j];
663 value->token = token_val;
664 value->value = tuple->value;
787 const char *id, *value;
828 if (snd_config_get_string(n, &value) < 0)
830 if (get_uuid(value, tuple->uuid) < 0)
835 if (snd_config_get_string(n, &value) < 0)
837 snd_strlcpy(tuple->string, value,
846 tuple->value = ival;
847 tplg_dbg("\t\t%s = %d", tuple->token, tuple->value);
865 SNDERR("tuple %s: invalid value", id);
869 tuple->value = tuple_val;
870 tplg_dbg("\t\t%s = 0x%x", tuple->token, tuple->value);
951 err = tplg_save_printf(dst, NULL, "%u\n", tuple->value);
954 tplg_nice_value_format(buf, sizeof(buf), tuple->value);
1044 int num_tokens = 0, value;
1071 if (tplg_get_integer(n, &value, 0))
1076 tokens->token[tokens->num_tokens].value = value;
1078 tokens->token[tokens->num_tokens].value);
1103 tokens->token[i].value);
1117 const char *id, *value;
1140 if (snd_config_get_string(n, &value) < 0)
1142 tplg_ref_add(elem, SND_TPLG_TYPE_TOKEN, value);
1143 tplg_dbg("\t refer to vendor tokens: %s", value);
1641 if (t->value == token)
1660 t->value = token;
1783 err = tplg_add_token(tplg, parent, va->value[j].token,
1787 tuple->value = va->value[j].value;