Lines Matching defs:tbufs
313 struct slgt_desc *tbufs;
529 i, le16_to_cpu(info->tbufs[i].count), le16_to_cpu(info->tbufs[i].status));
2196 if (!desc_count(info->tbufs[i]))
3294 info->tbufs = ((struct slgt_desc*)info->bufs) + info->rbuf_count;
3316 info->tbufs[i].pdesc = pbufs + ((info->rbuf_count + i) * sizeof(struct slgt_desc));
3320 info->tbufs[i].next = cpu_to_le32(pbufs + info->rbuf_count * sizeof(struct slgt_desc));
3322 info->tbufs[i].next = cpu_to_le32(pbufs + ((info->rbuf_count + i + 1) * sizeof(struct slgt_desc)));
3335 info->tbufs = NULL;
3371 alloc_bufs(info, info->tbufs, info->tbuf_count) < 0 ||
3384 free_bufs(info, info->tbufs, info->tbuf_count);
3963 if (desc_count(info->tbufs[info->tbuf_start])) {
3987 wr_reg32(info, TDDAR, info->tbufs[info->tbuf_start].pdesc);
4725 info->tbufs[i].status = 0;
4726 info->tbufs[i].count = 0;
4740 if (desc_count(info->tbufs[i]))
4778 count = desc_count(info->tbufs[i]);
4782 active_buf_count = info->tbufs[i].buf_count;
4834 d = &info->tbufs[i];
4864 d = &info->tbufs[info->tbuf_start];