Lines Matching +full:reset +full:- +full:mask
1 /*-
108 device_printf(sc->sc_dev, in r21a_power_on()
113 /* Release WLON reset. */ in r21a_power_on()
170 ((sc->sc_hwcrypto != RTWN_CRYPTO_SW) ? R92C_CR_ENSEC : 0) | in r21a_power_on()
183 struct r12a_softc *rs = sc->sc_priv; in r21a_power_off()
203 device_printf(sc->sc_dev, "%s: failed to block Tx queues\n", in r21a_power_off()
213 /* Reset whole BB. */ in r21a_power_off()
216 /* Reset MAC TRX. */ in r21a_power_off()
226 /* If firmware in ram code, do reset. */ in r21a_power_off()
232 /* Reset MCU. */ in r21a_power_off()
246 /* Release WLON reset. */ in r21a_power_off()
262 device_printf(sc->sc_dev, "%s: could not turn off MAC\n", in r21a_power_off()
280 rs->rs_flags &= ~(R12A_IQK_RUNNING | R12A_RADAR_ENABLED); in r21a_power_off()
286 struct r12a_softc *rs = sc->sc_priv; in r21a_check_condition()
287 uint8_t mask; in r21a_check_condition() local
292 __func__, cond[0], rs->ext_pa_5g, rs->ext_lna_5g); in r21a_check_condition()
297 mask = 0; in r21a_check_condition()
298 if (rs->ext_pa_5g) in r21a_check_condition()
299 mask |= R21A_COND_EXT_PA_5G; in r21a_check_condition()
300 if (rs->ext_lna_5g) in r21a_check_condition()
301 mask |= R21A_COND_EXT_LNA_5G; in r21a_check_condition()
302 if (rs->bt_coex) in r21a_check_condition()
303 mask |= R21A_COND_BT; in r21a_check_condition()
304 if (!rs->ext_pa_2g && !rs->ext_lna_2g && in r21a_check_condition()
305 !rs->ext_pa_5g && !rs->ext_lna_5g && !rs->bt_coex) in r21a_check_condition()
306 mask = R21A_COND_BOARD_DEF; in r21a_check_condition()
308 if (mask == 0) in r21a_check_condition()
312 if (cond[i] == mask) in r21a_check_condition()
321 struct r12a_softc *rs = sc->sc_priv; in r21a_crystalcap_write()
325 val = rs->crystalcap & 0x3f; in r21a_crystalcap_write()