Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_efuse.c49 res = rtw_read32(Adapter, EFUSE_CTRL, &value32); in ReadEFuseByte()
54 res = rtw_read32(Adapter, EFUSE_CTRL, &value32); in ReadEFuseByte()
67 res = rtw_read32(Adapter, EFUSE_CTRL, &value32); in ReadEFuseByte()
Drtw_fw.c201 res = rtw_read32(padapter, REG_MCUFWDL, &value32); in fw_free_to_go()
212 res = rtw_read32(padapter, REG_MCUFWDL, &value32); in fw_free_to_go()
225 res = rtw_read32(padapter, REG_MCUFWDL, &value32); in fw_free_to_go()
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Dmac.c28 value32 = rtw_read32(rtwdev, REG_WMAC_TRXPTCL_CTL); in rtw_set_channel_mac()
46 value32 = rtw_read32(rtwdev, REG_AFE_CTRL1) & ~(BIT_MAC_CLK_SEL); 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()
285 value = rtw_read32(rtwdev, REG_CPU_DMEM_CON); in __rtw_mac_init_system_cfg()
294 tmp = rtw_read32(rtwdev, REG_MCUFW_CTRL); in __rtw_mac_init_system_cfg()
297 value = rtw_read32(rtwdev, REG_GPIO_MUXCFG) & (~BIT_FSPI_EN); in __rtw_mac_init_system_cfg()
[all …]
Drtw8723d.c173 val32 = rtw_read32(rtwdev, REG_TBTT_PROHIBIT); in rtw8723d_phy_set_param()
383 if (rtw_read32(rtwdev, REG_PSDRPT) >= thres) in rtw8723d_check_spur_ov_thres()
639 val32 = rtw_read32(rtwdev, REG_OFDM_FA_TYPE1_11N); in rtw8723d_false_alarm_statistics()
642 val32 = rtw_read32(rtwdev, REG_OFDM_FA_TYPE2_11N); in rtw8723d_false_alarm_statistics()
645 val32 = rtw_read32(rtwdev, REG_OFDM_FA_TYPE3_11N); in rtw8723d_false_alarm_statistics()
648 val32 = rtw_read32(rtwdev, REG_OFDM_FA_TYPE4_11N); in rtw8723d_false_alarm_statistics()
655 dm_info->cck_err_cnt = rtw_read32(rtwdev, REG_IGI_C_11N); in rtw8723d_false_alarm_statistics()
656 dm_info->cck_ok_cnt = rtw_read32(rtwdev, REG_IGI_D_11N); in rtw8723d_false_alarm_statistics()
657 crc32_cnt = rtw_read32(rtwdev, REG_OFDM_CRC32_CNT_11N); in rtw8723d_false_alarm_statistics()
660 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()
197 orig = rtw_read32(rtwdev, addr); in rtw_read32_mask()
238 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.c129 psf_ctl = rtw_read32(rtwdev, REG_BBPSF_CTRL) | in rtw_bf_cfg_sounding()
351 tmp32 = rtw_read32(rtwdev, REG_MU_TX_CTL); in rtw_bf_phy_init()
386 csi_cfg = rtw_read32(rtwdev, REG_BBPSF_CTRL) & ~BIT_MASK_CSI_RATE; in rtw_bf_cfg_csi_rate()
Dutil.c33 *val = rtw_read32(rtwdev, ltecoex->rdata); in ltecoex_read_reg()
Drtw8821c.c251 reg = rtw_read32(rtwdev, REG_RFECTL); in rtw8821c_switch_rf_set()
671 cck_enable = rtw_read32(rtwdev, REG_RXPSEL) & BIT(28); in rtw8821c_false_alarm_statistics()
681 crc32_cnt = rtw_read32(rtwdev, REG_CRC_CCK); in rtw8821c_false_alarm_statistics()
685 crc32_cnt = rtw_read32(rtwdev, REG_CRC_OFDM); in rtw8821c_false_alarm_statistics()
689 crc32_cnt = rtw_read32(rtwdev, REG_CRC_HT); in rtw8821c_false_alarm_statistics()
693 crc32_cnt = rtw_read32(rtwdev, REG_CRC_VHT); in rtw8821c_false_alarm_statistics()
697 cca32_cnt = rtw_read32(rtwdev, REG_CCA_OFDM); in rtw8821c_false_alarm_statistics()
701 cca32_cnt = rtw_read32(rtwdev, REG_CCA_CCK); in rtw8821c_false_alarm_statistics()
Drtw8822c.c105 backup[i].val = rtw_read32(rtwdev, addrs[i]); in rtw8822c_dac_backup_reg()
699 temp[0] = rtw_read32(rtwdev, 0x1860); in rtw8822c_dac_cal_backup()
700 temp[1] = rtw_read32(rtwdev, 0x4160); in rtw8822c_dac_cal_backup()
701 temp[2] = rtw_read32(rtwdev, 0x9b4); in rtw8822c_dac_cal_backup()
895 temp[0] = rtw_read32(rtwdev, 0x1860); in rtw8822c_dac_cal_restore()
896 temp[1] = rtw_read32(rtwdev, 0x4160); in rtw8822c_dac_cal_restore()
897 temp[2] = rtw_read32(rtwdev, 0x9b4); in rtw8822c_dac_cal_restore()
1178 reg_backup[i] = rtw_read32(rtwdev, reg[i]); in rtw8822c_txgapk_backup_bb_reg()
1498 val = rtw_read32(rtwdev, REG_STAT_RPT); in rtw8822c_txgapk_read_offset()
1510 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()
236 val = rtw_read32(rtwdev, RTW_SEC_READ_REG); in rtw_debugfs_get_dump_cam()
485 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_mac_page()
490 rtw_read32(rtwdev, (page | n))); in rtw_debug_get_mac_page()
504 rtw_read32(rtwdev, debugfs_priv->cb_data); in rtw_debug_get_bb_page()
509 rtw_read32(rtwdev, (page | n))); in rtw_debug_get_bb_page()
Drtw8822b.c1050 cck_enable = rtw_read32(rtwdev, 0x808) & BIT(28); in rtw8822b_false_alarm_statistics()
1059 crc32_cnt = rtw_read32(rtwdev, 0xf04); in rtw8822b_false_alarm_statistics()
1062 crc32_cnt = rtw_read32(rtwdev, 0xf14); in rtw8822b_false_alarm_statistics()
1065 crc32_cnt = rtw_read32(rtwdev, 0xf10); in rtw8822b_false_alarm_statistics()
1068 crc32_cnt = rtw_read32(rtwdev, 0xf0c); in rtw8822b_false_alarm_statistics()
1072 cca32_cnt = rtw_read32(rtwdev, 0xf08); in rtw8822b_false_alarm_statistics()
1076 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()
1053 if (table0 == rtw_read32(rtwdev, REG_BT_COEX_TABLE0) && in rtw_coex_set_table()
1054 table1 == rtw_read32(rtwdev, REG_BT_COEX_TABLE1)) in rtw_coex_set_table()
3931 wl_reg_6c0 = rtw_read32(rtwdev, REG_BT_COEX_TABLE0); in rtw_coex_display_coex_info()
3932 wl_reg_6c4 = rtw_read32(rtwdev, REG_BT_COEX_TABLE1); in rtw_coex_display_coex_info()
3933 wl_reg_6c8 = rtw_read32(rtwdev, REG_BT_COEX_BRK_TABLE); in rtw_coex_display_coex_info()
3934 wl_reg_6cc = rtw_read32(rtwdev, REG_BT_COEX_TABLE_H); in rtw_coex_display_coex_info()
Dpci.c988 bd_idx = rtw_read32(rtwdev, bd_idx_addr); in rtw_pci_tx_isr()
1063 tmp = rtw_read32(rtwdev, RTK_PCI_RXBD_IDX_MPDUQ); in rtw_pci_get_hw_rx_ring_nr()
1157 irq_status[0] = rtw_read32(rtwdev, RTK_PCI_HISR0); in rtw_pci_irq_recognized()
1158 irq_status[1] = rtw_read32(rtwdev, RTK_PCI_HISR1); in rtw_pci_irq_recognized()
1160 irq_status[3] = rtw_read32(rtwdev, RTK_PCI_HISR3); in rtw_pci_irq_recognized()
/linux-6.1.9/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()
/linux-6.1.9/drivers/staging/r8188eu/hal/
Dusb_halinit.c283 res = rtw_read32(Adapter, REG_CR, &value32); in _InitNetworkType()
329 res = rtw_read32(Adapter, REG_RRSR, &value32); in _InitAdaptiveCtrl()
406 res = rtw_read32(Adapter, REG_TDECTRL, &value32); in usb_AggSettingTxUpdate()
522 res = rtw_read32(Adapter, REG_LEDCFG0, &reg); in _InitAntenna_Selection()
746 res = rtw_read32(Adapter, REG_FWHW_TXQ_CTRL, &reg); in rtl8188eu_hal_init()
1031 res = rtw_read32(adapt, REG_TCR, &value32); in SetBeaconRelatedRegisters8188EUsb()
DHal8188ERateAdaptive.c307 res = rtw_read32(dm_odm->Adapter, REG_ARFR0, &MaskFromReg); in odm_ARFBRefresh_8188E()
314 res = rtw_read32(dm_odm->Adapter, REG_ARFR1, &MaskFromReg); in odm_ARFBRefresh_8188E()
321 res = rtw_read32(dm_odm->Adapter, REG_ARFR2, &MaskFromReg); in odm_ARFBRefresh_8188E()
328 res = rtw_read32(dm_odm->Adapter, REG_ARFR3, &MaskFromReg); in odm_ARFBRefresh_8188E()
Drtl8188e_hal_init.c228 res = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_L, &reg32); in efuse_read_phymap_from_txpktbuf()
234 res = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_H, &reg32); in efuse_read_phymap_from_txpktbuf()
570 res = rtw_read32(padapter, REG_SYS_CFG, &value32); in rtl8188e_read_chip_version()
629 res = rtw_read32(padapter, LLTReg, &value); in _LLTWrite()
Drtl8188e_phycfg.c47 res = rtw_read32(Adapter, RegAddr, &OriginalValue); in rtl8188e_PHY_QueryBBReg()
80 res = rtw_read32(Adapter, RegAddr, &OriginalValue); in rtl8188e_PHY_SetBBReg()
/linux-6.1.9/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
/linux-6.1.9/drivers/staging/r8188eu/include/
Drtw_io.h225 int __must_check rtw_read32(struct adapter *adapter, u32 addr, u32 *data);
300 rtw_read32(_a,_b)
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dos_intfs.c752 res = rtw_read32(adapter, REG_RXPKT_NUM, &reg); in rtw_fifo_cleanup()
759 res = rtw_read32(adapter, REG_RXPKT_NUM, &reg); in rtw_fifo_cleanup()

12