Lines Matching refs:tbufs
310 struct slgt_desc *tbufs; member
526 i, le16_to_cpu(info->tbufs[i].count), le16_to_cpu(info->tbufs[i].status)); in dump_tbufs()
2187 if (!desc_count(info->tbufs[i])) in unsent_tbufs()
3278 info->tbufs = ((struct slgt_desc*)info->bufs) + info->rbuf_count; in alloc_desc()
3300 info->tbufs[i].pdesc = pbufs + ((info->rbuf_count + i) * sizeof(struct slgt_desc)); in alloc_desc()
3304 info->tbufs[i].next = cpu_to_le32(pbufs + info->rbuf_count * sizeof(struct slgt_desc)); in alloc_desc()
3306 …info->tbufs[i].next = cpu_to_le32(pbufs + ((info->rbuf_count + i + 1) * sizeof(struct slgt_desc))); in alloc_desc()
3319 info->tbufs = NULL; in free_desc()
3355 alloc_bufs(info, info->tbufs, info->tbuf_count) < 0 || in alloc_dma_bufs()
3368 free_bufs(info, info->tbufs, info->tbuf_count); in free_dma_bufs()
3941 if (desc_count(info->tbufs[info->tbuf_start])) { in tx_start()
3965 wr_reg32(info, TDDAR, info->tbufs[info->tbuf_start].pdesc); in tx_start()
4703 info->tbufs[i].status = 0; in reset_tbufs()
4704 info->tbufs[i].count = 0; in reset_tbufs()
4718 if (desc_count(info->tbufs[i])) in free_tbuf_count()
4756 count = desc_count(info->tbufs[i]); in tbuf_bytes()
4760 active_buf_count = info->tbufs[i].buf_count; in tbuf_bytes()
4812 d = &info->tbufs[i]; in tx_load()
4842 d = &info->tbufs[info->tbuf_start]; in tx_load()