Lines Matching refs:mmio
79 void __iomem *mmio; member
99 void __iomem *mmio; member
287 reg = adata->mmio + XLNX_MM2S_OFFSET + XLNX_AUD_STS; in xlnx_mm2s_irq_handler()
306 reg = adata->mmio + XLNX_S2MM_OFFSET + XLNX_AUD_STS; in xlnx_s2mm_irq_handler()
354 stream_data->mmio = adata->mmio + XLNX_MM2S_OFFSET; in xlnx_formatter_pcm_open()
363 stream_data->mmio = adata->mmio + XLNX_S2MM_OFFSET; in xlnx_formatter_pcm_open()
367 val = readl(adata->mmio + XLNX_AUD_CORE_CONFIG); in xlnx_formatter_pcm_open()
412 val = readl(stream_data->mmio + XLNX_AUD_CTRL); in xlnx_formatter_pcm_open()
414 writel(val, stream_data->mmio + XLNX_AUD_CTRL); in xlnx_formatter_pcm_open()
426 ret = xlnx_formatter_pcm_reset(stream_data->mmio); in xlnx_formatter_pcm_close()
431 xlnx_formatter_disable_irqs(stream_data->mmio, substream->stream); in xlnx_formatter_pcm_close()
446 pos = readl(stream_data->mmio + XLNX_AUD_XFER_COUNT); in xlnx_formatter_pcm_pointer()
479 writel(mclk_fs, stream_data->mmio + XLNX_AUD_FS_MULTIPLIER); in xlnx_formatter_pcm_hw_params()
484 val = readl(stream_data->mmio + XLNX_AUD_STS); in xlnx_formatter_pcm_hw_params()
486 aes_reg1_val = readl(stream_data->mmio + in xlnx_formatter_pcm_hw_params()
488 aes_reg2_val = readl(stream_data->mmio + in xlnx_formatter_pcm_hw_params()
502 writel(low, stream_data->mmio + XLNX_AUD_BUFF_ADDR_LSB); in xlnx_formatter_pcm_hw_params()
503 writel(high, stream_data->mmio + XLNX_AUD_BUFF_ADDR_MSB); in xlnx_formatter_pcm_hw_params()
505 val = readl(stream_data->mmio + XLNX_AUD_CTRL); in xlnx_formatter_pcm_hw_params()
528 writel(val, stream_data->mmio + XLNX_AUD_CTRL); in xlnx_formatter_pcm_hw_params()
532 writel(val, stream_data->mmio + XLNX_AUD_PERIOD_CONFIG); in xlnx_formatter_pcm_hw_params()
534 writel(bytes_per_ch, stream_data->mmio + XLNX_BYTES_PER_CH); in xlnx_formatter_pcm_hw_params()
551 val = readl(stream_data->mmio + XLNX_AUD_CTRL); in xlnx_formatter_pcm_trigger()
553 writel(val, stream_data->mmio + XLNX_AUD_CTRL); in xlnx_formatter_pcm_trigger()
558 val = readl(stream_data->mmio + XLNX_AUD_CTRL); in xlnx_formatter_pcm_trigger()
560 writel(val, stream_data->mmio + XLNX_AUD_CTRL); in xlnx_formatter_pcm_trigger()
612 aud_drv_data->mmio = devm_platform_ioremap_resource(pdev, 0); in xlnx_formatter_pcm_probe()
613 if (IS_ERR(aud_drv_data->mmio)) { in xlnx_formatter_pcm_probe()
615 ret = PTR_ERR(aud_drv_data->mmio); in xlnx_formatter_pcm_probe()
619 val = readl(aud_drv_data->mmio + XLNX_AUD_CORE_CONFIG); in xlnx_formatter_pcm_probe()
622 ret = xlnx_formatter_pcm_reset(aud_drv_data->mmio + in xlnx_formatter_pcm_probe()
628 xlnx_formatter_disable_irqs(aud_drv_data->mmio + in xlnx_formatter_pcm_probe()
648 ret = xlnx_formatter_pcm_reset(aud_drv_data->mmio + in xlnx_formatter_pcm_probe()
654 xlnx_formatter_disable_irqs(aud_drv_data->mmio + in xlnx_formatter_pcm_probe()
696 ret = xlnx_formatter_pcm_reset(adata->mmio + XLNX_S2MM_OFFSET); in xlnx_formatter_pcm_remove()
700 ret = xlnx_formatter_pcm_reset(adata->mmio + XLNX_MM2S_OFFSET); in xlnx_formatter_pcm_remove()