Lines Matching refs:it_prg
94 struct it_dma_prg **it_prg;
167 kfree(d->it_prg);
273 d->it_prg = kzalloc(d->num_desc * sizeof(*d->it_prg),
276 if (!d->it_prg) {
308 d->it_prg[i] = (struct it_dma_prg *)d->prg_reg[i].kvirt;
525 if ( (le32_to_cpu(d->it_prg[n][0].data[1]) >>16) == 0x008) {
544 if ( (le32_to_cpu(d->it_prg[n][0].data[1]) >>16) == 0x008) {
561 if (d->it_prg[i][d->last_used_cmd[i]].end.status &
565 d->it_prg[i][d->last_used_cmd[i]].end.status = 0;
578 struct it_dma_prg *it_prg = d->it_prg[n];
584 it_prg[i].end.address =
592 struct it_dma_prg *it_prg = d->it_prg[n];
599 it_prg[i].begin.control = cpu_to_le32(DMA_CTL_OUTPUT_MORE |
601 it_prg[i].begin.address = 0;
603 it_prg[i].begin.status = 0;
605 it_prg[i].data[0] = cpu_to_le32(
610 if (i==0) it_prg[i].data[0] |= cpu_to_le32(sync_tag);
611 it_prg[i].data[1] = cpu_to_le32(d->packet_size << 16);
612 it_prg[i].data[2] = 0;
613 it_prg[i].data[3] = 0;
615 it_prg[i].end.control = cpu_to_le32(DMA_CTL_OUTPUT_LAST |
617 it_prg[i].end.address =
622 it_prg[i].end.control |= cpu_to_le32(d->packet_size);
623 it_prg[i].begin.branchAddress =
626 it_prg[i].end.branchAddress =
631 it_prg[i].end.control |= cpu_to_le32(DMA_CTL_UPDATE |
634 it_prg[i].begin.branchAddress = 0;
635 it_prg[i].end.branchAddress = 0;
637 it_prg[i].end.status = 0;
645 struct it_dma_prg *it_prg = d->it_prg[n];
658 it_prg[i].data[1] = cpu_to_le32(size << 16);
659 it_prg[i].end.control = cpu_to_le32(DMA_CTL_OUTPUT_LAST | DMA_CTL_BRANCH);
662 it_prg[i].end.control |= cpu_to_le32(size);
663 it_prg[i].begin.branchAddress =
666 it_prg[i].end.branchAddress =
671 it_prg[i].end.control |= cpu_to_le32(DMA_CTL_UPDATE |
674 it_prg[i].begin.branchAddress = 0;
675 it_prg[i].end.branchAddress = 0;
1063 d->it_prg[d->last_buffer]
1068 d->it_prg[d->last_buffer]
1078 d->it_prg[d->last_buffer][d->last_used_cmd[d->last_buffer]].end.branchAddress = 0;