rt5631            187 sound/soc/codecs/rt5631.c 	struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component);
rt5631            189 sound/soc/codecs/rt5631.c 	ucontrol->value.integer.value[0] = rt5631->dmic_used_flag;
rt5631            198 sound/soc/codecs/rt5631.c 	struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component);
rt5631            200 sound/soc/codecs/rt5631.c 	rt5631->dmic_used_flag = ucontrol->value.integer.value[0];
rt5631            296 sound/soc/codecs/rt5631.c 	struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component);
rt5631            297 sound/soc/codecs/rt5631.c 	return rt5631->dmic_used_flag;
rt5631            563 sound/soc/codecs/rt5631.c 	struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component);
rt5631            567 sound/soc/codecs/rt5631.c 		if (rt5631->codec_version) {
rt5631            577 sound/soc/codecs/rt5631.c 		if (rt5631->codec_version) {
rt5631            597 sound/soc/codecs/rt5631.c 	struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component);
rt5631            599 sound/soc/codecs/rt5631.c 	switch (rt5631->rx_rate) {
rt5631           1352 sound/soc/codecs/rt5631.c 	struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component);
rt5631           1358 sound/soc/codecs/rt5631.c 	rt5631->bclk_rate = snd_soc_params_to_bclk(params);
rt5631           1359 sound/soc/codecs/rt5631.c 	if (rt5631->bclk_rate < 0) {
rt5631           1361 sound/soc/codecs/rt5631.c 		return rt5631->bclk_rate;
rt5631           1363 sound/soc/codecs/rt5631.c 	rt5631->rx_rate = params_rate(params);
rt5631           1365 sound/soc/codecs/rt5631.c 	if (rt5631->master)
rt5631           1366 sound/soc/codecs/rt5631.c 		coeff = get_coeff(rt5631->sysclk, rt5631->rx_rate,
rt5631           1367 sound/soc/codecs/rt5631.c 			rt5631->bclk_rate / rt5631->rx_rate);
rt5631           1369 sound/soc/codecs/rt5631.c 		coeff = get_coeff(rt5631->sysclk, rt5631->rx_rate,
rt5631           1404 sound/soc/codecs/rt5631.c 	struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component);
rt5631           1411 sound/soc/codecs/rt5631.c 		rt5631->master = 1;
rt5631           1415 sound/soc/codecs/rt5631.c 		rt5631->master = 0;
rt5631           1456 sound/soc/codecs/rt5631.c 	struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component);
rt5631           1461 sound/soc/codecs/rt5631.c 		rt5631->sysclk = freq;
rt5631           1472 sound/soc/codecs/rt5631.c 	struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component);
rt5631           1487 sound/soc/codecs/rt5631.c 	if (rt5631->master) {
rt5631           1533 sound/soc/codecs/rt5631.c 	struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component);
rt5631           1552 sound/soc/codecs/rt5631.c 			regcache_cache_only(rt5631->regmap, false);
rt5631           1553 sound/soc/codecs/rt5631.c 			regcache_sync(rt5631->regmap);
rt5631           1573 sound/soc/codecs/rt5631.c 	struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component);
rt5631           1578 sound/soc/codecs/rt5631.c 		rt5631->codec_version = 1;
rt5631           1580 sound/soc/codecs/rt5631.c 		rt5631->codec_version = 0;
rt5631           1592 sound/soc/codecs/rt5631.c 	if (rt5631->codec_version)
rt5631           1599 sound/soc/codecs/rt5631.c 	if (rt5631->dmic_used_flag) {
rt5631           1699 sound/soc/codecs/rt5631.c 	struct rt5631_priv *rt5631;
rt5631           1702 sound/soc/codecs/rt5631.c 	rt5631 = devm_kzalloc(&i2c->dev, sizeof(struct rt5631_priv),
rt5631           1704 sound/soc/codecs/rt5631.c 	if (NULL == rt5631)
rt5631           1707 sound/soc/codecs/rt5631.c 	i2c_set_clientdata(i2c, rt5631);
rt5631           1709 sound/soc/codecs/rt5631.c 	rt5631->regmap = devm_regmap_init_i2c(i2c, &rt5631_regmap_config);
rt5631           1710 sound/soc/codecs/rt5631.c 	if (IS_ERR(rt5631->regmap))
rt5631           1711 sound/soc/codecs/rt5631.c 		return PTR_ERR(rt5631->regmap);