Lines Matching +full:enable +full:- +full:mask

1 /*-
78 /* Enable WL suspend. */ in r21a_power_on()
82 /* Enable LDOA12 MACRO block for all interfaces. */ in r21a_power_on()
108 device_printf(sc->sc_dev, in r21a_power_on()
144 /* Enable falling edge triggering interrupt. */ in r21a_power_on()
147 /* Enable GPIO9 interrupt mode. */ in r21a_power_on()
150 /* Enable GPIO9 input mode. */ in r21a_power_on()
153 /* Enable HSISR GPIO interrupt. */ in r21a_power_on()
156 /* Enable HSISR GPIO9 interrupt. */ in r21a_power_on()
164 /* Enable MAC DMA/WMAC/SCHEDULE/SEC blocks. */ 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()
243 /* Enable rising edge triggering interrupt. */ in r21a_power_off()
262 device_printf(sc->sc_dev, "%s: could not turn off MAC\n", in r21a_power_off()
273 /* Enable WL suspend. */ in r21a_power_off()
277 /* Enable GPIO9 as EXT WAKEUP. */ 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()