Searched refs:dma_res (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/drivers/ata/ |
D | pata_pxa.c | 238 struct resource *dma_res; in pxa_ata_probe() local 272 dma_res = platform_get_resource(pdev, IORESOURCE_DMA, 0); in pxa_ata_probe() 273 if (unlikely(dma_res == NULL)) in pxa_ata_probe() 299 ap->ioaddr.bmdma_addr = devm_ioremap(&pdev->dev, dma_res->start, in pxa_ata_probe() 300 resource_size(dma_res)); in pxa_ata_probe() 337 data->dma_io_addr = dma_res->start; in pxa_ata_probe()
|
/linux-4.1.27/sound/soc/pxa/ |
D | mmp-pcm.c | 30 struct resource *dma_res; member 89 devname = kasprintf(GFP_KERNEL, "%s.%d", dma_data->dma_res->name, in filter() 92 (chan->chan_id == dma_data->dma_res->start)) { in filter() 115 dma_data.dma_res = r; in mmp_pcm_open()
|
/linux-4.1.27/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 1304 struct resource *dma_res; in altera_tse_probe() local 1332 ret = request_and_map(pdev, "s1", &dma_res, &descmap); in altera_tse_probe() 1340 priv->txdescmem = resource_size(dma_res)/2; in altera_tse_probe() 1342 priv->txdescmem_busaddr = (dma_addr_t)dma_res->start; in altera_tse_probe() 1346 priv->rxdescmem = resource_size(dma_res)/2; in altera_tse_probe() 1347 priv->rxdescmem_busaddr = dma_res->start; in altera_tse_probe() 1362 ret = request_and_map(pdev, "rx_resp", &dma_res, in altera_tse_probe() 1367 ret = request_and_map(pdev, "tx_desc", &dma_res, in altera_tse_probe() 1372 priv->txdescmem = resource_size(dma_res); in altera_tse_probe() 1373 priv->txdescmem_busaddr = dma_res->start; in altera_tse_probe() [all …]
|
/linux-4.1.27/drivers/mtd/onenand/ |
D | samsung.c | 141 struct resource *dma_res; member 949 onenand->dma_res = request_mem_region(r->start, resource_size(r), in s3c_onenand_probe() 951 if (!onenand->dma_res) { in s3c_onenand_probe() 1007 if (onenand->dma_res) in s3c_onenand_probe() 1008 release_mem_region(onenand->dma_res->start, in s3c_onenand_probe() 1009 resource_size(onenand->dma_res)); in s3c_onenand_probe() 1046 if (onenand->dma_res) in s3c_onenand_remove() 1047 release_mem_region(onenand->dma_res->start, in s3c_onenand_remove() 1048 resource_size(onenand->dma_res)); in s3c_onenand_remove()
|
/linux-4.1.27/sound/soc/samsung/ |
D | spdif.c | 362 struct resource *mem_res, *dma_res; in spdif_probe() local 370 dma_res = platform_get_resource(pdev, IORESOURCE_DMA, 0); in spdif_probe() 371 if (!dma_res) { in spdif_probe() 435 spdif_stereo_out.channel = dma_res->start; in spdif_probe()
|
/linux-4.1.27/sound/soc/txx9/ |
D | txx9aclc.h | 46 struct resource *dma_res; member
|
D | txx9aclc.c | 307 dev->dmadata[i].dma_res = r; in txx9aclc_pcm_new() 330 devname = kasprintf(GFP_KERNEL, "%s.%d", dmadata->dma_res->name, in filter() 331 (int)dmadata->dma_res->start); in filter()
|
/linux-4.1.27/drivers/spi/ |
D | spi-omap2-mcspi.c | 1411 struct resource *dma_res; in omap2_mcspi_probe() local 1415 dma_res = in omap2_mcspi_probe() 1419 if (!dma_res) { in omap2_mcspi_probe() 1427 dma_res->start; in omap2_mcspi_probe() 1431 dma_res = in omap2_mcspi_probe() 1435 if (!dma_res) { in omap2_mcspi_probe() 1443 dma_res->start; in omap2_mcspi_probe()
|