Lines Matching refs:sg_elem
216 struct snd_soc_tplg_vendor_value_elem *sg_elem; in audioreach_get_sg_array() local
220 sg_elem = sg_array->value; in audioreach_get_sg_array()
223 switch (le32_to_cpu(sg_elem->token)) { in audioreach_get_sg_array()
231 sg_elem++; in audioreach_get_sg_array()
310 struct snd_soc_tplg_vendor_value_elem *sg_elem; in audioreach_parse_sg_tokens() local
318 sg_elem = sg_array->value; in audioreach_parse_sg_tokens()
321 switch (le32_to_cpu(sg_elem->token)) { in audioreach_parse_sg_tokens()
323 sub_graph_id = le32_to_cpu(sg_elem->value); in audioreach_parse_sg_tokens()
334 graph_id = le32_to_cpu(sg_elem->value); in audioreach_parse_sg_tokens()
340 sg->perf_mode = le32_to_cpu(sg_elem->value); in audioreach_parse_sg_tokens()
343 sg->direction = le32_to_cpu(sg_elem->value); in audioreach_parse_sg_tokens()
346 sg->scenario_id = le32_to_cpu(sg_elem->value); in audioreach_parse_sg_tokens()
349 dev_err(apm->dev, "Not a valid token %d for graph\n", sg_elem->token); in audioreach_parse_sg_tokens()
354 sg_elem++; in audioreach_parse_sg_tokens()