Lines Matching refs:dmacsr
1853 u32 dmacsr, restart; in hifn_interrupt() local
1855 dmacsr = hifn_read_1(dev, HIFN_1_DMA_CSR); in hifn_interrupt()
1859 dmacsr, dev->dmareg, dmacsr & dev->dmareg, dma->cmdi, in hifn_interrupt()
1863 if ((dmacsr & dev->dmareg) == 0) in hifn_interrupt()
1866 hifn_write_1(dev, HIFN_1_DMA_CSR, dmacsr & dev->dmareg); in hifn_interrupt()
1868 if (dmacsr & HIFN_DMACSR_ENGINE) in hifn_interrupt()
1870 if (dmacsr & HIFN_DMACSR_PUBDONE) in hifn_interrupt()
1874 restart = dmacsr & (HIFN_DMACSR_R_OVER | HIFN_DMACSR_D_OVER); in hifn_interrupt()
1879 !!(dmacsr & HIFN_DMACSR_R_OVER), in hifn_interrupt()
1880 !!(dmacsr & HIFN_DMACSR_D_OVER), in hifn_interrupt()
1884 hifn_write_1(dev, HIFN_1_DMA_CSR, dmacsr & (HIFN_DMACSR_R_OVER | in hifn_interrupt()
1888 restart = dmacsr & (HIFN_DMACSR_C_ABORT | HIFN_DMACSR_S_ABORT | in hifn_interrupt()
1892 !!(dmacsr & HIFN_DMACSR_C_ABORT), in hifn_interrupt()
1893 !!(dmacsr & HIFN_DMACSR_S_ABORT), in hifn_interrupt()
1894 !!(dmacsr & HIFN_DMACSR_D_ABORT), in hifn_interrupt()
1895 !!(dmacsr & HIFN_DMACSR_R_ABORT)); in hifn_interrupt()
1901 if ((dmacsr & HIFN_DMACSR_C_WAIT) && (dma->cmdu == 0)) { in hifn_interrupt()