Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/
A Dmac.c28 value32 = rtw_read32(rtwdev, REG_WMAC_TRXPTCL_CTL); in rtw_set_channel_mac()
69 if (rtw_read32(rtwdev, REG_SYS_CFG1) & BIT_LDO) in rtw_mac_pre_system_cfg()
87 value32 = rtw_read32(rtwdev, REG_PAD_CTRL1); in rtw_mac_pre_system_cfg()
91 value32 = rtw_read32(rtwdev, REG_LED_CFG); in rtw_mac_pre_system_cfg()
95 value32 = rtw_read32(rtwdev, REG_GPIO_MUXCFG); in rtw_mac_pre_system_cfg()
108 value32 = rtw_read32(rtwdev, REG_WLRF1); in rtw_mac_pre_system_cfg()
290 value = rtw_read32(rtwdev, REG_CPU_DMEM_CON); in __rtw_mac_init_system_cfg()
299 tmp = rtw_read32(rtwdev, REG_MCUFW_CTRL); in __rtw_mac_init_system_cfg()
614 val = rtw_read32(rtwdev, REG_DDMA_CH0CTRL); in download_firmware_to_mem()
820 val32 = rtw_read32(rtwdev, REG_MCUFW_CTRL); in write_firmware_page()
[all …]
A Drtw8723d.c872 rtw_read32(rtwdev, REG_IQK_RES_RY)); in rtw8723d_iqk_check_tx_failed()
874 rtw_read32(rtwdev, REG_IQK_RES_TX), in rtw8723d_iqk_check_tx_failed()
878 rtw_read32(rtwdev, 0xe90), in rtw8723d_iqk_check_tx_failed()
879 rtw_read32(rtwdev, 0xe98)); in rtw8723d_iqk_check_tx_failed()
901 rtw_read32(rtwdev, REG_IQK_RES_RX), in rtw8723d_iqk_check_rx_failed()
906 rtw_read32(rtwdev, 0xea0), in rtw8723d_iqk_check_rx_failed()
907 rtw_read32(rtwdev, 0xea8)); in rtw8723d_iqk_check_rx_failed()
1088 rtw_read32(rtwdev, REG_TXIQK_11N), in rtw8723d_iqk_rx_path()
1500 rtw_read32(rtwdev, REG_A_RXIQI), in rtw8723d_phy_calibration()
1504 rtw_read32(rtwdev, REG_TXIQ_AB_S0), in rtw8723d_phy_calibration()
[all …]
A 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()
A 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()
A 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()
A Drtw8821c.c260 reg = rtw_read32(rtwdev, REG_RFECTL); in rtw8821c_switch_rf_set()
680 cck_enable = rtw_read32(rtwdev, REG_RXPSEL) & BIT(28); in rtw8821c_false_alarm_statistics()
690 crc32_cnt = rtw_read32(rtwdev, REG_CRC_CCK); in rtw8821c_false_alarm_statistics()
694 crc32_cnt = rtw_read32(rtwdev, REG_CRC_OFDM); in rtw8821c_false_alarm_statistics()
698 crc32_cnt = rtw_read32(rtwdev, REG_CRC_HT); in rtw8821c_false_alarm_statistics()
702 crc32_cnt = rtw_read32(rtwdev, REG_CRC_VHT); in rtw8821c_false_alarm_statistics()
706 cca32_cnt = rtw_read32(rtwdev, REG_CCA_OFDM); in rtw8821c_false_alarm_statistics()
710 cca32_cnt = rtw_read32(rtwdev, REG_CCA_CCK); in rtw8821c_false_alarm_statistics()
A Drtw8822c.c708 temp[0] = rtw_read32(rtwdev, 0x1860); in rtw8822c_dac_cal_backup()
709 temp[1] = rtw_read32(rtwdev, 0x4160); in rtw8822c_dac_cal_backup()
710 temp[2] = rtw_read32(rtwdev, 0x9b4); in rtw8822c_dac_cal_backup()
904 temp[0] = rtw_read32(rtwdev, 0x1860); in rtw8822c_dac_cal_restore()
905 temp[1] = rtw_read32(rtwdev, 0x4160); in rtw8822c_dac_cal_restore()
906 temp[2] = rtw_read32(rtwdev, 0x9b4); in rtw8822c_dac_cal_restore()
1507 val = rtw_read32(rtwdev, REG_STAT_RPT); in rtw8822c_txgapk_read_offset()
1519 val = rtw_read32(rtwdev, REG_STAT_RPT); in rtw8822c_txgapk_read_offset()
2879 crc32_cnt = rtw_read32(rtwdev, 0x2c04); in rtw8822c_false_alarm_statistics()
2882 crc32_cnt = rtw_read32(rtwdev, 0x2c14); in rtw8822c_false_alarm_statistics()
[all …]
A Ddebug.c129 val = rtw_read32(rtwdev, addr); in rtw_debugfs_get_read_reg()
238 val = rtw_read32(rtwdev, RTW_SEC_READ_REG); in rtw_debugfs_get_dump_cam()
491 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_mac_page()
496 rtw_read32(rtwdev, (page | n))); in rtw_debug_get_mac_page()
510 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_bb_page()
515 rtw_read32(rtwdev, (page | n))); in rtw_debug_get_bb_page()
A Dutil.c33 *val = rtw_read32(rtwdev, ltecoex->rdata); in ltecoex_read_reg()
A Drtw8822b.c1059 cck_enable = rtw_read32(rtwdev, 0x808) & BIT(28); in rtw8822b_false_alarm_statistics()
1068 crc32_cnt = rtw_read32(rtwdev, 0xf04); in rtw8822b_false_alarm_statistics()
1071 crc32_cnt = rtw_read32(rtwdev, 0xf14); in rtw8822b_false_alarm_statistics()
1074 crc32_cnt = rtw_read32(rtwdev, 0xf10); in rtw8822b_false_alarm_statistics()
1077 crc32_cnt = rtw_read32(rtwdev, 0xf0c); in rtw8822b_false_alarm_statistics()
1081 cca32_cnt = rtw_read32(rtwdev, 0xf08); in rtw8822b_false_alarm_statistics()
1085 cca32_cnt = rtw_read32(rtwdev, 0xfcc); in rtw8822b_false_alarm_statistics()
A 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()
A Dpci.c960 bd_idx = rtw_read32(rtwdev, bd_idx_addr); in rtw_pci_tx_isr()
1035 tmp = rtw_read32(rtwdev, RTK_PCI_RXBD_IDX_MPDUQ); in rtw_pci_get_hw_rx_ring_nr()
1129 irq_status[0] = rtw_read32(rtwdev, RTK_PCI_HISR0); in rtw_pci_irq_recognized()
1130 irq_status[1] = rtw_read32(rtwdev, RTK_PCI_HISR1); in rtw_pci_irq_recognized()
1132 irq_status[3] = rtw_read32(rtwdev, RTK_PCI_HISR3); in rtw_pci_irq_recognized()
A Dmain.c521 *(u32 *)(buf + i) = rtw_read32(rtwdev, addr + i); in rtw_dump_reg()
1797 hal->chip_version = rtw_read32(rtwdev, REG_SYS_CFG1); in rtw_chip_parameter_setup()
A Dphy.c944 val32 = rtw_read32(rtwdev, rf_sipi_addr->hssi_2); in rtw_phy_read_rf_sipi()
949 val32 = rtw_read32(rtwdev, rf_sipi_addr_a->hssi_2); in rtw_phy_read_rf_sipi()
/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/
A 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()
1801 value32 = rtw_read32(padapter, REG_TCR); in rtl8723b_SetBeaconRelatedRegisters()
3087 val32 = rtw_read32(padapter, REG_RCR); in hw_var_set_mlme_join()
3308 val32 = rtw_read32(padapter, REG_RCR); in SetHwReg8723B()
3347 val32 = rtw_read32(padapter, REG_RCR); in SetHwReg8723B()
3353 val32 = rtw_read32(padapter, REG_RCR); in SetHwReg8723B()
3814 rtw_read32(padapter, 0x2F0); // info 1 in GetHalDefVar8723B()
3819 rtw_read32(padapter, 0x2F0); // info 1 in GetHalDefVar8723B()
[all …]
A 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()
A Drtl8723b_phycfg.c46 OriginalValue = rtw_read32(Adapter, RegAddr); in PHY_QueryBBReg_8723B()
78 OriginalValue = rtw_read32(Adapter, RegAddr); in PHY_SetBBReg_8723B()
A Dodm.c640 pDM_SWAT_Table->SWAS_NoLink_BK_Reg92c = rtw_read32(pDM_Odm->Adapter, rDPDT_control); in odm_SwAntDetectInit()
A Dsdio_ops.c743 tmp = rtw_read32(adapter, REG_HSIMR); in EnableInterrupt8723BSdio()
A Dhal_btcoex.c600 return rtw_read32(padapter, RegAddr); in halbtcoutsrc_Read4Byte()
/linux-6.3-rc2/drivers/staging/rtl8723bs/core/
A Drtw_debug.c20 reg[i] = rtw_read32(adapter, offset + i); in dump_4_regs()
A Drtw_io.c55 u32 rtw_read32(struct adapter *adapter, u32 addr) in rtw_read32() function
A Drtw_efuse.c295 efuseValue = rtw_read32(padapter, EFUSE_CTRL); in efuse_OneByteWrite()
A 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.3-rc2/drivers/staging/rtl8723bs/include/
A Drtw_io.h173 extern u32 rtw_read32(struct adapter *adapter, u32 addr);

Completed in 80 milliseconds

12