Lines Matching refs:val8

600 	u8 val8;  in rtl8188eu_init_phy_bb()  local
610 val8 = RF_ENABLE | RF_RSTB | RF_SDMRSTB; in rtl8188eu_init_phy_bb()
611 rtl8xxxu_write8(priv, REG_RF_CTRL, val8); in rtl8188eu_init_phy_bb()
613 val8 = SYS_FUNC_USBA | SYS_FUNC_USBD | in rtl8188eu_init_phy_bb()
615 rtl8xxxu_write8(priv, REG_SYS_FUNC, val8); in rtl8188eu_init_phy_bb()
1020 u8 val8; in rtl8188e_emu_to_active() local
1040 val8 = rtl8xxxu_read8(priv, REG_SYS_FUNC); in rtl8188e_emu_to_active()
1041 val8 &= ~(SYS_FUNC_BBRSTB | SYS_FUNC_BB_GLB_RSTN); in rtl8188e_emu_to_active()
1042 rtl8xxxu_write8(priv, REG_SYS_FUNC, val8); in rtl8188e_emu_to_active()
1079 val8 = rtl8xxxu_read8(priv, REG_LPLDO_CTRL); in rtl8188e_emu_to_active()
1080 val8 &= ~BIT(4); in rtl8188e_emu_to_active()
1081 rtl8xxxu_write8(priv, REG_LPLDO_CTRL, val8); in rtl8188e_emu_to_active()
1089 u8 val8; in rtl8188eu_active_to_emu() local
1092 val8 = rtl8xxxu_read8(priv, REG_RF_CTRL); in rtl8188eu_active_to_emu()
1093 val8 &= ~RF_ENABLE; in rtl8188eu_active_to_emu()
1094 rtl8xxxu_write8(priv, REG_RF_CTRL, val8); in rtl8188eu_active_to_emu()
1097 val8 = rtl8xxxu_read8(priv, REG_LPLDO_CTRL); in rtl8188eu_active_to_emu()
1098 val8 |= BIT(4); in rtl8188eu_active_to_emu()
1099 rtl8xxxu_write8(priv, REG_LPLDO_CTRL, val8); in rtl8188eu_active_to_emu()
1108 u8 val8; in rtl8188eu_emu_to_disabled() local
1121 val8 = rtl8xxxu_read8(priv, REG_GPIO_MUXCFG + 1); in rtl8188eu_emu_to_disabled()
1122 val8 &= ~BIT(4); in rtl8188eu_emu_to_disabled()
1123 rtl8xxxu_write8(priv, REG_GPIO_MUXCFG + 1, val8); in rtl8188eu_emu_to_disabled()
1126 val8 = rtl8xxxu_read8(priv, 0xfe10); in rtl8188eu_emu_to_disabled()
1127 val8 |= BIT(4); in rtl8188eu_emu_to_disabled()
1128 rtl8xxxu_write8(priv, 0xfe10, val8); in rtl8188eu_emu_to_disabled()
1136 u8 val8; in rtl8188eu_active_to_lps() local
1161 val8 = rtl8xxxu_read8(priv, REG_SYS_FUNC); in rtl8188eu_active_to_lps()
1162 val8 &= ~SYS_FUNC_BBRSTB; in rtl8188eu_active_to_lps()
1163 rtl8xxxu_write8(priv, REG_SYS_FUNC, val8); in rtl8188eu_active_to_lps()
1173 val8 = rtl8xxxu_read8(priv, REG_DUAL_TSF_RST); in rtl8188eu_active_to_lps()
1174 val8 |= DUAL_TSF_TX_OK; in rtl8188eu_active_to_lps()
1175 rtl8xxxu_write8(priv, REG_DUAL_TSF_RST, val8); in rtl8188eu_active_to_lps()
1213 u8 val8; in rtl8188eu_power_off() local
1218 val8 = rtl8xxxu_read8(priv, REG_TX_REPORT_CTRL); in rtl8188eu_power_off()
1219 val8 &= ~TX_REPORT_CTRL_TIMER_ENABLE; in rtl8188eu_power_off()
1220 rtl8xxxu_write8(priv, REG_TX_REPORT_CTRL, val8); in rtl8188eu_power_off()
1240 val8 = rtl8xxxu_read8(priv, REG_32K_CTRL); in rtl8188eu_power_off()
1241 val8 &= ~BIT(0); in rtl8188eu_power_off()
1242 rtl8xxxu_write8(priv, REG_32K_CTRL, val8); in rtl8188eu_power_off()
1248 val8 = rtl8xxxu_read8(priv, REG_RSV_CTRL + 1); in rtl8188eu_power_off()
1249 val8 &= ~BIT(3); in rtl8188eu_power_off()
1250 rtl8xxxu_write8(priv, REG_RSV_CTRL + 1, val8); in rtl8188eu_power_off()
1252 val8 = rtl8xxxu_read8(priv, REG_RSV_CTRL + 1); in rtl8188eu_power_off()
1253 val8 |= BIT(3); in rtl8188eu_power_off()
1254 rtl8xxxu_write8(priv, REG_RSV_CTRL + 1, val8); in rtl8188eu_power_off()
1257 val8 = rtl8xxxu_read8(priv, REG_GPIO_PIN_CTRL); in rtl8188eu_power_off()
1259 rtl8xxxu_write8(priv, REG_GPIO_PIN_CTRL + 1, val8); in rtl8188eu_power_off()
1262 val8 = rtl8xxxu_read8(priv, REG_GPIO_IO_SEL); in rtl8188eu_power_off()
1263 rtl8xxxu_write8(priv, REG_GPIO_IO_SEL, val8 << 4); in rtl8188eu_power_off()
1264 val8 = rtl8xxxu_read8(priv, REG_GPIO_IO_SEL + 1); in rtl8188eu_power_off()
1265 rtl8xxxu_write8(priv, REG_GPIO_IO_SEL + 1, val8 | 0x0f); in rtl8188eu_power_off()