Searched refs:opp2 (Results 1 – 6 of 6) sorted by relevance
/drivers/opp/ |
D | core.c | 1758 struct dev_pm_opp *opp1, struct dev_pm_opp *opp2) in _opp_compare_rate() argument 1763 if (opp1->rates[i] != opp2->rates[i]) in _opp_compare_rate() 1764 return opp1->rates[i] < opp2->rates[i] ? -1 : 1; in _opp_compare_rate() 1772 struct dev_pm_opp *opp2) in _opp_compare_bw() argument 1777 if (opp1->bandwidth[i].peak != opp2->bandwidth[i].peak) in _opp_compare_bw() 1778 return opp1->bandwidth[i].peak < opp2->bandwidth[i].peak ? -1 : 1; in _opp_compare_bw() 1792 struct dev_pm_opp *opp2) in _opp_compare_key() argument 1796 ret = _opp_compare_rate(opp_table, opp1, opp2); in _opp_compare_key() 1800 ret = _opp_compare_bw(opp_table, opp1, opp2); in _opp_compare_key() 1804 if (opp1->level != opp2->level) in _opp_compare_key() [all …]
|
D | opp.h | 253 int _opp_compare_key(struct opp_table *opp_table, struct dev_pm_opp *opp1, struct dev_pm_opp *opp2);
|
/drivers/gpu/drm/amd/display/dc/dcn321/ |
D | dcn321_resource.c | 977 struct dcn20_opp *opp2 = in dcn321_opp_create() local 980 if (!opp2) { in dcn321_opp_create() 992 dcn20_opp_construct(opp2, ctx, inst, in dcn321_opp_create() 994 return &opp2->base; in dcn321_opp_create()
|
/drivers/firmware/ |
D | arm_scpi.c | 605 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/ |
D | perf.c | 245 static int opp_cmp_func(const void *opp1, const void *opp2) in opp_cmp_func() argument 247 const struct scmi_opp *t1 = opp1, *t2 = opp2; in opp_cmp_func()
|
/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_resource.c | 978 struct dcn20_opp *opp2 = in dcn32_opp_create() local 981 if (!opp2) { in dcn32_opp_create() 993 dcn20_opp_construct(opp2, ctx, inst, in dcn32_opp_create() 995 return &opp2->base; in dcn32_opp_create()
|