Lines Matching defs:hw_cons
2661 uint16_t hw_cons;
2664 hw_cons = le16toh(*fp->tx_cons_sb);
2665 return (hw_cons != fp->tx_pkt_cons);
3504 uint16_t bd_cons, hw_cons, sw_cons, pkt_cons;
3510 hw_cons = le16toh(*fp->tx_cons_sb);
3513 while (sw_cons != hw_cons) {
3517 "TX: fp[%d]: hw_cons=%u sw_cons=%u pkt_cons=%u\n",
3518 fp->index, hw_cons, sw_cons, pkt_cons);
3529 "TX done: fp[%d]: hw_cons=%u sw_cons=%u sw_prod=%u\n",
3530 fp->index, hw_cons, fp->tx_pkt_cons, fp->tx_pkt_prod);
8509 uint16_t hw_cons, sw_cons, sw_prod;
8519 hw_cons = le16toh(*sc->eq_cons_sb);
8522 * The hw_cons range is 1-255, 257 - the sw_cons range is 0-254, 256.
8527 if ((hw_cons & EQ_DESC_MAX_PAGE) == EQ_DESC_MAX_PAGE) {
8528 hw_cons++;
8538 BLOGD(sc, DBG_SP,"EQ: hw_cons=%u sw_cons=%u eq_spq_left=0x%lx\n",
8539 hw_cons, sw_cons, atomic_load_acq_long(&sc->eq_spq_left));
8542 sw_cons != hw_cons;