Lines Matching refs:regmap

30 	struct regmap *regmap;  member
107 static void enable_and_reset_codec(struct regmap *regmap, in enable_and_reset_codec() argument
110 regmap_update_bits(regmap, AUDIO_IC_CODEC_CTRL1, in enable_and_reset_codec()
114 regmap_update_bits(regmap, AUDIO_IC_CODEC_CTRL1, in enable_and_reset_codec()
127 enable_and_reset_codec(sirf_audio_codec->regmap, in atlas6_codec_enable_and_reset_event()
131 regmap_update_bits(sirf_audio_codec->regmap, in atlas6_codec_enable_and_reset_event()
150 enable_and_reset_codec(sirf_audio_codec->regmap, in prima2_codec_enable_and_reset_event()
154 regmap_update_bits(sirf_audio_codec->regmap, in prima2_codec_enable_and_reset_event()
284 regmap_update_bits(sirf_audio_codec->regmap, AUDIO_PORT_IC_TXFIFO_OP, in sirf_audio_codec_tx_enable()
286 regmap_update_bits(sirf_audio_codec->regmap, AUDIO_PORT_IC_TXFIFO_OP, in sirf_audio_codec_tx_enable()
288 regmap_write(sirf_audio_codec->regmap, AUDIO_PORT_IC_TXFIFO_INT_MSK, 0); in sirf_audio_codec_tx_enable()
289 regmap_write(sirf_audio_codec->regmap, AUDIO_PORT_IC_TXFIFO_OP, 0); in sirf_audio_codec_tx_enable()
290 regmap_update_bits(sirf_audio_codec->regmap, AUDIO_PORT_IC_TXFIFO_OP, in sirf_audio_codec_tx_enable()
292 regmap_update_bits(sirf_audio_codec->regmap, in sirf_audio_codec_tx_enable()
298 regmap_write(sirf_audio_codec->regmap, AUDIO_PORT_IC_TXFIFO_OP, 0); in sirf_audio_codec_tx_disable()
299 regmap_update_bits(sirf_audio_codec->regmap, in sirf_audio_codec_tx_disable()
306 regmap_update_bits(sirf_audio_codec->regmap, AUDIO_PORT_IC_RXFIFO_OP, in sirf_audio_codec_rx_enable()
308 regmap_update_bits(sirf_audio_codec->regmap, AUDIO_PORT_IC_RXFIFO_OP, in sirf_audio_codec_rx_enable()
310 regmap_write(sirf_audio_codec->regmap, in sirf_audio_codec_rx_enable()
312 regmap_write(sirf_audio_codec->regmap, AUDIO_PORT_IC_RXFIFO_OP, 0); in sirf_audio_codec_rx_enable()
313 regmap_update_bits(sirf_audio_codec->regmap, AUDIO_PORT_IC_RXFIFO_OP, in sirf_audio_codec_rx_enable()
316 regmap_update_bits(sirf_audio_codec->regmap, in sirf_audio_codec_rx_enable()
320 regmap_update_bits(sirf_audio_codec->regmap, in sirf_audio_codec_rx_enable()
327 regmap_update_bits(sirf_audio_codec->regmap, in sirf_audio_codec_rx_disable()
479 sirf_audio_codec->regmap = devm_regmap_init_mmio(&pdev->dev, base, in sirf_audio_codec_driver_probe()
481 if (IS_ERR(sirf_audio_codec->regmap)) in sirf_audio_codec_driver_probe()
482 return PTR_ERR(sirf_audio_codec->regmap); in sirf_audio_codec_driver_probe()
508 regmap_update_bits(sirf_audio_codec->regmap, AUDIO_IC_CODEC_CTRL0, in sirf_audio_codec_driver_probe()
512 regmap_update_bits(sirf_audio_codec->regmap, in sirf_audio_codec_driver_probe()
536 regmap_read(sirf_audio_codec->regmap, AUDIO_IC_CODEC_CTRL0, in sirf_audio_codec_suspend()
538 regmap_read(sirf_audio_codec->regmap, AUDIO_IC_CODEC_CTRL1, in sirf_audio_codec_suspend()
554 regmap_write(sirf_audio_codec->regmap, AUDIO_IC_CODEC_CTRL0, in sirf_audio_codec_resume()
556 regmap_write(sirf_audio_codec->regmap, AUDIO_IC_CODEC_CTRL1, in sirf_audio_codec_resume()