Lines Matching refs:opp2
1846 struct dev_pm_opp *opp1, struct dev_pm_opp *opp2) in _opp_compare_rate() argument
1851 if (opp1->rates[i] != opp2->rates[i]) in _opp_compare_rate()
1852 return opp1->rates[i] < opp2->rates[i] ? -1 : 1; in _opp_compare_rate()
1860 struct dev_pm_opp *opp2) in _opp_compare_bw() argument
1865 if (opp1->bandwidth[i].peak != opp2->bandwidth[i].peak) in _opp_compare_bw()
1866 return opp1->bandwidth[i].peak < opp2->bandwidth[i].peak ? -1 : 1; in _opp_compare_bw()
1880 struct dev_pm_opp *opp2) in _opp_compare_key() argument
1884 ret = _opp_compare_rate(opp_table, opp1, opp2); in _opp_compare_key()
1888 ret = _opp_compare_bw(opp_table, opp1, opp2); in _opp_compare_key()
1892 if (opp1->level != opp2->level) in _opp_compare_key()
1893 return opp1->level < opp2->level ? -1 : 1; in _opp_compare_key()