Searched refs:MT_FRAC (Results 1 – 2 of 2) sorted by relevance
58 #define MT_FRAC(val, div) (((val) << MT_FRAC_SCALE) / (div)) macro
1815 if (rts_err_rate > MT_FRAC(40, 100)) in mt7615_mac_adjust_sensitivity()1827 rts_err_rate > MT_FRAC(60, 100)) { in mt7615_mac_adjust_sensitivity()1879 rts_err_rate = MT_FRAC(mib->rts_retries_cnt, in mt7615_mac_scs_check()