Home
last modified time | relevance | path

Searched refs:bcnvalid_reg (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c315 u8 tmp_regcr, tmp_reg422, bcnvalid_reg; in _rtl8821ae_download_rsvd_page() local
332 bcnvalid_reg = rtl_read_byte(rtlpriv, REG_TDECTRL + 2); in _rtl8821ae_download_rsvd_page()
334 (bcnvalid_reg | BIT(0))); in _rtl8821ae_download_rsvd_page()
344 bcnvalid_reg = rtl_read_byte(rtlpriv, REG_TDECTRL + 2); in _rtl8821ae_download_rsvd_page()
346 while (!(bcnvalid_reg & BIT(0)) && count < 20) { in _rtl8821ae_download_rsvd_page()
349 bcnvalid_reg = rtl_read_byte(rtlpriv, REG_TDECTRL + 2); in _rtl8821ae_download_rsvd_page()
352 } while (!(bcnvalid_reg & BIT(0)) && dlbcn_count < 5); in _rtl8821ae_download_rsvd_page()
354 if (!(bcnvalid_reg & BIT(0))) in _rtl8821ae_download_rsvd_page()
357 if (bcnvalid_reg & BIT(0) && rtlhal->enter_pnp_sleep) { in _rtl8821ae_download_rsvd_page()
358 rtl_write_byte(rtlpriv, REG_TDECTRL + 2, bcnvalid_reg | BIT(0)); in _rtl8821ae_download_rsvd_page()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/rtl8822be/
Dhw.c346 u8 bcnvalid_reg /*, txbc_reg*/; in _rtl8822be_download_rsvd_page() local
374 bcnvalid_reg = in _rtl8822be_download_rsvd_page()
376 bcnvalid_reg = bcnvalid_reg | BIT(7); in _rtl8822be_download_rsvd_page()
378 bcnvalid_reg); in _rtl8822be_download_rsvd_page()
384 bcnvalid_reg = in _rtl8822be_download_rsvd_page()
388 while (!(BIT(7) & bcnvalid_reg) && count < 20) { in _rtl8822be_download_rsvd_page()
391 bcnvalid_reg = rtl_read_byte( in _rtl8822be_download_rsvd_page()
396 } while (!(BIT(7) & bcnvalid_reg) && dlbcn_count < 5); in _rtl8822be_download_rsvd_page()
398 if (!(BIT(7) & bcnvalid_reg)) in _rtl8822be_download_rsvd_page()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c354 u8 bcnvalid_reg, txbc_reg; in _rtl92ee_download_rsvd_page() local
381 bcnvalid_reg = rtl_read_byte(rtlpriv, REG_DWBCN0_CTRL + 2); in _rtl92ee_download_rsvd_page()
383 bcnvalid_reg | BIT(0)); in _rtl92ee_download_rsvd_page()
399 bcnvalid_reg = rtl_read_byte(rtlpriv, REG_DWBCN0_CTRL + 2); in _rtl92ee_download_rsvd_page()
401 while (!(bcnvalid_reg & BIT(0)) && count < 20) { in _rtl92ee_download_rsvd_page()
404 bcnvalid_reg = rtl_read_byte(rtlpriv, in _rtl92ee_download_rsvd_page()
408 if (bcnvalid_reg & BIT(0)) in _rtl92ee_download_rsvd_page()
412 } while (!(bcnvalid_reg & BIT(0)) && dlbcn_count < 5); in _rtl92ee_download_rsvd_page()
414 if (!(bcnvalid_reg & BIT(0))) in _rtl92ee_download_rsvd_page()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c644 u8 tmp_regcr, tmp_reg422, bcnvalid_reg; in rtl88ee_set_hw_reg() local
668 bcnvalid_reg = rtl_read_byte(rtlpriv, in rtl88ee_set_hw_reg()
671 (bcnvalid_reg | BIT(0))); in rtl88ee_set_hw_reg()
675 bcnvalid_reg = rtl_read_byte(rtlpriv, in rtl88ee_set_hw_reg()
678 while (!(bcnvalid_reg & BIT(0)) && count < 20) { in rtl88ee_set_hw_reg()
681 bcnvalid_reg = in rtl88ee_set_hw_reg()
685 } while (!(bcnvalid_reg & BIT(0)) && dlbcn_count < 5); in rtl88ee_set_hw_reg()
687 if (bcnvalid_reg & BIT(0)) in rtl88ee_set_hw_reg()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c365 u8 tmp_regcr, tmp_reg422, bcnvalid_reg; in _rtl8723be_download_rsvd_page() local
382 bcnvalid_reg = rtl_read_byte(rtlpriv, REG_TDECTRL + 2); in _rtl8723be_download_rsvd_page()
384 (bcnvalid_reg | BIT(0))); in _rtl8723be_download_rsvd_page()
388 bcnvalid_reg = rtl_read_byte(rtlpriv, REG_TDECTRL + 2); in _rtl8723be_download_rsvd_page()
390 while (!(bcnvalid_reg & BIT(0)) && count < 20) { in _rtl8723be_download_rsvd_page()
393 bcnvalid_reg = rtl_read_byte(rtlpriv, in _rtl8723be_download_rsvd_page()
397 } while (!(bcnvalid_reg & BIT(0)) && dlbcn_count < 5); in _rtl8723be_download_rsvd_page()
399 if (bcnvalid_reg & BIT(0)) in _rtl8723be_download_rsvd_page()