R92C_SYS_FUNC_EN
reg = rtwn_read_2(sc, R92C_SYS_FUNC_EN);
error = rtwn_write_2(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BBRSTB, 0);
rtwn_setbits_2(sc, R92C_SYS_FUNC_EN, 0,
rtwn_write_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_PPLL |
reg = rtwn_read_2(sc, R92C_SYS_FUNC_EN);
rtwn_write_2(sc, R92C_SYS_FUNC_EN, reg & ~R92C_SYS_FUNC_EN_CPUEN);
rtwn_write_2(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BBRSTB, 0);
rtwn_setbits_2(sc, R92C_SYS_FUNC_EN, 0,
rtwn_write_1(sc, R92C_SYS_FUNC_EN,
RTWN_CHK(rtwn_setbits_1(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, 0, R92C_SYS_FUNC_EN_BB_GLB_RST);
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BB_GLB_RST, 0);
rtwn_setbits_2(sc, R92C_SYS_FUNC_EN, 0,
rtwn_write_1(sc, R92C_SYS_FUNC_EN,
if ((rtwn_read_2(sc, R92C_SYS_FUNC_EN) &
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN, 0,
rtwn_write_1(sc, R92C_SYS_FUNC_EN,
rtwn_write_1(sc, R92C_SYS_FUNC_EN,
rtwn_write_1(sc, R92C_SYS_FUNC_EN + 1,
rtwn_setbits_2(sc, R92C_SYS_FUNC_EN, 0,
rtwn_write_1(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_2(sc, R92C_SYS_FUNC_EN, 0,
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BBRSTB, 0);
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BB_GLB_RST, 0);
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_2(sc, R92C_SYS_FUNC_EN, 0,
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, 0, R92C_SYS_FUNC_EN_USBA);
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, 0,
RTWN_CHK(rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BBRSTB, 0);
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BB_GLB_RST, 0);
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_CPUEN,
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BB_GLB_RST, 0);
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_CPUEN,
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN,
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BBRSTB, 0);
rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BB_GLB_RST, 0);
rtwn_setbits_1_shift(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_CPUEN,