Home
last modified time | relevance | path

Searched refs:value16 (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c106 u16 value16; in _InitPowerOn_8723BS() local
148 value16 = rtw_read16(padapter, REG_APS_FSMCO); in _InitPowerOn_8723BS()
149 value16 |= EnPDN; /* Enable HW power down and RF on */ in _InitPowerOn_8723BS()
150 rtw_write16(padapter, REG_APS_FSMCO, value16); in _InitPowerOn_8723BS()
158 value16 = rtw_read16(padapter, REG_CR); in _InitPowerOn_8723BS()
159 value16 |= ( in _InitPowerOn_8723BS()
169 rtw_write16(padapter, REG_CR, value16); in _InitPowerOn_8723BS()
177 value16 = rtw_read16(padapter, REG_PWR_DATA); in _InitPowerOn_8723BS()
179 value16 |= BIT(11); /* BIT_EEPRPAD_RFE_CTRL_EN */ in _InitPowerOn_8723BS()
180 rtw_write16(padapter, REG_PWR_DATA, value16); in _InitPowerOn_8723BS()
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c420 u16 value16; in _rtl92cu_init_power_on() local
456 value16 = rtl_read_word(rtlpriv, REG_APS_FSMCO); in _rtl92cu_init_power_on()
457 value16 |= APFM_ONMAC; in _rtl92cu_init_power_on()
458 rtl_write_word(rtlpriv, REG_APS_FSMCO, value16); in _rtl92cu_init_power_on()
472 value16 = rtl_read_word(rtlpriv, REG_SYS_ISO_CTRL); in _rtl92cu_init_power_on()
473 value16 &= ~ISO_DIOR; in _rtl92cu_init_power_on()
474 rtl_write_word(rtlpriv, REG_SYS_ISO_CTRL, value16); in _rtl92cu_init_power_on()
484 value16 = rtl_read_word(rtlpriv, REG_CR); in _rtl92cu_init_power_on()
485 value16 |= (HCI_TXDMA_EN | HCI_RXDMA_EN | TXDMA_EN | RXDMA_EN | in _rtl92cu_init_power_on()
487 rtl_write_word(rtlpriv, REG_CR, value16); in _rtl92cu_init_power_on()
[all …]
Dmac.c420 u16 value16; in rtl92c_init_adaptive_ctrl() local
430 value16 = _SPEC_SIFS_CCK(0x10) | _SPEC_SIFS_OFDM(0x10); in rtl92c_init_adaptive_ctrl()
431 rtl_write_word(rtlpriv, REG_SPEC_SIFS, value16); in rtl92c_init_adaptive_ctrl()
433 value16 = _LRL(0x30) | _SRL(0x30); in rtl92c_init_adaptive_ctrl()
434 rtl_write_dword(rtlpriv, REG_RL, value16); in rtl92c_init_adaptive_ctrl()
485 u16 value16; in rtl92c_init_edca() local
489 value16 = rtl_read_word(rtlpriv, REG_RD_CTRL); in rtl92c_init_edca()
490 value16 |= DIS_EDCA_CNT_DWN; in rtl92c_init_edca()
491 rtl_write_word(rtlpriv, REG_RD_CTRL, value16); in rtl92c_init_edca()
/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Dusb_halinit.c87 u16 value16; in rtw_hal_power_on() local
103 value16 = usb_read16(adapt, REG_CR); in rtw_hal_power_on()
104 value16 |= (HCI_TXDMA_EN | HCI_RXDMA_EN | TXDMA_EN | RXDMA_EN in rtw_hal_power_on()
108 usb_write16(adapt, REG_CR, value16); in rtw_hal_power_on()
202 u16 value16 = (usb_read16(Adapter, REG_TRXDMA_CTRL) & 0x7); in _InitNormalChipRegPriority() local
204 value16 |= _TXDMA_BEQ_MAP(beQ) | _TXDMA_BKQ_MAP(bkQ) | in _InitNormalChipRegPriority()
208 usb_write16(Adapter, REG_TRXDMA_CTRL, value16); in _InitNormalChipRegPriority()
359 u16 value16; in _InitAdaptiveCtrl() local
371 value16 = _SPEC_SIFS_CCK(0x10) | _SPEC_SIFS_OFDM(0x10); in _InitAdaptiveCtrl()
372 usb_write16(Adapter, REG_SPEC_SIFS, value16); in _InitAdaptiveCtrl()
[all …]
/Linux-v5.10/drivers/media/dvb-frontends/
Das102_fe_types.h167 uint16_t value16; /* 16 bit value */ member
/Linux-v5.10/drivers/power/supply/
Dcw2015_battery.c335 u16 value16; in cw_get_time_to_empty() local
337 ret = cw_read_word(cw_bat, CW2015_REG_RRT_ALERT, &value16); in cw_get_time_to_empty()
341 return value16 & CW2015_MASK_SOC; in cw_get_time_to_empty()
/Linux-v5.10/drivers/net/wireless/realtek/rtw88/
Drtw8822c.c1273 u16 value16; in rtw8822c_mac_init() local
1373 value16 = rtw_read16(rtwdev, REG_RXPSF_CTRL + 2) & 0xF00F; in rtw8822c_mac_init()
1374 value16 |= (BIT_RXGCK_VHT_FIFOTHR(1) | BIT_RXGCK_HT_FIFOTHR(1) | in rtw8822c_mac_init()
1376 rtw_write16(rtwdev, REG_RXPSF_CTRL + 2, value16); in rtw8822c_mac_init()
1377 value16 = 0; in rtw8822c_mac_init()
1378 value16 = BIT_SET_RXPSF_PKTLENTHR(value16, 1); in rtw8822c_mac_init()
1379 value16 |= BIT_RXPSF_CTRLEN | BIT_RXPSF_VHTCHKEN | BIT_RXPSF_HTCHKEN in rtw8822c_mac_init()
1382 rtw_write16(rtwdev, REG_RXPSF_CTRL, value16); in rtw8822c_mac_init()
1385 value16 = rtw_read16(rtwdev, REG_RXPSF_CTRL); in rtw8822c_mac_init()
1386 value16 &= ~(BIT_RXPSF_MHCHKEN | BIT_RXPSF_CCKRST | in rtw8822c_mac_init()
[all …]
/Linux-v5.10/drivers/net/wireless/broadcom/b43legacy/
Dmain.c2153 u16 value16; in b43legacy_chip_init() local
2189 value16 = b43legacy_read16(dev, 0x005E); in b43legacy_chip_init()
2190 value16 |= 0x0004; in b43legacy_chip_init()
2191 b43legacy_write16(dev, 0x005E, value16); in b43legacy_chip_init()
/Linux-v5.10/drivers/net/wireless/broadcom/b43/
Dmain.c3243 u16 value16; in b43_chip_init() local
3284 value16 = b43_read16(dev, 0x005E); in b43_chip_init()
3285 value16 |= 0x0004; in b43_chip_init()
3286 b43_write16(dev, 0x005E, value16); in b43_chip_init()