/linux-6.1.9/drivers/staging/r8188eu/core/ |
D | rtw_efuse.c | 49 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()
|
D | rtw_fw.c | 201 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/ |
D | mac.c | 28 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 …]
|
D | rtw8723d.c | 173 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 …]
|
D | hci.h | 97 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()
|
D | efuse.c | 102 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()
|
D | bf.c | 129 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()
|
D | util.c | 33 *val = rtw_read32(rtwdev, ltecoex->rdata); in ltecoex_read_reg()
|
D | rtw8821c.c | 251 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()
|
D | rtw8822c.c | 105 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 …]
|
D | debug.c | 129 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()
|
D | rtw8822b.c | 1050 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()
|
D | coex.c | 53 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()
|
D | pci.c | 988 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/ |
D | rtl8723b_hal_init.c | 193 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 …]
|
D | sdio_halinit.c | 103 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()
|
D | rtl8723b_phycfg.c | 46 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/ |
D | usb_halinit.c | 283 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, ®); in _InitAntenna_Selection() 746 res = rtw_read32(Adapter, REG_FWHW_TXQ_CTRL, ®); in rtl8188eu_hal_init() 1031 res = rtw_read32(adapt, REG_TCR, &value32); in SetBeaconRelatedRegisters8188EUsb()
|
D | Hal8188ERateAdaptive.c | 307 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()
|
D | rtl8188e_hal_init.c | 228 res = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_L, ®32); in efuse_read_phymap_from_txpktbuf() 234 res = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_H, ®32); 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()
|
D | rtl8188e_phycfg.c | 47 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/ |
D | rtw_debug.c | 20 reg[i] = rtw_read32(adapter, offset + i); in dump_4_regs()
|
D | rtw_io.c | 55 u32 rtw_read32(struct adapter *adapter, u32 addr) in rtw_read32() function
|
/linux-6.1.9/drivers/staging/r8188eu/include/ |
D | rtw_io.h | 225 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/ |
D | os_intfs.c | 752 res = rtw_read32(adapter, REG_RXPKT_NUM, ®); in rtw_fifo_cleanup() 759 res = rtw_read32(adapter, REG_RXPKT_NUM, ®); in rtw_fifo_cleanup()
|