Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/qualcomm/emac/
Demac-mac.c1098 u32 proc_idx, hw_consume_idx, num_consume_pkts; in emac_mac_rx_process() local
1108 hw_consume_idx = (reg & rx_q->consume_mask) >> rx_q->consume_shift; in emac_mac_rx_process()
1109 num_consume_pkts = (hw_consume_idx >= rx_q->rrd.consume_idx) ? in emac_mac_rx_process()
1110 (hw_consume_idx - rx_q->rrd.consume_idx) : in emac_mac_rx_process()
1111 (hw_consume_idx + rx_q->rrd.count - rx_q->rrd.consume_idx); in emac_mac_rx_process()
1190 u32 hw_consume_idx, pkts_compl = 0, bytes_compl = 0; in emac_mac_tx_process() local
1193 hw_consume_idx = (reg & tx_q->consume_mask) >> tx_q->consume_shift; in emac_mac_tx_process()
1195 while (tx_q->tpd.consume_idx != hw_consume_idx) { in emac_mac_tx_process()