Home
last modified time | relevance | path

Searched refs:rtw_write16 (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.4/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c150 rtw_write16(padapter, REG_APS_FSMCO, value16); in _InitPowerOn_8723BS()
169 rtw_write16(padapter, REG_CR, value16); in _InitPowerOn_8723BS()
180 rtw_write16(padapter, REG_PWR_DATA, value16); in _InitPowerOn_8723BS()
214 rtw_write16(padapter, 0x218, HQ_threshold); in _init_available_page_threshold()
215 rtw_write16(padapter, 0x21A, NQ_threshold); in _init_available_page_threshold()
216 rtw_write16(padapter, 0x21C, LQ_threshold); in _init_available_page_threshold()
297 rtw_write16(Adapter, REG_TRXDMA_CTRL, value16); in _InitNormalChipRegPriority()
427 rtw_write16(padapter, (REG_TRXFF_BNDY + 2), rxff_bndy); in _InitPageBoundary()
478 rtw_write16(padapter, REG_RXFLTMAP2, value16); in _InitWMACSetting()
484 rtw_write16(padapter, REG_RXFLTMAP1, value16); in _InitWMACSetting()
[all …]
Drtl8723b_hal_init.c826 rtw_write16(padapter, REG_SYS_FUNC_EN, tmpV16); in Hal_EfusePowerSwitch()
833 rtw_write16(padapter, REG_SYS_CLKR, tmpV16); in Hal_EfusePowerSwitch()
1946 rtw_write16(padapter, REG_BCN_CTRL, val16); in rtl8723b_InitBeaconParameters()
1949 rtw_write16(padapter, REG_TBTT_PROHIBIT, 0x6404);/* ms */ in rtl8723b_InitBeaconParameters()
1958 rtw_write16(padapter, REG_BCNTCFG, 0x660F); in rtl8723b_InitBeaconParameters()
2060 rtw_write16(padapter, REG_ATIMWND, 2); in rtl8723b_SetBeaconRelatedRegisters()
2065 rtw_write16(padapter, REG_BCN_INTERVAL, pmlmeinfo->bcn_interval); in rtl8723b_SetBeaconRelatedRegisters()
3373 rtw_write16(padapter, REG_RXFLTMAP2, 0xFFFF); in hw_var_set_opmode()
3375 rtw_write16(padapter, REG_RXFLTMAP1, 0x0400); in hw_var_set_opmode()
3382 rtw_write16(padapter, REG_BCNTCFG, 0x00); in hw_var_set_opmode()
[all …]
Drtl8723b_phycfg.c530 rtw_write16(Adapter, REG_SYS_FUNC_EN, (u16)(RegVal|BIT13|BIT0|BIT1)); in PHY_BBConfig8723B()
741 rtw_write16(Adapter, REG_TRXPTCL_CTL_8723B, (RegRfMod_BW & 0xFE7F)); /* BIT 7 = 0, BIT 8 = 0 */ in phy_SetRegBW_8723B()
746 rtw_write16(Adapter, REG_TRXPTCL_CTL_8723B, (u2tmp & 0xFEFF)); /* BIT 7 = 1, BIT 8 = 0 */ in phy_SetRegBW_8723B()
751 rtw_write16(Adapter, REG_TRXPTCL_CTL_8723B, (u2tmp & 0xFF7F)); /* BIT 7 = 0, BIT 8 = 1 */ in phy_SetRegBW_8723B()
Dodm_DIG.c17rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TIMER_11N+2, 0x2710); /* 0x894[31:16]= 0x2710 Time durat… in odm_NHMCounterStatisticsInit()
19rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TH9_TH10_11N+2, 0xffff); /* 0x890[31:16]= 0xffff th_9, t… in odm_NHMCounterStatisticsInit()
Drtl8723b_cmd.c1936 rtw_write16(padapter, REG_BCN_PSR_RPT, (0xC000|pmlmeinfo->aid)); in rtl8723b_download_rsvd_page()
2251 rtw_write16(padapter, REG_BCN_PSR_RPT, (0xC000|pmlmeinfo->aid)); in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
Dhal_btcoex.c787 rtw_write16(padapter, RegAddr, Data); in halbtcoutsrc_Write2Byte()
Dhal_com.c1026 rtw_write16(adapter, REG_SECCFG, reg_scr|SCR_CHK_KEYID|SCR_RxDecEnable|SCR_TxEncEnable); in SetHwReg()
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Dmac.c390 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_1, 0x200); in download_firmware_reg_backup()
608 rtw_write16(rtwdev, REG_MCUFW_CTRL, val); in start_download_firmware()
663 rtw_write16(rtwdev, REG_MCUFW_CTRL, fw_ctrl); in download_firmware_end_flow()
752 rtw_write16(rtwdev, REG_TXDMA_PQ_MAP, txdma_pq_map); in txdma_queue_mapping()
841 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_1, pg_tbl->hq_num); in priority_queue_cfg()
842 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_2, pg_tbl->lq_num); in priority_queue_cfg()
843 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_3, pg_tbl->nq_num); in priority_queue_cfg()
844 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_4, pg_tbl->exq_num); in priority_queue_cfg()
845 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_5, pubq_num); in priority_queue_cfg()
848 rtw_write16(rtwdev, REG_FIFOPAGE_CTRL_2, fifo->rsvd_boundary); in priority_queue_cfg()
[all …]
Dsec.c110 rtw_write16(rtwdev, REG_CR, ctrl_reg); in rtw_sec_enable_sec_engine()
119 rtw_write16(rtwdev, RTW_SEC_CONFIG, sec_config); in rtw_sec_enable_sec_engine()
Dhci.h82 static inline void rtw_write16(struct rtw_dev *rtwdev, u32 addr, u16 val) in rtw_write16() function
105 rtw_write16(rtwdev, addr, val | bit); in rtw_write16_set()
129 rtw_write16(rtwdev, addr, val & ~bit); in rtw_write16_clr()
Dpci.c405 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_H2CQ, len); in rtw_pci_reset_buf_desc()
412 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_BKQ, len); in rtw_pci_reset_buf_desc()
419 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_BEQ, len); in rtw_pci_reset_buf_desc()
426 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_VOQ, len); in rtw_pci_reset_buf_desc()
433 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_VIQ, len); in rtw_pci_reset_buf_desc()
440 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_MGMTQ, len); in rtw_pci_reset_buf_desc()
447 rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_HI0Q, len); in rtw_pci_reset_buf_desc()
454 rtw_write16(rtwdev, RTK_PCI_RXBD_NUM_MPDUQ, len & 0xfff); in rtw_pci_reset_buf_desc()
661 rtw_write16(rtwdev, bd_idx, ring->r.wp & 0xfff); in rtw_pci_xmit()
880 rtw_write16(rtwdev, RTK_PCI_RXBD_IDX_MPDUQ, ring->r.rp); in rtw_pci_rx_isr()
[all …]
Dutil.c63 rtw_write16(rtwdev, reg, (u16)val); in rtw_restore_reg()
Dfw.c560 rtw_write16(rtwdev, REG_FIFOPAGE_CTRL_2, pg_addr | BIT_BCN_VALID_V1); in rtw_fw_write_data_rsvd_page()
585 rtw_write16(rtwdev, REG_FIFOPAGE_CTRL_2, in rtw_fw_write_data_rsvd_page()
748 rtw_write16(rtwdev, REG_PKTBUF_DBG_CTRL, start_pg | ctl); in rtw_dump_drv_rsvd_page()
763 rtw_write16(rtwdev, REG_PKTBUF_DBG_CTRL, ctl); in rtw_dump_drv_rsvd_page()
Drtw8822b.c175 rtw_write16(rtwdev, REG_BAR_MODE_CTRL + 2, in rtw8822b_mac_init()
183 rtw_write16(rtwdev, REG_TXPAUSE, 0x0000); in rtw8822b_mac_init()
187 rtw_write16(rtwdev, REG_EDCA_VO_PARAM + 2, WLAN_VO_TXOP_LIMIT); in rtw8822b_mac_init()
188 rtw_write16(rtwdev, REG_EDCA_VI_PARAM + 2, WLAN_VI_TXOP_LIMIT); in rtw8822b_mac_init()
190 rtw_write16(rtwdev, REG_RXTSF_OFFSET_CCK, WLAN_RX_TSF_CFG); in rtw8822b_mac_init()
200 rtw_write16(rtwdev, REG_RXFLTMAP2, WLAN_RX_FILTER2); in rtw8822b_mac_init()
Drtw8822c.c1153 rtw_write16(rtwdev, REG_SPEC_SIFS, WLAN_SIFS_DUR_TUNE); in rtw8822c_mac_init()
1155 rtw_write16(rtwdev, REG_RESP_SIFS_CCK, in rtw8822c_mac_init()
1157 rtw_write16(rtwdev, REG_RESP_SIFS_OFDM, in rtw8822c_mac_init()
1181 rtw_write16(rtwdev, REG_BAR_MODE_CTRL + 2, in rtw8822c_mac_init()
1210 rtw_write16(rtwdev, REG_TXPAUSE, 0x0000); in rtw8822c_mac_init()
1213 rtw_write16(rtwdev, REG_RXTSF_OFFSET_CCK, WLAN_RX_TSF_CFG); in rtw8822c_mac_init()
1227 rtw_write16(rtwdev, REG_EIFS, WLAN_EIFS_DUR_TUNE); in rtw8822c_mac_init()
1231 rtw_write16(rtwdev, REG_RXFLTMAP2, WLAN_RX_FILTER2); in rtw8822c_mac_init()
1244 rtw_write16(rtwdev, REG_RXPSF_CTRL + 2, value16); in rtw8822c_mac_init()
1250 rtw_write16(rtwdev, REG_RXPSF_CTRL, value16); in rtw8822c_mac_init()
[all …]
Dcoex.c74 rtw_write16(rtwdev, REG_RETRY_LIMIT, 0x0808); in rtw_coex_limited_tx()
88 rtw_write16(rtwdev, REG_RETRY_LIMIT, coex_stat->retry_limit); in rtw_coex_limited_tx()
283 rtw_write16(rtwdev, REG_WIFI_BT_INFO, val); in rtw_coex_write_scbd()
Ddebug.c330 rtw_write16(rtwdev, addr, (u16)val); in rtw_debugfs_set_write_reg()
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_efuse.c281 rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) & (~BIT11)); in efuse_OneByteRead()
347 rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) | (BIT11)); in efuse_OneByteWrite()
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Drtw_io.h301 #define rtw_write16(adapter, addr, val) _rtw_write16((adapter), (addr), (val)) macro
353 rtw_write16(_a, _b, _c)
/Linux-v5.4/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c2307 rtw_write16(padapter, addr, (u16)data32); in rtw_wx_write32()
2711 rtw_write16(padapter, arg, extra_arg); in rtw_dbg_port()
2765 rtw_write16(padapter, 0x6d9, write_value); in rtw_dbg_port()