Lines Matching refs:codec_index
490 int codec_index; in get_sdw_dailink_info() local
495 codec_index = find_codec_info_part(adr); in get_sdw_dailink_info()
496 if (codec_index < 0) in get_sdw_dailink_info()
497 return codec_index; in get_sdw_dailink_info()
503 if (!codec_info_list[codec_index].direction[stream]) in get_sdw_dailink_info()
600 int codec_index, comp_index; in create_codec_dai_name() local
632 codec_index = find_codec_info_part(adr); in create_codec_dai_name()
633 if (codec_index < 0) in create_codec_dai_name()
634 return codec_index; in create_codec_dai_name()
637 codec_info_list[codec_index].dai_name; in create_codec_dai_name()
661 int codec_index; in set_codec_init_func() local
663 codec_index = find_codec_info_part(link->adr_d[i].adr); in set_codec_init_func()
665 if (codec_index < 0) in set_codec_init_func()
666 return codec_index; in set_codec_init_func()
670 if (codec_info_list[codec_index].init) in set_codec_init_func()
671 codec_info_list[codec_index].init(link, in set_codec_init_func()
673 &codec_info_list[codec_index], in set_codec_init_func()
774 int codec_index; in create_sdw_dailink() local
814 codec_index = find_codec_info_part(link->adr_d[0].adr); in create_sdw_dailink()
815 if (codec_index < 0) in create_sdw_dailink()
816 return codec_index; in create_sdw_dailink()
818 if (codec_info_list[codec_index].ignore_pch_dmic) in create_sdw_dailink()
830 if (!codec_info_list[codec_index].direction[stream]) in create_sdw_dailink()
885 dev_err(dev, "failed to init codec %d", codec_index); in create_sdw_dailink()