Lines Matching refs:slgt_desc
197 struct slgt_desc struct
332 struct slgt_desc *rbufs;
339 struct slgt_desc *tbufs;
490 static int alloc_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count);
491 static void free_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count);
1835 struct slgt_desc *bufs = info->rbufs; in rx_async()
3358 info->rbufs = (struct slgt_desc*)info->bufs; in alloc_desc()
3359 info->tbufs = ((struct slgt_desc*)info->bufs) + info->rbuf_count; in alloc_desc()
3369 info->rbufs[i].pdesc = pbufs + (i * sizeof(struct slgt_desc)); in alloc_desc()
3375 info->rbufs[i].next = cpu_to_le32(pbufs + ((i+1) * sizeof(struct slgt_desc))); in alloc_desc()
3381 info->tbufs[i].pdesc = pbufs + ((info->rbuf_count + i) * sizeof(struct slgt_desc)); in alloc_desc()
3385 info->tbufs[i].next = cpu_to_le32(pbufs + info->rbuf_count * sizeof(struct slgt_desc)); in alloc_desc()
3387 …info->tbufs[i].next = cpu_to_le32(pbufs + ((info->rbuf_count + i + 1) * sizeof(struct slgt_desc))); in alloc_desc()
3403 static int alloc_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) in alloc_bufs()
3414 static void free_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) in free_bufs()
4873 struct slgt_desc *d; in tx_load()