/Linux-v5.4/drivers/net/wireless/realtek/rtw88/ |
D | rtw8822c.c | 356 rtw_write32(rtwdev, 0x1d70, 0x7e7e7e7e); in rtw8822c_dac_bb_setting() 359 rtw_write32(rtwdev, 0x1b00, 0x00000008); in rtw8822c_dac_bb_setting() 361 rtw_write32(rtwdev, 0x1b00, 0x0000000a); in rtw8822c_dac_bb_setting() 394 rtw_write32(rtwdev, base_addr + 0x30, 0x30db8041); in rtw8822c_dac_cal_adc() 395 rtw_write32(rtwdev, base_addr + 0x60, 0xf0040ff0); in rtw8822c_dac_cal_adc() 396 rtw_write32(rtwdev, base_addr + 0x0c, 0xdff00220); in rtw8822c_dac_cal_adc() 397 rtw_write32(rtwdev, base_addr + 0x10, 0x02dd08c4); in rtw8822c_dac_cal_adc() 398 rtw_write32(rtwdev, base_addr + 0x0c, 0x10000260); in rtw8822c_dac_cal_adc() 403 rtw_write32(rtwdev, 0x1c3c, path_sel + 0x8003); in rtw8822c_dac_cal_adc() 404 rtw_write32(rtwdev, 0x1c24, 0x00010002); in rtw8822c_dac_cal_adc() [all …]
|
D | util.c | 28 rtw_write32(rtwdev, LTECOEX_ACCESS_CTRL, 0x800F0000 | offset); in ltecoex_read_reg() 39 rtw_write32(rtwdev, LTECOEX_WRITE_DATA, value); in ltecoex_reg_write() 40 rtw_write32(rtwdev, LTECOEX_ACCESS_CTRL, 0xC00F0000 | offset); in ltecoex_reg_write() 66 rtw_write32(rtwdev, reg, (u32)val); in rtw_restore_reg()
|
D | mac.c | 39 rtw_write32(rtwdev, REG_WMAC_TRXPTCL_CTL, value32); in rtw_set_channel_mac() 43 rtw_write32(rtwdev, REG_AFE_CTRL1, value32); in rtw_set_channel_mac() 75 rtw_write32(rtwdev, REG_PAD_CTRL1, value32); in rtw_mac_pre_system_cfg() 79 rtw_write32(rtwdev, REG_LED_CFG, value32); in rtw_mac_pre_system_cfg() 83 rtw_write32(rtwdev, REG_GPIO_MUXCFG, value32); in rtw_mac_pre_system_cfg() 96 rtw_write32(rtwdev, REG_WLRF1, value32); in rtw_mac_pre_system_cfg() 262 rtw_write32(rtwdev, REG_CPU_DMEM_CON, value); in rtw_mac_init_system_cfg() 271 rtw_write32(rtwdev, REG_MCUFW_CTRL, tmp & (~BIT_BOOT_FSPI_EN)); in rtw_mac_init_system_cfg() 273 rtw_write32(rtwdev, REG_GPIO_MUXCFG, value); in rtw_mac_init_system_cfg() 379 rtw_write32(rtwdev, REG_H2CQ_CSR, BIT_H2CQ_FULL); in download_firmware_reg_backup() [all …]
|
D | sec.c | 73 rtw_write32(rtwdev, RTW_SEC_WRITE_REG, content); in rtw_sec_write_cam() 74 rtw_write32(rtwdev, RTW_SEC_CMD_REG, command); in rtw_sec_write_cam() 95 rtw_write32(rtwdev, RTW_SEC_WRITE_REG, 0); in rtw_sec_clear_cam() 96 rtw_write32(rtwdev, RTW_SEC_CMD_REG, command); in rtw_sec_clear_cam()
|
D | pci.c | 399 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_BCNQ, dma); in rtw_pci_reset_buf_desc() 406 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_H2CQ, dma); in rtw_pci_reset_buf_desc() 413 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_BKQ, dma); in rtw_pci_reset_buf_desc() 420 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_BEQ, dma); in rtw_pci_reset_buf_desc() 427 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_VOQ, dma); in rtw_pci_reset_buf_desc() 434 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_VIQ, dma); in rtw_pci_reset_buf_desc() 441 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_MGMTQ, dma); in rtw_pci_reset_buf_desc() 448 rtw_write32(rtwdev, RTK_PCI_TXBD_DESA_HI0Q, dma); in rtw_pci_reset_buf_desc() 455 rtw_write32(rtwdev, RTK_PCI_RXBD_DESA_MPDUQ, dma); in rtw_pci_reset_buf_desc() 458 rtw_write32(rtwdev, RTK_PCI_TXBD_RWPTR_CLR, 0xffffffff); in rtw_pci_reset_buf_desc() [all …]
|
D | hci.h | 87 static inline void rtw_write32(struct rtw_dev *rtwdev, u32 addr, u32 val) in rtw_write32() function 113 rtw_write32(rtwdev, addr, val | bit); in rtw_write32_set() 137 rtw_write32(rtwdev, addr, val & ~bit); in rtw_write32_clr() 189 rtw_write32(rtwdev, addr, set); in rtw_write32_mask()
|
D | rtw8822b.c | 174 rtw_write32(rtwdev, REG_PROT_MODE_CTRL, value32); in rtw8822b_mac_init() 186 rtw_write32(rtwdev, REG_SIFS, WLAN_SIFS_CFG); in rtw8822b_mac_init() 189 rtw_write32(rtwdev, REG_RD_NAV_NXT, WLAN_NAV_CFG); in rtw8822b_mac_init() 194 rtw_write32(rtwdev, REG_TBTT_PROHIBIT, WLAN_TBTT_TIME); in rtw8822b_mac_init() 199 rtw_write32(rtwdev, REG_RXFLTMAP0, WLAN_RX_FILTER0); in rtw8822b_mac_init() 201 rtw_write32(rtwdev, REG_RCR, WLAN_RCR_CFG); in rtw8822b_mac_init() 205 rtw_write32(rtwdev, REG_WMAC_OPTION_FUNCTION + 8, WLAN_MAC_OPT_FUNC2); in rtw8822b_mac_init() 882 rtw_write32(rtwdev, offset_txagc[path] + rate_idx, in rtw8822b_set_tx_power_index_by_rate() 1239 rtw_write32(rtwdev, REG_RX_GAIN_EN, wl_rx_low_gain_on[i]); in rtw8822b_coex_cfg_wl_rx_gain() 1248 rtw_write32(rtwdev, 0x81c, wl_rx_low_gain_off[i]); in rtw8822b_coex_cfg_wl_rx_gain()
|
D | coex.c | 78 rtw_write32(rtwdev, REG_DARFRC, 0x1000000); in rtw_coex_limited_tx() 79 rtw_write32(rtwdev, REG_DARFRCH, 0x1010101); in rtw_coex_limited_tx() 81 rtw_write32(rtwdev, REG_DARFRC, 0x1000000); in rtw_coex_limited_tx() 82 rtw_write32(rtwdev, REG_DARFRCH, 0x4030201); in rtw_coex_limited_tx() 89 rtw_write32(rtwdev, REG_DARFRC, coex_stat->darfrc); in rtw_coex_limited_tx() 90 rtw_write32(rtwdev, REG_DARFRCH, coex_stat->darfrch); in rtw_coex_limited_tx() 772 rtw_write32(rtwdev, REG_BT_COEX_TABLE0, table0); in rtw_coex_set_table() 773 rtw_write32(rtwdev, REG_BT_COEX_TABLE1, table1); in rtw_coex_set_table() 774 rtw_write32(rtwdev, REG_BT_COEX_BRK_TABLE, DEF_BRK_TABLE_VAL); in rtw_coex_set_table()
|
D | efuse.c | 103 rtw_write32(rtwdev, REG_EFUSE_CTRL, efuse_ctl & (~BIT_EF_FLAG)); in rtw_dump_physical_efuse_map()
|
D | debug.c | 205 rtw_write32(rtwdev, RTW_SEC_CMD_REG, command); in rtw_debugfs_get_dump_cam() 335 rtw_write32(rtwdev, addr, (u32)val); in rtw_debugfs_set_write_reg()
|
D | mac80211.c | 236 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_ops_configure_filter()
|
D | phy.c | 723 rtw_write32(rtwdev, sipi_addr[rf_path], data_and_addr); in rtw_phy_write_rf_reg_sipi() 1383 rtw_write32(rtwdev, addr, data); in rtw_phy_cfg_agc() 1402 rtw_write32(rtwdev, addr, data); in rtw_phy_cfg_bb()
|
D | main.c | 735 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_core_start()
|
/Linux-v5.4/drivers/staging/rtl8723bs/hal/ |
D | sdio_halinit.c | 59 rtw_write32(Adapter, REG_GPIO_PIN_CTRL_2, value32); in HostWakeUpGpioClear() 185 rtw_write32(padapter, REG_LEDCFG0, value32); in _InitPowerOn_8723BS() 249 rtw_write32(padapter, REG_RQPN, value32); in _InitQueueReservedPage() 454 rtw_write32(padapter, REG_CR, value32); in _InitNetworkType() 470 rtw_write32(padapter, REG_RCR, pHalData->ReceiveConfig); in _InitWMACSetting() 473 rtw_write32(padapter, REG_MAR, 0xFFFFFFFF); in _InitWMACSetting() 474 rtw_write32(padapter, REG_MAR + 4, 0xFFFFFFFF); in _InitWMACSetting() 500 rtw_write32(padapter, REG_RRSR, value32); in _InitAdaptiveCtrl() 527 rtw_write32(padapter, REG_EDCA_BE_PARAM, 0x005EA42B); in _InitEDCA() 528 rtw_write32(padapter, REG_EDCA_BK_PARAM, 0x0000A44F); in _InitEDCA() [all …]
|
D | rtl8723b_hal_init.c | 82 …ret = rtw_write32(padapter, (FW_8723B_START_ADDRESS + i * blockSize_p1), *((u32 *)(bufferPtr + i *… in _BlockWrite() 277 rtw_write32(adapter, REG_MCUFWDL, value32); in _FWFreeToGo() 619 rtw_write32(padapter, EFUSE_TEST, value32); in hal_EfuseSwitchToBank() 1981 rtw_write32(Adapter, REG_ARFR0_8723B, 0x00000010); in _InitBurstPktLen_8723BS() 1983 rtw_write32(Adapter, REG_ARFR0_8723B+4, 0xfffff000); in _InitBurstPktLen_8723BS() 1985 rtw_write32(Adapter, REG_ARFR0_8723B+4, 0x3e0ff000); in _InitBurstPktLen_8723BS() 1988 rtw_write32(Adapter, REG_ARFR1_8723B, 0x00000010); in _InitBurstPktLen_8723BS() 1989 rtw_write32(Adapter, REG_ARFR1_8723B+4, 0x003ff000); in _InitBurstPktLen_8723BS() 2076 rtw_write32(padapter, REG_TCR, value32); in rtl8723b_SetBeaconRelatedRegisters() 2079 rtw_write32(padapter, REG_TCR, value32); in rtl8723b_SetBeaconRelatedRegisters() [all …]
|
D | odm_EdcaTurboCheck.c | 165 rtw_write32(Adapter, REG_EDCA_BE_PARAM, edca_param); in odm_EdcaTurboCheckCE() 174 rtw_write32(Adapter, REG_EDCA_BE_PARAM, pHalData->AcParam_BE); in odm_EdcaTurboCheckCE()
|
D | rtl8723b_phycfg.c | 117 rtw_write32(Adapter, RegAddr, Data); in PHY_SetBBReg_8723B() 532 rtw_write32(Adapter, 0x948, 0x280); /* Others use Antenna S1 */ in PHY_BBConfig8723B()
|
D | odm_DIG.c | 21 …rtw_write32(pDM_Odm->Adapter, ODM_REG_NHM_TH3_TO_TH0_11N, 0xffffff52); /* 0x898 = 0xffffff52 th_3… in odm_NHMCounterStatisticsInit() 22 …rtw_write32(pDM_Odm->Adapter, ODM_REG_NHM_TH7_TO_TH4_11N, 0xffffffff); /* 0x89c = 0xffffffff th_7… in odm_NHMCounterStatisticsInit()
|
D | sdio_ops.c | 831 rtw_write32(adapter, REG_HSIMR, tmp | haldata->SysIntrMask); in EnableInterrupt8723BSdio()
|
D | rtl8723b_cmd.c | 102 rtw_write32(padapter, msgbox_ex_addr, h2c_cmd_ex); in FillH2CCmd8723B() 105 rtw_write32(padapter, msgbox_addr, h2c_cmd); in FillH2CCmd8723B()
|
D | hal_btcoex.c | 799 rtw_write32(padapter, RegAddr, Data); in halbtcoutsrc_Write4Byte()
|
D | HalPhyRf_8723B.c | 1348 rtw_write32(padapter, MACReg[i], MACBackup[i]); in _PHY_ReloadMACRegisters8723B()
|
/Linux-v5.4/drivers/staging/rtl8723bs/include/ |
D | rtw_io.h | 302 #define rtw_write32(adapter, addr, val) _rtw_write32((adapter), (addr), (val)) macro 355 rtw_write32(_a, _b, _c)
|
/Linux-v5.4/drivers/staging/rtl8723bs/core/ |
D | rtw_efuse.c | 348 rtw_write32(padapter, EFUSE_CTRL, 0x90600000|((addr<<8 | data))); in efuse_OneByteWrite()
|
D | rtw_wlan_util.c | 536 rtw_write32(padapter, RWCAM, cmd); in _ReadCAM()
|