Lines Matching refs:regmap

63 	struct regmap *regmap;  member
184 regmap_read(i2s->regmap, XTFPGA_I2S_INT_STATUS, in xtfpga_pcm_refill_fifo()
190 regmap_write(i2s->regmap, XTFPGA_I2S_INT_STATUS, in xtfpga_pcm_refill_fifo()
193 regmap_read(i2s->regmap, XTFPGA_I2S_INT_STATUS, in xtfpga_pcm_refill_fifo()
208 regmap_write(i2s->regmap, XTFPGA_I2S_INT_MASK, in xtfpga_pcm_refill_fifo()
211 regmap_write(i2s->regmap, XTFPGA_I2S_INT_MASK, in xtfpga_pcm_refill_fifo()
215 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_pcm_refill_fifo()
221 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_pcm_refill_fifo()
232 regmap_read(i2s->regmap, XTFPGA_I2S_CONFIG, &config); in xtfpga_i2s_threaded_irq_handler()
233 regmap_read(i2s->regmap, XTFPGA_I2S_INT_MASK, &int_mask); in xtfpga_i2s_threaded_irq_handler()
234 regmap_read(i2s->regmap, XTFPGA_I2S_INT_STATUS, &int_status); in xtfpga_i2s_threaded_irq_handler()
245 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_i2s_threaded_irq_handler()
294 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_i2s_hw_params()
312 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_i2s_hw_params()
327 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_i2s_hw_params()
559 i2s->regmap = devm_regmap_init_mmio(&pdev->dev, i2s->regs, in xtfpga_i2s_probe()
561 if (IS_ERR(i2s->regmap)) { in xtfpga_i2s_probe()
563 err = PTR_ERR(i2s->regmap); in xtfpga_i2s_probe()
574 regmap_write(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_i2s_probe()
576 regmap_write(i2s->regmap, XTFPGA_I2S_INT_STATUS, XTFPGA_I2S_INT_VALID); in xtfpga_i2s_probe()
577 regmap_write(i2s->regmap, XTFPGA_I2S_INT_MASK, XTFPGA_I2S_INT_UNDERRUN); in xtfpga_i2s_probe()
630 if (i2s->regmap && !IS_ERR(i2s->regmap)) { in xtfpga_i2s_remove()
631 regmap_write(i2s->regmap, XTFPGA_I2S_CONFIG, 0); in xtfpga_i2s_remove()
632 regmap_write(i2s->regmap, XTFPGA_I2S_INT_MASK, 0); in xtfpga_i2s_remove()
633 regmap_write(i2s->regmap, XTFPGA_I2S_INT_STATUS, in xtfpga_i2s_remove()