Lines Matching refs:rtl_write_byte

36 	rtl_write_byte(rtlpriv, REG_BCN_CTRL, (u8) rtlpci->reg_bcn_ctrl_val);  in _rtl8723e_set_bcn_ctrl_reg()
45 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte & (~BIT(6))); in _rtl8723e_stop_tx_beacon()
46 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0x64); in _rtl8723e_stop_tx_beacon()
49 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8723e_stop_tx_beacon()
58 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, tmp1byte | BIT(6)); in _rtl8723e_resume_tx_beacon()
59 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0xff); in _rtl8723e_resume_tx_beacon()
62 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 2, tmp1byte); in _rtl8723e_resume_tx_beacon()
143 rtl_write_byte(rtlpriv, (REG_MACID + idx), in rtl8723e_set_hw_reg()
154 rtl_write_byte(rtlpriv, REG_RRSR, b_rate_cfg & 0xff); in rtl8723e_set_hw_reg()
155 rtl_write_byte(rtlpriv, REG_RRSR + 1, in rtl8723e_set_hw_reg()
161 rtl_write_byte(rtlpriv, REG_INIRTS_RATE_SEL, in rtl8723e_set_hw_reg()
167 rtl_write_byte(rtlpriv, (REG_BSSID + idx), in rtl8723e_set_hw_reg()
173 rtl_write_byte(rtlpriv, REG_SIFS_CTX + 1, val[0]); in rtl8723e_set_hw_reg()
174 rtl_write_byte(rtlpriv, REG_SIFS_TRX + 1, val[1]); in rtl8723e_set_hw_reg()
176 rtl_write_byte(rtlpriv, REG_SPEC_SIFS + 1, val[0]); in rtl8723e_set_hw_reg()
177 rtl_write_byte(rtlpriv, REG_MAC_SPEC_SIFS + 1, val[0]); in rtl8723e_set_hw_reg()
193 rtl_write_byte(rtlpriv, REG_SLOT, val[0]); in rtl8723e_set_hw_reg()
210 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl8723e_set_hw_reg()
229 rtl_write_byte(rtlpriv, REG_AMPDU_MIN_SPACE, in rtl8723e_set_hw_reg()
244 rtl_write_byte(rtlpriv, REG_AMPDU_MIN_SPACE, in rtl8723e_set_hw_reg()
282 rtl_write_byte(rtlpriv, in rtl8723e_set_hw_reg()
353 rtl_write_byte(rtlpriv, REG_ACMHWCTRL, acm_ctrl); in rtl8723e_set_hw_reg()
370 rtl_write_byte(rtlpriv, REG_DUAL_TSF_RST, (BIT(0) | BIT(1))); in rtl8723e_set_hw_reg()
382 rtl_write_byte(rtlpriv, REG_SECCFG, *((u8 *)val)); in rtl8723e_set_hw_reg()
391 rtl_write_byte(rtlpriv, REG_PCIE_HRPWM, in rtl8723e_set_hw_reg()
394 rtl_write_byte(rtlpriv, REG_PCIE_HRPWM, in rtl8723e_set_hw_reg()
422 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl8723e_set_hw_reg()
433 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 2, in rtl8723e_set_hw_reg()
442 rtl_write_byte(rtlpriv, in rtl8723e_set_hw_reg()
447 rtl_write_byte(rtlpriv, REG_CR + 1, in rtl8723e_set_hw_reg()
582 rtl_write_byte(rtlpriv, REG_CR, 0x8B); in _rtl8723e_llt_table_init()
585 rtl_write_byte(rtlpriv, REG_RQPN_NPQ, 0x1c); in _rtl8723e_llt_table_init()
597 rtl_write_byte(rtlpriv, REG_RQPN_NPQ, 0x03); in _rtl8723e_llt_table_init()
601 rtl_write_byte(rtlpriv, REG_TDECTRL + 1, txpktbuf_bndy); in _rtl8723e_llt_table_init()
603 rtl_write_byte(rtlpriv, REG_TXPKTBUF_BCNQ_BDNY, txpktbuf_bndy); in _rtl8723e_llt_table_init()
604 rtl_write_byte(rtlpriv, REG_TXPKTBUF_MGQ_BDNY, txpktbuf_bndy); in _rtl8723e_llt_table_init()
606 rtl_write_byte(rtlpriv, 0x45D, txpktbuf_bndy); in _rtl8723e_llt_table_init()
607 rtl_write_byte(rtlpriv, REG_PBP, 0x11); in _rtl8723e_llt_table_init()
608 rtl_write_byte(rtlpriv, REG_RX_DRVINFO_SZ, 0x4); in _rtl8723e_llt_table_init()
630 rtl_write_byte(rtlpriv, REG_CR, 0xff); in _rtl8723e_llt_table_init()
632 rtl_write_byte(rtlpriv, REG_RQPN + 3, ubyte | BIT(7)); in _rtl8723e_llt_table_init()
665 rtl_write_byte(rtlpriv, REG_RSV_CTRL, 0x00); in _rtl8712e_init_mac()
678 rtl_write_byte(rtlpriv, REG_PCIE_CTRL_REG+2, bytetmp | BIT(4)); in _rtl8712e_init_mac()
682 rtl_write_byte(rtlpriv, 0x369, bytetmp | BIT(7)); in _rtl8712e_init_mac()
715 rtl_write_byte(rtlpriv, REG_HISRE, 0xff); in _rtl8712e_init_mac()
724 rtl_write_byte(rtlpriv, REG_FWHW_TXQ_CTRL + 1, 0x1F); in _rtl8712e_init_mac()
729 rtl_write_byte(rtlpriv, 0x4d0, 0x0); in _rtl8712e_init_mac()
752 rtl_write_byte(rtlpriv, REG_PCIE_CTRL_REG + 3, 0x74); in _rtl8712e_init_mac()
757 rtl_write_byte(rtlpriv, REG_APSD_CTRL, bytetmp & ~BIT(6)); in _rtl8712e_init_mac()
780 rtl_write_byte(rtlpriv, REG_INIRTS_RATE_SEL, 0x8); in _rtl8723e_hw_configure()
782 rtl_write_byte(rtlpriv, REG_BWOPMODE, reg_bw_opmode); in _rtl8723e_hw_configure()
786 rtl_write_byte(rtlpriv, REG_SLOT, 0x09); in _rtl8723e_hw_configure()
788 rtl_write_byte(rtlpriv, REG_AMPDU_MIN_SPACE, 0x0); in _rtl8723e_hw_configure()
796 rtl_write_byte(rtlpriv, REG_HWSEQ_CTRL, 0xFF); in _rtl8723e_hw_configure()
809 rtl_write_byte(rtlpriv, REG_ATIMWND, 0x2); in _rtl8723e_hw_configure()
811 rtl_write_byte(rtlpriv, REG_BCN_MAX_ERR, 0xff); in _rtl8723e_hw_configure()
814 rtl_write_byte(rtlpriv, REG_BCN_CTRL, rtlpci->reg_bcn_ctrl_val); in _rtl8723e_hw_configure()
816 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0xff); in _rtl8723e_hw_configure()
818 rtl_write_byte(rtlpriv, REG_TBTT_PROHIBIT + 1, 0xff); in _rtl8723e_hw_configure()
820 rtl_write_byte(rtlpriv, REG_PIFS, 0x1C); in _rtl8723e_hw_configure()
821 rtl_write_byte(rtlpriv, REG_AGGR_BREAK_TIME, 0x16); in _rtl8723e_hw_configure()
838 rtl_write_byte(rtlpriv, REG_ACKTO, 0x40); in _rtl8723e_hw_configure()
858 rtl_write_byte(rtlpriv, 0x34b, 0x93); in _rtl8723e_enable_aspm_back_door()
860 rtl_write_byte(rtlpriv, 0x352, 0x1); in _rtl8723e_enable_aspm_back_door()
863 rtl_write_byte(rtlpriv, 0x349, 0x1b); in _rtl8723e_enable_aspm_back_door()
865 rtl_write_byte(rtlpriv, 0x349, 0x03); in _rtl8723e_enable_aspm_back_door()
868 rtl_write_byte(rtlpriv, 0x352, 0x1); in _rtl8723e_enable_aspm_back_door()
896 rtl_write_byte(rtlpriv, REG_CR + 1, 0x02); in rtl8723e_enable_hw_security_config()
1013 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x80); in rtl8723e_hw_init()
1015 rtl_write_byte(rtlpriv, 0x16, tmp_u1b | 0x90); in rtl8723e_hw_init()
1155 rtl_write_byte(rtlpriv, MSR, bt_msr | mode); in _rtl8723e_set_media_status()
1158 rtl_write_byte(rtlpriv, REG_BCNTCFG + 1, 0x00); in _rtl8723e_set_media_status()
1160 rtl_write_byte(rtlpriv, REG_BCNTCFG + 1, 0x66); in _rtl8723e_set_media_status()
1263 rtl_write_byte(rtlpriv, REG_RF_CTRL, 0x00); in _rtl8723e_poweroff_adapter()
1271 rtl_write_byte(rtlpriv, REG_SYS_FUNC_EN+1, (u1b_tmp & (~BIT(2)))); in _rtl8723e_poweroff_adapter()
1275 rtl_write_byte(rtlpriv, REG_MCUFWDL, 0x00); in _rtl8723e_poweroff_adapter()
1283 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, (u1b_tmp & (~BIT(0)))); in _rtl8723e_poweroff_adapter()
1285 rtl_write_byte(rtlpriv, REG_RSV_CTRL + 1, u1b_tmp | BIT(0)); in _rtl8723e_poweroff_adapter()
1289 rtl_write_byte(rtlpriv, REG_RSV_CTRL, 0x0e); in _rtl8723e_poweroff_adapter()
1335 rtl_write_byte(rtlpriv, REG_RXTSF_OFFSET_CCK, 0x18); in rtl8723e_set_beacon_related_registers()
1336 rtl_write_byte(rtlpriv, REG_RXTSF_OFFSET_OFDM, 0x18); in rtl8723e_set_beacon_related_registers()
1337 rtl_write_byte(rtlpriv, 0x606, 0x30); in rtl8723e_set_beacon_related_registers()
2097 rtl_write_byte(rtlpriv, REG_GPIO_IO_SEL_2, in rtl8723e_gpio_radio_on_off_checking()