Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_main.c357 u32 pkts_pend = oq->pkts_pending; in octep_enable_ioq_irq() local
365 if (oq->last_pkt_count - pkts_pend) { in octep_enable_ioq_irq()
366 writel(oq->last_pkt_count - pkts_pend, oq->pkts_sent_reg); in octep_enable_ioq_irq()
367 oq->last_pkt_count = pkts_pend; in octep_enable_ioq_irq()
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_device.c1454 u32 pkts_pend; in lio_enable_irq() local
1459 pkts_pend = (u32)atomic_read(&droq->pkts_pending); in lio_enable_irq()
1460 writel(droq->pkt_count - pkts_pend, droq->pkts_sent_reg); in lio_enable_irq()
1461 droq->pkt_count = pkts_pend; in lio_enable_irq()