Home
last modified time | relevance | path

Searched refs:rtl_write_byte (Results 1 – 25 of 56) sorted by relevance

123

/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c88 rtl_write_byte(rtlpriv, RRSR, rate_cfg & 0xff); in rtl92se_set_hw_reg()
89 rtl_write_byte(rtlpriv, RRSR + 1, in rtl92se_set_hw_reg()
96 rtl_write_byte(rtlpriv, INIRTSMCS_SEL, rate_index); in rtl92se_set_hw_reg()
107 rtl_write_byte(rtlpriv, SIFS_OFDM, val[0]); in rtl92se_set_hw_reg()
108 rtl_write_byte(rtlpriv, SIFS_OFDM + 1, val[1]); in rtl92se_set_hw_reg()
117 rtl_write_byte(rtlpriv, SLOT_TIME, val[0]); in rtl92se_set_hw_reg()
133 rtl_write_byte(rtlpriv, RRSR + 2, reg_tmp); in rtl92se_set_hw_reg()
163 rtl_write_byte(rtlpriv, AMPDU_MIN_SPACE, in rtl92se_set_hw_reg()
179 rtl_write_byte(rtlpriv, AMPDU_MIN_SPACE, in rtl92se_set_hw_reg()
209 rtl_write_byte(rtlpriv, in rtl92se_set_hw_reg()
[all …]
Dled.c39 rtl_write_byte(rtlpriv, LEDCFG, ledcfg & 0xf0); in rtl92se_sw_led_on()
42 rtl_write_byte(rtlpriv, LEDCFG, ledcfg & 0x0f); in rtl92se_sw_led_on()
71 rtl_write_byte(rtlpriv, LEDCFG, (ledcfg | BIT(1))); in rtl92se_sw_led_off()
73 rtl_write_byte(rtlpriv, LEDCFG, (ledcfg | BIT(3))); in rtl92se_sw_led_off()
77 rtl_write_byte(rtlpriv, LEDCFG, (ledcfg | BIT(3))); in rtl92se_sw_led_off()
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c26 rtl_write_byte(rtlpriv, REG_DBI_FLAG, BIT(1) | direct); in rtl92de_read_dword_dbi()
39 rtl_write_byte(rtlpriv, REG_DBI_FLAG, BIT(0) | direct); in rtl92de_write_dword_dbi()
50 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlpci->reg_bcn_ctrl_val); in _rtl92de_set_bcn_ctrl_reg()
59 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl92de_stop_tx_beacon()
60 rtl_write_byte(rtlpriv, REG_BCN_MAX_ERR, 0xff); in _rtl92de_stop_tx_beacon()
61 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0x64); in _rtl92de_stop_tx_beacon()
64 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl92de_stop_tx_beacon()
73 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl92de_resume_tx_beacon()
74 rtl_write_byte(rtlpriv, REG_BCN_MAX_ERR, 0x0a); in _rtl92de_resume_tx_beacon()
75 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0xff); in _rtl92de_resume_tx_beacon()
[all …]
Dfw.c26 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp | 0x04); in _rtl92d_enable_fw_download()
28 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); in _rtl92d_enable_fw_download()
30 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl92d_enable_fw_download()
33 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in _rtl92d_enable_fw_download()
97 rtl_write_byte(rtlpriv, REG_HMETFR + 3, 0x20); in rtl92d_firmware_selfreset()
223 rtl_write_byte(rtlpriv, 0x1f, value); in rtl92d_download_fw()
228 rtl_write_byte(rtlpriv, 0x1f, value); in rtl92d_download_fw()
238 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in rtl92d_download_fw()
248 rtl_write_byte(rtlpriv, 0x1f, value); in rtl92d_download_fw()
385 rtl_write_byte(rtlpriv, box_reg + idx, in _rtl92d_fill_h2c_command()
[all …]
Dled.c35 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on()
38 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on()
44 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92de_sw_led_on()
70 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92de_sw_led_off()
73 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92de_sw_led_off()
78 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92de_sw_led_off()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c32 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlpci->reg_bcn_ctrl_val); in _rtl92ce_set_bcn_ctrl_reg()
41 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl92ce_stop_tx_beacon()
42 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0x64); in _rtl92ce_stop_tx_beacon()
45 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl92ce_stop_tx_beacon()
54 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl92ce_resume_tx_beacon()
55 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0xff); in _rtl92ce_resume_tx_beacon()
58 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl92ce_resume_tx_beacon()
139 rtl_write_byte(rtlpriv, (REG_MACID + idx), in rtl92ce_set_hw_reg()
150 rtl_write_byte(rtlpriv, REG_RRSR, rate_cfg & 0xff); in rtl92ce_set_hw_reg()
151 rtl_write_byte(rtlpriv, REG_RRSR + 1, in rtl92ce_set_hw_reg()
[all …]
Dphy.c62 rtl_write_byte(rtlpriv, 0x14, 0x71); in rtl92c_phy_mac_config()
64 rtl_write_byte(rtlpriv, 0x04CA, 0x0A); in rtl92c_phy_mac_config()
80 rtl_write_byte(rtlpriv, REG_AFE_PLL_CTRL, 0x83); in rtl92c_phy_bb_config()
81 rtl_write_byte(rtlpriv, REG_AFE_PLL_CTRL + 1, 0xdb); in rtl92c_phy_bb_config()
82 rtl_write_byte(rtlpriv, REG_RF_CTRL, RF_EN | RF_RSTB | RF_SDMRSTB); in rtl92c_phy_bb_config()
83 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, in rtl92c_phy_bb_config()
86 rtl_write_byte(rtlpriv, REG_AFE_XTAL_CTRL + 1, 0x80); in rtl92c_phy_bb_config()
152 rtl_write_byte(rtlpriv, ptrarray[i], (u8) ptrarray[i + 1]); in _rtl92c_phy_config_mac_with_headerfile()
311 rtl_write_byte(rtlpriv, REG_BWOPMODE, reg_bw_opmode); in rtl92ce_phy_set_bw_mode_callback()
315 rtl_write_byte(rtlpriv, REG_BWOPMODE, reg_bw_opmode); in rtl92ce_phy_set_bw_mode_callback()
[all …]
Dled.c31 rtl_write_byte(rtlpriv, in rtl92ce_sw_led_on()
35 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92ce_sw_led_on()
61 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92ce_sw_led_off()
64 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92ce_sw_led_off()
69 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92ce_sw_led_off()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c437 rtl_write_byte(rtlpriv, REG_RSV_CTRL, 0x0); in _rtl92cu_init_power_on()
440 rtl_write_byte(rtlpriv, REG_SPS0_CTRL, 0x2b); in _rtl92cu_init_power_on()
445 rtl_write_byte(rtlpriv, REG_LDOV12D_CTRL, value8); in _rtl92cu_init_power_on()
452 rtl_write_byte(rtlpriv, REG_SYS_ISO_CTRL, value8); in _rtl92cu_init_power_on()
477 rtl_write_byte(rtlpriv, REG_APSD_CTRL, (rtl_read_byte(rtlpriv, in _rtl92cu_init_power_on()
528 rtl_write_byte(rtlpriv, REG_RQPN_NPQ, value8); in _rtl92cu_init_queue_reserved_page()
547 rtl_write_byte(rtlpriv, REG_RQPN_NPQ, value8); in _rtl92cu_init_queue_reserved_page()
568 rtl_write_byte(rtlpriv, REG_TXPKTBUF_BCNQ_BDNY, txpktbuf_bndy); in _rtl92c_init_trx_buffer()
569 rtl_write_byte(rtlpriv, REG_TXPKTBUF_MGQ_BDNY, txpktbuf_bndy); in _rtl92c_init_trx_buffer()
570 rtl_write_byte(rtlpriv, REG_TXPKTBUF_WMAC_LBK_BF_HD, txpktbuf_bndy); in _rtl92c_init_trx_buffer()
[all …]
Dmac.c375 rtl_write_byte(rtlpriv, REG_RX_DRVINFO_SZ, size); in rtl92c_init_driver_info_size()
409 rtl_write_byte(rtlpriv, MSR, value); in rtl92c_set_network_type()
453 rtl_write_byte(rtlpriv, REG_SIFS_CCK, trx_sifs); in rtl92c_set_cck_sifs()
454 rtl_write_byte(rtlpriv, (REG_SIFS_CCK + 1), ctx_sifs); in rtl92c_set_cck_sifs()
462 rtl_write_byte(rtlpriv, REG_SIFS_OFDM, trx_sifs); in rtl92c_set_ofdm_sifs()
463 rtl_write_byte(rtlpriv, (REG_SIFS_OFDM + 1), ctx_sifs); in rtl92c_set_ofdm_sifs()
507 rtl_write_byte(rtlpriv, REG_PIFS, 0x1C); in rtl92c_init_edca()
509 rtl_write_byte(rtlpriv, REG_AGGR_BREAK_TIME, 0x16); in rtl92c_init_edca()
511 rtl_write_byte(rtlpriv, REG_BCNDMATIM, 0x02); in rtl92c_init_edca()
512 rtl_write_byte(rtlpriv, REG_ATIMWND, 0x02); in rtl92c_init_edca()
[all …]
Dphy.c102 rtl_write_byte(rtlpriv, REG_AFE_PLL_CTRL, 0x83); in rtl92cu_phy_bb_config()
103 rtl_write_byte(rtlpriv, REG_AFE_PLL_CTRL + 1, 0xdb); in rtl92cu_phy_bb_config()
104 rtl_write_byte(rtlpriv, REG_RF_CTRL, RF_EN | RF_RSTB | RF_SDMRSTB); in rtl92cu_phy_bb_config()
105 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN, FEN_USBA | FEN_USBD | in rtl92cu_phy_bb_config()
109 rtl_write_byte(rtlpriv, REG_LDOHCI12_CTRL, 0x0f); in rtl92cu_phy_bb_config()
110 rtl_write_byte(rtlpriv, REG_AFE_XTAL_CTRL + 1, 0x80); in rtl92cu_phy_bb_config()
129 rtl_write_byte(rtlpriv, ptrarray[i], (u8) ptrarray[i + 1]); in _rtl92cu_phy_config_mac_with_headerfile()
284 rtl_write_byte(rtlpriv, REG_BWOPMODE, reg_bw_opmode); in rtl92cu_phy_set_bw_mode_callback()
288 rtl_write_byte(rtlpriv, REG_BWOPMODE, reg_bw_opmode); in rtl92cu_phy_set_bw_mode_callback()
291 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_prsr_rsc); in rtl92cu_phy_set_bw_mode_callback()
[all …]
Dled.c33 rtl_write_byte(rtlpriv, in rtl92cu_sw_led_on()
37 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92cu_sw_led_on()
61 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92cu_sw_led_off()
64 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92cu_sw_led_off()
69 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92cu_sw_led_off()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c32 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlpci->reg_bcn_ctrl_val); in _rtl92ee_set_bcn_ctrl_reg()
41 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp & (~BIT(6))); in _rtl92ee_stop_tx_beacon()
42 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0x64); in _rtl92ee_stop_tx_beacon()
45 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp); in _rtl92ee_stop_tx_beacon()
54 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp | BIT(6)); in _rtl92ee_resume_tx_beacon()
55 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0xff); in _rtl92ee_resume_tx_beacon()
58 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp); in _rtl92ee_resume_tx_beacon()
338 rtl_write_byte(rtlpriv, REG_CR + 1, tmp_regcr | BIT(0)); in _rtl92ee_download_rsvd_page()
352 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp_reg422 & (~BIT(6))); in _rtl92ee_download_rsvd_page()
360 rtl_write_byte(rtlpriv, REG_DWBCN0_CTRL + 2, in _rtl92ee_download_rsvd_page()
[all …]
Dfw.c20 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x05); in _rtl92ee_enable_fw_download()
23 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl92ee_enable_fw_download()
26 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in _rtl92ee_enable_fw_download()
141 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0); in rtl92ee_download_fw()
260 rtl_write_byte(rtlpriv, REG_SYS_CFG1 + 3, 0xff); in _rtl92ee_fill_h2c_command()
310 rtl_write_byte(rtlpriv, box_reg + idx, in _rtl92ee_fill_h2c_command()
325 rtl_write_byte(rtlpriv, box_extreg + idx, in _rtl92ee_fill_h2c_command()
330 rtl_write_byte(rtlpriv, box_reg + idx, in _rtl92ee_fill_h2c_command()
381 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in rtl92ee_firmware_selfreset()
384 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in rtl92ee_firmware_selfreset()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c32 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlpci->reg_bcn_ctrl_val); in _rtl88ee_set_bcn_ctrl_reg()
41 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl88ee_stop_tx_beacon()
42 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0x64); in _rtl88ee_stop_tx_beacon()
45 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl88ee_stop_tx_beacon()
54 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl88ee_resume_tx_beacon()
55 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0xff); in _rtl88ee_resume_tx_beacon()
58 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl88ee_resume_tx_beacon()
360 rtl_write_byte(rtlpriv, (REG_MACID + idx), in rtl88ee_set_hw_reg()
369 rtl_write_byte(rtlpriv, REG_RRSR, b_rate_cfg & 0xff); in rtl88ee_set_hw_reg()
370 rtl_write_byte(rtlpriv, REG_RRSR + 1, in rtl88ee_set_hw_reg()
[all …]
Dled.c30 rtl_write_byte(rtlpriv, in rtl88ee_sw_led_on()
35 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl88ee_sw_led_on()
60 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl88ee_sw_led_off()
63 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, in rtl88ee_sw_led_off()
66 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl88ee_sw_led_off()
72 rtl_write_byte(rtlpriv, REG_LEDCFG1, (ledcfg | BIT(3))); in rtl88ee_sw_led_off()
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c36 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlpci->reg_bcn_ctrl_val); in _rtl8723e_set_bcn_ctrl_reg()
45 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8723e_stop_tx_beacon()
46 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0x64); in _rtl8723e_stop_tx_beacon()
49 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8723e_stop_tx_beacon()
58 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8723e_resume_tx_beacon()
59 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0xff); in _rtl8723e_resume_tx_beacon()
62 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8723e_resume_tx_beacon()
143 rtl_write_byte(rtlpriv, (REG_MACID + idx), in rtl8723e_set_hw_reg()
154 rtl_write_byte(rtlpriv, REG_RRSR, b_rate_cfg & 0xff); in rtl8723e_set_hw_reg()
155 rtl_write_byte(rtlpriv, REG_RRSR + 1, in rtl8723e_set_hw_reg()
[all …]
Dled.c31 rtl_write_byte(rtlpriv, in rtl8723e_sw_led_on()
36 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8723e_sw_led_on()
63 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8723e_sw_led_off()
66 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, ledcfg); in rtl8723e_sw_led_off()
69 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl8723e_sw_led_off()
76 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg|BIT(3)); in rtl8723e_sw_led_off()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c60 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlpci->reg_bcn_ctrl_val); in _rtl8723be_set_bcn_ctrl_reg()
69 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8723be_stop_tx_beacon()
70 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0x64); in _rtl8723be_stop_tx_beacon()
73 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8723be_stop_tx_beacon()
82 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8723be_resume_tx_beacon()
83 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0xff); in _rtl8723be_resume_tx_beacon()
86 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8723be_resume_tx_beacon()
348 rtl_write_byte(rtlpriv, REG_CR + 1, in _rtl8723be_download_rsvd_page()
355 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp_reg422 & (~BIT(6))); in _rtl8723be_download_rsvd_page()
361 rtl_write_byte(rtlpriv, REG_TDECTRL + 2, in _rtl8723be_download_rsvd_page()
[all …]
Dled.c31 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723be_sw_led_on()
35 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8723be_sw_led_on()
62 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8723be_sw_led_off()
65 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, ledcfg); in rtl8723be_sw_led_off()
68 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl8723be_sw_led_off()
75 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg|BIT(3)); in rtl8723be_sw_led_off()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c56 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlpci->reg_bcn_ctrl_val); in _rtl8821ae_set_bcn_ctrl_reg()
65 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8821ae_stop_tx_beacon()
66 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0x64); in _rtl8821ae_stop_tx_beacon()
69 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8821ae_stop_tx_beacon()
78 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8821ae_resume_tx_beacon()
79 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0xff); in _rtl8821ae_resume_tx_beacon()
82 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8821ae_resume_tx_beacon()
298 rtl_write_byte(rtlpriv, REG_CR + 1, (tmp_regcr | BIT(0))); in _rtl8821ae_download_rsvd_page()
304 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, in _rtl8821ae_download_rsvd_page()
311 rtl_write_byte(rtlpriv, REG_TDECTRL + 2, in _rtl8821ae_download_rsvd_page()
[all …]
Dled.c32 rtl_write_byte(rtlpriv, in rtl8821ae_sw_led_on()
37 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8821ae_sw_led_on()
75 rtl_write_byte(rtlpriv, ledreg, ledcfg); /*SW control led0 on.*/ in rtl8812ae_sw_led_on()
96 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8821ae_sw_led_off()
99 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, ledcfg); in rtl8821ae_sw_led_off()
102 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl8821ae_sw_led_off()
109 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg|BIT(3)); in rtl8821ae_sw_led_off()
146 rtl_write_byte(rtlpriv, ledreg, (ledcfg | BIT(3))); in rtl8812ae_sw_led_off()
151 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, ledcfg); in rtl8812ae_sw_led_off()
153 rtl_write_byte(rtlpriv, ledreg, 0x28); in rtl8812ae_sw_led_off()
/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
Dfw_common.c18 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, in rtl8723_enable_fw_download()
22 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); in rtl8723_enable_fw_download()
25 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in rtl8723_enable_fw_download()
28 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in rtl8723_enable_fw_download()
30 rtl_write_byte(rtlpriv, REG_MCUFWDL + 1, 0x00); in rtl8723_enable_fw_download()
76 rtl_write_byte(rtlpriv, REG_HMETFR + 3, 0x20); in rtl8723ae_firmware_selfreset()
88 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, in rtl8723ae_firmware_selfreset()
100 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in rtl8723be_firmware_selfreset()
103 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in rtl8723be_firmware_selfreset()
107 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp | BIT(0))); in rtl8723be_firmware_selfreset()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c32 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, in _rtl92c_enable_fw_download()
36 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); in _rtl92c_enable_fw_download()
39 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl92c_enable_fw_download()
42 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in _rtl92c_enable_fw_download()
44 rtl_write_byte(rtlpriv, REG_MCUFWDL + 1, 0x00); in _rtl92c_enable_fw_download()
302 rtl_write_byte(rtlpriv, box_reg + idx, in _rtl92c_fill_h2c_command()
312 rtl_write_byte(rtlpriv, box_reg + idx, in _rtl92c_fill_h2c_command()
322 rtl_write_byte(rtlpriv, box_reg + idx, in _rtl92c_fill_h2c_command()
334 rtl_write_byte(rtlpriv, box_extreg + idx, in _rtl92c_fill_h2c_command()
339 rtl_write_byte(rtlpriv, box_reg + idx, in _rtl92c_fill_h2c_command()
[all …]
/drivers/net/wireless/realtek/rtlwifi/
Defuse.c54 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_FUNC_EN] + 1, temp); in efuse_initialize()
58 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_ISO_CTRL] + 1, temp); in efuse_initialize()
62 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST] + 3, temp); in efuse_initialize()
64 rtl_write_byte(rtlpriv, 0x2F8, 0x3); in efuse_initialize()
66 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, 0x72); in efuse_initialize()
82 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1, in efuse_read_1byte()
87 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 2, in efuse_read_1byte()
93 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, in efuse_read_1byte()
127 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL], value); in efuse_write_1byte()
130 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1, in efuse_write_1byte()
[all …]

123