/Linux-v6.1/drivers/staging/r8188eu/hal/ |
D | usb_halinit.c | 104 rtw_write16(adapt, REG_CR, 0x00); /* suggseted by zhouzhou, by page, 20111230 */ in rtl8188eu_InitPowerOn() 115 rtw_write16(adapt, REG_CR, value16); in rtl8188eu_InitPowerOn() 175 rtw_write16(Adapter, REG_RQPN_NPQ, 0x0000);/* Just follow MP Team,??? Georgia 03/28 */ in _InitQueueReservedPage() 176 rtw_write16(Adapter, REG_RQPN_NPQ, 0x0d); in _InitQueueReservedPage() 196 rtw_write16(Adapter, (REG_TRXFF_BNDY + 2), rxff_bndy); in _InitPageBoundary() 216 rtw_write16(Adapter, REG_TRXDMA_CTRL, value16); in _InitNormalChipRegPriority() 341 rtw_write16(Adapter, REG_SPEC_SIFS, value16); in _InitAdaptiveCtrl() 345 rtw_write16(Adapter, REG_RL, value16); in _InitAdaptiveCtrl() 351 rtw_write16(Adapter, REG_SPEC_SIFS, 0x100a); in _InitEDCA() 352 rtw_write16(Adapter, REG_MAC_SPEC_SIFS, 0x100a); in _InitEDCA() [all …]
|
D | rtl8188e_hal_init.c | 212 rtw_write16(adapter, REG_PKTBUF_DBG_ADDR, i); in efuse_read_phymap_from_txpktbuf() 365 rtw_write16(pAdapter, REG_SYS_ISO_CTRL, tmpV16); in rtl8188e_EfusePowerSwitch() 374 rtw_write16(pAdapter, REG_SYS_FUNC_EN, tmpV16); in rtl8188e_EfusePowerSwitch() 384 rtw_write16(pAdapter, REG_SYS_CLKR, tmpV16); in rtl8188e_EfusePowerSwitch()
|
D | rtl8188e_phycfg.c | 330 rtw_write16(Adapter, REG_MAX_AGGR_NUM, MAX_AGGR_NUM); in PHY_MACConfig8188E() 492 rtw_write16(Adapter, REG_SYS_FUNC_EN, (u16)(RegVal | BIT(13) | BIT(0) | BIT(1))); in PHY_BBConfig8188E()
|
D | usb_ops_linux.c | 151 int rtw_write16(struct adapter *adapter, u32 addr, u16 val) in rtw_write16() function
|
/Linux-v6.1/drivers/net/wireless/realtek/rtw88/ |
D | bf.c | 115 rtw_write16(rtwdev, REG_ASSOCIATED_BFMER0_INFO + 6, param->paid); in rtw_bf_init_bfer_entry_mu() 116 rtw_write16(rtwdev, REG_TX_CSI_RPT_PARAM_BW20, param->csi_para); in rtw_bf_init_bfer_entry_mu() 120 rtw_write16(rtwdev, REG_WMAC_MU_BF_CTL, mu_bf_ctl); in rtw_bf_init_bfer_entry_mu() 175 rtw_write16(rtwdev, REG_WMAC_MU_BF_CTL, 0); in rtw_bf_del_bfer_entry_mu() 220 rtw_write16(rtwdev, addr_csi_rpt, csi_param); in rtw_bf_enable_bfee_su() 284 rtw_write16(rtwdev, REG_ASSOCIATED_BFMER0_INFO + 4, 0); in rtw_bf_remove_bfee_su() 285 rtw_write16(rtwdev, REG_TX_CSI_RPT_PARAM_BW20, 0); in rtw_bf_remove_bfee_su() 289 rtw_write16(rtwdev, REG_ASSOCIATED_BFMER1_INFO + 4, 0); in rtw_bf_remove_bfee_su() 290 rtw_write16(rtwdev, REG_TX_CSI_RPT_PARAM_BW20 + 2, 0); in rtw_bf_remove_bfee_su() 369 rtw_write16(rtwdev, REG_WMAC_MU_BF_CTL, 0); in rtw_bf_phy_init() [all …]
|
D | mac.c | 314 rtw_write16(rtwdev, REG_CR, 0x2ff); in __rtw_mac_init_system_cfg_legacy() 439 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_1, 0x200); in download_firmware_reg_backup() 659 rtw_write16(rtwdev, REG_MCUFW_CTRL, val); in start_download_firmware() 714 rtw_write16(rtwdev, REG_MCUFW_CTRL, fw_ctrl); in download_firmware_end_flow() 1028 rtw_write16(rtwdev, REG_TXDMA_PQ_MAP, txdma_pq_map); in txdma_queue_mapping() 1098 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_1, pg_tbl->hq_num); in __priority_queue_cfg() 1099 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_2, pg_tbl->lq_num); in __priority_queue_cfg() 1100 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_3, pg_tbl->nq_num); in __priority_queue_cfg() 1101 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_4, pg_tbl->exq_num); in __priority_queue_cfg() 1102 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_5, pubq_num); in __priority_queue_cfg() [all …]
|
D | sec.c | 135 rtw_write16(rtwdev, REG_CR, ctrl_reg); in rtw_sec_enable_sec_engine() 144 rtw_write16(rtwdev, RTW_SEC_CONFIG, sec_config); in rtw_sec_enable_sec_engine()
|
D | pci.c | 418 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_H2CQ, len & TRX_BD_IDX_MASK); in rtw_pci_reset_buf_desc() 426 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_BKQ, len & TRX_BD_IDX_MASK); in rtw_pci_reset_buf_desc() 433 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_BEQ, len & TRX_BD_IDX_MASK); in rtw_pci_reset_buf_desc() 440 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_VOQ, len & TRX_BD_IDX_MASK); in rtw_pci_reset_buf_desc() 447 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_VIQ, len & TRX_BD_IDX_MASK); in rtw_pci_reset_buf_desc() 454 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_MGMTQ, len & TRX_BD_IDX_MASK); in rtw_pci_reset_buf_desc() 461 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_HI0Q, len & TRX_BD_IDX_MASK); in rtw_pci_reset_buf_desc() 468 rtw_write16(rtwdev, RTK_PCI_RXBD_NUM_MPDUQ, len & TRX_BD_IDX_MASK); in rtw_pci_reset_buf_desc() 818 rtw_write16(rtwdev, bd_idx, ring->r.wp & TRX_BD_IDX_MASK); in rtw_pci_tx_kick_off_queue() 1145 rtw_write16(rtwdev, RTK_PCI_RXBD_IDX_MPDUQ, ring->r.rp); in rtw_pci_rx_napi() [all …]
|
D | hci.h | 107 static inline void rtw_write16(struct rtw_dev *rtwdev, u32 addr, u16 val) in rtw_write16() function 130 rtw_write16(rtwdev, addr, val | bit); in rtw_write16_set() 154 rtw_write16(rtwdev, addr, val & ~bit); in rtw_write16_clr()
|
D | util.c | 70 rtw_write16(rtwdev, reg, (u16)val); in rtw_restore_reg()
|
D | rtw8723d.c | 168 rtw_write16(rtwdev, REG_RETRY_LIMIT, WLAN_RL_VAL); in rtw8723d_phy_set_param() 179 rtw_write16(rtwdev, REG_NAV_PROT_LEN, WLAN_NAV_PROT_LEN); in rtw8723d_phy_set_param() 180 rtw_write16(rtwdev, REG_MAC_SPEC_SIFS, WLAN_SPEC_SIFS); in rtw8723d_phy_set_param() 181 rtw_write16(rtwdev, REG_SIFS, WLAN_SPEC_SIFS); in rtw8723d_phy_set_param() 182 rtw_write16(rtwdev, REG_SIFS + 2, WLAN_SPEC_SIFS); in rtw8723d_phy_set_param() 540 rtw_write16(rtwdev, REG_RXFLTMAP0, WLAN_RX_FILTER0); in rtw8723d_mac_init() 541 rtw_write16(rtwdev, REG_RXFLTMAP1, WLAN_RX_FILTER1); in rtw8723d_mac_init() 542 rtw_write16(rtwdev, REG_RXFLTMAP2, WLAN_RX_FILTER2); in rtw8723d_mac_init() 1584 rtw_write16(rtwdev, REG_BB_SEL_BTG, 0x80); in rtw8723d_coex_cfg_rfe_type() 1586 rtw_write16(rtwdev, REG_BB_SEL_BTG, 0x200); in rtw8723d_coex_cfg_rfe_type() [all …]
|
D | rtw8821c.c | 190 rtw_write16(rtwdev, REG_BAR_MODE_CTRL + 2, in rtw8821c_mac_init() 200 rtw_write16(rtwdev, REG_TXPAUSE, 0); in rtw8821c_mac_init() 204 rtw_write16(rtwdev, REG_EDCA_VO_PARAM + 2, WLAN_VO_TXOP_LIMIT); in rtw8821c_mac_init() 205 rtw_write16(rtwdev, REG_EDCA_VI_PARAM + 2, WLAN_VI_TXOP_LIMIT); in rtw8821c_mac_init() 207 rtw_write16(rtwdev, REG_RXTSF_OFFSET_CCK, WLAN_RX_TSF_CFG); in rtw8821c_mac_init() 220 rtw_write16(rtwdev, REG_RXFLTMAP2, WLAN_RX_FILTER2); in rtw8821c_mac_init()
|
D | rtw8822b.c | 233 rtw_write16(rtwdev, REG_BAR_MODE_CTRL + 2, in rtw8822b_mac_init() 241 rtw_write16(rtwdev, REG_TXPAUSE, 0x0000); in rtw8822b_mac_init() 245 rtw_write16(rtwdev, REG_EDCA_VO_PARAM + 2, WLAN_VO_TXOP_LIMIT); in rtw8822b_mac_init() 246 rtw_write16(rtwdev, REG_EDCA_VI_PARAM + 2, WLAN_VI_TXOP_LIMIT); in rtw8822b_mac_init() 248 rtw_write16(rtwdev, REG_RXTSF_OFFSET_CCK, WLAN_RX_TSF_CFG); in rtw8822b_mac_init() 258 rtw_write16(rtwdev, REG_RXFLTMAP2, WLAN_RX_FILTER2); in rtw8822b_mac_init()
|
D | rtw8822c.c | 1998 rtw_write16(rtwdev, REG_SPEC_SIFS, WLAN_SIFS_DUR_TUNE); in rtw8822c_mac_init() 2000 rtw_write16(rtwdev, REG_RESP_SIFS_CCK, in rtw8822c_mac_init() 2002 rtw_write16(rtwdev, REG_RESP_SIFS_OFDM, in rtw8822c_mac_init() 2026 rtw_write16(rtwdev, REG_BAR_MODE_CTRL + 2, in rtw8822c_mac_init() 2055 rtw_write16(rtwdev, REG_TXPAUSE, 0x0000); in rtw8822c_mac_init() 2058 rtw_write16(rtwdev, REG_RXTSF_OFFSET_CCK, WLAN_RX_TSF_CFG); in rtw8822c_mac_init() 2074 rtw_write16(rtwdev, REG_EIFS, WLAN_EIFS_DUR_TUNE); in rtw8822c_mac_init() 2078 rtw_write16(rtwdev, REG_RXFLTMAP2, WLAN_RX_FILTER2); in rtw8822c_mac_init() 2091 rtw_write16(rtwdev, REG_RXPSF_CTRL + 2, value16); in rtw8822c_mac_init() 2097 rtw_write16(rtwdev, REG_RXPSF_CTRL, value16); in rtw8822c_mac_init() [all …]
|
D | fw.c | 1312 rtw_write16(rtwdev, REG_FIFOPAGE_CTRL_2, pg_addr); in rtw_fw_write_data_rsvd_page() 1346 rtw_write16(rtwdev, REG_FIFOPAGE_CTRL_2, in rtw_fw_write_data_rsvd_page() 1629 rtw_write16(rtwdev, REG_PKTBUF_DBG_CTRL, start_pg | ctl); in rtw_fw_read_fifo_page() 1644 rtw_write16(rtwdev, REG_PKTBUF_DBG_CTRL, ctl); in rtw_fw_read_fifo_page()
|
/Linux-v6.1/drivers/staging/rtl8723bs/hal/ |
D | sdio_halinit.c | 71 rtw_write16(padapter, REG_APS_FSMCO, value16); in _InitPowerOn_8723BS() 90 rtw_write16(padapter, REG_CR, value16); in _InitPowerOn_8723BS() 101 rtw_write16(padapter, REG_PWR_DATA, value16); in _InitPowerOn_8723BS() 128 rtw_write16(padapter, 0x218, HQ_threshold); in _init_available_page_threshold() 129 rtw_write16(padapter, 0x21A, NQ_threshold); in _init_available_page_threshold() 130 rtw_write16(padapter, 0x21C, LQ_threshold); in _init_available_page_threshold() 210 rtw_write16(Adapter, REG_TRXDMA_CTRL, value16); in _InitNormalChipRegPriority() 337 rtw_write16(padapter, (REG_TRXFF_BNDY + 2), rxff_bndy); in _InitPageBoundary() 388 rtw_write16(padapter, REG_RXFLTMAP2, value16); in _InitWMACSetting() 394 rtw_write16(padapter, REG_RXFLTMAP1, value16); in _InitWMACSetting() [all …]
|
D | rtl8723b_hal_init.c | 687 rtw_write16(padapter, REG_SYS_FUNC_EN, tmpV16); in Hal_EfusePowerSwitch() 694 rtw_write16(padapter, REG_SYS_CLKR, tmpV16); in Hal_EfusePowerSwitch() 1685 rtw_write16(padapter, REG_BCN_CTRL, val16); in rtl8723b_InitBeaconParameters() 1688 rtw_write16(padapter, REG_TBTT_PROHIBIT, 0x6404);/* ms */ in rtl8723b_InitBeaconParameters() 1697 rtw_write16(padapter, REG_BCNTCFG, 0x660F); in rtl8723b_InitBeaconParameters() 1787 rtw_write16(padapter, REG_ATIMWND, 2); in rtl8723b_SetBeaconRelatedRegisters() 1792 rtw_write16(padapter, REG_BCN_INTERVAL, pmlmeinfo->bcn_interval); in rtl8723b_SetBeaconRelatedRegisters() 2864 rtw_write16(padapter, REG_RXFLTMAP2, 0xFFFF); in hw_var_set_opmode() 2866 rtw_write16(padapter, REG_RXFLTMAP1, 0x0400); in hw_var_set_opmode() 2873 rtw_write16(padapter, REG_BCNTCFG, 0x00); in hw_var_set_opmode() [all …]
|
D | rtl8723b_phycfg.c | 394 rtw_write16(Adapter, REG_SYS_FUNC_EN, (u16)(RegVal|BIT13|BIT0|BIT1)); in PHY_BBConfig8723B() 592 rtw_write16(Adapter, REG_TRXPTCL_CTL_8723B, (RegRfMod_BW & 0xFE7F)); /* BIT 7 = 0, BIT 8 = 0 */ in phy_SetRegBW_8723B() 597 rtw_write16(Adapter, REG_TRXPTCL_CTL_8723B, (u2tmp & 0xFEFF)); /* BIT 7 = 1, BIT 8 = 0 */ in phy_SetRegBW_8723B()
|
D | odm_DIG.c | 15 …rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TIMER_11N+2, 0x2710); /* 0x894[31:16]= 0x2710 Time durat… in odm_NHMCounterStatisticsInit() 17 …rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TH9_TH10_11N+2, 0xffff); /* 0x890[31:16]= 0xffff th_9, t… in odm_NHMCounterStatisticsInit()
|
D | rtl8723b_cmd.c | 647 rtw_write16(padapter, REG_BCN_PSR_RPT, (0xC000|pmlmeinfo->aid)); in rtl8723b_download_rsvd_page() 914 rtw_write16(padapter, REG_BCN_PSR_RPT, (0xC000|pmlmeinfo->aid)); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
|
/Linux-v6.1/drivers/staging/rtl8723bs/core/ |
D | rtw_efuse.c | 252 rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) & (~BIT11)); in efuse_OneByteRead() 306 rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) | (BIT11)); in efuse_OneByteWrite()
|
D | rtw_io.c | 82 int rtw_write16(struct adapter *adapter, u32 addr, u16 val) in rtw_write16() function
|
/Linux-v6.1/drivers/staging/r8188eu/include/ |
D | rtw_io.h | 231 int rtw_write16(struct adapter *adapter, u32 addr, u16 val); 291 rtw_write16(_a,_b,_c)
|
/Linux-v6.1/drivers/staging/rtl8723bs/include/ |
D | rtw_io.h | 176 extern int rtw_write16(struct adapter *adapter, u32 addr, u16 val);
|
/Linux-v6.1/drivers/staging/r8188eu/core/ |
D | rtw_mlme_ext.c | 5851 rtw_write16(adapter, REG_RXFLTMAP2, 0xFFFF); in rtw_set_opmode() 5853 rtw_write16(adapter, REG_RXFLTMAP1, 0x0400); in rtw_set_opmode() 5859 rtw_write16(adapter, REG_BCNTCFG, 0x00); in rtw_set_opmode() 5860 rtw_write16(adapter, REG_TBTT_PROHIBIT, 0xff04); in rtw_set_opmode() 5861 rtw_write16(adapter, REG_TSFTR_SYN_OFFSET, 0x7fff);/* +32767 (~32ms) */ in rtw_set_opmode() 5922 rtw_write16(adapter, REG_RXFLTMAP2, 0x00); in rtw_mlme_under_site_survey() 5943 rtw_write16(adapter, REG_RXFLTMAP2, 0xFFFF); in rtw_mlme_site_survey_done() 5952 rtw_write16(adapter, REG_RXFLTMAP2, 0xFFFF); in rtw_mlme_site_survey_done() 6279 rtw_write16(adapter, REG_RXFLTMAP2, 0xFFFF); in mlme_join() 6297 rtw_write16(adapter, REG_RXFLTMAP2, 0x00); in mlme_join() [all …]
|