Lines Matching defs:tbufs
308 struct slgt_desc *tbufs;
524 i, le16_to_cpu(info->tbufs[i].count), le16_to_cpu(info->tbufs[i].status));
2186 if (!desc_count(info->tbufs[i]))
3270 info->tbufs = ((struct slgt_desc*)info->bufs) + info->rbuf_count;
3292 info->tbufs[i].pdesc = pbufs + ((info->rbuf_count + i) * sizeof(struct slgt_desc));
3296 info->tbufs[i].next = cpu_to_le32(pbufs + info->rbuf_count * sizeof(struct slgt_desc));
3298 info->tbufs[i].next = cpu_to_le32(pbufs + ((info->rbuf_count + i + 1) * sizeof(struct slgt_desc)));
3311 info->tbufs = NULL;
3347 alloc_bufs(info, info->tbufs, info->tbuf_count) < 0 ||
3360 free_bufs(info, info->tbufs, info->tbuf_count);
3923 if (desc_count(info->tbufs[info->tbuf_start])) {
3947 wr_reg32(info, TDDAR, info->tbufs[info->tbuf_start].pdesc);
4686 info->tbufs[i].status = 0;
4687 info->tbufs[i].count = 0;
4701 if (desc_count(info->tbufs[i]))
4739 count = desc_count(info->tbufs[i]);
4743 active_buf_count = info->tbufs[i].buf_count;
4795 d = &info->tbufs[i];
4825 d = &info->tbufs[info->tbuf_start];