Lines Matching +full:fifo +full:- +full:width
1 // SPDX-License-Identifier: GPL-2.0
9 #include <sound/soc-dai.h>
12 #include "aiu-fifo.h"
60 struct snd_soc_component *component = dai->component; in fifo_spdif_trigger()
79 return -EINVAL; in fifo_spdif_trigger()
88 struct snd_soc_component *component = dai->component; in fifo_spdif_prepare()
110 struct snd_soc_component *component = dai->component; in fifo_spdif_hw_params()
128 dev_err(dai->dev, "Unsupported physical width %u\n", in fifo_spdif_hw_params()
130 return -EINVAL; in fifo_spdif_hw_params()
140 /* Number bytes read by the FIFO between each IRQ */ in fifo_spdif_hw_params()
170 struct snd_soc_component *component = dai->component; in aiu_fifo_spdif_dai_probe()
172 struct aiu_fifo *fifo; in aiu_fifo_spdif_dai_probe() local
179 fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_spdif_dai_probe()
181 fifo->pcm = &fifo_spdif_pcm; in aiu_fifo_spdif_dai_probe()
182 fifo->mem_offset = AIU_MEM_IEC958_START; in aiu_fifo_spdif_dai_probe()
183 fifo->fifo_block = 1; in aiu_fifo_spdif_dai_probe()
184 fifo->pclk = aiu->spdif.clks[PCLK].clk; in aiu_fifo_spdif_dai_probe()
185 fifo->irq = aiu->spdif.irq; in aiu_fifo_spdif_dai_probe()