Lines Matching refs:match

347 	struct regulator_bulk_devres *match = res;  in devm_regulator_bulk_match()  local
356 return match->consumers == target; in devm_regulator_bulk_match()
496 struct regulator_supply_alias_match *match = res; in devm_regulator_match_supply_alias() local
499 return match->dev == target->dev && strcmp(match->id, target->id) == 0; in devm_regulator_match_supply_alias()
504 struct regulator_supply_alias_match *match = res; in devm_regulator_destroy_supply_alias() local
506 regulator_unregister_supply_alias(match->dev, match->id); in devm_regulator_destroy_supply_alias()
526 struct regulator_supply_alias_match *match; in devm_regulator_register_supply_alias() local
529 match = devres_alloc(devm_regulator_destroy_supply_alias, in devm_regulator_register_supply_alias()
532 if (!match) in devm_regulator_register_supply_alias()
535 match->dev = dev; in devm_regulator_register_supply_alias()
536 match->id = id; in devm_regulator_register_supply_alias()
540 devres_free(match); in devm_regulator_register_supply_alias()
544 devres_add(dev, match); in devm_regulator_register_supply_alias()
553 struct regulator_supply_alias_match match; in devm_regulator_unregister_supply_alias() local
556 match.dev = dev; in devm_regulator_unregister_supply_alias()
557 match.id = id; in devm_regulator_unregister_supply_alias()
560 devm_regulator_match_supply_alias, &match); in devm_regulator_unregister_supply_alias()
623 struct regulator_notifier_match *match = res; in devm_regulator_match_notifier() local
626 return match->regulator == target->regulator && match->nb == target->nb; in devm_regulator_match_notifier()
631 struct regulator_notifier_match *match = res; in devm_regulator_destroy_notifier() local
633 regulator_unregister_notifier(match->regulator, match->nb); in devm_regulator_destroy_notifier()
649 struct regulator_notifier_match *match; in devm_regulator_register_notifier() local
652 match = devres_alloc(devm_regulator_destroy_notifier, in devm_regulator_register_notifier()
655 if (!match) in devm_regulator_register_notifier()
658 match->regulator = regulator; in devm_regulator_register_notifier()
659 match->nb = nb; in devm_regulator_register_notifier()
663 devres_free(match); in devm_regulator_register_notifier()
667 devres_add(regulator->dev, match); in devm_regulator_register_notifier()
687 struct regulator_notifier_match match; in devm_regulator_unregister_notifier() local
690 match.regulator = regulator; in devm_regulator_unregister_notifier()
691 match.nb = nb; in devm_regulator_unregister_notifier()
694 devm_regulator_match_notifier, &match); in devm_regulator_unregister_notifier()