Lines Matching full:block_size

37 			     u32 block_size, u32 token, u32 *offset)  in avs_tplg_vendor_array_lookup()  argument
41 while (block_size > 0) { in avs_tplg_vendor_array_lookup()
45 if (tuples_size > block_size) in avs_tplg_vendor_array_lookup()
54 block_size -= tuples_size; in avs_tplg_vendor_array_lookup()
73 u32 block_size, u32 token, u32 *offset) in avs_tplg_vendor_array_lookup_next() argument
78 if (tuples_size > block_size) in avs_tplg_vendor_array_lookup_next()
82 block_size -= tuples_size; in avs_tplg_vendor_array_lookup_next()
84 ret = avs_tplg_vendor_array_lookup(tuples, block_size, token, offset); in avs_tplg_vendor_array_lookup_next()
95 * assigned to @block_size as the entire block belongs to the current
102 u32 block_size, u32 entry_id_token, u32 *size) in avs_tplg_vendor_entry_size() argument
106 ret = avs_tplg_vendor_array_lookup_next(tuples, block_size, entry_id_token, size); in avs_tplg_vendor_entry_size()
108 *size = block_size; in avs_tplg_vendor_entry_size()
449 struct snd_soc_tplg_vendor_array *tuples, u32 block_size, in parse_dictionary_entries() argument
461 ret = avs_tplg_vendor_entry_size(tuples, block_size, in parse_dictionary_entries()
474 block_size -= esize; in parse_dictionary_entries()
482 struct snd_soc_tplg_vendor_array *tuples, u32 block_size, in parse_dictionary() argument
494 block_size -= le32_to_cpu(tuples->size); in parse_dictionary()
498 return parse_dictionary_entries(comp, tuples, block_size, *dict, in parse_dictionary()
513 struct snd_soc_tplg_vendor_array *tuples, u32 block_size) in avs_tplg_parse_libraries() argument
518 return parse_dictionary(comp, tuples, block_size, (void **)&tplg->libs, in avs_tplg_parse_libraries()
578 u32 block_size) in avs_tplg_parse_audio_formats() argument
583 return parse_dictionary(comp, tuples, block_size, (void **)&tplg->fmts, in avs_tplg_parse_audio_formats()
619 u32 block_size) in avs_tplg_parse_modcfgs_base() argument
624 return parse_dictionary(comp, tuples, block_size, (void **)&tplg->modcfgs_base, in avs_tplg_parse_modcfgs_base()
880 u32 block_size) in avs_tplg_parse_modcfg_ext() argument
886 ret = avs_tplg_vendor_entry_size(tuples, block_size, in avs_tplg_parse_modcfg_ext()
899 block_size -= esize; in avs_tplg_parse_modcfg_ext()
901 if (block_size) { in avs_tplg_parse_modcfg_ext()
914 ret = parse_dictionary_entries(comp, tuples, block_size, in avs_tplg_parse_modcfg_ext()
929 u32 block_size) in avs_tplg_parse_modcfgs_ext() argument
942 block_size -= le32_to_cpu(tuples->size); in avs_tplg_parse_modcfgs_ext()
950 ret = avs_tplg_vendor_entry_size(tuples, block_size, in avs_tplg_parse_modcfgs_ext()
959 block_size -= esize; in avs_tplg_parse_modcfgs_ext()
1001 u32 block_size) in avs_tplg_parse_pplcfgs() argument
1006 return parse_dictionary(comp, tuples, block_size, (void **)&tplg->pplcfgs, in avs_tplg_parse_pplcfgs()
1066 u32 block_size) in avs_tplg_parse_bindings() argument
1071 return parse_dictionary(comp, tuples, block_size, (void **)&tplg->bindings, in avs_tplg_parse_bindings()
1140 struct snd_soc_tplg_vendor_array *tuples, u32 block_size) in avs_tplg_module_create() argument
1147 ret = avs_tplg_vendor_entry_size(tuples, block_size, in avs_tplg_module_create()
1161 block_size -= esize; in avs_tplg_module_create()
1163 if (block_size) { in avs_tplg_module_create()
1176 ret = parse_dictionary_entries(comp, tuples, block_size, in avs_tplg_module_create()
1225 struct snd_soc_tplg_vendor_array *tuples, u32 block_size) in avs_tplg_pipeline_create() argument
1239 ret = avs_tplg_vendor_array_lookup(tuples, block_size, in avs_tplg_pipeline_create()
1252 block_size -= offset; in avs_tplg_pipeline_create()
1256 ret = avs_tplg_vendor_array_lookup_next(tuples, block_size, in avs_tplg_pipeline_create()
1266 modblk_size = block_size; in avs_tplg_pipeline_create()
1276 block_size -= modblk_size; in avs_tplg_pipeline_create()
1299 ret = parse_dictionary_entries(comp, tuples, block_size, pipeline->bindings, in avs_tplg_pipeline_create()
1332 struct snd_soc_tplg_vendor_array *tuples, u32 block_size, in avs_tplg_path_create() argument
1349 ret = avs_tplg_vendor_array_lookup(tuples, block_size, in avs_tplg_path_create()
1352 offset = block_size; in avs_tplg_path_create()
1363 block_size -= offset; in avs_tplg_path_create()
1365 while (block_size > 0) { in avs_tplg_path_create()
1368 ret = avs_tplg_vendor_entry_size(tuples, block_size, in avs_tplg_path_create()
1381 block_size -= esize; in avs_tplg_path_create()
1398 struct snd_soc_tplg_vendor_array *tuples, u32 block_size, in parse_path_template() argument
1408 ret = avs_tplg_vendor_array_lookup(tuples, block_size, in parse_path_template()
1418 block_size -= offset; in parse_path_template()
1423 ret = avs_tplg_vendor_entry_size(tuples, block_size, in parse_path_template()
1436 block_size -= esize; in parse_path_template()
1438 } while (block_size > 0); in parse_path_template()
1445 struct snd_soc_tplg_vendor_array *tuples, u32 block_size) in avs_tplg_path_template_create() argument
1458 ret = parse_path_template(comp, tuples, block_size, template, path_tmpl_parsers, in avs_tplg_path_template_create()
1490 u32 block_size) in avs_tplg_parse_initial_configs() argument
1504 block_size -= le32_to_cpu(tuples->size); in avs_tplg_parse_initial_configs()
1508 for (i = 0; i < tplg->num_init_configs && block_size > 0; i++) { in avs_tplg_parse_initial_configs()
1526 block_size -= esize; in avs_tplg_parse_initial_configs()
1537 block_size -= esize; in avs_tplg_parse_initial_configs()
1875 size_t block_size; in avs_control_load() local
1882 block_size = le32_to_cpu(tmc->priv.size); in avs_control_load()
1892 ret = parse_dictionary_entries(comp, tuples, block_size, ctl_data, 1, sizeof(*ctl_data), in avs_control_load()