Lines Matching defs:hw
491 * Get the hw conf, including MAC address, then init all rings.
1825 uint32_t hw;
1834 hw = LE_32(sc->sc_shared->next);
1836 while (sc->sc_rxq.cur != hw) {
1840 WPI_DBG((WPI_DEBUG_INTR, "rx notification hw = %d cur = %d "
1842 hw, sc->sc_rxq.cur, desc->qid, desc->idx, desc->flags,
1887 * is considered as a hw error, the
1933 hw = (hw == 0) ? WPI_RX_RING_COUNT - 1 : hw - 1;
1934 WPI_WRITE(sc, WPI_RX_WIDX, hw & (~7));
2459 * The hw init err(eg. RF is OFF). Return Success to make
2567 "try to recover fatal hw error: %d\n", times++));
3217 uint32_t hw;
3220 hw = WPI_READ(sc, WPI_HWCONFIG);
3223 hw |= WPI_HW_ALM_MB;
3225 hw |= WPI_HW_ALM_MM;
3229 hw |= WPI_HW_SKU_MRC;
3232 hw &= ~WPI_HW_REV_D;
3234 hw |= WPI_HW_REV_D;
3238 hw |= WPI_HW_TYPE_B;
3240 WPI_DBG((WPI_DEBUG_HW, "setting h/w config %x\n", hw));
3241 WPI_WRITE(sc, WPI_HWCONFIG, hw);