/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192du/ |
H A D | hw.c | 305 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, value16); in _rtl92du_init_chipn_reg_priority() 439 rtl_write_word(rtlpriv, REG_SPEC_SIFS, 0x1010); in _rtl92du_init_adaptive_ctrl() 442 rtl_write_word(rtlpriv, REG_RL, 0x3030); in _rtl92du_init_adaptive_ctrl() 453 rtl_write_word(rtlpriv, REG_RD_CTRL, val16); in _rtl92du_init_edca() 456 rtl_write_word(rtlpriv, REG_SIFS_CTX, 0x0a0a); in _rtl92du_init_edca() 458 rtl_write_word(rtlpriv, REG_SIFS_TRX, 0x1010); in _rtl92du_init_edca() 460 rtl_write_word(rtlpriv, REG_PROT_MODE_CTRL, 0x0204); in _rtl92du_init_edca() 474 rtl_write_word(rtlpriv, REG_NAV_PROT_LEN, 0x0040); in _rtl92du_init_edca() 516 rtl_write_word(rtlpriv, REG_BCN_CTRL, 0x1010); in _rtl92du_init_beacon_parameters() 518 rtl_write_word(rtlpriv, REG_TBTT_PROHIBIT, 0x3c02); in _rtl92du_init_beacon_parameters() [all …]
|
H A D | rf.c | 35 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN | maskforphyset, val16); in rtl92du_phy_enable_anotherphy() 39 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN | maskforphyset, val16); in rtl92du_phy_enable_anotherphy()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
H A D | hw.c | 29 rtl_write_word(rtlpriv, REG_DBI_CTRL, (offset & 0xFFC)); in rtl92de_read_dword_dbi() 41 rtl_write_word(rtlpriv, REG_DBI_CTRL, ((offset & 0xFFC) | 0xF000)); in rtl92de_write_dword_dbi() 392 rtl_write_word(rtlpriv, REG_APS_FSMCO, 0x1012); in _rtl92de_init_mac() 404 rtl_write_word(rtlpriv, REG_CR, 0x0); in _rtl92de_init_mac() 407 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92de_init_mac() 444 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, wordtmp); in _rtl92de_init_mac() 517 rtl_write_word(rtlpriv, REG_FWHW_TXQ_CTRL, 0x1F80); in _rtl92de_hw_configure() 518 rtl_write_word(rtlpriv, REG_RL, 0x0707); in _rtl92de_hw_configure() 539 rtl_write_word(rtlpriv, REG_NAV_PROT_LEN, 0x0020); in _rtl92de_hw_configure() 541 rtl_write_word(rtlpriv, REG_FAST_EDCA_CTRL, 0x6666); in _rtl92de_hw_configure() [all …]
|
H A D | trx.c | 310 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, BIT(4)); in rtl92de_tx_polling() 312 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, in rtl92de_tx_polling()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A 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 …]
|
H A D | phy.c | 382 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()
|
H A D | fw.h | 329 rtl_write_word(rtlpriv, LBUS_MON_ADDR, (u16)_val); \
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A 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 …]
|
H A 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/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A 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() 364 rtl_write_word(rtlpriv, REG_RL, in rtl8723e_set_hw_reg() 463 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, in rtl8723e_set_hw_reg() 594 rtl_write_word(rtlpriv, REG_RQPN_NPQ, 0x0000); in _rtl8723e_llt_table_init() 688 rtl_write_word(rtlpriv, 0x358, 0x5e); in _rtl8712e_init_mac() 690 rtl_write_word(rtlpriv, 0x356, 0xc280); in _rtl8712e_init_mac() 691 rtl_write_word(rtlpriv, 0x354, 0xc290); in _rtl8712e_init_mac() 692 rtl_write_word(rtlpriv, 0x358, 0x3e); in _rtl8712e_init_mac() 694 rtl_write_word(rtlpriv, 0x358, 0x5e); in _rtl8712e_init_mac() [all …]
|
H A D | trx.c | 682 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, BIT(4)); in rtl8723e_tx_polling() 684 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, in rtl8723e_tx_polling()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A 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() 545 rtl_write_word(rtlpriv, (REG_TRXFF_BNDY + 2), 0x27FF); in _rtl92c_init_trx_buffer() 560 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, value16); in _rtl92c_init_chipn_reg_priority() 732 rtl_write_word(rtlpriv, REG_BCN_CTRL, 0x1010); in _rtl92cu_init_beacon_parameters() 735 rtl_write_word(rtlpriv, REG_TBTT_PROHIBIT, 0x6404); in _rtl92cu_init_beacon_parameters() 742 rtl_write_word(rtlpriv, REG_BCNTCFG, 0x660F); in _rtl92cu_init_beacon_parameters() 744 rtl_write_word(rtlpriv, REG_BCNTCFG, 0x66FF); in _rtl92cu_init_beacon_parameters() [all …]
|
H A D | mac.c | 431 rtl_write_word(rtlpriv, REG_SPEC_SIFS, value16); in rtl92c_init_adaptive_ctrl() 491 rtl_write_word(rtlpriv, REG_RD_CTRL, value16); in rtl92c_init_edca() 497 rtl_write_word(rtlpriv, REG_SIFS_CCK, 0x0a0a); in rtl92c_init_edca() 498 rtl_write_word(rtlpriv, REG_SIFS_OFDM, 0x1010); in rtl92c_init_edca() 499 rtl_write_word(rtlpriv, REG_PROT_MODE_CTRL, 0x0204); in rtl92c_init_edca() 510 rtl_write_word(rtlpriv, REG_NAV_PROT_LEN, 0x0040); in rtl92c_init_edca() 522 rtl_write_word(rtlpriv, 0x4CA, 0x0708); in rtl92c_init_ampdu_aggregation() 537 rtl_write_word(rtlpriv, REG_RD_NAV_NXT, 0x200); in rtl92c_init_rdg_setting() 557 rtl_write_word(rtlpriv, REG_FAST_EDCA_CTRL, 0); in rtl92c_disable_fast_edca()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A 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() 361 rtl_write_word(rtlpriv, REG_RL, in rtl92ce_set_hw_reg() 460 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, (u2btmp | in rtl92ce_set_hw_reg() 594 rtl_write_word(rtlpriv, REG_RQPN_NPQ, 0x0000); in _rtl92ce_llt_table_init() 700 rtl_write_word(rtlpriv, REG_APS_FSMCO, 0x1012); in _rtl92ce_init_mac() 710 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl92ce_init_mac() 718 rtl_write_word(rtlpriv, REG_TRXFF_BNDY + 2, 0x27ff); in _rtl92ce_init_mac() 723 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, wordtmp); in _rtl92ce_init_mac() 793 rtl_write_word(rtlpriv, REG_FWHW_TXQ_CTRL, 0x1F80); in _rtl92ce_hw_configure() [all …]
|
H A D | trx.c | 680 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, BIT(4)); in rtl92ce_tx_polling() 682 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, in rtl92ce_tx_polling()
|
H A D | phy.c | 78 rtl_write_word(rtlpriv, REG_SYS_FUNC_EN, in rtl92c_phy_bb_config()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | hw.c | 144 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() 572 rtl_write_word(rtlpriv, REG_RL, in rtl88ee_set_hw_reg() 688 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, (u2btmp | in rtl88ee_set_hw_reg() 855 rtl_write_word(rtlpriv, REG_TX_RPT_TIME, 0xcdf0); in _rtl88ee_init_mac() 865 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl88ee_init_mac() 882 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, wordtmp); in _rtl88ee_init_mac() 885 rtl_write_word(rtlpriv, REG_RXFLTMAP2, 0xffff); in _rtl88ee_init_mac() [all …]
|
H A D | trx.c | 827 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, BIT(4)); in rtl88ee_tx_polling() 829 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, in rtl88ee_tx_polling()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | hw.c | 147 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() 669 rtl_write_word(rtlpriv, REG_RL, in rtl8821ae_set_hw_reg() 737 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, (u2btmp | in rtl8821ae_set_hw_reg() 826 rtl_write_word(rtlpriv, REG_TRXFF_BNDY + 2, MAX_RX_DMA_BUFFER_SIZE - 1); in _rtl8821ae_llt_table_init() 951 rtl_write_word(rtlpriv, REG_CR, 0x2ff); in _rtl8821ae_init_mac() 968 rtl_write_word(rtlpriv, REG_TRXDMA_CTRL, wordtmp); in _rtl8821ae_init_mac() 972 rtl_write_word(rtlpriv, REG_RXFLTMAP2, 0xFFFF); in _rtl8821ae_init_mac() 1023 rtl_write_word(rtlpriv, REG_FWHW_TXQ_CTRL, 0x1F00); in _rtl8821ae_hw_configure() [all …]
|
H A D | trx.c | 985 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, BIT(4)); in rtl8821ae_tx_polling() 987 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, in rtl8821ae_tx_polling()
|
H A 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/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
H A D | hw_common.c | 150 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl92d_set_hw_reg() 153 rtl_write_word(rtlpriv, REG_RESP_SIFS_OFDM, in rtl92d_set_hw_reg() 244 rtl_write_word(rtlpriv, REG_RL, in rtl92d_set_hw_reg() 277 rtl_write_word(rtlpriv, REG_BCN_PSR_RPT, (u2btmp | in rtl92d_set_hw_reg()
|
H A D | phy_common.c | 840 rtl_write_word(rtlpriv, REG_TRXFF_BNDY + 2, 0x13ff); in rtl92d_phy_config_maccoexist_rfpage() 845 rtl_write_word(rtlpriv, REG_TRXFF_BNDY + 2, 0x13ff); in rtl92d_phy_config_maccoexist_rfpage() 850 rtl_write_word(rtlpriv, (REG_TRXFF_BNDY + 2), 0x27FF); in rtl92d_phy_config_maccoexist_rfpage()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | trx.c | 738 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, BIT(4)); in rtl8723be_tx_polling() 740 rtl_write_word(rtlpriv, REG_PCIE_CTRL_REG, in rtl8723be_tx_polling()
|
/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | debug.c | 297 rtl_write_word(rtlpriv, addr, (u16)val); in rtl_debugfs_set_write_reg()
|