Lines Matching refs:val16
701 u16 val16; in rtl8710bu_config_channel() local
723 val16 = rtl8xxxu_read16(priv, REG_WMAC_TRXPTCL_CTL); in rtl8710bu_config_channel()
724 val16 &= ~WMAC_TRXPTCL_CTL_BW_MASK; in rtl8710bu_config_channel()
726 val16 |= WMAC_TRXPTCL_CTL_BW_40; in rtl8710bu_config_channel()
727 rtl8xxxu_write16(priv, REG_WMAC_TRXPTCL_CTL, val16); in rtl8710bu_config_channel()
1571 u16 val16; in rtl8710bu_active_to_lps() local
1611 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8710bu_active_to_lps()
1612 val16 &= 0xff00; in rtl8710bu_active_to_lps()
1613 val16 |= CR_HCI_RXDMA_ENABLE | CR_HCI_TXDMA_ENABLE; in rtl8710bu_active_to_lps()
1614 val16 &= ~CR_SECURITY_ENABLE; in rtl8710bu_active_to_lps()
1615 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8710bu_active_to_lps()
1628 u16 val16; in rtl8710bu_power_on() local
1658 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8710bu_power_on()
1660 val16 |= CR_HCI_TXDMA_ENABLE | CR_HCI_RXDMA_ENABLE | in rtl8710bu_power_on()
1664 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8710bu_power_on()
1765 u16 val16; in rtl8710b_usb_quirks() local
1769 val16 = rtl8xxxu_read16(priv, REG_CR); in rtl8710b_usb_quirks()
1770 val16 |= (CR_MAC_TX_ENABLE | CR_MAC_RX_ENABLE); in rtl8710b_usb_quirks()
1771 rtl8xxxu_write16(priv, REG_CR, val16); in rtl8710b_usb_quirks()