Searched refs:opp2 (Results 1 – 4 of 4) sorted by relevance
1632 int _opp_compare_key(struct dev_pm_opp *opp1, struct dev_pm_opp *opp2) in _opp_compare_key() argument1634 if (opp1->rate != opp2->rate) in _opp_compare_key()1635 return opp1->rate < opp2->rate ? -1 : 1; in _opp_compare_key()1636 if (opp1->bandwidth && opp2->bandwidth && in _opp_compare_key()1637 opp1->bandwidth[0].peak != opp2->bandwidth[0].peak) in _opp_compare_key()1638 return opp1->bandwidth[0].peak < opp2->bandwidth[0].peak ? -1 : 1; in _opp_compare_key()1639 if (opp1->level != opp2->level) in _opp_compare_key()1640 return opp1->level < opp2->level ? -1 : 1; in _opp_compare_key()
231 int _opp_compare_key(struct dev_pm_opp *opp1, struct dev_pm_opp *opp2);
605 static int opp_cmp_func(const void *opp1, const void *opp2) in opp_cmp_func() argument607 const struct scpi_opp *t1 = opp1, *t2 = opp2; in opp_cmp_func()
252 static int opp_cmp_func(const void *opp1, const void *opp2) in opp_cmp_func() argument254 const struct scmi_opp *t1 = opp1, *t2 = opp2; in opp_cmp_func()