Lines Matching refs:temp_opp
492 static bool _compare_exact(struct dev_pm_opp **opp, struct dev_pm_opp *temp_opp, in _compare_exact() argument
496 *opp = temp_opp; in _compare_exact()
503 static bool _compare_ceil(struct dev_pm_opp **opp, struct dev_pm_opp *temp_opp, in _compare_ceil() argument
507 *opp = temp_opp; in _compare_ceil()
514 static bool _compare_floor(struct dev_pm_opp **opp, struct dev_pm_opp *temp_opp, in _compare_floor() argument
520 *opp = temp_opp; in _compare_floor()
525 struct dev_pm_opp *temp_opp, struct dev_pm_opp_key *opp_key, in _compare_opp_key_exact() argument
533 *opp = temp_opp; in _compare_opp_key_exact()
544 bool (*compare)(struct dev_pm_opp **opp, struct dev_pm_opp *temp_opp, in _opp_table_find_key() argument
548 struct dev_pm_opp *temp_opp, *opp = ERR_PTR(-ERANGE); in _opp_table_find_key() local
556 list_for_each_entry(temp_opp, &opp_table->opp_list, node) { in _opp_table_find_key()
557 if (temp_opp->available == available) { in _opp_table_find_key()
558 if (compare(&opp, temp_opp, read(temp_opp, index), *key)) in _opp_table_find_key()
576 bool (*compare)(struct dev_pm_opp **opp, struct dev_pm_opp *temp_opp, in _opp_table_find_opp_key() argument
580 struct dev_pm_opp *temp_opp, *opp = ERR_PTR(-ERANGE); in _opp_table_find_opp_key() local
589 list_for_each_entry(temp_opp, &opp_table->opp_list, node) { in _opp_table_find_opp_key()
590 if (temp_opp->available == available) { in _opp_table_find_opp_key()
591 read(temp_opp, 0, &temp_key); in _opp_table_find_opp_key()
592 if (compare(&opp, temp_opp, &temp_key, key)) { in _opp_table_find_opp_key()
606 bool (*compare)(struct dev_pm_opp **opp, struct dev_pm_opp *temp_opp, in _find_key() argument