Searched refs:buffer_loc (Results 1 – 2 of 2) sorted by relevance
403 static struct buffer_location buffer_loc; variable1002 addr = buffer_loc.rx_buffers + (i * RX_BUFFER_SIZE); in mvneta_rxq_fill()1258 pp->txqs[0].descs = buffer_loc.tx_descs; in mvneta_init2()1275 pp->rxqs[0].descs = buffer_loc.rx_descs; in mvneta_init2()1700 if (!buffer_loc.tx_descs) { in mvneta_probe()1708 buffer_loc.tx_descs = (struct mvneta_tx_desc *)bd_space; in mvneta_probe()1711 memset(buffer_loc.tx_descs, 0, size); in mvneta_probe()1712 buffer_loc.rx_descs = (struct mvneta_rx_desc *) in mvneta_probe()1716 buffer_loc.rx_buffers = (phys_addr_t)(bd_space + size); in mvneta_probe()
1287 static struct buffer_location buffer_loc; variable2585 bm_pool->virt_addr = buffer_loc.bm_pool[bm_pool->id]; in mvpp2_bm_pool_create()2586 bm_pool->dma_addr = (dma_addr_t)buffer_loc.bm_pool[bm_pool->id]; in mvpp2_bm_pool_create()2805 (dma_addr_t)buffer_loc.rx_buffer[i], in mvpp2_bm_bufs_add()2806 (unsigned long)buffer_loc.rx_buffer[i]); in mvpp2_bm_bufs_add()4067 aggr_txq->descs = buffer_loc.aggr_tx_descs; in mvpp2_aggr_txq_init()4068 aggr_txq->descs_dma = (dma_addr_t)buffer_loc.aggr_tx_descs; in mvpp2_aggr_txq_init()4107 rxq->descs = buffer_loc.rx_descs; in mvpp2_rxq_init()4108 rxq->descs_dma = (dma_addr_t)buffer_loc.rx_descs; in mvpp2_rxq_init()4191 txq->descs = buffer_loc.tx_descs; in mvpp2_txq_init()[all …]