Searched refs:dmares (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/sound/soc/au1x/ |
D | i2sc.c | 235 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()
|
D | ac97c.c | 232 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()
|
D | psc-i2s.c | 294 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()
|
D | psc-ac97.c | 365 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()
|
/Linux-v5.10/drivers/net/ethernet/ni/ |
D | nixge.c | 1227 struct resource *dmares; in nixge_of_get_resources() local 1239 dmares = platform_get_resource(pdev, IORESOURCE_MEM, 0); in nixge_of_get_resources() 1241 dmares = platform_get_resource_byname(pdev, IORESOURCE_MEM, in nixge_of_get_resources() 1244 priv->dma_regs = devm_ioremap_resource(&pdev->dev, dmares); in nixge_of_get_resources()
|
/Linux-v5.10/drivers/net/ethernet/cortina/ |
D | gemini.c | 2360 struct resource *dmares; in gemini_ethernet_port_probe() local 2393 dmares = platform_get_resource(pdev, IORESOURCE_MEM, 0); in gemini_ethernet_port_probe() 2394 if (!dmares) { in gemini_ethernet_port_probe() 2398 port->dma_base = devm_ioremap_resource(dev, dmares); in gemini_ethernet_port_probe() 2507 port->irq, &dmares->start, in gemini_ethernet_port_probe()
|
/Linux-v5.10/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 1900 struct resource dmares; in axienet_probe() local 1902 ret = of_address_to_resource(np, 0, &dmares); in axienet_probe() 1910 &dmares); in axienet_probe()
|