Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mediatek/
H A Dairoha_eth.c1656 struct airoha_tx_irq_queue *irq_q; in airoha_qdma_tx_napi_poll() local
1662 irq_q = container_of(napi, struct airoha_tx_irq_queue, napi); in airoha_qdma_tx_napi_poll()
1663 qdma = irq_q->qdma; in airoha_qdma_tx_napi_poll()
1664 id = irq_q - &qdma->q_tx_irq[0]; in airoha_qdma_tx_napi_poll()
1669 head = head % irq_q->size; in airoha_qdma_tx_napi_poll()
1673 u32 qid, val = irq_q->q[head]; in airoha_qdma_tx_napi_poll()
1683 irq_q->q[head] = 0xff; /* mark as done */ in airoha_qdma_tx_napi_poll()
1684 head = (head + 1) % irq_q->size; in airoha_qdma_tx_napi_poll()
1801 static int airoha_qdma_tx_irq_init(struct airoha_tx_irq_queue *irq_q, in airoha_qdma_tx_irq_init() argument
1804 int id = irq_q - &qdma->q_tx_irq[0]; in airoha_qdma_tx_irq_init()
[all …]