Home
last modified time | relevance | path

Searched refs:dmares (Results 1 – 4 of 4) sorted by relevance

/sound/soc/au1x/
Di2sc.c235 struct resource *iores, *dmares; in au1xi2s_drvprobe() local
256 dmares = platform_get_resource(pdev, IORESOURCE_DMA, 0); in au1xi2s_drvprobe()
257 if (!dmares) in au1xi2s_drvprobe()
259 ctx->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xi2s_drvprobe()
261 dmares = platform_get_resource(pdev, IORESOURCE_DMA, 1); in au1xi2s_drvprobe()
262 if (!dmares) in au1xi2s_drvprobe()
264 ctx->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xi2s_drvprobe()
Dac97c.c232 struct resource *iores, *dmares; in au1xac97c_drvprobe() local
255 dmares = platform_get_resource(pdev, IORESOURCE_DMA, 0); in au1xac97c_drvprobe()
256 if (!dmares) in au1xac97c_drvprobe()
258 ctx->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xac97c_drvprobe()
260 dmares = platform_get_resource(pdev, IORESOURCE_DMA, 1); in au1xac97c_drvprobe()
261 if (!dmares) in au1xac97c_drvprobe()
263 ctx->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xac97c_drvprobe()
Dpsc-i2s.c294 struct resource *dmares; in au1xpsc_i2s_drvprobe() local
307 dmares = platform_get_resource(pdev, IORESOURCE_DMA, 0); in au1xpsc_i2s_drvprobe()
308 if (!dmares) in au1xpsc_i2s_drvprobe()
310 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_i2s_drvprobe()
312 dmares = platform_get_resource(pdev, IORESOURCE_DMA, 1); in au1xpsc_i2s_drvprobe()
313 if (!dmares) in au1xpsc_i2s_drvprobe()
315 wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xpsc_i2s_drvprobe()
Dpsc-ac97.c365 struct resource *dmares; in au1xpsc_ac97_drvprobe() local
380 dmares = platform_get_resource(pdev, IORESOURCE_DMA, 0); in au1xpsc_ac97_drvprobe()
381 if (!dmares) in au1xpsc_ac97_drvprobe()
383 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_ac97_drvprobe()
385 dmares = platform_get_resource(pdev, IORESOURCE_DMA, 1); in au1xpsc_ac97_drvprobe()
386 if (!dmares) in au1xpsc_ac97_drvprobe()
388 wd->dmaids[SNDRV_PCM_STREAM_CAPTURE] = dmares->start; in au1xpsc_ac97_drvprobe()