Searched refs:rtw_write8 (Results 1 - 25 of 33) sorted by relevance

12

/linux-master/drivers/staging/rtl8723bs/hal/
H A Dsdio_halinit.c30 rtw_write8(padapter, REG_RSV_CTRL, 0x0);
63 rtw_write8(padapter, REG_GPIO_INTM + 1, value8);
66 rtw_write8(padapter, REG_GPIO_IO_SEL_2 + 1, value8);
77 rtw_write8(padapter, REG_CR, 0x00);
109 rtw_write8(padapter, REG_PAD_CTRL1_8723B, value8);
158 rtw_write8(padapter, REG_RQPN_NPQ, value8);
183 rtw_write8(padapter, REG_TXPKTBUF_BCNQ_BDNY_8723B, txpktbuf_bndy);
184 rtw_write8(padapter, REG_TXPKTBUF_MGQ_BDNY_8723B, txpktbuf_bndy);
185 rtw_write8(padapter, REG_TXPKTBUF_WMAC_LBK_BF_HD_8723B, txpktbuf_bndy);
186 rtw_write8(padapte
[all...]
H A Drtl8723b_hal_init.c22 rtw_write8(padapter, REG_SYS_FUNC_EN+1, tmp|0x04);
25 rtw_write8(padapter, REG_MCUFWDL, tmp|0x01);
31 rtw_write8(padapter, REG_MCUFWDL, tmp|0x01);
37 rtw_write8(padapter, REG_MCUFWDL+2, tmp&0xf7);
41 rtw_write8(padapter, REG_MCUFWDL, tmp&0xfe);
86 ret = rtw_write8(padapter, (FW_8723B_START_ADDRESS + offset + i), *(bufferPtr + offset + i));
109 rtw_write8(padapter, REG_MCUFWDL+2, value8);
162 rtw_write8(padapter, REG_RSV_CTRL+1, io_rst);
166 rtw_write8(padapter, REG_SYS_FUNC_EN+1, cpu_rst);
172 rtw_write8(padapte
[all...]
H A DHalPwrSeqCmd.c96 rtw_write8(padapter, offset, value);
H A Drtl8723b_cmd.c652 rtw_write8(padapter, REG_CR+1, v8);
660 rtw_write8(padapter, REG_BCN_CTRL, val8);
667 rtw_write8(padapter, REG_FWHW_TXQ_CTRL+2, pHalData->RegFwHwTxQCtrl & ~BIT(6));
700 rtw_write8(padapter, REG_BCN_CTRL, val8);
708 rtw_write8(padapter, REG_FWHW_TXQ_CTRL+2, pHalData->RegFwHwTxQCtrl | BIT(6));
715 rtw_write8(padapter, REG_CR+1, v8);
919 rtw_write8(padapter, REG_CR+1, val8);
927 rtw_write8(padapter, REG_BCN_CTRL, val8);
935 rtw_write8(padapter, REG_FWHW_TXQ_CTRL+2, pHalData->RegFwHwTxQCtrl);
964 rtw_write8(padapte
[all...]
H A DHalPhyRf_8723B.c126 rtw_write8(pDM_Odm->Adapter, 0xa22, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][0]);
127 rtw_write8(pDM_Odm->Adapter, 0xa23, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][1]);
128 rtw_write8(pDM_Odm->Adapter, 0xa24, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][2]);
129 rtw_write8(pDM_Odm->Adapter, 0xa25, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][3]);
130 rtw_write8(pDM_Odm->Adapter, 0xa26, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][4]);
131 rtw_write8(pDM_Odm->Adapter, 0xa27, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][5]);
132 rtw_write8(pDM_Odm->Adapter, 0xa28, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][6]);
133 rtw_write8(pDM_Odm->Adapter, 0xa29, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][7]);
135 rtw_write8(pDM_Odm->Adapter, 0xa22, CCKSwingTable_Ch14_New[CCKSwingIndex][0]);
136 rtw_write8(pDM_Od
[all...]
H A Dodm_RegConfig8723B.c103 rtw_write8(pDM_Odm->Adapter, Addr, Data);
H A Drtl8723b_phycfg.c398 rtw_write8(Adapter, REG_RF_CTRL, RF_EN|RF_RSTB|RF_SDMRSTB);
404 rtw_write8(Adapter, REG_SYS_FUNC_EN, FEN_PPLL|FEN_PCIEA|FEN_DIO_PCIE|FEN_BB_GLB_RSTn|FEN_BBRSTB);
406 rtw_write8(Adapter, REG_AFE_XTAL_CTRL+1, 0x80);
631 rtw_write8(Adapter, REG_DATA_SC_8723B, SubChnlNum);
H A Dhal_btcoex.c612 rtw_write8(padapter, RegAddr, Data);
640 rtw_write8(padapter, regAddr, data1b);
673 rtw_write8(Adapter, SDIO_LOCAL_BASE | RegAddr, Data);
675 rtw_write8(Adapter, RegAddr, Data);
H A Dhal_com.c492 rtw_write8(adapter, REG_C2HEVT_CLEAR, C2H_EVT_HOST_CLOSE);
612 rtw_write8(adapter, REG_SECCFG, reg_scr);
888 rtw_write8(adapter, REG_RXERR_RPT+3, rtw_read8(adapter, REG_RXERR_RPT+3)|0xf0);
893 /* rtw_write8(adapter, REG_RXERR_RPT+3, rtw_read8(adapter, REG_RXERR_RPT+3)|0xa0); */
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Dmac.c26 rtw_write8(rtwdev, REG_DATA_SC,
51 rtw_write8(rtwdev, REG_USTIME_TSF, MAC_CLK_SPEED);
52 rtw_write8(rtwdev, REG_USTIME_EDCA, MAC_CLK_SPEED);
58 rtw_write8(rtwdev, REG_CCK_CHECK, value8);
68 rtw_write8(rtwdev, REG_RSV_CTRL, 0);
72 rtw_write8(rtwdev, REG_LDO_SWR_CTRL, LDO_SEL);
74 rtw_write8(rtwdev, REG_LDO_SWR_CTRL, SPS_SEL);
126 rtw_write8(rtwdev, REG_SYS_FUNC_EN, value8);
130 rtw_write8(rtwdev, REG_RF_CTRL, value8);
170 rtw_write8(rtwde
[all...]
H A Dbf.c115 rtw_write8(rtwdev, REG_ASSOCIATED_BFMER0_INFO + i, addr[i]);
136 rtw_write8(rtwdev, REG_SND_PTCL_CTRL + 3, 0x26);
154 rtw_write8(rtwdev, REG_MU_TX_CTL,
159 rtw_write8(rtwdev, REG_MU_TX_CTL + 1, mu_tbl_sel);
165 rtw_write8(rtwdev, REG_MU_TX_CTL + 1, mu_tbl_sel | 1);
177 rtw_write8(rtwdev, REG_MU_TX_CTL, 0);
214 rtw_write8(rtwdev, addr_bfer_info + i, bfee->mac_addr[i]);
224 rtw_write8(rtwdev, REG_SND_PTCL_CTRL + 3, RTW_NDP_RX_STANDBY_TIME);
367 rtw_write8(rtwdev, REG_WMAC_MU_BF_OPTION, tmp8);
374 rtw_write8(rtwde
[all...]
H A Dhci.h102 static inline void rtw_write8(struct rtw_dev *rtwdev, u32 addr, u8 val) function
122 rtw_write8(rtwdev, addr, val | bit);
146 rtw_write8(rtwdev, addr, val & ~bit);
251 rtw_write8(rtwdev, addr, set);
H A Drtw8723x.c46 rtw_write8(rtwdev, REG_CTX, val_ctx & ~BIT_MASK_CTX_TYPE);
48 rtw_write8(rtwdev, REG_TXPAUSE, 0xFF);
61 rtw_write8(rtwdev, REG_CTX, val_ctx);
63 rtw_write8(rtwdev, REG_TXPAUSE, 0x00);
297 rtw_write8(rtwdev, REG_FWHW_TXQ_CTRL + 1, WLAN_TXQ_RPT_EN);
308 rtw_write8(rtwdev, REG_MISC_CTRL, BIT_DIS_SECOND_CCA);
309 rtw_write8(rtwdev, REG_2ND_CCA_CTRL, 0);
325 rtw_write8(rtwdev, REG_LDO_EFUSE_CTRL + 3, ldo_pwr);
368 rtw_write8(rtwdev, REG_EFUSE_ACCESS, EFUSE_ACCESS_ON);
373 rtw_write8(rtwde
[all...]
H A Drtw8821c.c166 rtw_write8(rtwdev, REG_SYS_FUNC_EN, val);
170 rtw_write8(rtwdev, REG_SYS_FUNC_EN, val);
172 rtw_write8(rtwdev, REG_SYS_FUNC_EN, val);
174 rtw_write8(rtwdev, REG_SYS_FUNC_EN, val);
176 rtw_write8(rtwdev, REG_RF_CTRL,
179 rtw_write8(rtwdev, REG_WLRF1 + 3,
213 rtw_write8(rtwdev, REG_AMPDU_MAX_TIME_V1, WLAN_AMPDU_MAX_TIME);
216 rtw_write8(rtwdev, REG_PRECNT_CTRL, (u8)(pre_txcnt & 0xFF));
217 rtw_write8(rtwdev, REG_PRECNT_CTRL + 1, (u8)(pre_txcnt >> 8));
224 rtw_write8(rtwde
[all...]
H A Drtw8822b.c245 rtw_write8(rtwdev, REG_AMPDU_MAX_TIME_V1, WLAN_AMPDU_MAX_TIME);
253 rtw_write8(rtwdev, REG_FAST_EDCA_VOVI_SETTING, FAST_EDCA_VO_TH);
254 rtw_write8(rtwdev, REG_FAST_EDCA_VOVI_SETTING + 2, FAST_EDCA_VI_TH);
255 rtw_write8(rtwdev, REG_FAST_EDCA_BEBK_SETTING, FAST_EDCA_BE_TH);
256 rtw_write8(rtwdev, REG_FAST_EDCA_BEBK_SETTING + 2, FAST_EDCA_BK_TH);
260 rtw_write8(rtwdev, REG_SLOT, WLAN_SLOT_TIME);
261 rtw_write8(rtwdev, REG_PIFS, WLAN_PIFS_TIME);
271 rtw_write8(rtwdev, REG_DRVERLYINT, WLAN_DRV_EARLY_INT);
272 rtw_write8(rtwdev, REG_BCNDMATIM, WLAN_BCN_DMA_TIME);
278 rtw_write8(rtwde
[all...]
H A Drtw8822c.c386 rtw_write8(rtwdev, 0x1bcc, 0x3f);
388 rtw_write8(rtwdev, 0x1bcc, 0x3f);
529 rtw_write8(rtwdev, 0x1bcc, 0x03f);
994 rtw_write8(rtwdev, 0x1bcc, 0x0);
996 rtw_write8(rtwdev, 0x1bcc, 0x0);
1236 rtw_write8(rtwdev, REG_TXPAUSE, BIT_AC_QUEUE);
2013 rtw_write8(rtwdev, REG_FWHW_TXQ_CTRL, value8);
2014 rtw_write8(rtwdev, REG_FWHW_TXQ_CTRL + 1, WLAN_TXQ_RPT_EN);
2035 rtw_write8(rtwdev, REG_AMPDU_MAX_TIME_V1, WLAN_AMPDU_MAX_TIME);
2038 rtw_write8(rtwde
[all...]
H A Drtw8703b.c656 rtw_write8(rtwdev, REG_AFE_CTRL1 + 1, 0x80);
685 rtw_write8(rtwdev, REG_ACKTO, 0x40);
690 rtw_write8(rtwdev, REG_RXDMA_MODE,
696 rtw_write8(rtwdev, REG_BCN_CTRL,
698 rtw_write8(rtwdev, REG_TBTT_PROHIBIT, TBTT_PROHIBIT_SETUP_TIME);
699 rtw_write8(rtwdev, REG_TBTT_PROHIBIT + 1,
701 rtw_write8(rtwdev, REG_TBTT_PROHIBIT + 2,
707 rtw_write8(rtwdev, REG_RX_PKT_LIMIT, WLAN_RX_PKT_LIMIT);
708 rtw_write8(rtwdev, REG_MAX_AGGR_NUM, WLAN_MAX_AGG_NR);
709 rtw_write8(rtwde
[all...]
H A Drtw8723d.c95 rtw_write8(rtwdev, REG_AFE_CTRL1 + 1, 0x80);
115 rtw_write8(rtwdev, REG_SLOT, WLAN_SLOT_TIME);
116 rtw_write8(rtwdev, REG_FWHW_TXQ_CTRL + 1, WLAN_TXQ_RPT_EN);
119 rtw_write8(rtwdev, REG_ATIMWND, 0x2);
120 rtw_write8(rtwdev, REG_BCN_CTRL,
125 rtw_write8(rtwdev, REG_TBTT_PROHIBIT, val32);
126 rtw_write8(rtwdev, REG_PIFS, WLAN_PIFS_VAL);
127 rtw_write8(rtwdev, REG_AGGR_BREAK_TIME, WLAN_AGG_BRK_TIME);
132 rtw_write8(rtwdev, REG_SINGLE_AMPDU_CTRL, BIT_EN_SINGLE_APMDU);
133 rtw_write8(rtwde
[all...]
H A Dwow.c284 rtw_write8(rtwdev, REG_TXPAUSE, 0xff);
293 rtw_write8(rtwdev, REG_TXPAUSE, rtw_wow->txpause);
445 rtw_write8(rtwdev, REG_RSV_CTRL, BIT_WLOCK_1C_B6);
446 rtw_write8(rtwdev, REG_RSV_CTRL,
H A Dutil.c67 rtw_write8(rtwdev, reg, (u8)val);
H A Dps.c90 rtw_write8(rtwdev, rtwdev->hci.rpwm_addr, request);
H A Dpci.c402 rtw_write8(rtwdev, RTK_PCI_CTRL + 3, tmp | 0xf7);
889 rtw_write8(rtwdev, RTK_PCI_TXBD_BCN_WORK, reg_bcn_work);
1243 rtw_write8(rtwdev, REG_DBI_WDATA_V1 + remainder, data);
1245 rtw_write8(rtwdev, REG_DBI_FLAG_V1 + 2, BIT_DBI_WFLAG >> 16);
1265 rtw_write8(rtwdev, REG_DBI_FLAG_V1 + 2, BIT_DBI_RFLAG >> 16);
1292 rtw_write8(rtwdev, REG_PCIE_MIX_CFG, addr & BITS_MDIO_ADDR_MASK);
1293 rtw_write8(rtwdev, REG_PCIE_MIX_CFG + 3, page);
/linux-master/drivers/staging/rtl8723bs/core/
H A Drtw_efuse.c209 rtw_write8(Adapter, EFUSE_CTRL+1, temp);
213 rtw_write8(Adapter, EFUSE_CTRL+2, temp);
218 rtw_write8(Adapter, EFUSE_CTRL+3, temp);
256 rtw_write8(padapter, EFUSE_CTRL+1, (u8)(addr&0xff));
257 rtw_write8(padapter, EFUSE_CTRL+2, ((u8)((addr>>8) & 0x03)) |
260 /* rtw_write8(padapter, EFUSE_CTRL+3, 0x72); read cmd */
263 rtw_write8(padapter, EFUSE_CTRL+3, (readbyte & 0x7f));
H A Drtw_io.c68 int rtw_write8(struct adapter *adapter, u32 addr, u8 val) function
/linux-master/drivers/staging/rtl8723bs/include/
H A Drtw_io.h175 extern int rtw_write8(struct adapter *adapter, u32 addr, u8 val);

Completed in 518 milliseconds

12