Lines Matching refs:da732x
1117 struct da732x_priv *da732x = snd_soc_component_get_drvdata(component); in da732x_set_dai_pll() local
1126 da732x->pll_en = false; in da732x_set_dai_pll()
1130 if (da732x->pll_en) in da732x_set_dai_pll()
1135 switch (da732x->sysclk) { in da732x_set_dai_pll()
1152 indiv = da732x_get_input_div(component, da732x->sysclk); in da732x_set_dai_pll()
1156 fref = da732x->sysclk / BIT(indiv); in da732x_set_dai_pll()
1170 da732x->pll_en = true; in da732x_set_dai_pll()
1179 struct da732x_priv *da732x = snd_soc_component_get_drvdata(component); in da732x_set_dai_sysclk() local
1181 da732x->sysclk = freq; in da732x_set_dai_sysclk()
1410 struct da732x_priv *da732x = snd_soc_component_get_drvdata(component); in da732x_set_bias_level() local
1471 regcache_cache_only(da732x->regmap, false); in da732x_set_bias_level()
1472 regcache_sync(da732x->regmap); in da732x_set_bias_level()
1479 da732x->pll_en = false; in da732x_set_bias_level()
1483 regcache_cache_only(da732x->regmap, true); in da732x_set_bias_level()
1487 da732x->pll_en = false; in da732x_set_bias_level()
1510 struct da732x_priv *da732x; in da732x_i2c_probe() local
1514 da732x = devm_kzalloc(&i2c->dev, sizeof(struct da732x_priv), in da732x_i2c_probe()
1516 if (!da732x) in da732x_i2c_probe()
1519 i2c_set_clientdata(i2c, da732x); in da732x_i2c_probe()
1521 da732x->regmap = devm_regmap_init_i2c(i2c, &da732x_regmap); in da732x_i2c_probe()
1522 if (IS_ERR(da732x->regmap)) { in da732x_i2c_probe()
1523 ret = PTR_ERR(da732x->regmap); in da732x_i2c_probe()
1528 ret = regmap_read(da732x->regmap, DA732X_REG_ID, ®); in da732x_i2c_probe()