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()
1278 struct cs42l73_private *cs42l73; in cs42l73_i2c_probe() local
1284 cs42l73 = devm_kzalloc(&i2c_client->dev, sizeof(*cs42l73), GFP_KERNEL); in cs42l73_i2c_probe()
1285 if (!cs42l73) in cs42l73_i2c_probe()
1288 cs42l73->regmap = devm_regmap_init_i2c(i2c_client, &cs42l73_regmap); in cs42l73_i2c_probe()
1289 if (IS_ERR(cs42l73->regmap)) { in cs42l73_i2c_probe()
1290 ret = PTR_ERR(cs42l73->regmap); in cs42l73_i2c_probe()
1296 cs42l73->pdata = *pdata; in cs42l73_i2c_probe()
1310 cs42l73->pdata = *pdata; in cs42l73_i2c_probe()
1313 i2c_set_clientdata(i2c_client, cs42l73); in cs42l73_i2c_probe()
1315 if (cs42l73->pdata.reset_gpio) { in cs42l73_i2c_probe()
1317 cs42l73->pdata.reset_gpio, in cs42l73_i2c_probe()
1322 cs42l73->pdata.reset_gpio, ret); in cs42l73_i2c_probe()
1325 gpio_set_value_cansleep(cs42l73->pdata.reset_gpio, 0); in cs42l73_i2c_probe()
1326 gpio_set_value_cansleep(cs42l73->pdata.reset_gpio, 1); in cs42l73_i2c_probe()
1330 devid = cirrus_read_device_id(cs42l73->regmap, CS42L73_DEVID_AB); in cs42l73_i2c_probe()
1345 ret = regmap_read(cs42l73->regmap, CS42L73_REVID, &reg); in cs42l73_i2c_probe()
1363 gpio_set_value_cansleep(cs42l73->pdata.reset_gpio, 0); in cs42l73_i2c_probe()