Lines Matching refs:codec_index
403 int codec_index; in get_sdw_dailink_info() local
408 codec_index = find_codec_info_part(adr); in get_sdw_dailink_info()
409 if (codec_index < 0) in get_sdw_dailink_info()
410 return codec_index; in get_sdw_dailink_info()
416 if (!codec_info_list[codec_index].direction[stream]) in get_sdw_dailink_info()
513 int codec_index, comp_index; in create_codec_dai_name() local
545 codec_index = find_codec_info_part(adr); in create_codec_dai_name()
546 if (codec_index < 0) in create_codec_dai_name()
547 return codec_index; in create_codec_dai_name()
550 codec_info_list[codec_index].dai_name; in create_codec_dai_name()
574 int codec_index; in set_codec_init_func() local
576 codec_index = find_codec_info_part(link->adr_d[i].adr); in set_codec_init_func()
578 if (codec_index < 0) in set_codec_init_func()
579 return codec_index; in set_codec_init_func()
583 if (codec_info_list[codec_index].init) in set_codec_init_func()
584 codec_info_list[codec_index].init(link, in set_codec_init_func()
586 &codec_info_list[codec_index], in set_codec_init_func()
686 int codec_index; in create_sdw_dailink() local
726 codec_index = find_codec_info_part(link->adr_d[0].adr); in create_sdw_dailink()
727 if (codec_index < 0) in create_sdw_dailink()
728 return codec_index; in create_sdw_dailink()
739 if (!codec_info_list[codec_index].direction[stream]) in create_sdw_dailink()
789 dev_err(dev, "failed to init codec %d", codec_index); in create_sdw_dailink()