Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-mac.c1090 u32 proc_idx, hw_consume_idx, num_consume_pkts; in emac_mac_rx_process() local
1100 hw_consume_idx = (reg & rx_q->consume_mask) >> rx_q->consume_shift; in emac_mac_rx_process()
1101 num_consume_pkts = (hw_consume_idx >= rx_q->rrd.consume_idx) ? in emac_mac_rx_process()
1102 (hw_consume_idx - rx_q->rrd.consume_idx) : in emac_mac_rx_process()
1103 (hw_consume_idx + rx_q->rrd.count - rx_q->rrd.consume_idx); in emac_mac_rx_process()
1182 u32 hw_consume_idx, pkts_compl = 0, bytes_compl = 0; in emac_mac_tx_process() local
1185 hw_consume_idx = (reg & tx_q->consume_mask) >> tx_q->consume_shift; in emac_mac_tx_process()
1187 while (tx_q->tpd.consume_idx != hw_consume_idx) { in emac_mac_tx_process()