Home
last modified time | relevance | path

Searched refs:rtl_write_word (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c74 rtl_write_word(rtlpriv, IDR4, ((u16 *)(val + 4))[0]); in rtl92se_set_hw_reg()
102 rtl_write_word(rtlpriv, BSSIDR + 4, in rtl92se_set_hw_reg()
292 rtl_write_word(rtlpriv, RETRY_LIMIT, in rtl92se_set_hw_reg()
607 rtl_write_word(rtlpriv, REG_SYS_ISO_CTRL, (tmpu2b | BIT(11))); in _rtl92se_macconfig_before_fwdownload()
611 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (tmpu2b | BIT(13))); in _rtl92se_macconfig_before_fwdownload()
639 rtl_write_word(rtlpriv, SYS_CLKR, (tmpu2b | BIT(12) | BIT(11))); in _rtl92se_macconfig_before_fwdownload()
643 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (tmpu2b | BIT(11))); in _rtl92se_macconfig_before_fwdownload()
649 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (tmpu2b | BIT(11) | BIT(15))); in _rtl92se_macconfig_before_fwdownload()
653 rtl_write_word(rtlpriv, SYS_CLKR, (tmpu2b & (~BIT(2)))); in _rtl92se_macconfig_before_fwdownload()
660 rtl_write_word(rtlpriv, CMDR, 0x07FC); in _rtl92se_macconfig_before_fwdownload()
[all …]
Dphy.c382 rtl_write_word(rtlpriv, currentcmd->para1, in _rtl92s_phy_sw_chnl_step_by_step()
475 rtl_write_word(rtlpriv, CMDR, 0x57FC); in _rtl92se_phy_set_rf_sleep()
478 rtl_write_word(rtlpriv, CMDR, 0x77FC); in _rtl92se_phy_set_rf_sleep()
482 rtl_write_word(rtlpriv, CMDR, 0x37FC); in _rtl92se_phy_set_rf_sleep()
485 rtl_write_word(rtlpriv, CMDR, 0x77FC); in _rtl92se_phy_set_rf_sleep()
488 rtl_write_word(rtlpriv, CMDR, 0x57FC); in _rtl92se_phy_set_rf_sleep()
532 rtl_write_word(rtlpriv, CMDR, 0x37FC); in rtl92s_phy_set_rf_power_state()
1576 rtl_write_word(rtlpriv, 0x550, 0x1000); in rtl92s_phy_switch_ephy_parameter()
1580 rtl_write_word(rtlpriv, 0x550, 0xa0eb); in rtl92s_phy_switch_ephy_parameter()
1584 rtl_write_word(rtlpriv, 0x550, 0xff80); in rtl92s_phy_switch_ephy_parameter()
Dfw.h329 rtl_write_word(rtlpriv, LBUS_MON_ADDR, (u16)_val); \
Dfw.c36 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (tmpu2b | FEN_CPUEN)); in _rtl92s_firmware_enable_cpu()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c120 rtl_write_word(rtlpriv, isr_regaddr, 0x0100); in _rtl92ee_set_fw_clock_on()
183 rtl_write_word(rtlpriv, REG_HISR, 0x0100); in _rtl92ee_set_fw_clock_off()
442 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, 0x0e0e); in rtl92ee_set_hw_reg()
444 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl92ee_set_hw_reg()
569 rtl_write_word(rtlpriv, REG_RETRY_LIMIT, in rtl92ee_set_hw_reg()
636 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, in rtl92ee_set_hw_reg()
685 rtl_write_word(rtlpriv, REG_TRXFF_BNDY + 2, 0x3d00 - 1); in _rtl92ee_llt_table_init()
794 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92ee_init_mac()
810 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, wordtmp); in _rtl92ee_init_mac()
816 rtl_write_word(rtlpriv, REG_RXFLTMAP2, 0xffff); in _rtl92ee_init_mac()
[all …]
Ddm.c318 rtl_write_word(rtlpriv, RA_CFOSHORTDUMP, in rtl92ee_rssi_dump_to_register()
320 rtl_write_word(rtlpriv, RB_CFOSHORTDUMP, in rtl92ee_rssi_dump_to_register()
323 rtl_write_word(rtlpriv, RA_CFOLONGDUMP, rtlpriv->stats.rx_cfo_tail[0]); in rtl92ee_rssi_dump_to_register()
324 rtl_write_word(rtlpriv, RB_CFOLONGDUMP, rtlpriv->stats.rx_cfo_tail[1]); in rtl92ee_rssi_dump_to_register()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c180 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl8723e_set_hw_reg()
183 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl8723e_set_hw_reg()
369 rtl_write_word(rtlpriv, REG_RL, in rtl8723e_set_hw_reg()
468 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, in rtl8723e_set_hw_reg()
599 rtl_write_word(rtlpriv, REG_RQPN_NPQ, 0x0000); in _rtl8723e_llt_table_init()
693 rtl_write_word(rtlpriv, 0x358, 0x5e); in _rtl8712e_init_mac()
695 rtl_write_word(rtlpriv, 0x356, 0xc280); in _rtl8712e_init_mac()
696 rtl_write_word(rtlpriv, 0x354, 0xc290); in _rtl8712e_init_mac()
697 rtl_write_word(rtlpriv, 0x358, 0x3e); in _rtl8712e_init_mac()
699 rtl_write_word(rtlpriv, 0x358, 0x5e); in _rtl8712e_init_mac()
[all …]
Dtrx.c688 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, BIT(4)); in rtl8723e_tx_polling()
690 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, in rtl8723e_tx_polling()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c458 rtl_write_word(rtlpriv, REG_APS_FSMCO, value16); in _rtl92cu_init_power_on()
470 rtl_write_word(rtlpriv, REG_APS_FSMCO, 0x0812); in _rtl92cu_init_power_on()
474 rtl_write_word(rtlpriv, REG_SYS_ISO_CTRL, value16); in _rtl92cu_init_power_on()
487 rtl_write_word(rtlpriv, REG_CR, value16); in _rtl92cu_init_power_on()
573 rtl_write_word(rtlpriv, (REG_TRXFF_BNDY + 2), 0x27FF); in _rtl92c_init_trx_buffer()
588 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, value16); in _rtl92c_init_chipn_reg_priority()
791 rtl_write_word(rtlpriv, REG_BCN_CTRL, 0x1010); in _rtl92cu_init_beacon_parameters()
794 rtl_write_word(rtlpriv, REG_TBTT_PROHIBIT, 0x6404); in _rtl92cu_init_beacon_parameters()
801 rtl_write_word(rtlpriv, REG_BCNTCFG, 0x660F); in _rtl92cu_init_beacon_parameters()
803 rtl_write_word(rtlpriv, REG_BCNTCFG, 0x66FF); in _rtl92cu_init_beacon_parameters()
[all …]
Dmac.c430 rtl_write_word(rtlpriv, REG_SPEC_SIFS, value16); in rtl92c_init_adaptive_ctrl()
490 rtl_write_word(rtlpriv, REG_RD_CTRL, value16); in rtl92c_init_edca()
496 rtl_write_word(rtlpriv, REG_SIFS_CCK, 0x0a0a); in rtl92c_init_edca()
497 rtl_write_word(rtlpriv, REG_SIFS_OFDM, 0x1010); in rtl92c_init_edca()
498 rtl_write_word(rtlpriv, REG_PROT_MODE_CTRL, 0x0204); in rtl92c_init_edca()
509 rtl_write_word(rtlpriv, REG_NAV_PROT_LEN, 0x0040); in rtl92c_init_edca()
521 rtl_write_word(rtlpriv, 0x4CA, 0x0708); in rtl92c_init_ampdu_aggregation()
536 rtl_write_word(rtlpriv, REG_RD_NAV_NXT, 0x200); in rtl92c_init_rdg_setting()
556 rtl_write_word(rtlpriv, REG_FAST_EDCA_CTRL, 0); in rtl92c_disable_fast_edca()
Dphy.c100 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, regval | BIT(13) | in rtl92cu_phy_bb_config()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c25 rtl_write_word(rtlpriv, REG_DBI_CTRL, (offset & 0xFFC)); in rtl92de_read_dword_dbi()
37 rtl_write_word(rtlpriv, REG_DBI_CTRL, ((offset & 0xFFC) | 0xF000)); in rtl92de_write_dword_dbi()
198 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl92de_set_hw_reg()
201 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl92de_set_hw_reg()
356 rtl_write_word(rtlpriv, REG_RL, in rtl92de_set_hw_reg()
420 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, (u2btmp | in rtl92de_set_hw_reg()
659 rtl_write_word(rtlpriv, REG_APS_FSMCO, 0x1012); in _rtl92de_init_mac()
671 rtl_write_word(rtlpriv, REG_CR, 0x0); in _rtl92de_init_mac()
674 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92de_init_mac()
711 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, wordtmp); in _rtl92de_init_mac()
[all …]
Dtrx.c820 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, BIT(4)); in rtl92de_tx_polling()
822 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, in rtl92de_tx_polling()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c176 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl92ce_set_hw_reg()
179 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl92ce_set_hw_reg()
366 rtl_write_word(rtlpriv, REG_RL, in rtl92ce_set_hw_reg()
465 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, (u2btmp | in rtl92ce_set_hw_reg()
599 rtl_write_word(rtlpriv, REG_RQPN_NPQ, 0x0000); in _rtl92ce_llt_table_init()
705 rtl_write_word(rtlpriv, REG_APS_FSMCO, 0x1012); in _rtl92ce_init_mac()
715 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92ce_init_mac()
723 rtl_write_word(rtlpriv, REG_TRXFF_BNDY + 2, 0x27ff); in _rtl92ce_init_mac()
728 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, wordtmp); in _rtl92ce_init_mac()
798 rtl_write_word(rtlpriv, REG_FWHW_TXQ_CTRL, 0x1F80); in _rtl92ce_hw_configure()
[all …]
Dtrx.c687 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, BIT(4)); in rtl92ce_tx_polling()
689 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, in rtl92ce_tx_polling()
Dphy.c78 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl92c_phy_bb_config()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c144 rtl_write_word(rtlpriv, isr_regaddr, 0x0100); in _rtl88ee_set_fw_clock_on()
209 rtl_write_word(rtlpriv, REG_HISR, 0x0100); in _rtl88ee_set_fw_clock_off()
397 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl88ee_set_hw_reg()
400 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl88ee_set_hw_reg()
577 rtl_write_word(rtlpriv, REG_RL, in rtl88ee_set_hw_reg()
693 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, (u2btmp | in rtl88ee_set_hw_reg()
860 rtl_write_word(rtlpriv, REG_TX_RPT_TIME, 0xcdf0); in _rtl88ee_init_mac()
870 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl88ee_init_mac()
887 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, wordtmp); in _rtl88ee_init_mac()
890 rtl_write_word(rtlpriv, REG_RXFLTMAP2, 0xffff); in _rtl88ee_init_mac()
[all …]
Dtrx.c829 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, BIT(4)); in rtl88ee_tx_polling()
831 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, in rtl88ee_tx_polling()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c150 rtl_write_word(rtlpriv, isr_regaddr, 0x0100); in _rtl8723be_set_fw_clock_on()
211 rtl_write_word(rtlpriv, REG_HISR, 0x0100); in _rtl8723be_set_fw_clock_off()
434 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, 0x0e0e); in rtl8723be_set_hw_reg()
436 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl8723be_set_hw_reg()
614 rtl_write_word(rtlpriv, REG_RL, in rtl8723be_set_hw_reg()
680 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, in rtl8723be_set_hw_reg()
862 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8723be_init_mac()
879 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, wordtmp); in _rtl8723be_init_mac()
883 rtl_write_word(rtlpriv, REG_RXFLTMAP2, 0xFFFF); in _rtl8723be_init_mac()
954 rtl_write_word(rtlpriv, REG_FWHW_TXQ_CTRL, 0x1F00); in _rtl8723be_hw_configure()
[all …]
Dtrx.c739 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, BIT(4)); in rtl8723be_tx_polling()
741 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, in rtl8723be_tx_polling()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c147 rtl_write_word(rtlpriv, isr_regaddr, 0x0100); in _rtl8821ae_set_fw_clock_on()
210 rtl_write_word(rtlpriv, REG_HISR, 0x0100); in _rtl8821ae_set_fw_clock_off()
491 rtl_write_word(rtlpriv, REG_RRSR, b_rate_cfg); in rtl8821ae_set_hw_reg()
674 rtl_write_word(rtlpriv, REG_RL, in rtl8821ae_set_hw_reg()
742 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, (u2btmp | in rtl8821ae_set_hw_reg()
831 rtl_write_word(rtlpriv, REG_TRXFF_BNDY + 2, MAX_RX_DMA_BUFFER_SIZE - 1); in _rtl8821ae_llt_table_init()
956 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8821ae_init_mac()
973 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, wordtmp); in _rtl8821ae_init_mac()
977 rtl_write_word(rtlpriv, REG_RXFLTMAP2, 0xFFFF); in _rtl8821ae_init_mac()
1028 rtl_write_word(rtlpriv, REG_FWHW_TXQ_CTRL, 0x1F00); in _rtl8821ae_hw_configure()
[all …]
Dtrx.c986 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, BIT(4)); in rtl8821ae_tx_polling()
988 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, in rtl8821ae_tx_polling()
Ddm.c484 rtl_write_word(rtlpriv, RA_CFO_SHORT_DUMP, in rtl8812ae_dm_rssi_dump_to_register()
486 rtl_write_word(rtlpriv, RB_CFO_SHORT_DUMP, in rtl8812ae_dm_rssi_dump_to_register()
490 rtl_write_word(rtlpriv, RA_CFO_LONG_DUMP, in rtl8812ae_dm_rssi_dump_to_register()
492 rtl_write_word(rtlpriv, RB_CFO_LONG_DUMP, in rtl8812ae_dm_rssi_dump_to_register()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/
Defuse.c1108 rtl_write_word(rtlpriv, in efuse_power_switch()
1117 rtl_write_word(rtlpriv, in efuse_power_switch()
1126 rtl_write_word(rtlpriv, in efuse_power_switch()
Ddebug.c297 rtl_write_word(rtlpriv, addr, (u16)val); in rtl_debugfs_set_write_reg()

12