Lines Matching refs:codec_index

671 		int codec_index;  in get_sdw_dailink_info()  local
676 codec_index = find_codec_info_part(adr); in get_sdw_dailink_info()
677 if (codec_index < 0) in get_sdw_dailink_info()
678 return codec_index; in get_sdw_dailink_info()
680 if (codec_info_list[codec_index].codec_type < _codec_type) in get_sdw_dailink_info()
684 _codec_type = codec_info_list[codec_index].codec_type; in get_sdw_dailink_info()
690 if (!codec_info_list[codec_index].direction[stream]) in get_sdw_dailink_info()
785 int codec_index, comp_index; in create_codec_dai_name() local
817 codec_index = find_codec_info_part(adr); in create_codec_dai_name()
818 if (codec_index < 0) in create_codec_dai_name()
819 return codec_index; in create_codec_dai_name()
822 codec_info_list[codec_index].dai_name; in create_codec_dai_name()
847 int codec_index; in set_codec_init_func() local
849 codec_index = find_codec_info_part(link->adr_d[i].adr); in set_codec_init_func()
851 if (codec_index < 0) in set_codec_init_func()
852 return codec_index; in set_codec_init_func()
856 if (codec_info_list[codec_index].init) in set_codec_init_func()
857 codec_info_list[codec_index].init(card, in set_codec_init_func()
860 &codec_info_list[codec_index], in set_codec_init_func()
962 int codec_index; in create_sdw_dailink() local
1002 codec_index = find_codec_info_part(link->adr_d[0].adr); in create_sdw_dailink()
1003 if (codec_index < 0) in create_sdw_dailink()
1004 return codec_index; in create_sdw_dailink()
1006 if (codec_info_list[codec_index].ignore_pch_dmic) in create_sdw_dailink()
1010 if (codec_info_list[codec_index].codec_type == SOF_SDW_CODEC_TYPE_AMP && in create_sdw_dailink()
1018 if (codec_info_list[codec_index].codec_type == SOF_SDW_CODEC_TYPE_MIC && in create_sdw_dailink()
1031 if (!codec_info_list[codec_index].direction[stream]) in create_sdw_dailink()
1091 dev_err(dev, "failed to init codec %d", codec_index); in create_sdw_dailink()