Lines Matching refs:temp_opp
374 struct dev_pm_opp *temp_opp, *opp = ERR_PTR(-ERANGE); in dev_pm_opp_find_freq_exact() local
386 list_for_each_entry(temp_opp, &opp_table->opp_list, node) { in dev_pm_opp_find_freq_exact()
387 if (temp_opp->available == available && in dev_pm_opp_find_freq_exact()
388 temp_opp->rate == freq) { in dev_pm_opp_find_freq_exact()
389 opp = temp_opp; in dev_pm_opp_find_freq_exact()
423 struct dev_pm_opp *temp_opp, *opp = ERR_PTR(-ERANGE); in dev_pm_opp_find_level_exact() local
435 list_for_each_entry(temp_opp, &opp_table->opp_list, node) { in dev_pm_opp_find_level_exact()
436 if (temp_opp->level == level) { in dev_pm_opp_find_level_exact()
437 opp = temp_opp; in dev_pm_opp_find_level_exact()
455 struct dev_pm_opp *temp_opp, *opp = ERR_PTR(-ERANGE); in _find_freq_ceil() local
459 list_for_each_entry(temp_opp, &opp_table->opp_list, node) { in _find_freq_ceil()
460 if (temp_opp->available && temp_opp->rate >= *freq) { in _find_freq_ceil()
461 opp = temp_opp; in _find_freq_ceil()
538 struct dev_pm_opp *temp_opp, *opp = ERR_PTR(-ERANGE); in dev_pm_opp_find_freq_floor() local
551 list_for_each_entry(temp_opp, &opp_table->opp_list, node) { in dev_pm_opp_find_freq_floor()
552 if (temp_opp->available) { in dev_pm_opp_find_freq_floor()
554 if (temp_opp->rate > *freq) in dev_pm_opp_find_freq_floor()
557 opp = temp_opp; in dev_pm_opp_find_freq_floor()
595 struct dev_pm_opp *temp_opp, *opp = ERR_PTR(-ERANGE); in dev_pm_opp_find_freq_ceil_by_volt() local
609 list_for_each_entry(temp_opp, &opp_table->opp_list, node) { in dev_pm_opp_find_freq_ceil_by_volt()
610 if (temp_opp->available) { in dev_pm_opp_find_freq_ceil_by_volt()
611 if (temp_opp->supplies[0].u_volt > u_volt) in dev_pm_opp_find_freq_ceil_by_volt()
613 opp = temp_opp; in dev_pm_opp_find_freq_ceil_by_volt()