Lines Matching refs:slgt_desc
170 struct slgt_desc struct
303 struct slgt_desc *rbufs;
310 struct slgt_desc *tbufs;
1761 struct slgt_desc *bufs = info->rbufs; in rx_async()
3277 info->rbufs = (struct slgt_desc*)info->bufs; in alloc_desc()
3278 info->tbufs = ((struct slgt_desc*)info->bufs) + info->rbuf_count; in alloc_desc()
3288 info->rbufs[i].pdesc = pbufs + (i * sizeof(struct slgt_desc)); in alloc_desc()
3294 info->rbufs[i].next = cpu_to_le32(pbufs + ((i+1) * sizeof(struct slgt_desc))); 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()
3323 static int alloc_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) in alloc_bufs()
3336 static void free_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) in free_bufs()
4790 struct slgt_desc *d; in tx_load()