Lines Matching refs:cs42l73
1096 struct cs42l73_private *cs42l73 = snd_soc_component_get_drvdata(component); in cs42l73_set_bias_level() local
1109 regcache_cache_only(cs42l73->regmap, false); in cs42l73_set_bias_level()
1110 regcache_sync(cs42l73->regmap); in cs42l73_set_bias_level()
1117 if (cs42l73->shutdwn_delay > 0) { in cs42l73_set_bias_level()
1118 mdelay(cs42l73->shutdwn_delay); in cs42l73_set_bias_level()
1119 cs42l73->shutdwn_delay = 0; in cs42l73_set_bias_level()
1231 struct cs42l73_private *cs42l73 = snd_soc_component_get_drvdata(component); in cs42l73_probe() local
1234 if (cs42l73->pdata.chgfreq) in cs42l73_probe()
1237 cs42l73->pdata.chgfreq << 4); in cs42l73_probe()
1240 cs42l73->mclksel = CS42L73_CLKID_MCLK1; in cs42l73_probe()
1241 cs42l73->mclk = 0; in cs42l73_probe()
1279 struct cs42l73_private *cs42l73; in cs42l73_i2c_probe() local
1285 cs42l73 = devm_kzalloc(&i2c_client->dev, sizeof(*cs42l73), GFP_KERNEL); in cs42l73_i2c_probe()
1286 if (!cs42l73) in cs42l73_i2c_probe()
1289 cs42l73->regmap = devm_regmap_init_i2c(i2c_client, &cs42l73_regmap); in cs42l73_i2c_probe()
1290 if (IS_ERR(cs42l73->regmap)) { in cs42l73_i2c_probe()
1291 ret = PTR_ERR(cs42l73->regmap); in cs42l73_i2c_probe()
1297 cs42l73->pdata = *pdata; in cs42l73_i2c_probe()
1311 cs42l73->pdata = *pdata; in cs42l73_i2c_probe()
1314 i2c_set_clientdata(i2c_client, cs42l73); in cs42l73_i2c_probe()
1316 if (cs42l73->pdata.reset_gpio) { in cs42l73_i2c_probe()
1318 cs42l73->pdata.reset_gpio, in cs42l73_i2c_probe()
1323 cs42l73->pdata.reset_gpio, ret); in cs42l73_i2c_probe()
1326 gpio_set_value_cansleep(cs42l73->pdata.reset_gpio, 0); in cs42l73_i2c_probe()
1327 gpio_set_value_cansleep(cs42l73->pdata.reset_gpio, 1); in cs42l73_i2c_probe()
1331 devid = cirrus_read_device_id(cs42l73->regmap, CS42L73_DEVID_AB); in cs42l73_i2c_probe()
1346 ret = regmap_read(cs42l73->regmap, CS42L73_REVID, ®); in cs42l73_i2c_probe()
1364 gpio_set_value_cansleep(cs42l73->pdata.reset_gpio, 0); in cs42l73_i2c_probe()