Lines Matching defs:hw_cons
6513 /* hw_cons */
6518 u16 hw_cons;
6521 hw_cons = sc->status_block->status_rx_quick_consumer_index0;
6522 if ((hw_cons & USABLE_RX_BD_PER_PAGE) == USABLE_RX_BD_PER_PAGE)
6523 hw_cons++;
6525 return hw_cons;
6853 /* Refresh hw_cons to see if there's new work */
6891 /* hw_cons */
6896 u16 hw_cons;
6899 hw_cons = sc->status_block->status_tx_quick_consumer_index0;
6900 if ((hw_cons & USABLE_TX_BD_PER_PAGE) == USABLE_TX_BD_PER_PAGE)
6901 hw_cons++;
6903 return hw_cons;
6997 /* Refresh hw_cons to see if there's new work. */