/Linux-v6.1/drivers/staging/r8188eu/hal/ |
D | usb_halinit.c | 149 rtw_write8(Adapter, REG_USB_SPECIAL_OPTION, usb_opt); in _InitInterrupt() 168 rtw_write8(Adapter, REG_RQPN_NPQ, numNQ); in _InitQueueReservedPage() 183 rtw_write8(Adapter, REG_TXPKTBUF_BCNQ_BDNY, txpktbuf_bndy); in _InitTxBufferBoundary() 184 rtw_write8(Adapter, REG_TXPKTBUF_MGQ_BDNY, txpktbuf_bndy); in _InitTxBufferBoundary() 185 rtw_write8(Adapter, REG_TXPKTBUF_WMAC_LBK_BF_HD, txpktbuf_bndy); in _InitTxBufferBoundary() 186 rtw_write8(Adapter, REG_TRXFF_BNDY, txpktbuf_bndy); in _InitTxBufferBoundary() 187 rtw_write8(Adapter, REG_TDECTRL + 1, txpktbuf_bndy); in _InitTxBufferBoundary() 299 rtw_write8(Adapter, REG_PBP, value8); in _InitTransferPageSize() 304 rtw_write8(Adapter, REG_RX_DRVINFO_SZ, drvInfoSize); in _InitDriverInfoSize() 377 rtw_write8(Adapter, REG_FWHW_TXQ_CTRL, value8); in _InitRetryFunction() [all …]
|
D | rtl8188e_cmd.c | 85 rtw_write8(adapt, msgbox_ex_addr + cmd_idx, *((u8 *)(&h2c_cmd_ex) + cmd_idx)); in FillH2CCmd_88E() 91 rtw_write8(adapt, msgbox_addr + cmd_idx, *((u8 *)(&h2c_cmd) + cmd_idx)); in FillH2CCmd_88E() 550 rtw_write8(adapt, REG_CR + 1, haldata->RegCR_1); in rtl8188e_set_FwJoinBssReport_cmd() 559 rtw_write8(adapt, REG_BCN_CTRL, reg & (~BIT(3))); in rtl8188e_set_FwJoinBssReport_cmd() 565 rtw_write8(adapt, REG_BCN_CTRL, reg | BIT(4)); in rtl8188e_set_FwJoinBssReport_cmd() 571 rtw_write8(adapt, REG_FWHW_TXQ_CTRL + 2, (haldata->RegFwHwTxQCtrl & (~BIT(6)))); in rtl8188e_set_FwJoinBssReport_cmd() 602 rtw_write8(adapt, REG_BCN_CTRL, reg | BIT(3)); in rtl8188e_set_FwJoinBssReport_cmd() 608 rtw_write8(adapt, REG_BCN_CTRL, reg & (~BIT(4))); in rtl8188e_set_FwJoinBssReport_cmd() 616 rtw_write8(adapt, REG_FWHW_TXQ_CTRL + 2, (haldata->RegFwHwTxQCtrl | BIT(6))); in rtl8188e_set_FwJoinBssReport_cmd() 627 rtw_write8(adapt, REG_CR + 1, haldata->RegCR_1); in rtl8188e_set_FwJoinBssReport_cmd() [all …]
|
D | rtl8188e_hal_init.c | 24 rtw_write8(padapter, REG_SYS_CFG, reg_0xf0 | SW_OFFLOAD_EN); in iol_mode_enable() 35 rtw_write8(padapter, REG_SYS_CFG, reg_0xf0 & ~SW_OFFLOAD_EN); in iol_mode_enable() 51 rtw_write8(padapter, REG_HMEBOX_E0, reg_0x88 | control); in iol_execute() 79 rtw_write8(padapter, REG_TDECTRL + 1, txpktbuf_bndy); in iol_InitLLTTable() 209 rtw_write8(adapter, REG_PKT_BUFF_ACCESS_CTRL, TXPKT_BUF_SELECT); in efuse_read_phymap_from_txpktbuf() 214 rtw_write8(adapter, REG_TXPKTBUF_DBG, 0); in efuse_read_phymap_from_txpktbuf() 274 rtw_write8(adapter, REG_PKT_BUFF_ACCESS_CTRL, DISABLE_TRXPKT_BUF_ACCESS); in efuse_read_phymap_from_txpktbuf() 286 rtw_write8(padapter, REG_TDECTRL + 1, 0); in iol_read_efuse() 288 rtw_write8(padapter, REG_PKT_BUFF_ACCESS_CTRL, TXPKT_BUF_SELECT); in iol_read_efuse() 315 rtw_write8(padapter, REG_TDECTRL + 1, iocfg_bndy); in iol_ioconfig() [all …]
|
D | rtl8188e_phycfg.c | 496 rtw_write8(Adapter, REG_RF_CTRL, RF_EN | RF_RSTB | RF_SDMRSTB); in PHY_BBConfig8188E() 498 rtw_write8(Adapter, REG_SYS_FUNC_EN, FEN_USBA | FEN_USBD | FEN_BB_GLB_RSTn | FEN_BBRSTB); in PHY_BBConfig8188E() 607 rtw_write8(Adapter, REG_BWOPMODE, regBwOpMode); in _PHY_SetBWMode92C() 612 rtw_write8(Adapter, REG_BWOPMODE, regBwOpMode); in _PHY_SetBWMode92C() 614 rtw_write8(Adapter, REG_RRSR + 2, regRRSR_RSC); in _PHY_SetBWMode92C()
|
D | HalPhyRf_8188e.c | 508 rtw_write8(adapt, MACReg[i], (u8)MACBackup[i]); in _PHY_ReloadMACRegisters() 535 rtw_write8(adapt, MACReg[i], 0x3F); in _PHY_MACSettingCalibration() 538 rtw_write8(adapt, MACReg[i], (u8)(MACBackup[i] & (~BIT(3)))); in _PHY_MACSettingCalibration() 540 rtw_write8(adapt, MACReg[i], (u8)(MACBackup[i] & (~BIT(5)))); in _PHY_MACSettingCalibration() 760 rtw_write8(adapt, 0xd03, tmpreg & 0x8F); /* disable all continuous TX */ in phy_LCCalibrate_8188E() 762 rtw_write8(adapt, REG_TXPAUSE, 0xFF); /* block all queues */ in phy_LCCalibrate_8188E() 786 rtw_write8(adapt, 0xd03, tmpreg); in phy_LCCalibrate_8188E() 790 rtw_write8(adapt, REG_TXPAUSE, 0x00); in phy_LCCalibrate_8188E()
|
/Linux-v6.1/drivers/staging/rtl8723bs/hal/ |
D | sdio_halinit.c | 30 rtw_write8(padapter, REG_RSV_CTRL, 0x0); in CardEnable() 63 rtw_write8(padapter, REG_GPIO_INTM + 1, value8); in _InitPowerOn_8723BS() 66 rtw_write8(padapter, REG_GPIO_IO_SEL_2 + 1, value8); in _InitPowerOn_8723BS() 77 rtw_write8(padapter, REG_CR, 0x00); in _InitPowerOn_8723BS() 109 rtw_write8(padapter, REG_PAD_CTRL1_8723B, value8); in _InitPowerOn_8723BS() 158 rtw_write8(padapter, REG_RQPN_NPQ, value8); in _InitQueueReservedPage() 183 rtw_write8(padapter, REG_TXPKTBUF_BCNQ_BDNY_8723B, txpktbuf_bndy); in _InitTxBufferBoundary() 184 rtw_write8(padapter, REG_TXPKTBUF_MGQ_BDNY_8723B, txpktbuf_bndy); in _InitTxBufferBoundary() 185 rtw_write8(padapter, REG_TXPKTBUF_WMAC_LBK_BF_HD_8723B, txpktbuf_bndy); in _InitTxBufferBoundary() 186 rtw_write8(padapter, REG_TRXFF_BNDY, txpktbuf_bndy); in _InitTxBufferBoundary() [all …]
|
D | rtl8723b_hal_init.c | 22 rtw_write8(padapter, REG_SYS_FUNC_EN+1, tmp|0x04); in _FWDownloadEnable() 25 rtw_write8(padapter, REG_MCUFWDL, tmp|0x01); in _FWDownloadEnable() 31 rtw_write8(padapter, REG_MCUFWDL, tmp|0x01); in _FWDownloadEnable() 37 rtw_write8(padapter, REG_MCUFWDL+2, tmp&0xf7); in _FWDownloadEnable() 41 rtw_write8(padapter, REG_MCUFWDL, tmp&0xfe); in _FWDownloadEnable() 86 ret = rtw_write8(padapter, (FW_8723B_START_ADDRESS + offset + i), *(bufferPtr + offset + i)); in _BlockWrite() 109 rtw_write8(padapter, REG_MCUFWDL+2, value8); in _PageWrite() 162 rtw_write8(padapter, REG_RSV_CTRL+1, io_rst); in _8051Reset8723() 166 rtw_write8(padapter, REG_SYS_FUNC_EN+1, cpu_rst); in _8051Reset8723() 172 rtw_write8(padapter, REG_RSV_CTRL+1, io_rst); in _8051Reset8723() [all …]
|
D | rtl8723b_cmd.c | 652 rtw_write8(padapter, REG_CR+1, v8); in rtl8723b_download_rsvd_page() 660 rtw_write8(padapter, REG_BCN_CTRL, val8); in rtl8723b_download_rsvd_page() 667 rtw_write8(padapter, REG_FWHW_TXQ_CTRL+2, pHalData->RegFwHwTxQCtrl & ~BIT(6)); in rtl8723b_download_rsvd_page() 700 rtw_write8(padapter, REG_BCN_CTRL, val8); in rtl8723b_download_rsvd_page() 708 rtw_write8(padapter, REG_FWHW_TXQ_CTRL+2, pHalData->RegFwHwTxQCtrl | BIT(6)); in rtl8723b_download_rsvd_page() 715 rtw_write8(padapter, REG_CR+1, v8); in rtl8723b_download_rsvd_page() 919 rtw_write8(padapter, REG_CR+1, val8); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() 927 rtw_write8(padapter, REG_BCN_CTRL, val8); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() 935 rtw_write8(padapter, REG_FWHW_TXQ_CTRL+2, pHalData->RegFwHwTxQCtrl); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() 964 rtw_write8(padapter, REG_BCN_CTRL, val8); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() [all …]
|
D | HalPhyRf_8723B.c | 126 rtw_write8(pDM_Odm->Adapter, 0xa22, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][0]); in setCCKFilterCoefficient() 127 rtw_write8(pDM_Odm->Adapter, 0xa23, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][1]); in setCCKFilterCoefficient() 128 rtw_write8(pDM_Odm->Adapter, 0xa24, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][2]); in setCCKFilterCoefficient() 129 rtw_write8(pDM_Odm->Adapter, 0xa25, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][3]); in setCCKFilterCoefficient() 130 rtw_write8(pDM_Odm->Adapter, 0xa26, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][4]); in setCCKFilterCoefficient() 131 rtw_write8(pDM_Odm->Adapter, 0xa27, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][5]); in setCCKFilterCoefficient() 132 rtw_write8(pDM_Odm->Adapter, 0xa28, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][6]); in setCCKFilterCoefficient() 133 rtw_write8(pDM_Odm->Adapter, 0xa29, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][7]); in setCCKFilterCoefficient() 135 rtw_write8(pDM_Odm->Adapter, 0xa22, CCKSwingTable_Ch14_New[CCKSwingIndex][0]); in setCCKFilterCoefficient() 136 rtw_write8(pDM_Odm->Adapter, 0xa23, CCKSwingTable_Ch14_New[CCKSwingIndex][1]); in setCCKFilterCoefficient() [all …]
|
D | rtl8723b_phycfg.c | 398 rtw_write8(Adapter, REG_RF_CTRL, RF_EN|RF_RSTB|RF_SDMRSTB); in PHY_BBConfig8723B() 404 rtw_write8(Adapter, REG_SYS_FUNC_EN, FEN_PPLL|FEN_PCIEA|FEN_DIO_PCIE|FEN_BB_GLB_RSTn|FEN_BBRSTB); in PHY_BBConfig8723B() 406 rtw_write8(Adapter, REG_AFE_XTAL_CTRL+1, 0x80); in PHY_BBConfig8723B() 631 rtw_write8(Adapter, REG_DATA_SC_8723B, SubChnlNum); in phy_PostSetBwMode8723B()
|
D | HalPwrSeqCmd.c | 96 rtw_write8(padapter, offset, value); in HalPwrSeqCmdParsing()
|
/Linux-v6.1/drivers/net/wireless/realtek/rtw88/ |
D | mac.c | 25 rtw_write8(rtwdev, REG_DATA_SC, in rtw_set_channel_mac() 50 rtw_write8(rtwdev, REG_USTIME_TSF, MAC_CLK_SPEED); in rtw_set_channel_mac() 51 rtw_write8(rtwdev, REG_USTIME_EDCA, MAC_CLK_SPEED); in rtw_set_channel_mac() 57 rtw_write8(rtwdev, REG_CCK_CHECK, value8); in rtw_set_channel_mac() 66 rtw_write8(rtwdev, REG_RSV_CTRL, 0); in rtw_mac_pre_system_cfg() 70 rtw_write8(rtwdev, REG_LDO_SWR_CTRL, LDO_SEL); in rtw_mac_pre_system_cfg() 72 rtw_write8(rtwdev, REG_LDO_SWR_CTRL, SPS_SEL); in rtw_mac_pre_system_cfg() 102 rtw_write8(rtwdev, REG_SYS_FUNC_EN, value8); in rtw_mac_pre_system_cfg() 106 rtw_write8(rtwdev, REG_RF_CTRL, value8); in rtw_mac_pre_system_cfg() 146 rtw_write8(rtwdev, REG_SYS_PW_CTRL, value & ~BIT_PFM_WOWL); in rtw_pwr_cmd_polling() [all …]
|
D | bf.c | 114 rtw_write8(rtwdev, REG_ASSOCIATED_BFMER0_INFO + i, addr[i]); in rtw_bf_init_bfer_entry_mu() 135 rtw_write8(rtwdev, REG_SND_PTCL_CTRL + 3, 0x26); in rtw_bf_cfg_sounding() 153 rtw_write8(rtwdev, REG_MU_TX_CTL, in rtw_bf_cfg_mu_bfee() 158 rtw_write8(rtwdev, REG_MU_TX_CTL + 1, mu_tbl_sel); in rtw_bf_cfg_mu_bfee() 164 rtw_write8(rtwdev, REG_MU_TX_CTL + 1, mu_tbl_sel | 1); in rtw_bf_cfg_mu_bfee() 176 rtw_write8(rtwdev, REG_MU_TX_CTL, 0); in rtw_bf_del_bfer_entry_mu() 213 rtw_write8(rtwdev, addr_bfer_info + i, bfee->mac_addr[i]); in rtw_bf_enable_bfee_su() 223 rtw_write8(rtwdev, REG_SND_PTCL_CTRL + 3, RTW_NDP_RX_STANDBY_TIME); in rtw_bf_enable_bfee_su() 366 rtw_write8(rtwdev, REG_WMAC_MU_BF_OPTION, tmp8); in rtw_bf_phy_init() 373 rtw_write8(rtwdev, REG_NDPA_OPT_CTRL, ndpa_rate); in rtw_bf_phy_init()
|
D | rtw8821c.c | 134 rtw_write8(rtwdev, REG_SYS_FUNC_EN, val); in rtw8821c_phy_set_param() 138 rtw_write8(rtwdev, REG_SYS_FUNC_EN, val); in rtw8821c_phy_set_param() 140 rtw_write8(rtwdev, REG_SYS_FUNC_EN, val); in rtw8821c_phy_set_param() 142 rtw_write8(rtwdev, REG_SYS_FUNC_EN, val); in rtw8821c_phy_set_param() 144 rtw_write8(rtwdev, REG_RF_CTRL, in rtw8821c_phy_set_param() 147 rtw_write8(rtwdev, REG_WLRF1 + 3, in rtw8821c_phy_set_param() 181 rtw_write8(rtwdev, REG_AMPDU_MAX_TIME_V1, WLAN_AMPDU_MAX_TIME); in rtw8821c_mac_init() 184 rtw_write8(rtwdev, REG_PRECNT_CTRL, (u8)(pre_txcnt & 0xFF)); in rtw8821c_mac_init() 185 rtw_write8(rtwdev, REG_PRECNT_CTRL + 1, (u8)(pre_txcnt >> 8)); in rtw8821c_mac_init() 192 rtw_write8(rtwdev, REG_FAST_EDCA_VOVI_SETTING, FAST_EDCA_VO_TH); in rtw8821c_mac_init() [all …]
|
D | rtw8723d.c | 76 rtw_write8(rtwdev, REG_CTX, val_ctx & ~BIT_MASK_CTX_TYPE); in rtw8723d_lck() 78 rtw_write8(rtwdev, REG_TXPAUSE, 0xFF); in rtw8723d_lck() 91 rtw_write8(rtwdev, REG_CTX, val_ctx); in rtw8723d_lck() 93 rtw_write8(rtwdev, REG_TXPAUSE, 0x00); in rtw8723d_lck() 146 rtw_write8(rtwdev, REG_AFE_CTRL1 + 1, 0x80); in rtw8723d_phy_set_param() 166 rtw_write8(rtwdev, REG_SLOT, WLAN_SLOT_TIME); in rtw8723d_phy_set_param() 167 rtw_write8(rtwdev, REG_FWHW_TXQ_CTRL + 1, WLAN_TXQ_RPT_EN); in rtw8723d_phy_set_param() 170 rtw_write8(rtwdev, REG_ATIMWND, 0x2); in rtw8723d_phy_set_param() 171 rtw_write8(rtwdev, REG_BCN_CTRL, in rtw8723d_phy_set_param() 176 rtw_write8(rtwdev, REG_TBTT_PROHIBIT, val32); in rtw8723d_phy_set_param() [all …]
|
D | hci.h | 102 static inline void rtw_write8(struct rtw_dev *rtwdev, u32 addr, u8 val) in rtw_write8() function 122 rtw_write8(rtwdev, addr, val | bit); in rtw_write8_set() 146 rtw_write8(rtwdev, addr, val & ~bit); in rtw_write8_clr() 254 rtw_write8(rtwdev, addr, set); in rtw_write8_mask()
|
D | rtw8822c.c | 368 rtw_write8(rtwdev, 0x1bcc, 0x3f); in rtw8822c_dac_bb_setting() 370 rtw_write8(rtwdev, 0x1bcc, 0x3f); in rtw8822c_dac_bb_setting() 511 rtw_write8(rtwdev, 0x1bcc, 0x03f); in rtw8822c_dac_cal_step2() 976 rtw_write8(rtwdev, 0x1bcc, 0x0); in rtw8822c_rf_dac_cal() 978 rtw_write8(rtwdev, 0x1bcc, 0x0); in rtw8822c_rf_dac_cal() 1218 rtw_write8(rtwdev, REG_TXPAUSE, BIT_AC_QUEUE); in rtw8822c_txgapk_tx_pause() 1995 rtw_write8(rtwdev, REG_FWHW_TXQ_CTRL, value8); in rtw8822c_mac_init() 1996 rtw_write8(rtwdev, REG_FWHW_TXQ_CTRL + 1, WLAN_TXQ_RPT_EN); in rtw8822c_mac_init() 2017 rtw_write8(rtwdev, REG_AMPDU_MAX_TIME_V1, WLAN_AMPDU_MAX_TIME); in rtw8822c_mac_init() 2020 rtw_write8(rtwdev, REG_PRECNT_CTRL, (u8)(pre_txcnt & 0xFF)); in rtw8822c_mac_init() [all …]
|
D | rtw8822b.c | 227 rtw_write8(rtwdev, REG_AMPDU_MAX_TIME_V1, WLAN_AMPDU_MAX_TIME); in rtw8822b_mac_init() 235 rtw_write8(rtwdev, REG_FAST_EDCA_VOVI_SETTING, FAST_EDCA_VO_TH); in rtw8822b_mac_init() 236 rtw_write8(rtwdev, REG_FAST_EDCA_VOVI_SETTING + 2, FAST_EDCA_VI_TH); in rtw8822b_mac_init() 237 rtw_write8(rtwdev, REG_FAST_EDCA_BEBK_SETTING, FAST_EDCA_BE_TH); in rtw8822b_mac_init() 238 rtw_write8(rtwdev, REG_FAST_EDCA_BEBK_SETTING + 2, FAST_EDCA_BK_TH); in rtw8822b_mac_init() 242 rtw_write8(rtwdev, REG_SLOT, WLAN_SLOT_TIME); in rtw8822b_mac_init() 243 rtw_write8(rtwdev, REG_PIFS, WLAN_PIFS_TIME); in rtw8822b_mac_init() 253 rtw_write8(rtwdev, REG_DRVERLYINT, WLAN_DRV_EARLY_INT); in rtw8822b_mac_init() 254 rtw_write8(rtwdev, REG_BCNDMATIM, WLAN_BCN_DMA_TIME); in rtw8822b_mac_init() 260 rtw_write8(rtwdev, REG_RX_PKT_LIMIT, WLAN_RXPKT_MAX_SZ_512); in rtw8822b_mac_init() [all …]
|
D | wow.c | 284 rtw_write8(rtwdev, REG_TXPAUSE, 0xff); in rtw_wow_bb_stop() 293 rtw_write8(rtwdev, REG_TXPAUSE, rtw_wow->txpause); in rtw_wow_bb_start() 445 rtw_write8(rtwdev, REG_RSV_CTRL, BIT_WLOCK_1C_B6); in rtw_wow_avoid_reset_mac() 446 rtw_write8(rtwdev, REG_RSV_CTRL, in rtw_wow_avoid_reset_mac()
|
D | util.c | 67 rtw_write8(rtwdev, reg, (u8)val); in rtw_restore_reg()
|
/Linux-v6.1/drivers/staging/r8188eu/core/ |
D | rtw_fw.c | 55 rtw_write8(padapter, REG_MCUFWDL, tmp | 0x01); in fw_download_enable() 62 rtw_write8(padapter, REG_MCUFWDL + 2, tmp & 0xf7); in fw_download_enable() 69 rtw_write8(padapter, REG_MCUFWDL, tmp & 0xfe); in fw_download_enable() 72 rtw_write8(padapter, REG_MCUFWDL + 1, 0x00); in fw_download_enable() 124 ret = rtw_write8(padapter, addr, *data); in block_write() 145 rtw_write8(padapter, REG_MCUFWDL + 2, value8); in page_write() 189 rtw_write8(padapter, REG_SYS_FUNC_EN + 1, val8 & (~BIT(2))); in rtw_reset_8051() 190 rtw_write8(padapter, REG_SYS_FUNC_EN + 1, val8 | (BIT(2))); in rtw_reset_8051() 306 rtw_write8(padapter, REG_MCUFWDL, 0x00); in rtl8188e_firmware_download() 320 rtw_write8(padapter, REG_MCUFWDL, reg | FWDL_CHKSUM_RPT); in rtl8188e_firmware_download()
|
D | rtw_efuse.c | 34 rtw_write8(Adapter, EFUSE_CTRL + 1, (_offset & 0xff)); in ReadEFuseByte() 39 rtw_write8(Adapter, EFUSE_CTRL + 2, ((_offset >> 8) & 0x03) | (readbyte & 0xfc)); in ReadEFuseByte() 46 rtw_write8(Adapter, EFUSE_CTRL + 3, (readbyte & 0x7f)); in ReadEFuseByte()
|
D | rtw_wlan_util.c | 252 rtw_write8(padapter, MSR, val8); in Set_MSR() 499 rtw_write8(adapter, REG_ACMHWCTRL, acmctrl); in set_acm_ctrl() 765 rtw_write8(adapter, REG_AMPDU_MIN_SPACE, in set_min_ampdu_spacing() 791 rtw_write8(adapter, (REG_AGGLEN_LMT + index), pRegToSet[index]); in set_ampdu_factor() 1252 rtw_write8(adapter, REG_RRSR, BrateCfg & 0xff); in rtw_set_basic_rate() 1253 rtw_write8(adapter, REG_RRSR + 1, (BrateCfg >> 8) & 0xff); in rtw_set_basic_rate() 1258 rtw_write8(adapter, REG_RRSR + 2, reg & 0xf0); in rtw_set_basic_rate() 1266 rtw_write8(adapter, REG_INIRTS_RATE_SEL, RateIndex); in rtw_set_basic_rate() 1389 rtw_write8(adapter, REG_RRSR + 2, val8); in set_ack_preamble() 1398 rtw_write8(adapter, REG_SLOT, slot_time); in set_slot_time() [all …]
|
D | rtw_led.c | 45 rtw_write8(padapter, REG_LEDCFG2, (LedCfg & 0xf0) | BIT(5) | BIT(6)); /* SW control led0 on. */ in SwLedOn() 62 rtw_write8(padapter, REG_LEDCFG2, (LedCfg | BIT(3))); in SwLedOff() 68 rtw_write8(padapter, REG_MAC_PINMUX_CFG, LedCfg); in SwLedOff()
|
/Linux-v6.1/drivers/staging/rtl8723bs/core/ |
D | rtw_efuse.c | 209 rtw_write8(Adapter, EFUSE_CTRL+1, temp); in EFUSE_Read1Byte() 213 rtw_write8(Adapter, EFUSE_CTRL+2, temp); in EFUSE_Read1Byte() 218 rtw_write8(Adapter, EFUSE_CTRL+3, temp); in EFUSE_Read1Byte() 256 rtw_write8(padapter, EFUSE_CTRL+1, (u8)(addr&0xff)); in efuse_OneByteRead() 257 rtw_write8(padapter, EFUSE_CTRL+2, ((u8)((addr>>8) & 0x03)) | in efuse_OneByteRead() 263 rtw_write8(padapter, EFUSE_CTRL+3, (readbyte & 0x7f)); in efuse_OneByteRead()
|