Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c30 rtl_write_byte(rtlpriv, REG_DBI_FLAG, BIT(1) | direct); in rtl92de_read_dword_dbi()
43 rtl_write_byte(rtlpriv, REG_DBI_FLAG, BIT(0) | direct); in rtl92de_write_dword_dbi()
54 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlpci->reg_bcn_ctrl_val); in _rtl92de_set_bcn_ctrl_reg()
141 rtl_write_byte(rtlpriv, REG_ACMHWCTRL, acm_ctrl); in rtl92de_set_hw_reg()
157 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92de_set_hw_reg()
165 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, in rtl92de_set_hw_reg()
171 rtl_write_byte(rtlpriv, in rtl92de_set_hw_reg()
174 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92de_set_hw_reg()
265 rtl_write_byte(rtlpriv, REG_RQPN_NPQ, value8); in _rtl92de_llt_table_init()
276 rtl_write_byte(rtlpriv, REG_TDECTRL + 1, txpktbuf_bndy); in _rtl92de_llt_table_init()
[all …]
Dled.c27 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on()
30 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | in rtl92de_sw_led_on()
36 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92de_sw_led_on()
60 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92de_sw_led_off()
63 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92de_sw_led_off()
68 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92de_sw_led_off()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
Dhw.c27 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlusb->reg_bcn_ctrl_val); in _rtl92du_set_bcn_ctrl_reg()
107 rtl_write_byte(rtlpriv, REG_ACMHWCTRL, acm_ctrl); in rtl92du_set_hw_reg()
123 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92du_set_hw_reg()
131 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, in rtl92du_set_hw_reg()
140 rtl_write_byte(rtlpriv, in rtl92du_set_hw_reg()
143 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl92du_set_hw_reg()
222 rtl_write_byte(rtlpriv, REG_RQPN_NPQ, (u8)numnq); in _rtl92du_init_queue_reserved_page()
237 rtl_write_byte(rtlpriv, REG_TXPKTBUF_BCNQ_BDNY, txpktbuf_bndy); in _rtl92du_init_tx_buffer_boundary()
238 rtl_write_byte(rtlpriv, REG_TXPKTBUF_MGQ_BDNY, txpktbuf_bndy); in _rtl92du_init_tx_buffer_boundary()
240 rtl_write_byte(rtlpriv, REG_TXPKTBUF_WMAC_LBK_BF_HD, txpktbuf_bndy); in _rtl92du_init_tx_buffer_boundary()
[all …]
/linux-6.12.1/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.c23 rtl_write_byte(rtlpriv, LEDCFG, ledcfg & 0xf0); in rtl92se_sw_led_on()
26 rtl_write_byte(rtlpriv, LEDCFG, ledcfg & 0x0f); in rtl92se_sw_led_on()
53 rtl_write_byte(rtlpriv, LEDCFG, (ledcfg | BIT(1))); in rtl92se_sw_led_off()
55 rtl_write_byte(rtlpriv, LEDCFG, (ledcfg | BIT(3))); in rtl92se_sw_led_off()
59 rtl_write_byte(rtlpriv, LEDCFG, (ledcfg | BIT(3))); in rtl92se_sw_led_off()
/linux-6.12.1/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()
140 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0); in rtl92ee_download_fw()
257 rtl_write_byte(rtlpriv, REG_SYS_CFG1 + 3, 0xff); in _rtl92ee_fill_h2c_command()
307 rtl_write_byte(rtlpriv, box_reg + idx, in _rtl92ee_fill_h2c_command()
322 rtl_write_byte(rtlpriv, box_extreg + idx, in _rtl92ee_fill_h2c_command()
327 rtl_write_byte(rtlpriv, box_reg + idx, in _rtl92ee_fill_h2c_command()
378 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in rtl92ee_firmware_selfreset()
381 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in rtl92ee_firmware_selfreset()
[all …]
/linux-6.12.1/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.c23 rtl_write_byte(rtlpriv, in rtl92ce_sw_led_on()
27 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92ce_sw_led_on()
51 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92ce_sw_led_off()
54 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92ce_sw_led_off()
59 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92ce_sw_led_off()
/linux-6.12.1/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()
363 rtl_write_byte(rtlpriv, (REG_MACID + idx), in rtl88ee_set_hw_reg()
372 rtl_write_byte(rtlpriv, REG_RRSR, b_rate_cfg & 0xff); in rtl88ee_set_hw_reg()
373 rtl_write_byte(rtlpriv, REG_RRSR + 1, in rtl88ee_set_hw_reg()
[all …]
Dled.c22 rtl_write_byte(rtlpriv, in rtl88ee_sw_led_on()
27 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl88ee_sw_led_on()
51 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl88ee_sw_led_off()
54 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, in rtl88ee_sw_led_off()
57 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl88ee_sw_led_off()
63 rtl_write_byte(rtlpriv, REG_LEDCFG1, (ledcfg | BIT(3))); in rtl88ee_sw_led_off()
/linux-6.12.1/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()
527 rtl_write_byte(rtlpriv, REG_RQPN_NPQ, value8); in _rtl92cu_init_queue_reserved_page()
540 rtl_write_byte(rtlpriv, REG_TXPKTBUF_BCNQ_BDNY, txpktbuf_bndy); in _rtl92c_init_trx_buffer()
541 rtl_write_byte(rtlpriv, REG_TXPKTBUF_MGQ_BDNY, txpktbuf_bndy); in _rtl92c_init_trx_buffer()
542 rtl_write_byte(rtlpriv, REG_TXPKTBUF_WMAC_LBK_BF_HD, txpktbuf_bndy); in _rtl92c_init_trx_buffer()
543 rtl_write_byte(rtlpriv, REG_TRXFF_BNDY, txpktbuf_bndy); in _rtl92c_init_trx_buffer()
[all …]
Dled.c21 rtl_write_byte(rtlpriv, in rtl92cu_sw_led_on()
25 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0x0f) | BIT(5)); in rtl92cu_sw_led_on()
47 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92cu_sw_led_off()
50 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl92cu_sw_led_off()
55 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg | BIT(3))); in rtl92cu_sw_led_off()
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 …]
/linux-6.12.1/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.c23 rtl_write_byte(rtlpriv, in rtl8723e_sw_led_on()
28 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8723e_sw_led_on()
53 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8723e_sw_led_off()
56 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, ledcfg); in rtl8723e_sw_led_off()
59 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl8723e_sw_led_off()
66 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg|BIT(3)); in rtl8723e_sw_led_off()
/linux-6.12.1/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 …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c63 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlpci->reg_bcn_ctrl_val); in _rtl8723be_set_bcn_ctrl_reg()
72 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8723be_stop_tx_beacon()
73 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0x64); in _rtl8723be_stop_tx_beacon()
76 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8723be_stop_tx_beacon()
85 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8723be_resume_tx_beacon()
86 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0xff); in _rtl8723be_resume_tx_beacon()
89 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8723be_resume_tx_beacon()
351 rtl_write_byte(rtlpriv, REG_CR + 1, in _rtl8723be_download_rsvd_page()
358 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp_reg422 & (~BIT(6))); in _rtl8723be_download_rsvd_page()
364 rtl_write_byte(rtlpriv, REG_TDECTRL + 2, in _rtl8723be_download_rsvd_page()
[all …]
Dled.c23 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg & 0xf0) | BIT(5)); in rtl8723be_sw_led_on()
27 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8723be_sw_led_on()
52 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8723be_sw_led_off()
55 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, ledcfg); in rtl8723be_sw_led_off()
58 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl8723be_sw_led_off()
65 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg|BIT(3)); in rtl8723be_sw_led_off()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dled.c23 rtl_write_byte(rtlpriv, in rtl8821ae_sw_led_on()
28 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg & 0x10); in rtl8821ae_sw_led_on()
65 rtl_write_byte(rtlpriv, ledreg, ledcfg); /*SW control led0 on.*/ in rtl8812ae_sw_led_on()
85 rtl_write_byte(rtlpriv, REG_LEDCFG2, (ledcfg|BIT(3))); in rtl8821ae_sw_led_off()
88 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, ledcfg); in rtl8821ae_sw_led_off()
91 rtl_write_byte(rtlpriv, REG_LEDCFG2, in rtl8821ae_sw_led_off()
98 rtl_write_byte(rtlpriv, REG_LEDCFG1, ledcfg|BIT(3)); in rtl8821ae_sw_led_off()
134 rtl_write_byte(rtlpriv, ledreg, (ledcfg | BIT(3))); in rtl8812ae_sw_led_off()
139 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, ledcfg); in rtl8812ae_sw_led_off()
141 rtl_write_byte(rtlpriv, ledreg, 0x28); in rtl8812ae_sw_led_off()
Dhw.c59 rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8)rtlpci->reg_bcn_ctrl_val); in _rtl8821ae_set_bcn_ctrl_reg()
68 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8821ae_stop_tx_beacon()
69 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0x64); in _rtl8821ae_stop_tx_beacon()
72 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8821ae_stop_tx_beacon()
81 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8821ae_resume_tx_beacon()
82 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0xff); in _rtl8821ae_resume_tx_beacon()
85 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8821ae_resume_tx_beacon()
301 rtl_write_byte(rtlpriv, REG_CR + 1, (tmp_regcr | BIT(0))); in _rtl8821ae_download_rsvd_page()
307 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, in _rtl8821ae_download_rsvd_page()
314 rtl_write_byte(rtlpriv, REG_TDECTRL + 2, in _rtl8821ae_download_rsvd_page()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
Dfw_common.c25 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN + 1, tmp | 0x04); in rtl92d_enable_fw_download()
27 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp | 0x01); in rtl92d_enable_fw_download()
29 rtl_write_byte(rtlpriv, REG_MCUFWDL + 2, tmp & 0xf7); in rtl92d_enable_fw_download()
32 rtl_write_byte(rtlpriv, REG_MCUFWDL, tmp & 0xfe); in rtl92d_enable_fw_download()
113 rtl_write_byte(rtlpriv, REG_FSIMR, 0); in rtl92d_firmware_selfreset()
116 rtl_write_byte(rtlpriv, REG_FWIMR, 0x20); in rtl92d_firmware_selfreset()
119 rtl_write_byte(rtlpriv, REG_FTIMR, 0); in rtl92d_firmware_selfreset()
123 rtl_write_byte(rtlpriv, REG_HMETFR + 3, 0x20); in rtl92d_firmware_selfreset()
137 rtl_write_byte(rtlpriv, REG_FWIMR, 0); in rtl92d_firmware_selfreset()
322 rtl_write_byte(rtlpriv, box_reg + idx, in rtl92d_fill_h2c_cmd()
[all …]
/linux-6.12.1/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 …]

123