Lines Matching refs:dma_buffer
280 sg_copy_to_buffer(data->sg, data->sg_len, host->dma_buffer, len);
290 sg_copy_from_buffer(data->sg, data->sg_len, host->dma_buffer, len);
1371 host->dma_buffer = kmalloc(WBSD_DMA_SIZE,
1373 if (!host->dma_buffer)
1379 host->dma_addr = dma_map_single(mmc_dev(host->mmc), host->dma_buffer,
1410 kfree(host->dma_buffer);
1411 host->dma_buffer = NULL;
1424 * host->dma_addr is valid here iff host->dma_buffer is not NULL.
1426 if (host->dma_buffer) {
1429 kfree(host->dma_buffer);
1435 host->dma_buffer = NULL;