Lines Matching refs:prg_reg
91 struct dma_prog_region *prg_reg;
160 if (d->prg_reg) {
162 dma_prog_region_free(&d->prg_reg[i]);
163 kfree(d->prg_reg);
229 d->prg_reg = kmalloc(d->num_desc * sizeof(*d->prg_reg), GFP_KERNEL);
230 if (!d->prg_reg) {
237 dma_prog_region_init(&d->prg_reg[i]);
259 if (dma_prog_region_alloc(&d->prg_reg[i], d->nb_cmd *
265 d->ir_prg[i] = (struct dma_cmd *)d->prg_reg[i].kvirt;
302 if (dma_prog_region_alloc(&d->prg_reg[i], d->nb_cmd *
308 d->it_prg[i] = (struct it_dma_prg *)d->prg_reg[i].kvirt;
379 struct dma_prog_region *ir_reg = &d->prg_reg[n];
593 struct dma_prog_region *it_reg = &d->prg_reg[n];
646 struct dma_prog_region *it_reg = &d->prg_reg[n];
907 cpu_to_le32((dma_prog_region_offset_to_bus(&d->prg_reg[next_prg], 0)
923 dma_prog_region_offset_to_bus(&d->prg_reg[d->last_buffer], 0) | 0x1);
1065 cpu_to_le32((dma_prog_region_offset_to_bus(&d->prg_reg[next_prg],
1070 cpu_to_le32((dma_prog_region_offset_to_bus(&d->prg_reg[next_prg],
1092 dma_prog_region_offset_to_bus(&d->prg_reg[next_prg], 0) | 0x3);