Lines Matching +full:fifo +full:- +full:width
1 // SPDX-License-Identifier: GPL-2.0
10 #include <sound/soc-dai.h>
13 #include "aiu-fifo.h"
50 struct snd_soc_component *component = dai->component; in aiu_fifo_i2s_trigger()
68 struct snd_soc_component *component = dai->component; in aiu_fifo_i2s_prepare()
90 struct snd_soc_component *component = dai->component; in aiu_fifo_i2s_hw_params()
91 struct aiu_fifo *fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_i2s_hw_params() local
111 dev_err(dai->dev, "Unsupported physical width %u\n", in aiu_fifo_i2s_hw_params()
113 return -EINVAL; in aiu_fifo_i2s_hw_params()
121 val = params_period_bytes(params) / fifo->fifo_block; in aiu_fifo_i2s_hw_params()
129 * while un-setting AIU_I2S_MISC_HOLD_EN or right before that). Follow in aiu_fifo_i2s_hw_params()
155 struct snd_soc_component *component = dai->component; in aiu_fifo_i2s_dai_probe()
157 struct aiu_fifo *fifo; in aiu_fifo_i2s_dai_probe() local
164 fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_i2s_dai_probe()
166 fifo->pcm = &fifo_i2s_pcm; in aiu_fifo_i2s_dai_probe()
167 fifo->mem_offset = AIU_MEM_I2S_START; in aiu_fifo_i2s_dai_probe()
168 fifo->fifo_block = AIU_FIFO_I2S_BLOCK; in aiu_fifo_i2s_dai_probe()
169 fifo->pclk = aiu->i2s.clks[PCLK].clk; in aiu_fifo_i2s_dai_probe()
170 fifo->irq = aiu->i2s.irq; in aiu_fifo_i2s_dai_probe()