Home
last modified time | relevance | path

Searched refs:txq_pcpu (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c289 static void mvpp2_txq_inc_get(struct mvpp2_txq_pcpu *txq_pcpu) in mvpp2_txq_inc_get() argument
291 txq_pcpu->txq_get_index++; in mvpp2_txq_inc_get()
292 if (txq_pcpu->txq_get_index == txq_pcpu->size) in mvpp2_txq_inc_get()
293 txq_pcpu->txq_get_index = 0; in mvpp2_txq_inc_get()
297 struct mvpp2_txq_pcpu *txq_pcpu, in mvpp2_txq_inc_put() argument
303 txq_pcpu->buffs + txq_pcpu->txq_put_index; in mvpp2_txq_inc_put()
312 txq_pcpu->txq_put_index++; in mvpp2_txq_inc_put()
313 if (txq_pcpu->txq_put_index == txq_pcpu->size) in mvpp2_txq_inc_put()
314 txq_pcpu->txq_put_index = 0; in mvpp2_txq_inc_put()
2177 struct mvpp2_txq_pcpu *txq_pcpu, in mvpp2_txq_reserved_desc_num_proc() argument
[all …]
H A Dmvpp2.h1423 #define IS_TSO_HEADER(txq_pcpu, addr) \ argument
1424 ((addr) >= (txq_pcpu)->tso_headers_dma && \
1425 (addr) < (txq_pcpu)->tso_headers_dma + \
1426 (txq_pcpu)->size * TSO_HEADER_SIZE)
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dmvpp2.c1397 static void mvpp2_txq_inc_get(struct mvpp2_txq_pcpu *txq_pcpu) in mvpp2_txq_inc_get() argument
1399 txq_pcpu->txq_get_index++; in mvpp2_txq_inc_get()
1400 if (txq_pcpu->txq_get_index == txq_pcpu->size) in mvpp2_txq_inc_get()
1401 txq_pcpu->txq_get_index = 0; in mvpp2_txq_inc_get()
4032 struct mvpp2_txq_pcpu *txq_pcpu, int num) in mvpp2_txq_bufs_free() argument
4037 mvpp2_txq_inc_get(txq_pcpu); in mvpp2_txq_bufs_free()
4186 struct mvpp2_txq_pcpu *txq_pcpu; in mvpp2_txq_init() local
4242 txq_pcpu = per_cpu_ptr(txq->pcpu, cpu); in mvpp2_txq_init()
4243 txq_pcpu->size = txq->size; in mvpp2_txq_init()
4270 struct mvpp2_txq_pcpu *txq_pcpu; in mvpp2_txq_clean() local
[all …]