Lines Matching refs:slgt_desc
169 struct slgt_desc struct
301 struct slgt_desc *rbufs;
308 struct slgt_desc *tbufs;
1760 struct slgt_desc *bufs = info->rbufs; in rx_async()
3269 info->rbufs = (struct slgt_desc*)info->bufs; in alloc_desc()
3270 info->tbufs = ((struct slgt_desc*)info->bufs) + info->rbuf_count; in alloc_desc()
3280 info->rbufs[i].pdesc = pbufs + (i * sizeof(struct slgt_desc)); in alloc_desc()
3286 info->rbufs[i].next = cpu_to_le32(pbufs + ((i+1) * sizeof(struct slgt_desc))); in alloc_desc()
3292 info->tbufs[i].pdesc = pbufs + ((info->rbuf_count + i) * sizeof(struct slgt_desc)); in alloc_desc()
3296 info->tbufs[i].next = cpu_to_le32(pbufs + info->rbuf_count * sizeof(struct slgt_desc)); in alloc_desc()
3298 …info->tbufs[i].next = cpu_to_le32(pbufs + ((info->rbuf_count + i + 1) * sizeof(struct slgt_desc))); in alloc_desc()
3315 static int alloc_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) in alloc_bufs()
3328 static void free_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) in free_bufs()
4773 struct slgt_desc *d; in tx_load()