Searched refs:buf_pool (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 20 static void xgene_enet_init_bufpool(struct xgene_enet_desc_ring *buf_pool) in xgene_enet_init_bufpool() argument 25 if (!buf_pool) in xgene_enet_init_bufpool() 28 for (i = 0; i < buf_pool->slots; i++) { in xgene_enet_init_bufpool() 29 raw_desc = &buf_pool->raw_desc16[i]; in xgene_enet_init_bufpool() 33 SET_VAL(FPQNUM, buf_pool->dst_ring_num) | in xgene_enet_init_bufpool() 67 static int xgene_enet_refill_pagepool(struct xgene_enet_desc_ring *buf_pool, in xgene_enet_refill_pagepool() argument 80 if (unlikely(!buf_pool)) in xgene_enet_refill_pagepool() 83 ndev = buf_pool->ndev; in xgene_enet_refill_pagepool() 86 slots = buf_pool->slots - 1; in xgene_enet_refill_pagepool() 87 tail = buf_pool->tail; in xgene_enet_refill_pagepool() [all …]
|
D | xgene_enet_main.h | 118 struct xgene_enet_desc_ring *buf_pool; member
|
D | xgene_enet_cle.c | 705 pool_id = pdata->rx_ring[idx]->buf_pool->id; in xgene_cle_set_rss_idt() 783 pool_id = pdata->rx_ring[0]->buf_pool->id; in xgene_enet_cle_init()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
D | cx18-queue.c | 248 list_move_tail(&buf->list, &s->buf_pool); in cx18_unload_queues() 284 if (list_empty(&s->buf_pool)) in cx18_load_queues() 287 buf = list_first_entry(&s->buf_pool, struct cx18_buffer, in cx18_load_queues() 391 list_add_tail(&buf->list, &s->buf_pool); in cx18_stream_alloc() 418 while (!list_empty(&s->buf_pool)) { in cx18_stream_free() 419 buf = list_first_entry(&s->buf_pool, struct cx18_buffer, list); in cx18_stream_free()
|
D | cx18-driver.h | 379 struct list_head buf_pool; /* buffers not attached to an MDL */ member
|
D | cx18-streams.c | 258 INIT_LIST_HEAD(&s->buf_pool); in cx18_stream_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac.h | 75 struct stmmac_rx_buffer *buf_pool; member
|
D | stmmac_main.c | 1342 struct stmmac_rx_buffer *buf = &rx_q->buf_pool[i]; in stmmac_init_rx_buffers() 1377 struct stmmac_rx_buffer *buf = &rx_q->buf_pool[i]; in stmmac_free_rx_buffer() 1648 kfree(rx_q->buf_pool); in free_dma_rx_desc_resources() 1730 rx_q->buf_pool = kcalloc(priv->dma_rx_size, in alloc_dma_rx_desc_resources() 1731 sizeof(*rx_q->buf_pool), in alloc_dma_rx_desc_resources() 1733 if (!rx_q->buf_pool) in alloc_dma_rx_desc_resources() 3671 struct stmmac_rx_buffer *buf = &rx_q->buf_pool[entry]; in stmmac_rx_refill() 3841 buf = &rx_q->buf_pool[entry]; in stmmac_rx()
|