Lines Matching refs:regmap

46 	struct regmap *regmap;  member
394 cs35l32->regmap = devm_regmap_init_i2c(i2c_client, &cs35l32_regmap); in cs35l32_i2c_probe()
395 if (IS_ERR(cs35l32->regmap)) { in cs35l32_i2c_probe()
396 ret = PTR_ERR(cs35l32->regmap); in cs35l32_i2c_probe()
449 ret = regmap_read(cs35l32->regmap, CS35L32_DEVID_AB, &reg); in cs35l32_i2c_probe()
452 ret = regmap_read(cs35l32->regmap, CS35L32_DEVID_CD, &reg); in cs35l32_i2c_probe()
455 ret = regmap_read(cs35l32->regmap, CS35L32_DEVID_E, &reg); in cs35l32_i2c_probe()
466 ret = regmap_read(cs35l32->regmap, CS35L32_REV_ID, &reg); in cs35l32_i2c_probe()
472 ret = regmap_register_patch(cs35l32->regmap, cs35l32_monitor_patch, in cs35l32_i2c_probe()
484 regmap_update_bits(cs35l32->regmap, CS35L32_AUDIO_LED_MNGR, in cs35l32_i2c_probe()
490 regmap_update_bits(cs35l32->regmap, CS35L32_ADSP_CTL, in cs35l32_i2c_probe()
496 regmap_update_bits(cs35l32->regmap, CS35L32_ADSP_CTL, in cs35l32_i2c_probe()
502 regmap_update_bits(cs35l32->regmap, CS35L32_BATT_THRESHOLD, in cs35l32_i2c_probe()
508 regmap_update_bits(cs35l32->regmap, CS35L32_BATT_THRESHOLD, in cs35l32_i2c_probe()
513 regmap_update_bits(cs35l32->regmap, CS35L32_PWRCTL1, CS35L32_PDN_AMP, in cs35l32_i2c_probe()
517 ret = regmap_read(cs35l32->regmap, CS35L32_INT_STATUS_1, &reg); in cs35l32_i2c_probe()
551 regcache_cache_only(cs35l32->regmap, true); in cs35l32_runtime_suspend()
552 regcache_mark_dirty(cs35l32->regmap); in cs35l32_runtime_suspend()
582 regcache_cache_only(cs35l32->regmap, false); in cs35l32_runtime_resume()
583 regcache_sync(cs35l32->regmap); in cs35l32_runtime_resume()