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",
218 { .compatible = "marvell,pxa250-ac97", },
219 { .compatible = "marvell,pxa270-ac97", },
220 { .compatible = "marvell,pxa300-ac97", },
231 pxa2xx_audio_ops_t *pdata = pdev->dev.platform_data; in pxa2xx_ac97_dev_probe()
234 if (pdev->id != -1) { in pxa2xx_ac97_dev_probe()
235 dev_err(&pdev->dev, "PXA2xx has only one AC97 port.\n"); in pxa2xx_ac97_dev_probe()
236 return -ENXIO; in pxa2xx_ac97_dev_probe()
241 dev_err(&pdev->dev, "PXA2xx AC97 hw probe error (%d)\n", ret); in pxa2xx_ac97_dev_probe()
245 codecs_pdata = pdata ? pdata->codec_pdata : NULL; in pxa2xx_ac97_dev_probe()
246 ctrl = snd_ac97_controller_register(&pxa2xx_ac97_ops, &pdev->dev, in pxa2xx_ac97_dev_probe()
257 return devm_snd_soc_register_component(&pdev->dev, &pxa_ac97_component, in pxa2xx_ac97_dev_probe()
289 .name = "pxa2xx-ac97",
302 MODULE_ALIAS("platform:pxa2xx-ac97");