Home
last modified time | relevance | path

Searched refs:rtw_write32 (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/
A Drtw8723d.c387 rtw_write32(rtwdev, REG_ANALOG_P4, DIS_3WIRE); in rtw8723d_check_spur_ov_thres()
388 rtw_write32(rtwdev, REG_PSDFN, freq); in rtw8723d_check_spur_ov_thres()
395 rtw_write32(rtwdev, REG_PSDFN, freq); in rtw8723d_check_spur_ov_thres()
396 rtw_write32(rtwdev, REG_ANALOG_P4, EN_3WIRE); in rtw8723d_check_spur_ov_thres()
547 rtw_write32(rtwdev, REG_TCR, BIT_TCR_CFG); in rtw8723d_mac_init()
552 rtw_write32(rtwdev, REG_RCR, WLAN_RCR_CFG); in rtw8723d_mac_init()
554 rtw_write32(rtwdev, REG_INT_MIG, 0); in rtw8723d_mac_init()
555 rtw_write32(rtwdev, REG_MCUTST_1, 0x0); in rtw8723d_mac_init()
943 rtw_write32(rtwdev, REG_IQK_AGC_PTS_11N, pts); in rtw8723d_iqk_one_shot()
991 rtw_write32(rtwdev, REG_TXIQK_11N, 0x01007c00); in rtw8723d_iqk_tx_path()
[all …]
A Dbf.c141 rtw_write32(rtwdev, REG_BBPSF_CTRL, psf_ctl | BIT(12)); in rtw_bf_cfg_sounding()
143 rtw_write32(rtwdev, REG_BBPSF_CTRL, psf_ctl & ~BIT(12)); in rtw_bf_cfg_sounding()
162 rtw_write32(rtwdev, REG_MU_STA_USER_POS_INFO + 4, in rtw_bf_cfg_mu_bfee()
168 rtw_write32(rtwdev, REG_MU_STA_USER_POS_INFO + 4, in rtw_bf_cfg_mu_bfee()
174 rtw_write32(rtwdev, REG_ASSOCIATED_BFMER0_INFO, 0); in rtw_bf_del_bfer_entry_mu()
175 rtw_write32(rtwdev, REG_ASSOCIATED_BFMER0_INFO + 4, 0); in rtw_bf_del_bfer_entry_mu()
284 rtw_write32(rtwdev, REG_ASSOCIATED_BFMER0_INFO, 0); in rtw_bf_remove_bfee_su()
289 rtw_write32(rtwdev, REG_ASSOCIATED_BFMER1_INFO, 0); in rtw_bf_remove_bfee_su()
362 rtw_write32(rtwdev, REG_MU_TX_CTL, tmp32); in rtw_bf_phy_init()
396 rtw_write32(rtwdev, REG_BBPSF_CTRL, csi_cfg); in rtw_bf_cfg_csi_rate()
[all …]
A Drtw8822c.c478 rtw_write32(rtwdev, 0x9b4, 0xdb66db00); in rtw8822c_dac_cal_step1()
501 rtw_write32(rtwdev, 0x9b4, 0xdb6db600); in rtw8822c_dac_cal_step1()
729 rtw_write32(rtwdev, 0x1860, temp[0]); in rtw8822c_dac_cal_backup()
730 rtw_write32(rtwdev, 0x4160, temp[1]); in rtw8822c_dac_cal_backup()
731 rtw_write32(rtwdev, 0x9b4, temp[2]); in rtw8822c_dac_cal_backup()
922 rtw_write32(rtwdev, 0x1860, temp[0]); in rtw8822c_dac_cal_restore()
923 rtw_write32(rtwdev, 0x4160, temp[1]); in rtw8822c_dac_cal_restore()
928 rtw_write32(rtwdev, 0x9b4, temp[2]); in rtw8822c_dac_cal_restore()
3766 rtw_write32(rtwdev, REG_RXSRAM_CTL, in rtw8822c_dpk_coef_tbl_apply()
3930 rtw_write32(rtwdev, REG_DPD_CTL15, in rtw8822c_dpk_cal_gs()
[all …]
A Dmac.c48 rtw_write32(rtwdev, REG_AFE_CTRL1, value32); in rtw_set_channel_mac()
89 rtw_write32(rtwdev, REG_PAD_CTRL1, value32); in rtw_mac_pre_system_cfg()
93 rtw_write32(rtwdev, REG_LED_CFG, value32); in rtw_mac_pre_system_cfg()
97 rtw_write32(rtwdev, REG_GPIO_MUXCFG, value32); in rtw_mac_pre_system_cfg()
110 rtw_write32(rtwdev, REG_WLRF1, value32); in rtw_mac_pre_system_cfg()
515 rtw_write32(rtwdev, REG_DDMA_CH0SA, src); in iddma_enable()
516 rtw_write32(rtwdev, REG_DDMA_CH0DA, dst); in iddma_enable()
616 rtw_write32(rtwdev, REG_DDMA_CH0CTRL, val); in download_firmware_to_mem()
823 rtw_write32(rtwdev, REG_MCUFW_CTRL, val32); in write_firmware_page()
1160 rtw_write32(rtwdev, REG_RQPN_NPQ, val32); in __priority_queue_cfg_legacy()
[all …]
A Dsec.c77 rtw_write32(rtwdev, RTW_SEC_WRITE_REG, content); in rtw_sec_write_cam()
78 rtw_write32(rtwdev, RTW_SEC_CMD_REG, command); in rtw_sec_write_cam()
99 rtw_write32(rtwdev, RTW_SEC_WRITE_REG, 0); in rtw_sec_clear_cam()
100 rtw_write32(rtwdev, RTW_SEC_CMD_REG, command); in rtw_sec_clear_cam()
A Dutil.c32 rtw_write32(rtwdev, ltecoex->ctrl, 0x800F0000 | offset); in ltecoex_read_reg()
46 rtw_write32(rtwdev, ltecoex->wdata, value); in ltecoex_reg_write()
47 rtw_write32(rtwdev, ltecoex->ctrl, 0xC00F0000 | offset); in ltecoex_reg_write()
73 rtw_write32(rtwdev, reg, (u32)val); in rtw_restore_reg()
A Dpci.c412 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_BCNQ, dma); in rtw_pci_reset_buf_desc()
420 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_H2CQ, dma); in rtw_pci_reset_buf_desc()
428 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_BKQ, dma); in rtw_pci_reset_buf_desc()
435 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_BEQ, dma); in rtw_pci_reset_buf_desc()
442 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_VOQ, dma); in rtw_pci_reset_buf_desc()
449 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_VIQ, dma); in rtw_pci_reset_buf_desc()
456 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_MGMTQ, dma); in rtw_pci_reset_buf_desc()
463 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_HI0Q, dma); in rtw_pci_reset_buf_desc()
514 rtw_write32(rtwdev, RTK_PCI_HIMR0, 0); in rtw_pci_disable_interrupt()
515 rtw_write32(rtwdev, RTK_PCI_HIMR1, 0); in rtw_pci_disable_interrupt()
[all …]
A Dhci.h112 static inline void rtw_write32(struct rtw_dev *rtwdev, u32 addr, u32 val) in rtw_write32() function
138 rtw_write32(rtwdev, addr, val | bit); in rtw_write32_set()
162 rtw_write32(rtwdev, addr, val & ~bit); in rtw_write32_clr()
237 rtw_write32(rtwdev, addr, set); in rtw_write32_mask()
A Drtw8821c.c132 rtw_write32(rtwdev, 0x1C94, 0xAFFFAFFF); in rtw8821c_phy_bf_init()
198 rtw_write32(rtwdev, REG_PROT_MODE_CTRL, value32); in rtw8821c_mac_init()
212 rtw_write32(rtwdev, REG_SIFS, WLAN_SIFS_CFG); in rtw8821c_mac_init()
215 rtw_write32(rtwdev, REG_RD_NAV_NXT, WLAN_NAV_CFG); in rtw8821c_mac_init()
222 rtw_write32(rtwdev, REG_TBTT_PROHIBIT, WLAN_TBTT_TIME); in rtw8821c_mac_init()
228 rtw_write32(rtwdev, REG_RXFLTMAP0, WLAN_RX_FILTER0); in rtw8821c_mac_init()
230 rtw_write32(rtwdev, REG_RCR, WLAN_RCR_CFG); in rtw8821c_mac_init()
238 rtw_write32(rtwdev, REG_WMAC_OPTION_FUNCTION + 8, WLAN_MAC_OPT_FUNC2); in rtw8821c_mac_init()
284 rtw_write32(rtwdev, REG_RFECTL, reg); in rtw8821c_switch_rf_set()
649 rtw_write32(rtwdev, offset_txagc[path] + rate_idx, in rtw8821c_set_tx_power_index_by_rate()
A Drtw8822b.c139 rtw_write32(rtwdev, 0x1C94, 0xAFFFAFFF); in rtw8822b_phy_bf_init()
241 rtw_write32(rtwdev, REG_PROT_MODE_CTRL, value32); in rtw8822b_mac_init()
253 rtw_write32(rtwdev, REG_SIFS, WLAN_SIFS_CFG); in rtw8822b_mac_init()
256 rtw_write32(rtwdev, REG_RD_NAV_NXT, WLAN_NAV_CFG); in rtw8822b_mac_init()
261 rtw_write32(rtwdev, REG_TBTT_PROHIBIT, WLAN_TBTT_TIME); in rtw8822b_mac_init()
266 rtw_write32(rtwdev, REG_RXFLTMAP0, WLAN_RX_FILTER0); in rtw8822b_mac_init()
268 rtw_write32(rtwdev, REG_RCR, WLAN_RCR_CFG); in rtw8822b_mac_init()
272 rtw_write32(rtwdev, REG_WMAC_OPTION_FUNCTION + 8, WLAN_MAC_OPT_FUNC2); in rtw8822b_mac_init()
984 rtw_write32(rtwdev, offset_txagc[path] + rate_idx, in rtw8822b_set_tx_power_index_by_rate()
1358 rtw_write32(rtwdev, REG_RX_GAIN_EN, wl_rx_low_gain_on[i]); in rtw8822b_coex_cfg_wl_rx_gain()
[all …]
A Defuse.c107 rtw_write32(rtwdev, REG_EFUSE_CTRL, efuse_ctl & (~BIT_EF_FLAG)); in rtw_dump_physical_efuse_map()
A Dwow.c68 rtw_write32(rtwdev, REG_WKFMCAM_RWD, wdata); in rtw_wow_pattern_write_cam()
69 rtw_write32(rtwdev, REG_WKFMCAM_CMD, BIT_WKFCAM_POLLING_V1 | in rtw_wow_pattern_write_cam()
245 rtw_write32(rtwdev, REG_WKFMCAM_CMD, BIT_WKFCAM_POLLING_V1 | in rtw_wow_pattern_clear_cam()
A Dphy.c601 rtw_write32(rtwdev, REG_RRSR, dm_info->rrsr_val_init & dm_info->rrsr_mask_min); in rtw_phy_rrsr_update()
946 rtw_write32(rtwdev, rf_sipi_addr->hssi_2, val32); in rtw_phy_read_rf_sipi()
950 rtw_write32(rtwdev, rf_sipi_addr_a->hssi_2, val32 & ~LSSI_READ_EDGE_MASK); in rtw_phy_read_rf_sipi()
951 rtw_write32(rtwdev, rf_sipi_addr_a->hssi_2, val32 | LSSI_READ_EDGE_MASK); in rtw_phy_read_rf_sipi()
998 rtw_write32(rtwdev, sipi_addr[rf_path], data_and_addr); in rtw_phy_write_rf_reg_sipi()
1705 rtw_write32(rtwdev, addr, data); in rtw_phy_cfg_agc()
1725 rtw_write32(rtwdev, addr, data); in rtw_phy_cfg_bb()
A Dcoex.c79 rtw_write32(rtwdev, REG_DARFRC, 0x1000000); in rtw_coex_limited_tx()
80 rtw_write32(rtwdev, REG_DARFRCH, 0x4030201); in rtw_coex_limited_tx()
86 rtw_write32(rtwdev, REG_DARFRC, coex_stat->darfrc); in rtw_coex_limited_tx()
87 rtw_write32(rtwdev, REG_DARFRCH, coex_stat->darfrch); in rtw_coex_limited_tx()
1056 rtw_write32(rtwdev, REG_BT_COEX_TABLE0, table0); in rtw_coex_set_table()
1057 rtw_write32(rtwdev, REG_BT_COEX_TABLE1, table1); in rtw_coex_set_table()
1058 rtw_write32(rtwdev, REG_BT_COEX_BRK_TABLE, DEF_BRK_TABLE_VAL); in rtw_coex_set_table()
A Dfw.c359 rtw_write32(rtwdev, box_ex_reg, le32_to_cpu(h2c_cmd->msg_ext)); in rtw_fw_send_h2c_command()
360 rtw_write32(rtwdev, box_reg, le32_to_cpu(h2c_cmd->msg)); in rtw_fw_send_h2c_command()
2075 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_hw_scan_start()
2093 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_hw_scan_complete()
A Ddebug.c237 rtw_write32(rtwdev, RTW_SEC_CMD_REG, command); in rtw_debugfs_get_dump_cam()
364 rtw_write32(rtwdev, addr, (u32)val); in rtw_debugfs_set_write_reg()
/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/
A Dsdio_halinit.c105 rtw_write32(padapter, REG_LEDCFG0, value32); in _InitPowerOn_8723BS()
162 rtw_write32(padapter, REG_RQPN, value32); in _InitQueueReservedPage()
364 rtw_write32(padapter, REG_CR, value32); in _InitNetworkType()
383 rtw_write32(padapter, REG_MAR, 0xFFFFFFFF); in _InitWMACSetting()
384 rtw_write32(padapter, REG_MAR + 4, 0xFFFFFFFF); in _InitWMACSetting()
410 rtw_write32(padapter, REG_RRSR, value32); in _InitAdaptiveCtrl()
437 rtw_write32(padapter, REG_EDCA_BE_PARAM, 0x005EA42B); in _InitEDCA()
438 rtw_write32(padapter, REG_EDCA_BK_PARAM, 0x0000A44F); in _InitEDCA()
538 rtw_write32(padapter, REG_HISR, 0); in _InitInterrupt()
541 rtw_write32(padapter, REG_HIMR, 0); in _InitInterrupt()
[all …]
A Drtl8723b_hal_init.c227 rtw_write32(adapter, REG_MCUFWDL, value32); in _FWFreeToGo()
490 rtw_write32(padapter, EFUSE_TEST, value32); in hal_EfuseSwitchToBank()
1803 rtw_write32(padapter, REG_TCR, value32); in rtl8723b_SetBeaconRelatedRegisters()
1806 rtw_write32(padapter, REG_TCR, value32); in rtl8723b_SetBeaconRelatedRegisters()
2033 rtw_write32(padapter, REG_AUTO_LLT, val32); in rtl8723b_InitLLTTable()
2971 rtw_write32(padapter, REG_TSFTR, tsf); in hw_var_set_correct_tsf()
3092 rtw_write32(padapter, REG_RCR, val32); in hw_var_set_mlme_join()
3313 rtw_write32(padapter, REG_RCR, val32); in SetHwReg8723B()
3349 rtw_write32(padapter, REG_RCR, val32); in SetHwReg8723B()
3355 rtw_write32(padapter, REG_RCR, val32); in SetHwReg8723B()
[all …]
A Dodm_EdcaTurboCheck.c145 rtw_write32(Adapter, REG_EDCA_BE_PARAM, edca_param); in odm_EdcaTurboCheckCE()
154 rtw_write32(Adapter, REG_EDCA_BE_PARAM, pHalData->AcParam_BE); in odm_EdcaTurboCheckCE()
A Drtl8723b_phycfg.c83 rtw_write32(Adapter, RegAddr, Data); in PHY_SetBBReg_8723B()
396 rtw_write32(Adapter, 0x948, 0x280); /* Others use Antenna S1 */ in PHY_BBConfig8723B()
A Dodm_DIG.c19rtw_write32(pDM_Odm->Adapter, ODM_REG_NHM_TH3_TO_TH0_11N, 0xffffff52); /* 0x898 = 0xffffff52 th_3… in odm_NHMCounterStatisticsInit()
20rtw_write32(pDM_Odm->Adapter, ODM_REG_NHM_TH7_TO_TH4_11N, 0xffffffff); /* 0x89c = 0xffffffff th_7… in odm_NHMCounterStatisticsInit()
A Drtl8723b_cmd.c91 rtw_write32(padapter, msgbox_ex_addr, h2c_cmd_ex); in FillH2CCmd8723B()
94 rtw_write32(padapter, msgbox_addr, h2c_cmd); in FillH2CCmd8723B()
/linux-6.3-rc2/drivers/staging/rtl8723bs/core/
A Drtw_io.c95 int rtw_write32(struct adapter *adapter, u32 addr, u32 val) in rtw_write32() function
A Drtw_efuse.c307 rtw_write32(padapter, EFUSE_CTRL, 0x90600000|((addr<<8 | data))); in efuse_OneByteWrite()
/linux-6.3-rc2/drivers/staging/rtl8723bs/include/
A Drtw_io.h177 extern int rtw_write32(struct adapter *adapter, u32 addr, u32 val);

Completed in 76 milliseconds

12