Home
last modified time | relevance | path

Searched refs:rtw_read32 (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dmac.c29 value32 = rtw_read32(rtwdev, REG_WMAC_TRXPTCL_CTL); in rtw_set_channel_mac()
47 value32 = rtw_read32(rtwdev, REG_AFE_CTRL1) & ~(BIT_MAC_CLK_SEL); in rtw_set_channel_mac()
71 if (rtw_read32(rtwdev, REG_SYS_CFG1) & BIT_LDO) in rtw_mac_pre_system_cfg()
111 value32 = rtw_read32(rtwdev, REG_PAD_CTRL1); in rtw_mac_pre_system_cfg()
115 value32 = rtw_read32(rtwdev, REG_LED_CFG); in rtw_mac_pre_system_cfg()
119 value32 = rtw_read32(rtwdev, REG_GPIO_MUXCFG); in rtw_mac_pre_system_cfg()
132 value32 = rtw_read32(rtwdev, REG_WLRF1); in rtw_mac_pre_system_cfg()
302 imr = rtw_read32(rtwdev, REG_SDIO_HIMR); in rtw_mac_power_switch()
327 value = rtw_read32(rtwdev, REG_CPU_DMEM_CON); in __rtw_mac_init_system_cfg()
336 tmp = rtw_read32(rtwdev, REG_MCUFW_CTRL); in __rtw_mac_init_system_cfg()
[all …]
Drtw8723d.c173 val32 = rtw_read32(rtwdev, REG_TBTT_PROHIBIT); in rtw8723d_phy_set_param()
401 if (rtw_read32(rtwdev, REG_PSDRPT) >= thres) in rtw8723d_check_spur_ov_thres()
657 val32 = rtw_read32(rtwdev, REG_OFDM_FA_TYPE1_11N); in rtw8723d_false_alarm_statistics()
660 val32 = rtw_read32(rtwdev, REG_OFDM_FA_TYPE2_11N); in rtw8723d_false_alarm_statistics()
663 val32 = rtw_read32(rtwdev, REG_OFDM_FA_TYPE3_11N); in rtw8723d_false_alarm_statistics()
666 val32 = rtw_read32(rtwdev, REG_OFDM_FA_TYPE4_11N); in rtw8723d_false_alarm_statistics()
673 dm_info->cck_err_cnt = rtw_read32(rtwdev, REG_IGI_C_11N); in rtw8723d_false_alarm_statistics()
674 dm_info->cck_ok_cnt = rtw_read32(rtwdev, REG_IGI_D_11N); in rtw8723d_false_alarm_statistics()
675 crc32_cnt = rtw_read32(rtwdev, REG_OFDM_CRC32_CNT_11N); in rtw8723d_false_alarm_statistics()
678 crc32_cnt = rtw_read32(rtwdev, REG_HT_CRC32_CNT_11N); in rtw8723d_false_alarm_statistics()
[all …]
Dhci.h97 static inline u32 rtw_read32(struct rtw_dev *rtwdev, u32 addr) in rtw_read32() function
137 val = rtw_read32(rtwdev, addr); in rtw_write32_set()
161 val = rtw_read32(rtwdev, addr); in rtw_write32_clr()
194 orig = rtw_read32(rtwdev, addr); in rtw_read32_mask()
235 orig = rtw_read32(rtwdev, addr); in rtw_write32_mask()
Defuse.c102 efuse_ctl = rtw_read32(rtwdev, REG_EFUSE_CTRL); in rtw_dump_physical_efuse_map()
112 efuse_ctl = rtw_read32(rtwdev, REG_EFUSE_CTRL); in rtw_dump_physical_efuse_map()
133 ret = read_poll_timeout(rtw_read32, efuse_ctl, efuse_ctl & BIT_EF_FLAG, in rtw_read8_physical_efuse()
Dbf.c130 psf_ctl = rtw_read32(rtwdev, REG_BBPSF_CTRL) | in rtw_bf_cfg_sounding()
352 tmp32 = rtw_read32(rtwdev, REG_MU_TX_CTL); in rtw_bf_phy_init()
387 csi_cfg = rtw_read32(rtwdev, REG_BBPSF_CTRL) & ~BIT_MASK_CSI_RATE; in rtw_bf_cfg_csi_rate()
Dsdio.c816 rtw_read32(rtwdev, REG_SDIO_FREE_TXPG); in rtw_sdio_interface_cfg()
818 val = rtw_read32(rtwdev, REG_SDIO_TX_CTRL); in rtw_sdio_interface_cfg()
931 u32 val = rtw_read32(rtwdev, REG_TXDMA_STATUS); in rtw_sdio_tx_err_isr()
1028 rx_len = rtw_read32(rtwdev, REG_SDIO_RX0_REQ_LEN); in rtw_sdio_rx_isr()
1047 hisr = rtw_read32(rtwdev, REG_SDIO_HISR); in rtw_sdio_rx_isr()
1069 hisr = rtw_read32(rtwdev, REG_SDIO_HISR); in rtw_sdio_handle_interrupt()
Drtw8821c.c283 reg = rtw_read32(rtwdev, REG_RFECTL); in rtw8821c_switch_rf_set()
703 cck_enable = rtw_read32(rtwdev, REG_RXPSEL) & BIT(28); in rtw8821c_false_alarm_statistics()
713 crc32_cnt = rtw_read32(rtwdev, REG_CRC_CCK); in rtw8821c_false_alarm_statistics()
717 crc32_cnt = rtw_read32(rtwdev, REG_CRC_OFDM); in rtw8821c_false_alarm_statistics()
721 crc32_cnt = rtw_read32(rtwdev, REG_CRC_HT); in rtw8821c_false_alarm_statistics()
725 crc32_cnt = rtw_read32(rtwdev, REG_CRC_VHT); in rtw8821c_false_alarm_statistics()
729 cca32_cnt = rtw_read32(rtwdev, REG_CCA_OFDM); in rtw8821c_false_alarm_statistics()
733 cca32_cnt = rtw_read32(rtwdev, REG_CCA_CCK); in rtw8821c_false_alarm_statistics()
Drtw8822c.c123 backup[i].val = rtw_read32(rtwdev, addrs[i]); in rtw8822c_dac_backup_reg()
717 temp[0] = rtw_read32(rtwdev, 0x1860); in rtw8822c_dac_cal_backup()
718 temp[1] = rtw_read32(rtwdev, 0x4160); in rtw8822c_dac_cal_backup()
719 temp[2] = rtw_read32(rtwdev, 0x9b4); in rtw8822c_dac_cal_backup()
913 temp[0] = rtw_read32(rtwdev, 0x1860); in rtw8822c_dac_cal_restore()
914 temp[1] = rtw_read32(rtwdev, 0x4160); in rtw8822c_dac_cal_restore()
915 temp[2] = rtw_read32(rtwdev, 0x9b4); in rtw8822c_dac_cal_restore()
1196 reg_backup[i] = rtw_read32(rtwdev, reg[i]); in rtw8822c_txgapk_backup_bb_reg()
1516 val = rtw_read32(rtwdev, REG_STAT_RPT); in rtw8822c_txgapk_read_offset()
1528 val = rtw_read32(rtwdev, REG_STAT_RPT); in rtw8822c_txgapk_read_offset()
[all …]
Ddebug.c129 val = rtw_read32(rtwdev, addr); in rtw_debugfs_get_read_reg()
241 val = rtw_read32(rtwdev, RTW_SEC_READ_REG); in rtw_debugfs_get_dump_cam()
514 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_mac_page()
519 rtw_read32(rtwdev, (page | n))); in rtw_debug_get_mac_page()
533 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_bb_page()
538 rtw_read32(rtwdev, (page | n))); in rtw_debug_get_bb_page()
Dutil.c33 *val = rtw_read32(rtwdev, ltecoex->rdata); in ltecoex_read_reg()
Drtw8822b.c1068 cck_enable = rtw_read32(rtwdev, 0x808) & BIT(28); in rtw8822b_false_alarm_statistics()
1077 crc32_cnt = rtw_read32(rtwdev, 0xf04); in rtw8822b_false_alarm_statistics()
1080 crc32_cnt = rtw_read32(rtwdev, 0xf14); in rtw8822b_false_alarm_statistics()
1083 crc32_cnt = rtw_read32(rtwdev, 0xf10); in rtw8822b_false_alarm_statistics()
1086 crc32_cnt = rtw_read32(rtwdev, 0xf0c); in rtw8822b_false_alarm_statistics()
1090 cca32_cnt = rtw_read32(rtwdev, 0xf08); in rtw8822b_false_alarm_statistics()
1094 cca32_cnt = rtw_read32(rtwdev, 0xfcc); in rtw8822b_false_alarm_statistics()
Dcoex.c53 coex_stat->darfrc = rtw_read32(rtwdev, REG_DARFRC); in rtw_coex_limited_tx()
54 coex_stat->darfrch = rtw_read32(rtwdev, REG_DARFRCH); in rtw_coex_limited_tx()
473 tmp = rtw_read32(rtwdev, REG_BT_ACT_STATISTICS); in rtw_coex_monitor_bt_ctr()
477 tmp = rtw_read32(rtwdev, REG_BT_ACT_STATISTICS_1); in rtw_coex_monitor_bt_ctr()
1052 if (table0 == rtw_read32(rtwdev, REG_BT_COEX_TABLE0) && in rtw_coex_set_table()
1053 table1 == rtw_read32(rtwdev, REG_BT_COEX_TABLE1)) in rtw_coex_set_table()
3930 wl_reg_6c0 = rtw_read32(rtwdev, REG_BT_COEX_TABLE0); in rtw_coex_display_coex_info()
3931 wl_reg_6c4 = rtw_read32(rtwdev, REG_BT_COEX_TABLE1); in rtw_coex_display_coex_info()
3932 wl_reg_6c8 = rtw_read32(rtwdev, REG_BT_COEX_BRK_TABLE); in rtw_coex_display_coex_info()
3933 wl_reg_6cc = rtw_read32(rtwdev, REG_BT_COEX_TABLE_H); in rtw_coex_display_coex_info()
Dpci.c954 bd_idx = rtw_read32(rtwdev, bd_idx_addr); in rtw_pci_tx_isr()
1029 tmp = rtw_read32(rtwdev, RTK_PCI_RXBD_IDX_MPDUQ); in rtw_pci_get_hw_rx_ring_nr()
1123 irq_status[0] = rtw_read32(rtwdev, RTK_PCI_HISR0); in rtw_pci_irq_recognized()
1124 irq_status[1] = rtw_read32(rtwdev, RTK_PCI_HISR1); in rtw_pci_irq_recognized()
1126 irq_status[3] = rtw_read32(rtwdev, RTK_PCI_HISR3); in rtw_pci_irq_recognized()
Dmain.c559 *(u32 *)(buf + i) = rtw_read32(rtwdev, addr + i); in rtw_dump_reg()
1842 hal->chip_version = rtw_read32(rtwdev, REG_SYS_CFG1); in rtw_chip_parameter_setup()
/linux-6.6.21/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c193 value32 = rtw_read32(adapter, REG_MCUFWDL); in polling_fwdl_chksum()
224 value32 = rtw_read32(adapter, REG_MCUFWDL); in _FWFreeToGo()
234 value32 = rtw_read32(adapter, REG_MCUFWDL); in _FWFreeToGo()
470 value32 = rtw_read32(padapter, EFUSE_TEST); in hal_EfuseSwitchToBank()
1640 value32 = rtw_read32(padapter, REG_SYS_CFG); in ReadChipVersion8723B()
1649 value32 = rtw_read32(padapter, REG_GPIO_OUTSTS); in ReadChipVersion8723B()
1654 value32 = rtw_read32(padapter, REG_MULTI_FUNC_CTRL); in ReadChipVersion8723B()
1801 value32 = rtw_read32(padapter, REG_TCR); in rtl8723b_SetBeaconRelatedRegisters()
2031 val32 = rtw_read32(padapter, REG_AUTO_LLT); in rtl8723b_InitLLTTable()
2038 val32 = rtw_read32(padapter, REG_AUTO_LLT); in rtl8723b_InitLLTTable()
[all …]
Dsdio_halinit.c103 value32 = rtw_read32(padapter, REG_LEDCFG0); in _InitPowerOn_8723BS()
358 value32 = rtw_read32(padapter, REG_CR); in _InitNetworkType()
407 value32 = rtw_read32(padapter, REG_RRSR); in _InitAdaptiveCtrl()
791 rtw_write32(padapter, REG_FWHW_TXQ_CTRL, rtw_read32(padapter, REG_FWHW_TXQ_CTRL) | BIT(12)); in rtl8723bs_hal_init()
1011 value32 = rtw_read32(padapter, EFUSE_TEST); in _EfuseCellSel()
Drtl8723b_phycfg.c46 OriginalValue = rtw_read32(Adapter, RegAddr); in PHY_QueryBBReg_8723B()
78 OriginalValue = rtw_read32(Adapter, RegAddr); in PHY_SetBBReg_8723B()
Dodm.c640 pDM_SWAT_Table->SWAS_NoLink_BK_Reg92c = rtw_read32(pDM_Odm->Adapter, rDPDT_control); in odm_SwAntDetectInit()
Dsdio_ops.c743 tmp = rtw_read32(adapter, REG_HSIMR); in EnableInterrupt8723BSdio()
Dhal_btcoex.c600 return rtw_read32(padapter, RegAddr); in halbtcoutsrc_Read4Byte()
/linux-6.6.21/drivers/staging/rtl8723bs/core/
Drtw_debug.c20 reg[i] = rtw_read32(adapter, offset + i); in dump_4_regs()
Drtw_io.c55 u32 rtw_read32(struct adapter *adapter, u32 addr) in rtw_read32() function
Drtw_efuse.c295 efuseValue = rtw_read32(padapter, EFUSE_CTRL); in efuse_OneByteWrite()
Drtw_wlan_util.c457 if (0 == (rtw_read32(padapter, REG_CAMCMD) & CAM_POLLINIG)) in _ReadCAM()
461 return rtw_read32(padapter, REG_CAMREAD); in _ReadCAM()
/linux-6.6.21/drivers/staging/rtl8723bs/include/
Drtw_io.h173 extern u32 rtw_read32(struct adapter *adapter, u32 addr);

12