Home
last modified time | relevance | path

Searched refs:opp2 (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/drivers/opp/
H A Dcore.c1846 struct dev_pm_opp *opp1, struct dev_pm_opp *opp2) in _opp_compare_rate()
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()
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()
1875 * 0: opp1 == opp2
1876 * 1: opp1 > opp2
1877 * -1: opp1 < opp2
1880 struct dev_pm_opp *opp2) in _opp_compare_key()
1845 _opp_compare_rate(struct opp_table *opp_table, struct dev_pm_opp *opp1, struct dev_pm_opp *opp2) _opp_compare_rate() argument
1859 _opp_compare_bw(struct opp_table *opp_table, struct dev_pm_opp *opp1, struct dev_pm_opp *opp2) _opp_compare_bw() argument
1879 _opp_compare_key(struct opp_table *opp_table, struct dev_pm_opp *opp1, struct dev_pm_opp *opp2) _opp_compare_key() argument
[all...]
H A Dopp.h252 int _opp_compare_key(struct opp_table *opp_table, struct dev_pm_opp *opp1, struct dev_pm_opp *opp2);
/kernel/linux/linux-5.10/drivers/opp/
H A Dcore.c1436 int _opp_compare_key(struct dev_pm_opp *opp1, struct dev_pm_opp *opp2) in _opp_compare_key() argument
1438 if (opp1->rate != opp2->rate) in _opp_compare_key()
1439 return opp1->rate < opp2->rate ? -1 : 1; in _opp_compare_key()
1440 if (opp1->bandwidth && opp2->bandwidth && in _opp_compare_key()
1441 opp1->bandwidth[0].peak != opp2->bandwidth[0].peak) in _opp_compare_key()
1442 return opp1->bandwidth[0].peak < opp2->bandwidth[0].peak ? -1 : 1; in _opp_compare_key()
1443 if (opp1->level != opp2->level) in _opp_compare_key()
1444 return opp1->level < opp2->level ? -1 : 1; in _opp_compare_key()
H A Dopp.h222 int _opp_compare_key(struct dev_pm_opp *opp1, struct dev_pm_opp *opp2);
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/
H A 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()
/kernel/linux/linux-5.10/drivers/firmware/
H A 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()
/kernel/linux/linux-6.6/drivers/firmware/
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn321/
H A Ddcn321_resource.c966 struct dcn20_opp *opp2 = in dcn321_opp_create() local
969 if (!opp2) { in dcn321_opp_create()
981 dcn20_opp_construct(opp2, ctx, inst, in dcn321_opp_create()
983 return &opp2->base; in dcn321_opp_create()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_resource.c967 struct dcn20_opp *opp2 = in dcn32_opp_create() local
970 if (!opp2) { in dcn32_opp_create()
982 dcn20_opp_construct(opp2, ctx, inst, in dcn32_opp_create()
984 return &opp2->base; in dcn32_opp_create()
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/
H A Dperf.c304 static int opp_cmp_func(const void *opp1, const void *opp2) in opp_cmp_func() argument
306 const struct scmi_opp *t1 = opp1, *t2 = opp2; in opp_cmp_func()

Completed in 22 milliseconds