Home
last modified time | relevance | path

Searched refs:buf_pool (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c34 static void xgene_enet_init_bufpool(struct xgene_enet_desc_ring *buf_pool) in xgene_enet_init_bufpool() argument
39 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() argument
58 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 …]
Dxgene_enet_main.h109 struct xgene_enet_desc_ring *buf_pool; member
/drivers/media/pci/cx18/
Dcx18-queue.c263 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()
Dcx18-driver.h393 struct list_head buf_pool; /* buffers not attached to an MDL */ member
Dcx18-streams.c272 INIT_LIST_HEAD(&s->buf_pool); in cx18_stream_init()