Lines Matching refs:slgt_desc
199 struct slgt_desc struct
335 struct slgt_desc *rbufs;
342 struct slgt_desc *tbufs;
493 static int alloc_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count);
494 static void free_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count);
1864 struct slgt_desc *bufs = info->rbufs; in rx_async()
3388 info->rbufs = (struct slgt_desc*)info->bufs; in alloc_desc()
3389 info->tbufs = ((struct slgt_desc*)info->bufs) + info->rbuf_count; in alloc_desc()
3399 info->rbufs[i].pdesc = pbufs + (i * sizeof(struct slgt_desc)); in alloc_desc()
3405 info->rbufs[i].next = cpu_to_le32(pbufs + ((i+1) * sizeof(struct slgt_desc))); in alloc_desc()
3411 info->tbufs[i].pdesc = pbufs + ((info->rbuf_count + i) * sizeof(struct slgt_desc)); in alloc_desc()
3415 info->tbufs[i].next = cpu_to_le32(pbufs + info->rbuf_count * sizeof(struct slgt_desc)); in alloc_desc()
3417 …info->tbufs[i].next = cpu_to_le32(pbufs + ((info->rbuf_count + i + 1) * sizeof(struct slgt_desc))); in alloc_desc()
3433 static int alloc_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) in alloc_bufs()
3444 static void free_bufs(struct slgt_info *info, struct slgt_desc *bufs, int count) in free_bufs()
4897 struct slgt_desc *d; in tx_load()