Lines Matching full:regmap

16 #include <linux/regmap.h>
29 struct regmap *regmap; member
58 regmap_update_bits(rk3528->regmap, ACODEC_DIG00, in rk3528_codec_reset()
63 regmap_update_bits(rk3528->regmap, ACODEC_DIG02, in rk3528_codec_reset()
67 regmap_update_bits(rk3528->regmap, ACODEC_DIG00, in rk3528_codec_reset()
72 regmap_update_bits(rk3528->regmap, ACODEC_DIG02, in rk3528_codec_reset()
83 regmap_update_bits(rk3528->regmap, ACODEC_ANA08, in rk3528_codec_power_on()
86 regmap_update_bits(rk3528->regmap, ACODEC_ANA0C, in rk3528_codec_power_on()
90 regmap_update_bits(rk3528->regmap, ACODEC_ANA01, in rk3528_codec_power_on()
94 regmap_update_bits(rk3528->regmap, ACODEC_ANA00, in rk3528_codec_power_on()
100 regmap_update_bits(rk3528->regmap, ACODEC_ANA01, in rk3528_codec_power_on()
111 regmap_update_bits(rk3528->regmap, ACODEC_ANA01, in rk3528_codec_power_off()
115 regmap_update_bits(rk3528->regmap, ACODEC_ANA00, in rk3528_codec_power_off()
129 regmap_update_bits(rk3528->regmap, ACODEC_ANA00, in rk3528_codec_dac_enable()
133 regmap_update_bits(rk3528->regmap, ACODEC_ANA08, in rk3528_codec_dac_enable()
136 regmap_update_bits(rk3528->regmap, ACODEC_ANA0C, in rk3528_codec_dac_enable()
140 regmap_update_bits(rk3528->regmap, ACODEC_ANA08, in rk3528_codec_dac_enable()
143 regmap_update_bits(rk3528->regmap, ACODEC_ANA0C, in rk3528_codec_dac_enable()
147 regmap_update_bits(rk3528->regmap, ACODEC_ANA09, in rk3528_codec_dac_enable()
150 regmap_update_bits(rk3528->regmap, ACODEC_ANA0D, in rk3528_codec_dac_enable()
154 regmap_update_bits(rk3528->regmap, ACODEC_ANA09, in rk3528_codec_dac_enable()
157 regmap_update_bits(rk3528->regmap, ACODEC_ANA0D, in rk3528_codec_dac_enable()
161 regmap_update_bits(rk3528->regmap, ACODEC_ANA08, in rk3528_codec_dac_enable()
164 regmap_update_bits(rk3528->regmap, ACODEC_ANA0C, in rk3528_codec_dac_enable()
168 regmap_update_bits(rk3528->regmap, ACODEC_ANA08, in rk3528_codec_dac_enable()
171 regmap_update_bits(rk3528->regmap, ACODEC_ANA0C, in rk3528_codec_dac_enable()
175 regmap_update_bits(rk3528->regmap, ACODEC_ANA08, in rk3528_codec_dac_enable()
178 regmap_update_bits(rk3528->regmap, ACODEC_ANA0C, in rk3528_codec_dac_enable()
182 regmap_update_bits(rk3528->regmap, ACODEC_ANA08, in rk3528_codec_dac_enable()
185 regmap_update_bits(rk3528->regmap, ACODEC_ANA0C, in rk3528_codec_dac_enable()
189 regmap_update_bits(rk3528->regmap, ACODEC_ANA09, in rk3528_codec_dac_enable()
192 regmap_update_bits(rk3528->regmap, ACODEC_ANA0D, in rk3528_codec_dac_enable()
206 regmap_update_bits(rk3528->regmap, ACODEC_ANA09, in rk3528_codec_dac_disable()
209 regmap_update_bits(rk3528->regmap, ACODEC_ANA0D, in rk3528_codec_dac_disable()
213 regmap_update_bits(rk3528->regmap, ACODEC_ANA09, in rk3528_codec_dac_disable()
216 regmap_update_bits(rk3528->regmap, ACODEC_ANA0D, in rk3528_codec_dac_disable()
220 regmap_update_bits(rk3528->regmap, ACODEC_ANA09, in rk3528_codec_dac_disable()
223 regmap_update_bits(rk3528->regmap, ACODEC_ANA0D, in rk3528_codec_dac_disable()
227 regmap_update_bits(rk3528->regmap, ACODEC_ANA08, in rk3528_codec_dac_disable()
230 regmap_update_bits(rk3528->regmap, ACODEC_ANA0C, in rk3528_codec_dac_disable()
234 regmap_update_bits(rk3528->regmap, ACODEC_ANA08, in rk3528_codec_dac_disable()
237 regmap_update_bits(rk3528->regmap, ACODEC_ANA0C, in rk3528_codec_dac_disable()
241 regmap_update_bits(rk3528->regmap, ACODEC_ANA08, in rk3528_codec_dac_disable()
244 regmap_update_bits(rk3528->regmap, ACODEC_ANA0C, in rk3528_codec_dac_disable()
248 regmap_update_bits(rk3528->regmap, ACODEC_ANA08, in rk3528_codec_dac_disable()
251 regmap_update_bits(rk3528->regmap, ACODEC_ANA0C, in rk3528_codec_dac_disable()
255 regmap_update_bits(rk3528->regmap, ACODEC_ANA08, in rk3528_codec_dac_disable()
258 regmap_update_bits(rk3528->regmap, ACODEC_ANA0C, in rk3528_codec_dac_disable()
262 regmap_update_bits(rk3528->regmap, ACODEC_ANA00, in rk3528_codec_dac_disable()
266 regmap_update_bits(rk3528->regmap, ACODEC_ANA08, in rk3528_codec_dac_disable()
269 regmap_update_bits(rk3528->regmap, ACODEC_ANA0C, in rk3528_codec_dac_disable()
299 regmap_update_bits(rk3528->regmap, ACODEC_DIG01, in rk3528_codec_dac_dig_config()
303 regmap_update_bits(rk3528->regmap, ACODEC_DIG02, in rk3528_codec_dac_dig_config()
341 regmap_update_bits(rk3528->regmap, ACODEC_DIG01, in rk3528_set_dai_fmt()
344 regmap_update_bits(rk3528->regmap, ACODEC_DIG02, in rk3528_set_dai_fmt()
360 regmap_update_bits(rk3528->regmap, in rk3528_mute_stream()
364 regmap_update_bits(rk3528->regmap, in rk3528_mute_stream()
371 regmap_update_bits(rk3528->regmap, in rk3528_mute_stream()
375 regmap_update_bits(rk3528->regmap, in rk3528_mute_stream()
390 regmap_update_bits(rk3528->regmap, ACODEC_DIG06, in rk3528_codec_default_gains()
393 regmap_update_bits(rk3528->regmap, ACODEC_ANA0B, in rk3528_codec_default_gains()
396 regmap_update_bits(rk3528->regmap, ACODEC_ANA0F, in rk3528_codec_default_gains()
452 regcache_cache_only(rk3528->regmap, false); in rk3528_pcm_shutdown()
453 regcache_sync(rk3528->regmap); in rk3528_pcm_shutdown()
515 regcache_cache_only(rk3528->regmap, false); in rk3528_codec_probe()
516 regcache_sync(rk3528->regmap); in rk3528_codec_probe()
527 regcache_cache_only(rk3528->regmap, false); in rk3528_codec_remove()
528 regcache_sync(rk3528->regmap); in rk3528_codec_remove()
536 regcache_cache_only(rk3528->regmap, true); in rk3528_codec_suspend()
562 regcache_cache_only(rk3528->regmap, false); in rk3528_codec_resume()
563 ret = regcache_sync(rk3528->regmap); in rk3528_codec_resume()
722 rk3528->regmap = devm_regmap_init_mmio(&pdev->dev, base, in rk3528_platform_probe()
724 if (IS_ERR(rk3528->regmap)) { in rk3528_platform_probe()
725 ret = PTR_ERR(rk3528->regmap); in rk3528_platform_probe()
726 dev_err(&pdev->dev, "Failed to regmap mmio\n"); in rk3528_platform_probe()