rtw_write16 74 drivers/net/wireless/realtek/rtw88/coex.c rtw_write16(rtwdev, REG_RETRY_LIMIT, 0x0808); rtw_write16 88 drivers/net/wireless/realtek/rtw88/coex.c rtw_write16(rtwdev, REG_RETRY_LIMIT, coex_stat->retry_limit); rtw_write16 283 drivers/net/wireless/realtek/rtw88/coex.c rtw_write16(rtwdev, REG_WIFI_BT_INFO, val); rtw_write16 330 drivers/net/wireless/realtek/rtw88/debug.c rtw_write16(rtwdev, addr, (u16)val); rtw_write16 557 drivers/net/wireless/realtek/rtw88/fw.c rtw_write16(rtwdev, REG_FIFOPAGE_CTRL_2, pg_addr | BIT_BCN_VALID_V1); rtw_write16 582 drivers/net/wireless/realtek/rtw88/fw.c rtw_write16(rtwdev, REG_FIFOPAGE_CTRL_2, rtw_write16 782 drivers/net/wireless/realtek/rtw88/fw.c rtw_write16(rtwdev, REG_PKTBUF_DBG_CTRL, start_pg | ctl); rtw_write16 797 drivers/net/wireless/realtek/rtw88/fw.c rtw_write16(rtwdev, REG_PKTBUF_DBG_CTRL, ctl); rtw_write16 105 drivers/net/wireless/realtek/rtw88/hci.h rtw_write16(rtwdev, addr, val | bit); rtw_write16 129 drivers/net/wireless/realtek/rtw88/hci.h rtw_write16(rtwdev, addr, val & ~bit); rtw_write16 390 drivers/net/wireless/realtek/rtw88/mac.c rtw_write16(rtwdev, REG_FIFOPAGE_INFO_1, 0x200); rtw_write16 608 drivers/net/wireless/realtek/rtw88/mac.c rtw_write16(rtwdev, REG_MCUFW_CTRL, val); rtw_write16 663 drivers/net/wireless/realtek/rtw88/mac.c rtw_write16(rtwdev, REG_MCUFW_CTRL, fw_ctrl); rtw_write16 752 drivers/net/wireless/realtek/rtw88/mac.c rtw_write16(rtwdev, REG_TXDMA_PQ_MAP, txdma_pq_map); rtw_write16 841 drivers/net/wireless/realtek/rtw88/mac.c rtw_write16(rtwdev, REG_FIFOPAGE_INFO_1, pg_tbl->hq_num); rtw_write16 842 drivers/net/wireless/realtek/rtw88/mac.c rtw_write16(rtwdev, REG_FIFOPAGE_INFO_2, pg_tbl->lq_num); rtw_write16 843 drivers/net/wireless/realtek/rtw88/mac.c rtw_write16(rtwdev, REG_FIFOPAGE_INFO_3, pg_tbl->nq_num); rtw_write16 844 drivers/net/wireless/realtek/rtw88/mac.c rtw_write16(rtwdev, REG_FIFOPAGE_INFO_4, pg_tbl->exq_num); rtw_write16 845 drivers/net/wireless/realtek/rtw88/mac.c rtw_write16(rtwdev, REG_FIFOPAGE_INFO_5, pubq_num); rtw_write16 848 drivers/net/wireless/realtek/rtw88/mac.c rtw_write16(rtwdev, REG_FIFOPAGE_CTRL_2, fifo->rsvd_boundary); rtw_write16 851 drivers/net/wireless/realtek/rtw88/mac.c rtw_write16(rtwdev, REG_BCNQ_BDNY_V1, fifo->rsvd_boundary); rtw_write16 852 drivers/net/wireless/realtek/rtw88/mac.c rtw_write16(rtwdev, REG_FIFOPAGE_CTRL_2 + 2, fifo->rsvd_boundary); rtw_write16 853 drivers/net/wireless/realtek/rtw88/mac.c rtw_write16(rtwdev, REG_BCNQ1_BDNY_V1, fifo->rsvd_boundary); rtw_write16 405 drivers/net/wireless/realtek/rtw88/pci.c rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_H2CQ, len); rtw_write16 412 drivers/net/wireless/realtek/rtw88/pci.c rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_BKQ, len); rtw_write16 419 drivers/net/wireless/realtek/rtw88/pci.c rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_BEQ, len); rtw_write16 426 drivers/net/wireless/realtek/rtw88/pci.c rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_VOQ, len); rtw_write16 433 drivers/net/wireless/realtek/rtw88/pci.c rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_VIQ, len); rtw_write16 440 drivers/net/wireless/realtek/rtw88/pci.c rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_MGMTQ, len); rtw_write16 447 drivers/net/wireless/realtek/rtw88/pci.c rtw_write16(rtwdev, RTK_PCI_TXBD_NUM_HI0Q, len); rtw_write16 454 drivers/net/wireless/realtek/rtw88/pci.c rtw_write16(rtwdev, RTK_PCI_RXBD_NUM_MPDUQ, len & 0xfff); rtw_write16 661 drivers/net/wireless/realtek/rtw88/pci.c rtw_write16(rtwdev, bd_idx, ring->r.wp & 0xfff); rtw_write16 885 drivers/net/wireless/realtek/rtw88/pci.c rtw_write16(rtwdev, RTK_PCI_RXBD_IDX_MPDUQ, ring->r.rp); rtw_write16 1004 drivers/net/wireless/realtek/rtw88/pci.c rtw_write16(rtwdev, REG_DBI_FLAG_V1, write_addr); rtw_write16 1023 drivers/net/wireless/realtek/rtw88/pci.c rtw_write16(rtwdev, REG_MDIO_V1, data); rtw_write16 175 drivers/net/wireless/realtek/rtw88/rtw8822b.c rtw_write16(rtwdev, REG_BAR_MODE_CTRL + 2, rtw_write16 183 drivers/net/wireless/realtek/rtw88/rtw8822b.c rtw_write16(rtwdev, REG_TXPAUSE, 0x0000); rtw_write16 187 drivers/net/wireless/realtek/rtw88/rtw8822b.c rtw_write16(rtwdev, REG_EDCA_VO_PARAM + 2, WLAN_VO_TXOP_LIMIT); rtw_write16 188 drivers/net/wireless/realtek/rtw88/rtw8822b.c rtw_write16(rtwdev, REG_EDCA_VI_PARAM + 2, WLAN_VI_TXOP_LIMIT); rtw_write16 190 drivers/net/wireless/realtek/rtw88/rtw8822b.c rtw_write16(rtwdev, REG_RXTSF_OFFSET_CCK, WLAN_RX_TSF_CFG); rtw_write16 200 drivers/net/wireless/realtek/rtw88/rtw8822b.c rtw_write16(rtwdev, REG_RXFLTMAP2, WLAN_RX_FILTER2); rtw_write16 1153 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write16(rtwdev, REG_SPEC_SIFS, WLAN_SIFS_DUR_TUNE); rtw_write16 1155 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write16(rtwdev, REG_RESP_SIFS_CCK, rtw_write16 1157 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write16(rtwdev, REG_RESP_SIFS_OFDM, rtw_write16 1181 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write16(rtwdev, REG_BAR_MODE_CTRL + 2, rtw_write16 1210 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write16(rtwdev, REG_TXPAUSE, 0x0000); rtw_write16 1213 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write16(rtwdev, REG_RXTSF_OFFSET_CCK, WLAN_RX_TSF_CFG); rtw_write16 1227 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write16(rtwdev, REG_EIFS, WLAN_EIFS_DUR_TUNE); rtw_write16 1231 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write16(rtwdev, REG_RXFLTMAP2, WLAN_RX_FILTER2); rtw_write16 1244 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write16(rtwdev, REG_RXPSF_CTRL + 2, value16); rtw_write16 1250 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write16(rtwdev, REG_RXPSF_CTRL, value16); rtw_write16 1257 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write16(rtwdev, REG_RXPSF_CTRL, value16); rtw_write16 110 drivers/net/wireless/realtek/rtw88/sec.c rtw_write16(rtwdev, REG_CR, ctrl_reg); rtw_write16 119 drivers/net/wireless/realtek/rtw88/sec.c rtw_write16(rtwdev, RTW_SEC_CONFIG, sec_config); rtw_write16 63 drivers/net/wireless/realtek/rtw88/util.c rtw_write16(rtwdev, reg, (u16)val); rtw_write16 281 drivers/staging/rtl8723bs/core/rtw_efuse.c rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) & (~BIT11)); rtw_write16 347 drivers/staging/rtl8723bs/core/rtw_efuse.c rtw_write16(padapter, 0x34, rtw_read16(padapter, 0x34) | (BIT11)); rtw_write16 787 drivers/staging/rtl8723bs/hal/hal_btcoex.c rtw_write16(padapter, RegAddr, Data); rtw_write16 1026 drivers/staging/rtl8723bs/hal/hal_com.c rtw_write16(adapter, REG_SECCFG, reg_scr|SCR_CHK_KEYID|SCR_RxDecEnable|SCR_TxEncEnable); rtw_write16 17 drivers/staging/rtl8723bs/hal/odm_DIG.c rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TIMER_11N+2, 0x2710); /* 0x894[31:16]= 0x2710 Time duration for NHM unit: 4us, 0x2710 =40ms */ rtw_write16 19 drivers/staging/rtl8723bs/hal/odm_DIG.c rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TH9_TH10_11N+2, 0xffff); /* 0x890[31:16]= 0xffff th_9, th_10 */ rtw_write16 1936 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write16(padapter, REG_BCN_PSR_RPT, (0xC000|pmlmeinfo->aid)); rtw_write16 2251 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c rtw_write16(padapter, REG_BCN_PSR_RPT, (0xC000|pmlmeinfo->aid)); rtw_write16 826 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_SYS_FUNC_EN, tmpV16); rtw_write16 833 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_SYS_CLKR, tmpV16); rtw_write16 1946 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_BCN_CTRL, val16); rtw_write16 1949 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_TBTT_PROHIBIT, 0x6404);/* ms */ rtw_write16 1958 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_BCNTCFG, 0x660F); rtw_write16 2060 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_ATIMWND, 2); rtw_write16 2065 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_BCN_INTERVAL, pmlmeinfo->bcn_interval); rtw_write16 3373 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP2, 0xFFFF); rtw_write16 3375 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP1, 0x0400); rtw_write16 3382 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_BCNTCFG, 0x00); rtw_write16 3383 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_TBTT_PROHIBIT, 0xff04); rtw_write16 3384 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_TSFTR_SYN_OFFSET, 0x7fff);/* +32767 (~32ms) */ rtw_write16 3503 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP2, 0); rtw_write16 3543 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP2, value_rxfltmap2); rtw_write16 3558 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP2, 0xFFFF); rtw_write16 3571 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RRSR, pHalData->RegRRSR); rtw_write16 3594 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP2, 0xFFFF); rtw_write16 3608 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RXFLTMAP2, 0x00); rtw_write16 3620 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RL, val16); rtw_write16 3843 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RRSR, BrateCfg); rtw_write16 3916 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_BCN_INTERVAL, *((u16 *)val)); rtw_write16 4139 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c rtw_write16(padapter, REG_RQPN_NPQ, 0); rtw_write16 530 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c rtw_write16(Adapter, REG_SYS_FUNC_EN, (u16)(RegVal|BIT13|BIT0|BIT1)); rtw_write16 741 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c rtw_write16(Adapter, REG_TRXPTCL_CTL_8723B, (RegRfMod_BW & 0xFE7F)); /* BIT 7 = 0, BIT 8 = 0 */ rtw_write16 746 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c rtw_write16(Adapter, REG_TRXPTCL_CTL_8723B, (u2tmp & 0xFEFF)); /* BIT 7 = 1, BIT 8 = 0 */ rtw_write16 751 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c rtw_write16(Adapter, REG_TRXPTCL_CTL_8723B, (u2tmp & 0xFF7F)); /* BIT 7 = 0, BIT 8 = 1 */ rtw_write16 150 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_APS_FSMCO, value16); rtw_write16 169 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_CR, value16); rtw_write16 180 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_PWR_DATA, value16); rtw_write16 214 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, 0x218, HQ_threshold); rtw_write16 215 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, 0x21A, NQ_threshold); rtw_write16 216 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, 0x21C, LQ_threshold); rtw_write16 297 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(Adapter, REG_TRXDMA_CTRL, value16); rtw_write16 427 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, (REG_TRXFF_BNDY + 2), rxff_bndy); rtw_write16 478 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_RXFLTMAP2, value16); rtw_write16 484 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_RXFLTMAP1, value16); rtw_write16 488 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_RXFLTMAP0, value16); rtw_write16 507 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_SPEC_SIFS, value16); rtw_write16 511 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_RL, value16); rtw_write16 517 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_SPEC_SIFS, 0x100a); rtw_write16 518 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_MAC_SPEC_SIFS, 0x100a); rtw_write16 521 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_SIFS_CTX, 0x100a); rtw_write16 524 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_SIFS_TRX, 0x100a); rtw_write16 785 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_CR, 0); rtw_write16 910 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_PKT_VO_VI_LIFE_TIME, 0x0400); /* unit: 256us. 256ms */ rtw_write16 911 drivers/staging/rtl8723bs/hal/sdio_halinit.c rtw_write16(padapter, REG_PKT_BE_BK_LIFE_TIME, 0x0400); /* unit: 256us. 256ms */ rtw_write16 353 drivers/staging/rtl8723bs/include/rtw_io.h rtw_write16(_a, _b, _c) rtw_write16 2307 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_write16(padapter, addr, (u16)data32); rtw_write16 2711 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_write16(padapter, arg, extra_arg); rtw_write16 2765 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c rtw_write16(padapter, 0x6d9, write_value);