Lines Matching +full:dma +full:- +full:maxburst

1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/sound/pxa2xx-ac97.c -- AC97 support for the Intel PXA2xx chip.
15 #include <linux/dma/pxa-dma.h>
21 #include <sound/pxa2xx-lib.h>
25 #include <mach/regs-ac97.h>
65 .maxburst = 32,
72 .maxburst = 32,
79 .maxburst = 16,
86 .maxburst = 16,
93 .maxburst = 16,
101 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_hifi_startup()
116 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_aux_startup()
129 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_mic_startup()
130 return -ENODEV; in pxa2xx_ac97_mic_startup()
159 .name = "pxa2xx-ac97",
175 .name = "pxa2xx-ac97-aux",
191 .name = "pxa2xx-ac97-mic",
203 .name = "pxa-ac97",
215 { .compatible = "marvell,pxa250-ac97", },
216 { .compatible = "marvell,pxa270-ac97", },
217 { .compatible = "marvell,pxa300-ac97", },
228 pxa2xx_audio_ops_t *pdata = pdev->dev.platform_data; in pxa2xx_ac97_dev_probe()
231 if (pdev->id != -1) { in pxa2xx_ac97_dev_probe()
232 dev_err(&pdev->dev, "PXA2xx has only one AC97 port.\n"); in pxa2xx_ac97_dev_probe()
233 return -ENXIO; in pxa2xx_ac97_dev_probe()
238 dev_err(&pdev->dev, "PXA2xx AC97 hw probe error (%d)\n", ret); in pxa2xx_ac97_dev_probe()
242 codecs_pdata = pdata ? pdata->codec_pdata : NULL; in pxa2xx_ac97_dev_probe()
243 ctrl = snd_ac97_controller_register(&pxa2xx_ac97_ops, &pdev->dev, in pxa2xx_ac97_dev_probe()
254 return devm_snd_soc_register_component(&pdev->dev, &pxa_ac97_component, in pxa2xx_ac97_dev_probe()
286 .name = "pxa2xx-ac97",
299 MODULE_ALIAS("platform:pxa2xx-ac97");