Lines Matching refs:which_i2s
186 int which_i2s; member
2291 rk3308->which_i2s = ACODEC_TO_I2S1_2CH; in rk3308_codec_check_i2s_sdis()
2294 rk3308->which_i2s = ACODEC_TO_I2S3_4CH; in rk3308_codec_check_i2s_sdis()
2297 rk3308->which_i2s = ACODEC_TO_I2S2_8CH; in rk3308_codec_check_i2s_sdis()
2337 if (rk3308->which_i2s == ACODEC_TO_I2S2_8CH) { in rk3308_codec_adc_grps_route_config()
2342 } else if (rk3308->which_i2s == ACODEC_TO_I2S3_4CH) { in rk3308_codec_adc_grps_route_config()
2347 } else if (rk3308->which_i2s == ACODEC_TO_I2S1_2CH) { in rk3308_codec_adc_grps_route_config()
2374 rk3308->which_i2s = ACODEC_TO_I2S2_8CH; in rk3308_codec_adc_grps_route_default()
4056 char which_i2s[32] = {0}; in adc_grps_route_show() local
4060 switch (rk3308->which_i2s) { in adc_grps_route_show()
4062 strcpy(which_i2s, "i2s1_2ch"); in adc_grps_route_show()
4065 strcpy(which_i2s, "i2s3_4ch"); in adc_grps_route_show()
4068 strcpy(which_i2s, "i2s2_8ch"); in adc_grps_route_show()
4073 which_i2s); in adc_grps_route_show()
4088 int which_i2s, idx, i2s_sdis[ADC_LR_GROUP_MAX]; in adc_grps_route_store() local
4091 ret = sscanf(buf, "%d,%d,%d,%d,%d", &which_i2s, in adc_grps_route_store()
4099 if (which_i2s < ACODEC_TO_I2S2_8CH || in adc_grps_route_store()
4100 which_i2s > ACODEC_TO_I2S1_2CH) { in adc_grps_route_store()
4101 dev_err(rk3308->plat_dev, "Invalid i2s type: %d\n", which_i2s); in adc_grps_route_store()
4105 rk3308->which_i2s = which_i2s; in adc_grps_route_store()
4107 switch (rk3308->which_i2s) { in adc_grps_route_store()