/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/ |
D | hw.c | 233 u8 txpktbuf_bndy) in _rtl92du_init_tx_buffer_boundary() argument 237 rtl_write_byte(rtlpriv, REG_TXPKTBUF_BCNQ_BDNY, txpktbuf_bndy); in _rtl92du_init_tx_buffer_boundary() 238 rtl_write_byte(rtlpriv, REG_TXPKTBUF_MGQ_BDNY, txpktbuf_bndy); in _rtl92du_init_tx_buffer_boundary() 240 rtl_write_byte(rtlpriv, REG_TXPKTBUF_WMAC_LBK_BF_HD, txpktbuf_bndy); in _rtl92du_init_tx_buffer_boundary() 243 rtl_write_byte(rtlpriv, REG_TRXFF_BNDY, txpktbuf_bndy); in _rtl92du_init_tx_buffer_boundary() 246 rtl_write_byte(rtlpriv, REG_TDECTRL + 1, txpktbuf_bndy); in _rtl92du_init_tx_buffer_boundary() 249 static bool _rtl92du_llt_table_init(struct ieee80211_hw *hw, u8 txpktbuf_bndy) in _rtl92du_llt_table_init() argument 261 for (i = 0; i < (txpktbuf_bndy - 1); i++) { in _rtl92du_llt_table_init() 268 status = rtl92d_llt_write(hw, txpktbuf_bndy - 1, 0xFF); in _rtl92du_llt_table_init() 277 for (i = txpktbuf_bndy; i < maxpage; i++) { in _rtl92du_llt_table_init() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 244 u8 txpktbuf_bndy; in _rtl92de_llt_table_init() local 252 txpktbuf_bndy = 246; in _rtl92de_llt_table_init() 257 txpktbuf_bndy = 123; in _rtl92de_llt_table_init() 272 txpktbuf_bndy)); in _rtl92de_llt_table_init() 276 rtl_write_byte(rtlpriv, REG_TDECTRL + 1, txpktbuf_bndy); in _rtl92de_llt_table_init() 280 rtl_write_byte(rtlpriv, REG_TXPKTBUF_BCNQ_BDNY, txpktbuf_bndy); in _rtl92de_llt_table_init() 281 rtl_write_byte(rtlpriv, REG_TXPKTBUF_MGQ_BDNY, txpktbuf_bndy); in _rtl92de_llt_table_init() 285 rtl_write_byte(rtlpriv, 0x45D, txpktbuf_bndy); in _rtl92de_llt_table_init() 297 for (i = 0; i < (txpktbuf_bndy - 1); i++) { in _rtl92de_llt_table_init() 304 status = rtl92d_llt_write(hw, (txpktbuf_bndy - 1), 0xFF); in _rtl92de_llt_table_init() [all …]
|
/linux-6.12.1/drivers/staging/rtl8723bs/hal/ |
D | sdio_halinit.c | 173 u8 txpktbuf_bndy; in _InitTxBufferBoundary() local 176 txpktbuf_bndy = TX_PAGE_BOUNDARY_8723B; in _InitTxBufferBoundary() 179 txpktbuf_bndy = WMM_NORMAL_TX_PAGE_BOUNDARY_8723B; in _InitTxBufferBoundary() 182 rtw_write8(padapter, REG_TXPKTBUF_BCNQ_BDNY_8723B, txpktbuf_bndy); in _InitTxBufferBoundary() 183 rtw_write8(padapter, REG_TXPKTBUF_MGQ_BDNY_8723B, txpktbuf_bndy); in _InitTxBufferBoundary() 184 rtw_write8(padapter, REG_TXPKTBUF_WMAC_LBK_BF_HD_8723B, txpktbuf_bndy); in _InitTxBufferBoundary() 185 rtw_write8(padapter, REG_TRXFF_BNDY, txpktbuf_bndy); in _InitTxBufferBoundary() 186 rtw_write8(padapter, REG_TDECTRL + 1, txpktbuf_bndy); in _InitTxBufferBoundary()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 560 u8 txpktbuf_bndy; in _rtl8723e_llt_table_init() local 567 txpktbuf_bndy = 252; in _rtl8723e_llt_table_init() 570 txpktbuf_bndy = 124; in _rtl8723e_llt_table_init() 573 txpktbuf_bndy = 174; in _rtl8723e_llt_table_init() 576 txpktbuf_bndy = 246; in _rtl8723e_llt_table_init() 579 txpktbuf_bndy = 246; in _rtl8723e_llt_table_init() 600 rtl_write_dword(rtlpriv, REG_TRXFF_BNDY, (0x27FF0000 | txpktbuf_bndy)); 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() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 563 u8 txpktbuf_bndy; in _rtl92ce_llt_table_init() local 569 txpktbuf_bndy = 252; in _rtl92ce_llt_table_init() 572 txpktbuf_bndy = 124; in _rtl92ce_llt_table_init() 575 txpktbuf_bndy = 174; in _rtl92ce_llt_table_init() 578 txpktbuf_bndy = 246; in _rtl92ce_llt_table_init() 581 txpktbuf_bndy = 246; in _rtl92ce_llt_table_init() 599 rtl_write_dword(rtlpriv, REG_TRXFF_BNDY, (0x27FF0000 | txpktbuf_bndy)); in _rtl92ce_llt_table_init() 600 rtl_write_byte(rtlpriv, REG_TDECTRL + 1, txpktbuf_bndy); in _rtl92ce_llt_table_init() 602 rtl_write_byte(rtlpriv, REG_TXPKTBUF_BCNQ_BDNY, txpktbuf_bndy); in _rtl92ce_llt_table_init() 603 rtl_write_byte(rtlpriv, REG_TXPKTBUF_MGQ_BDNY, txpktbuf_bndy); in _rtl92ce_llt_table_init() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 753 u8 txpktbuf_bndy; in _rtl88ee_llt_table_init() local 758 txpktbuf_bndy = 0xAB; in _rtl88ee_llt_table_init() 764 rtl_write_dword(rtlpriv, REG_TRXFF_BNDY, (0x25FF0000 | txpktbuf_bndy)); in _rtl88ee_llt_table_init() 765 rtl_write_byte(rtlpriv, REG_TDECTRL + 1, txpktbuf_bndy); in _rtl88ee_llt_table_init() 767 rtl_write_byte(rtlpriv, REG_TXPKTBUF_BCNQ_BDNY, txpktbuf_bndy); in _rtl88ee_llt_table_init() 768 rtl_write_byte(rtlpriv, REG_TXPKTBUF_MGQ_BDNY, txpktbuf_bndy); in _rtl88ee_llt_table_init() 770 rtl_write_byte(rtlpriv, 0x45D, txpktbuf_bndy); in _rtl88ee_llt_table_init() 774 for (i = 0; i < (txpktbuf_bndy - 1); i++) { in _rtl88ee_llt_table_init() 780 status = _rtl88ee_llt_write(hw, (txpktbuf_bndy - 1), 0xFF); in _rtl88ee_llt_table_init() 784 for (i = txpktbuf_bndy; i < maxpage; i++) { in _rtl88ee_llt_table_init() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 741 u8 txpktbuf_bndy; in _rtl8723be_llt_table_init() local 746 txpktbuf_bndy = 245; in _rtl8723be_llt_table_init() 749 (0x27FF0000 | txpktbuf_bndy)); in _rtl8723be_llt_table_init() 750 rtl_write_byte(rtlpriv, REG_TDECTRL + 1, txpktbuf_bndy); in _rtl8723be_llt_table_init() 752 rtl_write_byte(rtlpriv, REG_TXPKTBUF_BCNQ_BDNY, txpktbuf_bndy); in _rtl8723be_llt_table_init() 753 rtl_write_byte(rtlpriv, REG_TXPKTBUF_MGQ_BDNY, txpktbuf_bndy); in _rtl8723be_llt_table_init() 755 rtl_write_byte(rtlpriv, 0x45D, txpktbuf_bndy); in _rtl8723be_llt_table_init() 759 for (i = 0; i < (txpktbuf_bndy - 1); i++) { in _rtl8723be_llt_table_init() 765 status = _rtl8723be_llt_write(hw, (txpktbuf_bndy - 1), 0xFF); in _rtl8723be_llt_table_init() 770 for (i = txpktbuf_bndy; i < maxpage; i++) { in _rtl8723be_llt_table_init() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 816 u8 txpktbuf_bndy; in _rtl8821ae_llt_table_init() local 822 txpktbuf_bndy = 0xF7; in _rtl8821ae_llt_table_init() 825 rtl_write_byte(rtlpriv, REG_TRXFF_BNDY, txpktbuf_bndy); in _rtl8821ae_llt_table_init() 828 rtl_write_byte(rtlpriv, REG_TDECTRL + 1, txpktbuf_bndy); in _rtl8821ae_llt_table_init() 830 rtl_write_byte(rtlpriv, REG_TXPKTBUF_BCNQ_BDNY, txpktbuf_bndy); in _rtl8821ae_llt_table_init() 831 rtl_write_byte(rtlpriv, REG_TXPKTBUF_MGQ_BDNY, txpktbuf_bndy); in _rtl8821ae_llt_table_init() 836 for (i = 0; i < (txpktbuf_bndy - 1); i++) { in _rtl8821ae_llt_table_init() 842 status = _rtl8821ae_llt_write(hw, (txpktbuf_bndy - 1), 0xFF); in _rtl8821ae_llt_table_init() 846 for (i = txpktbuf_bndy; i < maxpage; i++) { in _rtl8821ae_llt_table_init() 852 status = _rtl8821ae_llt_write(hw, maxpage, txpktbuf_bndy); in _rtl8821ae_llt_table_init() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 677 u8 txpktbuf_bndy; in _rtl92ee_llt_table_init() local 680 txpktbuf_bndy = 0xF7; in _rtl92ee_llt_table_init() 684 rtl_write_byte(rtlpriv, REG_TRXFF_BNDY, txpktbuf_bndy); in _rtl92ee_llt_table_init() 687 rtl_write_byte(rtlpriv, REG_DWBCN0_CTRL + 1, txpktbuf_bndy); in _rtl92ee_llt_table_init() 688 rtl_write_byte(rtlpriv, REG_DWBCN1_CTRL + 1, txpktbuf_bndy); in _rtl92ee_llt_table_init() 690 rtl_write_byte(rtlpriv, REG_BCNQ_BDNY, txpktbuf_bndy); in _rtl92ee_llt_table_init() 691 rtl_write_byte(rtlpriv, REG_BCNQ1_BDNY, txpktbuf_bndy); in _rtl92ee_llt_table_init() 693 rtl_write_byte(rtlpriv, REG_MGQ_BDNY, txpktbuf_bndy); in _rtl92ee_llt_table_init() 694 rtl_write_byte(rtlpriv, 0x45D, txpktbuf_bndy); in _rtl92ee_llt_table_init()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 537 u8 txpktbuf_bndy = TX_PAGE_BOUNDARY; in _rtl92c_init_trx_buffer() local 540 rtl_write_byte(rtlpriv, REG_TXPKTBUF_BCNQ_BDNY, txpktbuf_bndy); in _rtl92c_init_trx_buffer() 541 rtl_write_byte(rtlpriv, REG_TXPKTBUF_MGQ_BDNY, txpktbuf_bndy); in _rtl92c_init_trx_buffer() 542 rtl_write_byte(rtlpriv, REG_TXPKTBUF_WMAC_LBK_BF_HD, txpktbuf_bndy); in _rtl92c_init_trx_buffer() 543 rtl_write_byte(rtlpriv, REG_TRXFF_BNDY, txpktbuf_bndy); in _rtl92c_init_trx_buffer() 544 rtl_write_byte(rtlpriv, REG_TDECTRL+1, txpktbuf_bndy); in _rtl92c_init_trx_buffer()
|