Lines Matching refs:val16
641 u16 val16; in rtl8192eu_init_phy_bb() local
643 val16 = rtl8xxxu_read16(priv, REG_SYS_FUNC); in rtl8192eu_init_phy_bb()
644 val16 |= SYS_FUNC_BB_GLB_RSTN | SYS_FUNC_BBRSTB | SYS_FUNC_DIO_RF; in rtl8192eu_init_phy_bb()
645 rtl8xxxu_write16(priv, REG_SYS_FUNC, val16); in rtl8192eu_init_phy_bb()
651 val16 = rtl8xxxu_read16(priv, REG_SYS_FUNC); in rtl8192eu_init_phy_bb()
652 val16 |= (SYS_FUNC_USBA | SYS_FUNC_USBD | SYS_FUNC_DIO_RF | in rtl8192eu_init_phy_bb()
654 rtl8xxxu_write16(priv, REG_SYS_FUNC, val16); in rtl8192eu_init_phy_bb()
1398 u16 val16; in rtl8192eu_active_to_lps() local
1436 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_active_to_lps()
1437 val16 &= 0xff00; in rtl8192eu_active_to_lps()
1438 val16 |= (CR_HCI_TXDMA_ENABLE | CR_HCI_RXDMA_ENABLE); in rtl8192eu_active_to_lps()
1439 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_active_to_lps()
1441 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_active_to_lps()
1442 val16 &= ~CR_SECURITY_ENABLE; in rtl8192eu_active_to_lps()
1443 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_active_to_lps()
1506 u16 val16; in rtl8192eu_power_on() local
1542 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_power_on()
1543 val16 |= (CR_HCI_TXDMA_ENABLE | CR_HCI_RXDMA_ENABLE | in rtl8192eu_power_on()
1548 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_power_on()
1557 u16 val16; in rtl8192eu_power_off() local
1575 val16 = rtl8xxxu_read16(priv, REG_SYS_FUNC); in rtl8192eu_power_off()
1576 val16 &= ~SYS_FUNC_CPU_ENABLE; in rtl8192eu_power_off()
1577 rtl8xxxu_write16(priv, REG_SYS_FUNC, val16); in rtl8192eu_power_off()