Lines Matching +full:dma +full:- +full:maxburst
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pxa2xx-i2s.c -- ALSA Soc Audio Layer
21 #include <sound/pxa2xx-lib.h>
27 #include "pxa2xx-i2s.h"
33 #define SACR1 __REG(0x40400004) /* Serial Audio I 2 S/MSB-Justified Control Register */
34 #define SASR0 __REG(0x4040000C) /* Serial Audio I 2 S/MSB-Justified Interface and FIFO Status Reg…
40 #define SACR0_RFTH(x) ((x) << 12) /* Rx FIFO Interrupt or DMA Trigger Threshold */
41 #define SACR0_TFTH(x) ((x) << 8) /* Tx FIFO Interrupt or DMA Trigger Threshold */
85 .maxburst = 32,
92 .maxburst = 32,
151 return -ENODEV; in pxa2xx_i2s_set_dai_sysclk()
163 return -EINVAL; in pxa2xx_i2s_hw_params()
168 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_i2s_hw_params()
184 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_i2s_hw_params()
223 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_i2s_trigger()
236 ret = -EINVAL; in pxa2xx_i2s_trigger()
245 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in pxa2xx_i2s_shutdown()
299 clk_i2s = clk_get(dai->dev, "I2SCLK"); in pxa2xx_i2s_probe()
325 clk_i2s = ERR_PTR(-ENOENT); in pxa2xx_i2s_remove()
360 .name = "pxa-i2s",
377 return devm_snd_soc_register_component(&pdev->dev, &pxa_i2s_component, in pxa2xx_i2s_drv_probe()
385 .name = "pxa2xx-i2s",
391 clk_i2s = ERR_PTR(-ENOENT); in pxa2xx_i2s_init()
407 MODULE_ALIAS("platform:pxa2xx-i2s");