Lines Matching refs:val16
671 u16 val16; in rtl8192eu_init_phy_bb() local
673 val16 = rtl8xxxu_read16(priv, REG_SYS_FUNC); in rtl8192eu_init_phy_bb()
674 val16 |= SYS_FUNC_BB_GLB_RSTN | SYS_FUNC_BBRSTB | SYS_FUNC_DIO_RF; in rtl8192eu_init_phy_bb()
675 rtl8xxxu_write16(priv, REG_SYS_FUNC, val16); in rtl8192eu_init_phy_bb()
681 val16 = rtl8xxxu_read16(priv, REG_SYS_FUNC); in rtl8192eu_init_phy_bb()
682 val16 |= (SYS_FUNC_USBA | SYS_FUNC_USBD | SYS_FUNC_DIO_RF | in rtl8192eu_init_phy_bb()
684 rtl8xxxu_write16(priv, REG_SYS_FUNC, val16); in rtl8192eu_init_phy_bb()
1457 u16 val16; in rtl8192eu_active_to_lps() local
1495 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_active_to_lps()
1496 val16 &= 0xff00; in rtl8192eu_active_to_lps()
1497 val16 |= (CR_HCI_TXDMA_ENABLE | CR_HCI_RXDMA_ENABLE); in rtl8192eu_active_to_lps()
1498 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_active_to_lps()
1500 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_active_to_lps()
1501 val16 &= ~CR_SECURITY_ENABLE; in rtl8192eu_active_to_lps()
1502 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_active_to_lps()
1565 u16 val16; in rtl8192eu_power_on() local
1599 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8192eu_power_on()
1600 val16 |= (CR_HCI_TXDMA_ENABLE | CR_HCI_RXDMA_ENABLE | in rtl8192eu_power_on()
1605 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8192eu_power_on()
1614 u16 val16; in rtl8192eu_power_off() local
1632 val16 = rtl8xxxu_read16(priv, REG_SYS_FUNC); in rtl8192eu_power_off()
1633 val16 &= ~SYS_FUNC_CPU_ENABLE; in rtl8192eu_power_off()
1634 rtl8xxxu_write16(priv, REG_SYS_FUNC, val16); in rtl8192eu_power_off()