Lines Matching refs:tds
468 struct td_ring_entry *tds;
722 ring->tds = dma_alloc_coherent(xmm->dev, sizeof(struct td_ring_entry)*depth, &ring->tds_phys, GFP_KERNEL);
729 ring->tds[i].addr = ring->pages_phys[i];
760 dma_free_coherent(xmm->dev, sizeof(struct td_ring_entry)*depth, ring->tds, ring->tds_phys);
775 ring->tds[wptr].length = len;
776 ring->tds[wptr].flags = 0;
777 ring->tds[wptr].unk = 0;
809 ring->tds[wptr].length = ring->page_size;
810 ring->tds[wptr].flags = 0;
811 ring->tds[wptr].unk = 0;
965 nread = ring->tds[idx].length;
988 nread = ring->tds[idx].length;
1330 nread = ring->tds[idx].length;