Lines Matching refs:ratr_value
786 u32 ratr_value; in rtl92d_update_hal_rate_table() local
793 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92d_update_hal_rate_table()
795 ratr_value = sta->deflink.supp_rates[0]; in rtl92d_update_hal_rate_table()
796 ratr_value |= (sta->deflink.ht_cap.mcs.rx_mask[1] << 20 | in rtl92d_update_hal_rate_table()
800 ratr_value &= 0x00000FF0; in rtl92d_update_hal_rate_table()
803 if (ratr_value & 0x0000000c) in rtl92d_update_hal_rate_table()
804 ratr_value &= 0x0000000d; in rtl92d_update_hal_rate_table()
806 ratr_value &= 0x0000000f; in rtl92d_update_hal_rate_table()
809 ratr_value &= 0x00000FF5; in rtl92d_update_hal_rate_table()
815 ratr_value &= 0x0007F005; in rtl92d_update_hal_rate_table()
826 ratr_value &= ratr_mask; in rtl92d_update_hal_rate_table()
831 ratr_value &= 0x000ff0ff; in rtl92d_update_hal_rate_table()
833 ratr_value &= 0x0f0ff0ff; in rtl92d_update_hal_rate_table()
837 ratr_value &= 0x0FFFFFFF; in rtl92d_update_hal_rate_table()
840 ratr_value |= 0x10000000; in rtl92d_update_hal_rate_table()
841 tmp_ratr_value = (ratr_value >> 12); in rtl92d_update_hal_rate_table()
849 rtl_write_dword(rtlpriv, REG_ARFR0 + ratr_index * 4, ratr_value); in rtl92d_update_hal_rate_table()