Lines Matching refs:rbuf_count
334 unsigned int rbuf_count; member
599 for (i=0 ; i < info->rbuf_count ; i++) { in dump_rbufs()
1914 if (++end == info->rbuf_count) in rx_async()
2154 if (++i == info->rbuf_count) in isr_rxdata()
3389 info->tbufs = ((struct slgt_desc*)info->bufs) + info->rbuf_count; in alloc_desc()
3397 for (i=0; i < info->rbuf_count; i++) { in alloc_desc()
3402 if (i == info->rbuf_count - 1) 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()
3457 info->rbuf_count = 32; in alloc_dma_bufs()
3461 alloc_bufs(info, info->rbufs, info->rbuf_count) < 0 || in alloc_dma_bufs()
3474 free_bufs(info, info->rbufs, info->rbuf_count); in free_dma_bufs()
4621 if (++i == info->rbuf_count) in free_rbufs()
4632 free_rbufs(info, 0, info->rbuf_count - 1); in reset_rbufs()
4675 if (++end == info->rbuf_count) in rx_get_frame()
4751 if (++i == info->rbuf_count) in rx_get_frame()