Lines Matching refs:da9055

1052 	struct da9055_priv *da9055 = snd_soc_component_get_drvdata(component);  in da9055_hw_params()  local
1122 if (da9055->mclk_rate) { in da9055_hw_params()
1136 if (da9055->mclk_rate && (da9055->mclk_rate != sysclk)) { in da9055_hw_params()
1138 if (!da9055->master) { in da9055_hw_params()
1160 struct da9055_priv *da9055 = snd_soc_component_get_drvdata(component); in da9055_set_dai_fmt() local
1180 (da9055->master != mode)) in da9055_set_dai_fmt()
1183 da9055->master = mode; in da9055_set_dai_fmt()
1240 struct da9055_priv *da9055 = snd_soc_component_get_drvdata(component); in da9055_set_dai_sysclk() local
1254 da9055->mclk_rate = freq; in da9055_set_dai_sysclk()
1283 struct da9055_priv *da9055 = snd_soc_component_get_drvdata(component); in da9055_set_dai_pll() local
1291 if (!da9055->master && (fout != 2822400)) in da9055_set_dai_pll()
1298 (da9055->master == da9055_pll_div[cnt].mode) && in da9055_set_dai_pll()
1379 struct da9055_priv *da9055 = snd_soc_component_get_drvdata(component); in da9055_probe() local
1426 if (da9055->pdata) { in da9055_probe()
1428 if (da9055->pdata->micbias_source) { in da9055_probe()
1437 switch (da9055->pdata->micbias) { in da9055_probe()
1444 (da9055->pdata->micbias) << 4); in da9055_probe()
1477 struct da9055_priv *da9055; in da9055_i2c_probe() local
1481 da9055 = devm_kzalloc(&i2c->dev, sizeof(struct da9055_priv), in da9055_i2c_probe()
1483 if (!da9055) in da9055_i2c_probe()
1487 da9055->pdata = pdata; in da9055_i2c_probe()
1489 i2c_set_clientdata(i2c, da9055); in da9055_i2c_probe()
1491 da9055->regmap = devm_regmap_init_i2c(i2c, &da9055_regmap_config); in da9055_i2c_probe()
1492 if (IS_ERR(da9055->regmap)) { in da9055_i2c_probe()
1493 ret = PTR_ERR(da9055->regmap); in da9055_i2c_probe()