Searched refs:buf_pool (Results 1 – 5 of 5) sorted by relevance
34 static void xgene_enet_init_bufpool(struct xgene_enet_desc_ring *buf_pool) in xgene_enet_init_bufpool() argument39 for (i = 0; i < buf_pool->slots; i++) { in xgene_enet_init_bufpool()40 raw_desc = &buf_pool->raw_desc16[i]; in xgene_enet_init_bufpool()44 SET_VAL(FPQNUM, buf_pool->dst_ring_num) | in xgene_enet_init_bufpool()49 static int xgene_enet_refill_bufpool(struct xgene_enet_desc_ring *buf_pool, in xgene_enet_refill_bufpool() argument58 u32 tail = buf_pool->tail; in xgene_enet_refill_bufpool()59 u32 slots = buf_pool->slots - 1; in xgene_enet_refill_bufpool()63 ndev = buf_pool->ndev; in xgene_enet_refill_bufpool()64 dev = ndev_to_dev(buf_pool->ndev); in xgene_enet_refill_bufpool()70 raw_desc = &buf_pool->raw_desc16[tail]; in xgene_enet_refill_bufpool()[all …]
109 struct xgene_enet_desc_ring *buf_pool; member
263 list_move_tail(&buf->list, &s->buf_pool); in cx18_unload_queues()299 if (list_empty(&s->buf_pool)) in cx18_load_queues()302 buf = list_first_entry(&s->buf_pool, struct cx18_buffer, in cx18_load_queues()407 list_add_tail(&buf->list, &s->buf_pool); in cx18_stream_alloc()434 while (!list_empty(&s->buf_pool)) { in cx18_stream_free()435 buf = list_first_entry(&s->buf_pool, struct cx18_buffer, list); in cx18_stream_free()
393 struct list_head buf_pool; /* buffers not attached to an MDL */ member
272 INIT_LIST_HEAD(&s->buf_pool); in cx18_stream_init()