Lines Matching defs:key
465 unsigned long opp_key, unsigned long key)
467 if (opp_key == key) {
476 unsigned long opp_key, unsigned long key)
478 if (opp_key >= key) {
487 unsigned long opp_key, unsigned long key)
489 if (opp_key > key)
496 /* Generic key finding helpers */
498 unsigned long *key, int index, bool available,
501 unsigned long opp_key, unsigned long key),
514 if (compare(&opp, temp_opp, read(temp_opp, index), *key))
521 *key = read(opp, index);
531 _find_key(struct device *dev, unsigned long *key, int index, bool available,
534 unsigned long opp_key, unsigned long key),
547 opp = _opp_table_find_key(opp_table, key, index, available, read,
556 unsigned long key, int index, bool available,
561 * The value of key will be updated here, but will be ignored as the
564 return _find_key(dev, &key, index, available, read, _compare_exact,
569 unsigned long *key, int index, bool available,
573 return _opp_table_find_key(opp_table, key, index, available, read,
577 static struct dev_pm_opp *_find_key_ceil(struct device *dev, unsigned long *key,
582 return _find_key(dev, key, index, available, read, _compare_ceil,
587 unsigned long *key, int index, bool available,
591 return _find_key(dev, key, index, available, read, _compare_floor,