Lines Matching refs:hw
863 int hw;
866 hw = RAL_READ(sc, RT2560_SECCSR1) - sc->txq.physaddr;
867 hw /= RT2560_TX_DESC_SIZE;
872 while (sc->txq.next_encrypt != hw) {
874 printf("hw encrypt %d, cur_encrypt %d\n", hw,
1099 int hw, error;
1103 hw = RAL_READ(sc, RT2560_SECCSR0) - sc->rxq.physaddr;
1104 hw /= RT2560_RX_DESC_SIZE;
1109 for (; sc->rxq.cur_decrypt != hw;) {