Lines Matching refs:regmap

45 	struct regmap *regmap;  member
358 cs35l32->regmap = devm_regmap_init_i2c(i2c_client, &cs35l32_regmap); in cs35l32_i2c_probe()
359 if (IS_ERR(cs35l32->regmap)) { in cs35l32_i2c_probe()
360 ret = PTR_ERR(cs35l32->regmap); in cs35l32_i2c_probe()
412 ret = regmap_read(cs35l32->regmap, CS35L32_DEVID_AB, &reg); in cs35l32_i2c_probe()
415 ret = regmap_read(cs35l32->regmap, CS35L32_DEVID_CD, &reg); in cs35l32_i2c_probe()
418 ret = regmap_read(cs35l32->regmap, CS35L32_DEVID_E, &reg); in cs35l32_i2c_probe()
429 ret = regmap_read(cs35l32->regmap, CS35L32_REV_ID, &reg); in cs35l32_i2c_probe()
435 ret = regmap_register_patch(cs35l32->regmap, cs35l32_monitor_patch, in cs35l32_i2c_probe()
447 regmap_update_bits(cs35l32->regmap, CS35L32_AUDIO_LED_MNGR, in cs35l32_i2c_probe()
453 regmap_update_bits(cs35l32->regmap, CS35L32_ADSP_CTL, in cs35l32_i2c_probe()
459 regmap_update_bits(cs35l32->regmap, CS35L32_ADSP_CTL, in cs35l32_i2c_probe()
465 regmap_update_bits(cs35l32->regmap, CS35L32_BATT_THRESHOLD, in cs35l32_i2c_probe()
471 regmap_update_bits(cs35l32->regmap, CS35L32_BATT_THRESHOLD, in cs35l32_i2c_probe()
476 regmap_update_bits(cs35l32->regmap, CS35L32_PWRCTL1, CS35L32_PDN_AMP, in cs35l32_i2c_probe()
480 ret = regmap_read(cs35l32->regmap, CS35L32_INT_STATUS_1, &reg); in cs35l32_i2c_probe()
513 regcache_cache_only(cs35l32->regmap, true); in cs35l32_runtime_suspend()
514 regcache_mark_dirty(cs35l32->regmap); in cs35l32_runtime_suspend()
542 regcache_cache_only(cs35l32->regmap, false); in cs35l32_runtime_resume()
543 regcache_sync(cs35l32->regmap); in cs35l32_runtime_resume()