Lines Matching refs:mod_elem

282 		struct snd_soc_tplg_vendor_value_elem *mod_elem;  in audioreach_get_module_array()  local
286 mod_elem = mod_array->value; in audioreach_get_module_array()
289 switch (le32_to_cpu(mod_elem->token)) { in audioreach_get_module_array()
297 mod_elem++; in audioreach_get_module_array()
421 struct snd_soc_tplg_vendor_value_elem *mod_elem; in audioreach_parse_common_tokens() local
429 mod_elem = mod_array->value; in audioreach_parse_common_tokens()
432 token = le32_to_cpu(mod_elem->token); in audioreach_parse_common_tokens()
436 module_id = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
439 instance_id = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
452 max_ip_port = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
455 max_op_port = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
458 in_port = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
461 out_port = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
464 src_mod_inst_id = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
467 src_mod_op_port_id[0] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
470 src_mod_op_port_id[1] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
473 src_mod_op_port_id[2] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
476 src_mod_op_port_id[3] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
479 src_mod_op_port_id[4] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
482 src_mod_op_port_id[5] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
485 src_mod_op_port_id[6] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
488 src_mod_op_port_id[7] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
491 dst_mod_inst_id[0] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
494 dst_mod_inst_id[1] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
497 dst_mod_inst_id[2] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
500 dst_mod_inst_id[3] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
503 dst_mod_inst_id[4] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
506 dst_mod_inst_id[5] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
509 dst_mod_inst_id[6] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
512 dst_mod_inst_id[7] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
515 dst_mod_ip_port_id[0] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
518 dst_mod_ip_port_id[1] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
521 dst_mod_ip_port_id[2] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
524 dst_mod_ip_port_id[3] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
527 dst_mod_ip_port_id[4] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
530 dst_mod_ip_port_id[5] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
533 dst_mod_ip_port_id[6] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
536 dst_mod_ip_port_id[7] = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
543 mod_elem++; in audioreach_parse_common_tokens()
601 struct snd_soc_tplg_vendor_value_elem *mod_elem; in audioreach_widget_load_enc_dec_cnv() local
615 mod_elem = mod_array->value; in audioreach_widget_load_enc_dec_cnv()
618 switch (le32_to_cpu(mod_elem->token)) { in audioreach_widget_load_enc_dec_cnv()
620 mod->interleave_type = le32_to_cpu(mod_elem->value); in audioreach_widget_load_enc_dec_cnv()
623 mod->rate = le32_to_cpu(mod_elem->value); in audioreach_widget_load_enc_dec_cnv()
626 mod->bit_depth = le32_to_cpu(mod_elem->value); in audioreach_widget_load_enc_dec_cnv()
632 mod_elem++; in audioreach_widget_load_enc_dec_cnv()
641 struct snd_soc_tplg_vendor_value_elem *mod_elem; in audioreach_widget_log_module_load() local
644 mod_elem = mod_array->value; in audioreach_widget_log_module_load()
647 switch (le32_to_cpu(mod_elem->token)) { in audioreach_widget_log_module_load()
650 mod->log_code = le32_to_cpu(mod_elem->value); in audioreach_widget_log_module_load()
653 mod->log_tap_point_id = le32_to_cpu(mod_elem->value); in audioreach_widget_log_module_load()
656 mod->log_mode = le32_to_cpu(mod_elem->value); in audioreach_widget_log_module_load()
662 mod_elem++; in audioreach_widget_log_module_load()
671 struct snd_soc_tplg_vendor_value_elem *mod_elem; in audioreach_widget_dma_module_load() local
674 mod_elem = mod_array->value; in audioreach_widget_dma_module_load()
677 switch (le32_to_cpu(mod_elem->token)) { in audioreach_widget_dma_module_load()
679 mod->hw_interface_idx = le32_to_cpu(mod_elem->value); in audioreach_widget_dma_module_load()
682 mod->data_format = le32_to_cpu(mod_elem->value); in audioreach_widget_dma_module_load()
685 mod->hw_interface_type = le32_to_cpu(mod_elem->value); in audioreach_widget_dma_module_load()
691 mod_elem++; in audioreach_widget_dma_module_load()
700 struct snd_soc_tplg_vendor_value_elem *mod_elem; in audioreach_widget_i2s_module_load() local
703 mod_elem = mod_array->value; in audioreach_widget_i2s_module_load()
706 switch (le32_to_cpu(mod_elem->token)) { in audioreach_widget_i2s_module_load()
708 mod->hw_interface_idx = le32_to_cpu(mod_elem->value); in audioreach_widget_i2s_module_load()
711 mod->data_format = le32_to_cpu(mod_elem->value); in audioreach_widget_i2s_module_load()
714 mod->hw_interface_type = le32_to_cpu(mod_elem->value); in audioreach_widget_i2s_module_load()
717 mod->sd_line_idx = le32_to_cpu(mod_elem->value); in audioreach_widget_i2s_module_load()
720 mod->ws_src = le32_to_cpu(mod_elem->value); in audioreach_widget_i2s_module_load()
726 mod_elem++; in audioreach_widget_i2s_module_load()