/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.c | 74 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 …]
|
D | phy.c | 392 rtl_write_word(rtlpriv, currentcmd->para1, in _rtl92s_phy_sw_chnl_step_by_step() 485 rtl_write_word(rtlpriv, CMDR, 0x57FC); in _rtl92se_phy_set_rf_sleep() 488 rtl_write_word(rtlpriv, CMDR, 0x77FC); in _rtl92se_phy_set_rf_sleep() 492 rtl_write_word(rtlpriv, CMDR, 0x37FC); in _rtl92se_phy_set_rf_sleep() 495 rtl_write_word(rtlpriv, CMDR, 0x77FC); in _rtl92se_phy_set_rf_sleep() 498 rtl_write_word(rtlpriv, CMDR, 0x57FC); in _rtl92se_phy_set_rf_sleep() 542 rtl_write_word(rtlpriv, CMDR, 0x37FC); in rtl92s_phy_set_rf_power_state() 1586 rtl_write_word(rtlpriv, 0x550, 0x1000); in rtl92s_phy_switch_ephy_parameter() 1590 rtl_write_word(rtlpriv, 0x550, 0xa0eb); in rtl92s_phy_switch_ephy_parameter() 1594 rtl_write_word(rtlpriv, 0x550, 0xff80); in rtl92s_phy_switch_ephy_parameter()
|
D | fw.h | 329 rtl_write_word(rtlpriv, LBUS_MON_ADDR, (u16)_val); \
|
D | fw.c | 36 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, (tmpu2b | FEN_CPUEN)); in _rtl92s_firmware_enable_cpu()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 120 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 …]
|
D | dm.c | 318 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.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 180 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 …]
|
D | trx.c | 688 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.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 458 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 …]
|
D | mac.c | 430 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()
|
D | phy.c | 100 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, regval | BIT(13) | in rtl92cu_phy_bb_config()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 25 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 …]
|
D | trx.c | 820 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.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 176 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 …]
|
D | trx.c | 687 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()
|
D | phy.c | 78 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl92c_phy_bb_config()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 140 rtl_write_word(rtlpriv, isr_regaddr, 0x0100); in _rtl88ee_set_fw_clock_on() 205 rtl_write_word(rtlpriv, REG_HISR, 0x0100); in _rtl88ee_set_fw_clock_off() 393 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl88ee_set_hw_reg() 396 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl88ee_set_hw_reg() 573 rtl_write_word(rtlpriv, REG_RL, in rtl88ee_set_hw_reg() 689 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, (u2btmp | in rtl88ee_set_hw_reg() 856 rtl_write_word(rtlpriv, REG_TX_RPT_TIME, 0xcdf0); in _rtl88ee_init_mac() 866 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl88ee_init_mac() 883 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, wordtmp); in _rtl88ee_init_mac() 886 rtl_write_word(rtlpriv, REG_RXFLTMAP2, 0xffff); in _rtl88ee_init_mac() [all …]
|
D | trx.c | 829 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.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 146 rtl_write_word(rtlpriv, isr_regaddr, 0x0100); in _rtl8723be_set_fw_clock_on() 207 rtl_write_word(rtlpriv, REG_HISR, 0x0100); in _rtl8723be_set_fw_clock_off() 430 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, 0x0e0e); in rtl8723be_set_hw_reg() 432 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl8723be_set_hw_reg() 610 rtl_write_word(rtlpriv, REG_RL, in rtl8723be_set_hw_reg() 676 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, in rtl8723be_set_hw_reg() 858 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8723be_init_mac() 875 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, wordtmp); in _rtl8723be_init_mac() 879 rtl_write_word(rtlpriv, REG_RXFLTMAP2, 0xFFFF); in _rtl8723be_init_mac() 950 rtl_write_word(rtlpriv, REG_FWHW_TXQ_CTRL, 0x1F00); in _rtl8723be_hw_configure() [all …]
|
D | trx.c | 739 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.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 143 rtl_write_word(rtlpriv, isr_regaddr, 0x0100); in _rtl8821ae_set_fw_clock_on() 206 rtl_write_word(rtlpriv, REG_HISR, 0x0100); in _rtl8821ae_set_fw_clock_off() 487 rtl_write_word(rtlpriv, REG_RRSR, b_rate_cfg); in rtl8821ae_set_hw_reg() 670 rtl_write_word(rtlpriv, REG_RL, in rtl8821ae_set_hw_reg() 738 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, (u2btmp | in rtl8821ae_set_hw_reg() 827 rtl_write_word(rtlpriv, REG_TRXFF_BNDY + 2, MAX_RX_DMA_BUFFER_SIZE - 1); in _rtl8821ae_llt_table_init() 952 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8821ae_init_mac() 969 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, wordtmp); in _rtl8821ae_init_mac() 973 rtl_write_word(rtlpriv, REG_RXFLTMAP2, 0xFFFF); in _rtl8821ae_init_mac() 1024 rtl_write_word(rtlpriv, REG_FWHW_TXQ_CTRL, 0x1F00); in _rtl8821ae_hw_configure() [all …]
|
D | trx.c | 986 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()
|
D | dm.c | 484 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.1.9/drivers/net/wireless/realtek/rtlwifi/ |
D | efuse.c | 1108 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()
|
D | debug.c | 297 rtl_write_word(rtlpriv, addr, (u16)val); in rtl_debugfs_set_write_reg()
|