Lines Matching refs:match

259 	struct regulator_bulk_devres *match = res;  in devm_regulator_bulk_match()  local
268 return match->consumers == target; in devm_regulator_bulk_match()
408 struct regulator_supply_alias_match *match = res; in devm_regulator_match_supply_alias() local
411 return match->dev == target->dev && strcmp(match->id, target->id) == 0; in devm_regulator_match_supply_alias()
416 struct regulator_supply_alias_match *match = res; in devm_regulator_destroy_supply_alias() local
418 regulator_unregister_supply_alias(match->dev, match->id); in devm_regulator_destroy_supply_alias()
438 struct regulator_supply_alias_match *match; in devm_regulator_register_supply_alias() local
441 match = devres_alloc(devm_regulator_destroy_supply_alias, in devm_regulator_register_supply_alias()
444 if (!match) in devm_regulator_register_supply_alias()
447 match->dev = dev; in devm_regulator_register_supply_alias()
448 match->id = id; in devm_regulator_register_supply_alias()
452 devres_free(match); in devm_regulator_register_supply_alias()
456 devres_add(dev, match); in devm_regulator_register_supply_alias()
465 struct regulator_supply_alias_match match; in devm_regulator_unregister_supply_alias() local
468 match.dev = dev; in devm_regulator_unregister_supply_alias()
469 match.id = id; in devm_regulator_unregister_supply_alias()
472 devm_regulator_match_supply_alias, &match); in devm_regulator_unregister_supply_alias()
535 struct regulator_notifier_match *match = res; in devm_regulator_match_notifier() local
538 return match->regulator == target->regulator && match->nb == target->nb; in devm_regulator_match_notifier()
543 struct regulator_notifier_match *match = res; in devm_regulator_destroy_notifier() local
545 regulator_unregister_notifier(match->regulator, match->nb); in devm_regulator_destroy_notifier()
561 struct regulator_notifier_match *match; in devm_regulator_register_notifier() local
564 match = devres_alloc(devm_regulator_destroy_notifier, in devm_regulator_register_notifier()
567 if (!match) in devm_regulator_register_notifier()
570 match->regulator = regulator; in devm_regulator_register_notifier()
571 match->nb = nb; in devm_regulator_register_notifier()
575 devres_free(match); in devm_regulator_register_notifier()
579 devres_add(regulator->dev, match); in devm_regulator_register_notifier()
599 struct regulator_notifier_match match; in devm_regulator_unregister_notifier() local
602 match.regulator = regulator; in devm_regulator_unregister_notifier()
603 match.nb = nb; in devm_regulator_unregister_notifier()
606 devm_regulator_match_notifier, &match); in devm_regulator_unregister_notifier()