Lines Matching refs:ioc4_dma
190 u32 ioc4_dma; in sgiioc4_ide_dma_stop() local
194 ioc4_dma = readl((void __iomem *)ioc4_dma_addr); in sgiioc4_ide_dma_stop()
195 while ((ioc4_dma & IOC4_S_DMA_STOP) && (count++ < 200)) { in sgiioc4_ide_dma_stop()
197 ioc4_dma = readl((void __iomem *)ioc4_dma_addr); in sgiioc4_ide_dma_stop()
199 return ioc4_dma; in sgiioc4_ide_dma_stop()
205 u32 ioc4_dma, bc_dev, bc_mem, num, valid = 0, cnt = 0; in sgiioc4_dma_end() local
213 ioc4_dma = sgiioc4_ide_dma_stop(hwif, dma_base); in sgiioc4_dma_end()
215 if (ioc4_dma & IOC4_S_DMA_STOP) { in sgiioc4_dma_end()
219 __func__, drive->name, ioc4_dma); in sgiioc4_dma_end()
359 u32 ioc4_dma; in sgiioc4_configure_for_dma() local
365 ioc4_dma = readl((void __iomem *)ioc4_dma_addr); in sgiioc4_configure_for_dma()
367 if (ioc4_dma & IOC4_S_DMA_ACTIVE) { in sgiioc4_configure_for_dma()
371 ioc4_dma = sgiioc4_ide_dma_stop(hwif, dma_base); in sgiioc4_configure_for_dma()
373 if (ioc4_dma & IOC4_S_DMA_STOP) in sgiioc4_configure_for_dma()
378 ioc4_dma = readl((void __iomem *)ioc4_dma_addr); in sgiioc4_configure_for_dma()
379 if (ioc4_dma & IOC4_S_DMA_ERROR) { in sgiioc4_configure_for_dma()
382 __func__, drive->name, ioc4_dma); in sgiioc4_configure_for_dma()
384 ioc4_dma = sgiioc4_ide_dma_stop(hwif, dma_base); in sgiioc4_configure_for_dma()
386 if (ioc4_dma & IOC4_S_DMA_STOP) in sgiioc4_configure_for_dma()