Home
last modified time | relevance | path

Searched refs:elem_size (Results 1 – 2 of 2) sorted by relevance

/sound/hda/
Darray.c21 if (snd_BUG_ON(!array->elem_size)) in snd_array_new()
25 int oldsize = array->alloced * array->elem_size; in snd_array_new()
26 int size = (num + 1) * array->elem_size; in snd_array_new()
/sound/soc/
Dsoc-topology.c84 static int soc_tplg_check_elem_count(struct soc_tplg *tplg, size_t elem_size, in soc_tplg_check_elem_count() argument
87 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count()
97 if (elem_size * count > bytes) { in soc_tplg_check_elem_count()
100 elem_type, count, elem_size, bytes); in soc_tplg_check_elem_count()