Lines Matching refs:dw
42 static struct dw_edma *dw; variable
58 if (dw->mode == EDMA_MODE_LEGACY && in dw_edma_debugfs_u32_get()
65 for (ch = 0; ch < dw->wr_ch_cnt; ch++) in dw_edma_debugfs_u32_get()
71 for (ch = 0; ch < dw->rd_ch_cnt; ch++) in dw_edma_debugfs_u32_get()
83 raw_spin_lock_irqsave(&dw->lock, flags); in dw_edma_debugfs_u32_get()
88 raw_spin_unlock_irqrestore(&dw->lock, flags); in dw_edma_debugfs_u32_get()
177 if (dw->mode == EDMA_MODE_UNROLL) { in dw_edma_debugfs_regs_wr()
183 for (i = 0; i < dw->wr_ch_cnt; i++) { in dw_edma_debugfs_regs_wr()
246 if (dw->mode == EDMA_MODE_UNROLL) { in dw_edma_debugfs_regs_rd()
252 for (i = 0; i < dw->rd_ch_cnt; i++) { in dw_edma_debugfs_regs_rd()
288 dw = chip->dw; in dw_edma_v0_debugfs_on()
289 if (!dw) in dw_edma_v0_debugfs_on()
292 regs = dw->rg_region.vaddr; in dw_edma_v0_debugfs_on()
296 base_dir = debugfs_create_dir(dw->name, NULL); in dw_edma_v0_debugfs_on()
300 debugfs_create_u32("version", 0444, base_dir, &dw->version); in dw_edma_v0_debugfs_on()
301 debugfs_create_u32("mode", 0444, base_dir, &dw->mode); in dw_edma_v0_debugfs_on()
302 debugfs_create_u16("wr_ch_cnt", 0444, base_dir, &dw->wr_ch_cnt); in dw_edma_v0_debugfs_on()
303 debugfs_create_u16("rd_ch_cnt", 0444, base_dir, &dw->rd_ch_cnt); in dw_edma_v0_debugfs_on()