Lines Matching refs:match
245 struct regulator_supply_alias_match *match = res;
248 return match->dev == target->dev && strcmp(match->id, target->id) == 0;
253 struct regulator_supply_alias_match *match = res;
255 regulator_unregister_supply_alias(match->dev, match->id);
275 struct regulator_supply_alias_match *match;
278 match = devres_alloc(devm_regulator_destroy_supply_alias,
281 if (!match)
284 match->dev = dev;
285 match->id = id;
289 devres_free(match);
293 devres_add(dev, match);
313 struct regulator_supply_alias_match match;
316 match.dev = dev;
317 match.id = id;
320 devm_regulator_match_supply_alias, &match);
408 struct regulator_notifier_match *match = res;
411 return match->regulator == target->regulator && match->nb == target->nb;
416 struct regulator_notifier_match *match = res;
418 regulator_unregister_notifier(match->regulator, match->nb);
434 struct regulator_notifier_match *match;
437 match = devres_alloc(devm_regulator_destroy_notifier,
440 if (!match)
443 match->regulator = regulator;
444 match->nb = nb;
448 devres_free(match);
452 devres_add(regulator->dev, match);
472 struct regulator_notifier_match match;
475 match.regulator = regulator;
476 match.nb = nb;
479 devm_regulator_match_notifier, &match);