Searched refs:buf_pool (Results 1 – 10 of 10) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/apm/xgene/ |
| H A 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 …]
|
| H A D | xgene_enet_main.h | 118 struct xgene_enet_desc_ring *buf_pool; member
|
| H A 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()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/iio/demo/ |
| H A D | rkiio_aiq_api_test.c | 31 rkiio_sensor_handle_buf_t* buf_pool; member 268 sensor_handle->buf_pool = in rkiio_aiq_sensor_handle_create() 270 memset(sensor_handle->buf_pool, 0, sizeof(rkiio_sensor_handle_buf_t) * buf_cnt); in rkiio_aiq_sensor_handle_create() 272 pthread_mutex_init(&(sensor_handle->buf_pool[i].buf_mutex), NULL); in rkiio_aiq_sensor_handle_create() 273 sensor_handle->buf_pool[i].is_valid = true; in rkiio_aiq_sensor_handle_create() 274 sensor_handle->buf_pool[i].buf = (void*)malloc( in rkiio_aiq_sensor_handle_create() 276 memset(sensor_handle->buf_pool[i].buf, 0, in rkiio_aiq_sensor_handle_create() 278 _rkiio_aiq_buf_id_set(sensor_handle->buf_pool[i].buf, sensor_handle->max_data_num, i); in rkiio_aiq_sensor_handle_create() 294 if (sensor_handle->buf_pool) { in rkiio_aiq_sensor_handle_destroy() 296 if (sensor_handle->buf_pool[i].buf) free(sensor_handle->buf_pool[i].buf); in rkiio_aiq_sensor_handle_destroy() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/cx18/ |
| H A 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()
|
| H A D | cx18-driver.h | 379 struct list_head buf_pool; /* buffers not attached to an MDL */ member
|
| H A D | cx18-streams.c | 258 INIT_LIST_HEAD(&s->buf_pool); in cx18_stream_init()
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | uli526x.c | 162 static char buf_pool[TX_BUF_ALLOC * TX_DESC_CNT + 4]; variable 282 db->buf_pool_ptr = (uchar *)&buf_pool[0]; in uli526x_init_one() 283 db->buf_pool_dma_ptr = (dma_addr_t)&buf_pool[0]; in uli526x_init_one()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac.h | 75 struct stmmac_rx_buffer *buf_pool; member
|
| H A D | stmmac_main.c | 1346 struct stmmac_rx_buffer *buf = &rx_q->buf_pool[i]; in stmmac_init_rx_buffers() 1385 struct stmmac_rx_buffer *buf = &rx_q->buf_pool[i]; in stmmac_free_rx_buffer() 1656 kfree(rx_q->buf_pool); in free_dma_rx_desc_resources() 1739 rx_q->buf_pool = kcalloc(priv->dma_rx_size, in alloc_dma_rx_desc_resources() 1740 sizeof(*rx_q->buf_pool), in alloc_dma_rx_desc_resources() 1742 if (!rx_q->buf_pool) in alloc_dma_rx_desc_resources() 3714 struct stmmac_rx_buffer *buf = &rx_q->buf_pool[entry]; in stmmac_rx_refill() 3874 buf = &rx_q->buf_pool[entry]; in stmmac_rx()
|