Home
last modified time | relevance | path

Searched refs:value8 (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.10/drivers/net/wireless/realtek/rtw88/
Dmac.c16 u8 value8; in rtw_set_channel_mac() local
53 value8 = rtw_read8(rtwdev, REG_CCK_CHECK); in rtw_set_channel_mac()
54 value8 = value8 & ~BIT_CHECK_CCK_EN; in rtw_set_channel_mac()
56 value8 |= BIT_CHECK_CCK_EN; in rtw_set_channel_mac()
57 rtw_write8(rtwdev, REG_CCK_CHECK, value8); in rtw_set_channel_mac()
64 u8 value8; in rtw_mac_pre_system_cfg() local
100 value8 = rtw_read8(rtwdev, REG_SYS_FUNC_EN); in rtw_mac_pre_system_cfg()
101 value8 &= ~(BIT_FEN_BB_RSTB | BIT_FEN_BB_GLB_RST); in rtw_mac_pre_system_cfg()
102 rtw_write8(rtwdev, REG_SYS_FUNC_EN, value8); in rtw_mac_pre_system_cfg()
104 value8 = rtw_read8(rtwdev, REG_RF_CTRL); in rtw_mac_pre_system_cfg()
[all …]
Drtw8822c.c1272 u8 value8; in rtw8822c_mac_init() local
1278 value8 = rtw_read8(rtwdev, REG_FWHW_TXQ_CTRL); in rtw8822c_mac_init()
1279 value8 |= (BIT(7) & ~BIT(1) & ~BIT(2)); in rtw8822c_mac_init()
1280 rtw_write8(rtwdev, REG_FWHW_TXQ_CTRL, value8); in rtw8822c_mac_init()
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c105 u8 value8; in _InitPowerOn_8723BS() local
115 value8 = rtw_read8(padapter, REG_PAD_CTRL1_8723B + 2); in _InitPowerOn_8723BS()
116 value8 |= BIT(7); in _InitPowerOn_8723BS()
117 rtw_write8(padapter, REG_PAD_CTRL1_8723B + 2, value8); in _InitPowerOn_8723BS()
123 value8 = rtw_read8(padapter, REG_MULTI_FUNC_CTRL + 1); in _InitPowerOn_8723BS()
124 value8 |= BIT(5); in _InitPowerOn_8723BS()
125 rtw_write8(padapter, REG_MULTI_FUNC_CTRL + 1, value8); in _InitPowerOn_8723BS()
140 value8 = rtw_read8(padapter, REG_GPIO_INTM + 1); in _InitPowerOn_8723BS()
141 value8 |= BIT(1); /* Enable falling edge triggering interrupt */ in _InitPowerOn_8723BS()
142 rtw_write8(padapter, REG_GPIO_INTM + 1, value8); in _InitPowerOn_8723BS()
[all …]
Drtl8723b_hal_init.c142 u8 value8; in _PageWrite() local
145 value8 = (rtw_read8(padapter, REG_MCUFWDL+2) & 0xF8) | u8Page; in _PageWrite()
146 rtw_write8(padapter, REG_MCUFWDL+2, value8); in _PageWrite()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c421 u8 value8; in _rtl92cu_init_power_on() local
442 value8 = rtl_read_byte(rtlpriv, REG_LDOV12D_CTRL); in _rtl92cu_init_power_on()
443 if (0 == (value8 & LDV12_EN)) { in _rtl92cu_init_power_on()
444 value8 |= LDV12_EN; in _rtl92cu_init_power_on()
445 rtl_write_byte(rtlpriv, REG_LDOV12D_CTRL, value8); in _rtl92cu_init_power_on()
448 value8); in _rtl92cu_init_power_on()
450 value8 = rtl_read_byte(rtlpriv, REG_SYS_ISO_CTRL); in _rtl92cu_init_power_on()
451 value8 &= ~ISO_MD2PP; in _rtl92cu_init_power_on()
452 rtl_write_byte(rtlpriv, REG_SYS_ISO_CTRL, value8); in _rtl92cu_init_power_on()
505 u8 value8; in _rtl92cu_init_queue_reserved_page() local
[all …]
Dmac.c543 u8 value8; in rtl92c_init_retry_function() local
546 value8 = rtl_read_byte(rtlpriv, REG_FWHW_TXQ_CTRL); in rtl92c_init_retry_function()
547 value8 |= EN_AMPDU_RTY_NEW; in rtl92c_init_retry_function()
548 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL, value8); in rtl92c_init_retry_function()
/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Dfw.c66 u8 value8; in _rtl88e_fw_page_write() local
69 value8 = (usb_read8(adapt, REG_MCUFWDL + 2) & 0xF8) | u8page; in _rtl88e_fw_page_write()
71 usb_write8(adapt, (REG_MCUFWDL + 2), value8); in _rtl88e_fw_page_write()
Dusb_halinit.c152 u8 value8; in _InitQueueReservedPage() local
165 value8 = (u8)_NPQ(numNQ); in _InitQueueReservedPage()
166 usb_write8(Adapter, REG_RQPN_NPQ, value8); in _InitQueueReservedPage()
329 u8 value8; in _InitTransferPageSize() local
331 value8 = _PSRX(PBP_128) | _PSTX(PBP_128); in _InitTransferPageSize()
332 usb_write8(Adapter, REG_PBP, value8); in _InitTransferPageSize()
413 u8 value8; in _InitRetryFunction() local
415 value8 = usb_read8(Adapter, REG_FWHW_TXQ_CTRL); in _InitRetryFunction()
416 value8 |= EN_AMPDU_RTY_NEW; in _InitRetryFunction()
417 usb_write8(Adapter, REG_FWHW_TXQ_CTRL, value8); in _InitRetryFunction()
[all …]
/Linux-v5.10/net/netfilter/
Dnft_meta.c430 u8 value8; in nft_meta_set_eval() local
440 value8 = nft_reg_load8(sreg); in nft_meta_set_eval()
442 if (skb->pkt_type != value8 && in nft_meta_set_eval()
443 skb_pkt_type_ok(value8) && in nft_meta_set_eval()
445 skb->pkt_type = value8; in nft_meta_set_eval()
448 value8 = nft_reg_load8(sreg); in nft_meta_set_eval()
450 skb->nf_trace = !!value8; in nft_meta_set_eval()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dphy.c1014 u8 value8; in rtl92d_phy_switch_wirelessband() local
1047 value8 = rtl_read_byte(rtlpriv, (rtlhal->interfaceindex == in rtl92d_phy_switch_wirelessband()
1049 value8 |= BIT(1); in rtl92d_phy_switch_wirelessband()
1051 0 ? REG_MAC0 : REG_MAC1), value8); in rtl92d_phy_switch_wirelessband()
1053 value8 = rtl_read_byte(rtlpriv, (rtlhal->interfaceindex == in rtl92d_phy_switch_wirelessband()
1055 value8 &= (~BIT(1)); in rtl92d_phy_switch_wirelessband()
1057 0 ? REG_MAC0 : REG_MAC1), value8); in rtl92d_phy_switch_wirelessband()
3265 u8 value8; in rtl92d_phy_set_poweron() local
3271 value8 = rtl_read_byte(rtlpriv, mac_reg); in rtl92d_phy_set_poweron()
3272 value8 |= BIT(1); in rtl92d_phy_set_poweron()
[all …]
Dhw.c515 u8 value8; /* normal page number */ in _rtl92de_llt_table_init() local
520 value8 = 0; in _rtl92de_llt_table_init()
525 value8 = 0; in _rtl92de_llt_table_init()
532 rtl_write_byte(rtlpriv, REG_RQPN_NPQ, value8); in _rtl92de_llt_table_init()
/Linux-v5.10/drivers/media/dvb-frontends/
Das102_fe_types.h166 uint8_t value8; /* 8 bit value */ member
/Linux-v5.10/sound/soc/codecs/
Dab8500-codec.c173 u8 value8; in ab8500_codec_read_reg() local
175 reg, &value8); in ab8500_codec_read_reg()
176 *value = (unsigned int)value8; in ab8500_codec_read_reg()
1947 u8 value8; in ab8500_audio_setup_mics() local
1957 &value8); in ab8500_audio_setup_mics()
1960 value = value8 | GPIO27_DIR_OUTPUT | GPIO29_DIR_OUTPUT | in ab8500_audio_setup_mics()
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/
Dbitfield.h283 field8, value8, \ argument
293 EF4_INSERT_FIELD_NATIVE((min), (max), field8, (value8)) | \
/Linux-v5.10/drivers/net/ethernet/sfc/
Dbitfield.h283 field8, value8, \ argument
296 EFX_INSERT_FIELD_NATIVE((min), (max), field8, (value8)) | \
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/
Defuse.c1305 u8 value8; in rtl_fw_page_write() local
1308 value8 = (rtl_read_byte(rtlpriv, REG_MCUFWDL + 2) & 0xF8) | u8page; in rtl_fw_page_write()
1310 rtl_write_byte(rtlpriv, (REG_MCUFWDL + 2), value8); in rtl_fw_page_write()