Home
last modified time | relevance | path

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

/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c47 u16 value16; in _InitPowerOn_8723BS() local
69 value16 = rtw_read16(padapter, REG_APS_FSMCO); in _InitPowerOn_8723BS()
70 value16 |= EnPDN; /* Enable HW power down and RF on */ in _InitPowerOn_8723BS()
71 rtw_write16(padapter, REG_APS_FSMCO, value16); in _InitPowerOn_8723BS()
79 value16 = rtw_read16(padapter, REG_CR); in _InitPowerOn_8723BS()
80 value16 |= ( in _InitPowerOn_8723BS()
90 rtw_write16(padapter, REG_CR, value16); in _InitPowerOn_8723BS()
98 value16 = rtw_read16(padapter, REG_PWR_DATA); in _InitPowerOn_8723BS()
100 value16 |= BIT(11); /* BIT_EEPRPAD_RFE_CTRL_EN */ in _InitPowerOn_8723BS()
101 rtw_write16(padapter, REG_PWR_DATA, value16); in _InitPowerOn_8723BS()
[all …]
/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.c419 u16 value16; in rtl92c_init_adaptive_ctrl() local
429 value16 = _SPEC_SIFS_CCK(0x10) | _SPEC_SIFS_OFDM(0x10); in rtl92c_init_adaptive_ctrl()
430 rtl_write_word(rtlpriv, REG_SPEC_SIFS, value16); in rtl92c_init_adaptive_ctrl()
432 value16 = _LRL(0x30) | _SRL(0x30); in rtl92c_init_adaptive_ctrl()
433 rtl_write_dword(rtlpriv, REG_RL, value16); in rtl92c_init_adaptive_ctrl()
484 u16 value16; in rtl92c_init_edca() local
488 value16 = rtl_read_word(rtlpriv, REG_RD_CTRL); in rtl92c_init_edca()
489 value16 |= DIS_EDCA_CNT_DWN; in rtl92c_init_edca()
490 rtl_write_word(rtlpriv, REG_RD_CTRL, value16); in rtl92c_init_edca()
/drivers/staging/r8188eu/hal/
Dusb_halinit.c90 u16 value16; in rtl8188eu_InitPowerOn() local
106 value16 = rtw_read16(adapt, REG_CR); in rtl8188eu_InitPowerOn()
107 value16 |= (HCI_TXDMA_EN | HCI_RXDMA_EN | TXDMA_EN | RXDMA_EN in rtl8188eu_InitPowerOn()
111 rtw_write16(adapt, REG_CR, value16); in rtl8188eu_InitPowerOn()
207 u16 value16 = (rtw_read16(Adapter, REG_TRXDMA_CTRL) & 0x7); in _InitNormalChipRegPriority() local
209 value16 |= _TXDMA_BEQ_MAP(beQ) | _TXDMA_BKQ_MAP(bkQ) | in _InitNormalChipRegPriority()
213 rtw_write16(Adapter, REG_TRXDMA_CTRL, value16); in _InitNormalChipRegPriority()
367 u16 value16; in _InitAdaptiveCtrl() local
379 value16 = _SPEC_SIFS_CCK(0x10) | _SPEC_SIFS_OFDM(0x10); in _InitAdaptiveCtrl()
380 rtw_write16(Adapter, REG_SPEC_SIFS, value16); in _InitAdaptiveCtrl()
[all …]
/drivers/media/dvb-frontends/
Das102_fe_types.h167 uint16_t value16; /* 16 bit value */ member
/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()
/drivers/net/wireless/realtek/rtw88/
Drtw8822c.c1988 u16 value16; in rtw8822c_mac_init() local
2088 value16 = rtw_read16(rtwdev, REG_RXPSF_CTRL + 2) & 0xF00F; in rtw8822c_mac_init()
2089 value16 |= (BIT_RXGCK_VHT_FIFOTHR(1) | BIT_RXGCK_HT_FIFOTHR(1) | in rtw8822c_mac_init()
2091 rtw_write16(rtwdev, REG_RXPSF_CTRL + 2, value16); in rtw8822c_mac_init()
2092 value16 = 0; in rtw8822c_mac_init()
2093 value16 = BIT_SET_RXPSF_PKTLENTHR(value16, 1); in rtw8822c_mac_init()
2094 value16 |= BIT_RXPSF_CTRLEN | BIT_RXPSF_VHTCHKEN | BIT_RXPSF_HTCHKEN in rtw8822c_mac_init()
2097 rtw_write16(rtwdev, REG_RXPSF_CTRL, value16); in rtw8822c_mac_init()
2100 value16 = rtw_read16(rtwdev, REG_RXPSF_CTRL); in rtw8822c_mac_init()
2101 value16 &= ~(BIT_RXPSF_MHCHKEN | BIT_RXPSF_CCKRST | in rtw8822c_mac_init()
[all …]
/drivers/net/ethernet/sfc/
Dbitfield.h291 field16, value16, \ argument
310 EFX_INSERT_FIELD_NATIVE((min), (max), field16, (value16)) | \
/drivers/scsi/mpi3mr/mpi/
Dmpi30_ioc.h1001 __le16 value16[4]; member
/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()
/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()