Lines Matching refs:dma_res
1142 struct resource *dma_res; in altera_tse_probe() local
1171 ret = request_and_map(pdev, "s1", &dma_res, &descmap); in altera_tse_probe()
1179 priv->txdescmem = resource_size(dma_res)/2; in altera_tse_probe()
1181 priv->txdescmem_busaddr = (dma_addr_t)dma_res->start; in altera_tse_probe()
1185 priv->rxdescmem = resource_size(dma_res)/2; in altera_tse_probe()
1186 priv->rxdescmem_busaddr = dma_res->start; in altera_tse_probe()
1203 ret = request_and_map(pdev, "rx_resp", &dma_res, in altera_tse_probe()
1208 ret = request_and_map(pdev, "tx_desc", &dma_res, in altera_tse_probe()
1213 priv->txdescmem = resource_size(dma_res); in altera_tse_probe()
1214 priv->txdescmem_busaddr = dma_res->start; in altera_tse_probe()
1216 ret = request_and_map(pdev, "rx_desc", &dma_res, in altera_tse_probe()
1221 priv->rxdescmem = resource_size(dma_res); in altera_tse_probe()
1222 priv->rxdescmem_busaddr = dma_res->start; in altera_tse_probe()
1246 ret = request_and_map(pdev, "rx_csr", &dma_res, in altera_tse_probe()
1253 ret = request_and_map(pdev, "tx_csr", &dma_res, in altera_tse_probe()