Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8723d.c396 rtw_write32(rtwdev, REG_ANALOG_P4, DIS_3WIRE); in rtw8723d_check_spur_ov_thres()
397 rtw_write32(rtwdev, REG_PSDFN, freq); in rtw8723d_check_spur_ov_thres()
404 rtw_write32(rtwdev, REG_PSDFN, freq); in rtw8723d_check_spur_ov_thres()
405 rtw_write32(rtwdev, REG_ANALOG_P4, EN_3WIRE); in rtw8723d_check_spur_ov_thres()
556 rtw_write32(rtwdev, REG_TCR, BIT_TCR_CFG); in rtw8723d_mac_init()
561 rtw_write32(rtwdev, REG_RCR, WLAN_RCR_CFG); in rtw8723d_mac_init()
563 rtw_write32(rtwdev, REG_INT_MIG, 0); in rtw8723d_mac_init()
564 rtw_write32(rtwdev, REG_MCUTST_1, 0x0); in rtw8723d_mac_init()
952 rtw_write32(rtwdev, REG_IQK_AGC_PTS_11N, pts); in rtw8723d_iqk_one_shot()
1000 rtw_write32(rtwdev, REG_TXIQK_11N, 0x01007c00); in rtw8723d_iqk_tx_path()
[all …]
H 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 …]
H A Drtw8822c.c487 rtw_write32(rtwdev, 0x9b4, 0xdb66db00); in rtw8822c_dac_cal_step1()
510 rtw_write32(rtwdev, 0x9b4, 0xdb6db600); in rtw8822c_dac_cal_step1()
738 rtw_write32(rtwdev, 0x1860, temp[0]); in rtw8822c_dac_cal_backup()
739 rtw_write32(rtwdev, 0x4160, temp[1]); in rtw8822c_dac_cal_backup()
740 rtw_write32(rtwdev, 0x9b4, temp[2]); in rtw8822c_dac_cal_backup()
931 rtw_write32(rtwdev, 0x1860, temp[0]); in rtw8822c_dac_cal_restore()
932 rtw_write32(rtwdev, 0x4160, temp[1]); in rtw8822c_dac_cal_restore()
937 rtw_write32(rtwdev, 0x9b4, temp[2]); in rtw8822c_dac_cal_restore()
3777 rtw_write32(rtwdev, REG_RXSRAM_CTL, in rtw8822c_dpk_coef_tbl_apply()
3941 rtw_write32(rtwdev, REG_DPD_CTL15, in rtw8822c_dpk_cal_gs()
[all …]
H A Dmac.c49 rtw_write32(rtwdev, REG_AFE_CTRL1, value32); in rtw_set_channel_mac()
113 rtw_write32(rtwdev, REG_PAD_CTRL1, value32); in rtw_mac_pre_system_cfg()
117 rtw_write32(rtwdev, REG_LED_CFG, value32); in rtw_mac_pre_system_cfg()
121 rtw_write32(rtwdev, REG_GPIO_MUXCFG, value32); in rtw_mac_pre_system_cfg()
134 rtw_write32(rtwdev, REG_WLRF1, value32); in rtw_mac_pre_system_cfg()
303 rtw_write32(rtwdev, REG_SDIO_HIMR, 0); in rtw_mac_power_switch()
320 rtw_write32(rtwdev, REG_SDIO_HIMR, imr); in rtw_mac_power_switch()
562 rtw_write32(rtwdev, REG_DDMA_CH0SA, src); in iddma_enable()
563 rtw_write32(rtwdev, REG_DDMA_CH0DA, dst); in iddma_enable()
1216 rtw_write32(rtwdev, REG_RQPN_NPQ, val32); in __priority_queue_cfg_legacy()
[all …]
H 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()
H 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()
H A Dpci.c405 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_BCNQ, dma); in rtw_pci_reset_buf_desc()
413 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_H2CQ, dma); in rtw_pci_reset_buf_desc()
421 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_BKQ, dma); in rtw_pci_reset_buf_desc()
428 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_BEQ, dma); in rtw_pci_reset_buf_desc()
435 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_VOQ, dma); in rtw_pci_reset_buf_desc()
442 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_VIQ, dma); in rtw_pci_reset_buf_desc()
449 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_MGMTQ, dma); in rtw_pci_reset_buf_desc()
456 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_HI0Q, dma); in rtw_pci_reset_buf_desc()
507 rtw_write32(rtwdev, RTK_PCI_HIMR0, 0); in rtw_pci_disable_interrupt()
508 rtw_write32(rtwdev, RTK_PCI_HIMR1, 0); in rtw_pci_disable_interrupt()
[all …]
H 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()
H A Drtw8821c.c155 rtw_write32(rtwdev, 0x1C94, 0xAFFFAFFF); in rtw8821c_phy_bf_init()
221 rtw_write32(rtwdev, REG_PROT_MODE_CTRL, value32); in rtw8821c_mac_init()
235 rtw_write32(rtwdev, REG_SIFS, WLAN_SIFS_CFG); in rtw8821c_mac_init()
238 rtw_write32(rtwdev, REG_RD_NAV_NXT, WLAN_NAV_CFG); in rtw8821c_mac_init()
245 rtw_write32(rtwdev, REG_TBTT_PROHIBIT, WLAN_TBTT_TIME); in rtw8821c_mac_init()
251 rtw_write32(rtwdev, REG_RXFLTMAP0, WLAN_RX_FILTER0); in rtw8821c_mac_init()
253 rtw_write32(rtwdev, REG_RCR, WLAN_RCR_CFG); in rtw8821c_mac_init()
261 rtw_write32(rtwdev, REG_WMAC_OPTION_FUNCTION + 8, WLAN_MAC_OPT_FUNC2); in rtw8821c_mac_init()
307 rtw_write32(rtwdev, REG_RFECTL, reg); in rtw8821c_switch_rf_set()
672 rtw_write32(rtwdev, offset_txagc[path] + rate_idx, in rtw8821c_set_tx_power_index_by_rate()
H A Drtw8822b.c148 rtw_write32(rtwdev, 0x1C94, 0xAFFFAFFF); in rtw8822b_phy_bf_init()
250 rtw_write32(rtwdev, REG_PROT_MODE_CTRL, value32); in rtw8822b_mac_init()
262 rtw_write32(rtwdev, REG_SIFS, WLAN_SIFS_CFG); in rtw8822b_mac_init()
265 rtw_write32(rtwdev, REG_RD_NAV_NXT, WLAN_NAV_CFG); in rtw8822b_mac_init()
270 rtw_write32(rtwdev, REG_TBTT_PROHIBIT, WLAN_TBTT_TIME); in rtw8822b_mac_init()
275 rtw_write32(rtwdev, REG_RXFLTMAP0, WLAN_RX_FILTER0); in rtw8822b_mac_init()
277 rtw_write32(rtwdev, REG_RCR, WLAN_RCR_CFG); in rtw8822b_mac_init()
281 rtw_write32(rtwdev, REG_WMAC_OPTION_FUNCTION + 8, WLAN_MAC_OPT_FUNC2); in rtw8822b_mac_init()
993 rtw_write32(rtwdev, offset_txagc[path] + rate_idx, in rtw8822b_set_tx_power_index_by_rate()
1367 rtw_write32(rtwdev, REG_RX_GAIN_EN, wl_rx_low_gain_on[i]); in rtw8822b_coex_cfg_wl_rx_gain()
[all …]
H A Dsdio.c704 rtw_write32(rtwdev, REG_SDIO_HIMR, rtwsdio->irq_mask); in rtw_sdio_enable_interrupt()
709 rtw_write32(rtwdev, REG_SDIO_HIMR, 0x0); in rtw_sdio_disable_interrupt()
820 rtw_write32(rtwdev, REG_SDIO_TX_CTRL, val); in rtw_sdio_interface_cfg()
933 rtw_write32(rtwdev, REG_TXDMA_STATUS, val); in rtw_sdio_tx_err_isr()
1078 rtw_write32(rtwdev, REG_SDIO_HISR, hisr); in rtw_sdio_handle_interrupt()
H A Defuse.c107 rtw_write32(rtwdev, REG_EFUSE_CTRL, efuse_ctl & (~BIT_EF_FLAG)); in rtw_dump_physical_efuse_map()
H 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()
H 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()
H A Dfw.c355 rtw_write32(rtwdev, box_ex_reg, h2c->w1); in rtw_fw_send_h2c_command_register()
356 rtw_write32(rtwdev, box_reg, h2c->w0); in rtw_fw_send_h2c_command_register()
410 rtw_write32(rtwdev, box_ex_reg, le32_to_cpu(h2c_cmd->msg_ext)); in rtw_fw_send_h2c_command()
411 rtw_write32(rtwdev, box_reg, le32_to_cpu(h2c_cmd->msg)); in rtw_fw_send_h2c_command()
2151 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_hw_scan_start()
2169 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_hw_scan_complete()
H 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()
/openbmc/linux/drivers/staging/rtl8723bs/hal/
H 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 …]
H 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()
2973 rtw_write32(padapter, REG_TSFTR, tsf); in hw_var_set_correct_tsf()
3094 rtw_write32(padapter, REG_RCR, val32); in hw_var_set_mlme_join()
3315 rtw_write32(padapter, REG_RCR, val32); in SetHwReg8723B()
3351 rtw_write32(padapter, REG_RCR, val32); in SetHwReg8723B()
3357 rtw_write32(padapter, REG_RCR, val32); in SetHwReg8723B()
[all …]
H 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()
H 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()
H 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()
H 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()
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_io.c95 int rtw_write32(struct adapter *adapter, u32 addr, u32 val) in rtw_write32() function
H A Drtw_efuse.c307 rtw_write32(padapter, EFUSE_CTRL, 0x90600000|((addr<<8 | data))); in efuse_OneByteWrite()
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Drtw_io.h177 extern int rtw_write32(struct adapter *adapter, u32 addr, u32 val);

12