Home
last modified time | relevance | path

Searched refs:opp2 (Results 1 – 4 of 4) sorted by relevance

/drivers/opp/
Dcore.c1632 int _opp_compare_key(struct dev_pm_opp *opp1, struct dev_pm_opp *opp2) in _opp_compare_key() argument
1634 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()
Dopp.h231 int _opp_compare_key(struct dev_pm_opp *opp1, struct dev_pm_opp *opp2);
/drivers/firmware/
Darm_scpi.c605 static int opp_cmp_func(const void *opp1, const void *opp2) in opp_cmp_func() argument
607 const struct scpi_opp *t1 = opp1, *t2 = opp2; in opp_cmp_func()
/drivers/firmware/arm_scmi/
Dperf.c252 static int opp_cmp_func(const void *opp1, const void *opp2) in opp_cmp_func() argument
254 const struct scmi_opp *t1 = opp1, *t2 = opp2; in opp_cmp_func()