Lines Matching defs:dmadev
510 struct device *dmadev = lu->hi->host->device.parent;
519 dma_map_single(dmadev, &cmd->command_orb,
522 if (dma_mapping_error(dmadev, cmd->command_orb_dma))
526 dma_map_single(dmadev, &cmd->scatter_gather_element,
529 if (dma_mapping_error(dmadev, cmd->sge_dma))
538 dma_unmap_single(dmadev, cmd->command_orb_dma,
1484 struct device *dmadev = hi->host->device.parent;
1488 n = dma_map_sg(dmadev, sg, sg_count, dma_dir);
1502 dma_sync_single_for_cpu(dmadev, cmd->sge_dma,
1515 dma_sync_single_for_device(dmadev, cmd->sge_dma,
1526 struct device *dmadev = lu->hi->host->device.parent;
1533 dma_sync_single_for_cpu(dmadev, cmd->command_orb_dma,
1577 dma_sync_single_for_device(dmadev, cmd->command_orb_dma,