Lines Matching refs:cmdi
387 volatile int cmdi, srci, dsti, resi; member
904 dma->cmdi = dma->srci = dma->dsti = dma->resi = 0; in hifn_init_dma()
1121 sa_idx = dma->cmdi; in hifn_setup_cmd_desc()
1122 buf_pos = buf = dma->command_bufs[dma->cmdi]; in hifn_setup_cmd_desc()
1209 dma->cmdr[dma->cmdi].l = __cpu_to_le32(cmd_len | HIFN_D_VALID | in hifn_setup_cmd_desc()
1212 if (++dma->cmdi == HIFN_D_CMD_RSIZE) { in hifn_setup_cmd_desc()
1213 dma->cmdr[dma->cmdi].l = __cpu_to_le32( in hifn_setup_cmd_desc()
1216 dma->cmdi = 0; in hifn_setup_cmd_desc()
1218 dma->cmdr[dma->cmdi - 1].l |= __cpu_to_le32(HIFN_D_VALID); in hifn_setup_cmd_desc()
1718 dma->cmdi, dma->srci, dma->dsti, dma->resi, in hifn_clear_rings()
1772 dma->cmdi, dma->srci, dma->dsti, dma->resi, in hifn_clear_rings()
1859 dmacsr, dev->dmareg, dmacsr & dev->dmareg, dma->cmdi, in hifn_interrupt()
1860 dma->cmdi, dma->srci, dma->dsti, dma->resi, in hifn_interrupt()