Lines Matching refs:rbuf_count
301 unsigned int rbuf_count; member
537 for (i=0 ; i < info->rbuf_count ; i++) { in dump_rbufs()
1810 if (++end == info->rbuf_count) in rx_async()
2048 if (++i == info->rbuf_count) in isr_rxdata()
3271 info->tbufs = ((struct slgt_desc*)info->bufs) + info->rbuf_count; in alloc_desc()
3279 for (i=0; i < info->rbuf_count; i++) { in alloc_desc()
3284 if (i == info->rbuf_count - 1) in alloc_desc()
3293 info->tbufs[i].pdesc = pbufs + ((info->rbuf_count + i) * sizeof(struct slgt_desc)); in alloc_desc()
3297 info->tbufs[i].next = cpu_to_le32(pbufs + info->rbuf_count * sizeof(struct slgt_desc)); in alloc_desc()
3299 …info->tbufs[i].next = cpu_to_le32(pbufs + ((info->rbuf_count + i + 1) * sizeof(struct slgt_desc))); in alloc_desc()
3343 info->rbuf_count = 32; in alloc_dma_bufs()
3347 alloc_bufs(info, info->rbufs, info->rbuf_count) < 0 || in alloc_dma_bufs()
3360 free_bufs(info, info->rbufs, info->rbuf_count); in free_dma_bufs()
4497 if (++i == info->rbuf_count) in free_rbufs()
4508 free_rbufs(info, 0, info->rbuf_count - 1); in reset_rbufs()
4551 if (++end == info->rbuf_count) in rx_get_frame()
4627 if (++i == info->rbuf_count) in rx_get_frame()