Lines Matching refs:dma_cmd
894 if (ide_handle_rw_error(s, -ret, ide_dma_cmd_to_retry(s->dma_cmd))) { in ide_dma_cb()
951 trace_ide_dma_cb(s, sector_num, n, IDE_DMA_CMD_str(s->dma_cmd)); in ide_dma_cb()
953 if ((s->dma_cmd == IDE_DMA_READ || s->dma_cmd == IDE_DMA_WRITE) && in ide_dma_cb()
961 switch (s->dma_cmd) { in ide_dma_cb()
982 if (s->dma_cmd == IDE_DMA_READ || s->dma_cmd == IDE_DMA_WRITE) { in ide_dma_cb()
988 static void ide_sector_start_dma(IDEState *s, enum ide_dma_cmd dma_cmd) in ide_sector_start_dma() argument
992 s->dma_cmd = dma_cmd; in ide_sector_start_dma()
994 switch (dma_cmd) { in ide_sector_start_dma()
1803 s->dma_cmd = IDE_DMA_ATAPI; in cmd_packet()
2712 static void ide_restart_dma(IDEState *s, enum ide_dma_cmd dma_cmd) in ide_restart_dma() argument
2719 s->dma_cmd = dma_cmd; in ide_restart_dma()