Lines Matching refs:name
97 constraints->name = of_get_property(np, "regulator-name", NULL);
381 * or otherwise the child node's name. Note that the match table is modified
393 const char *name;
418 name = of_get_property(child,
420 if (!name)
421 name = child->name;
427 if (strcmp(match->name, name))
455 const char *name;
466 if (!strcmp(desc->of_match, search->name))
477 name = of_get_property(child, "regulator-compatible", NULL);
478 if (!name) {
480 name = child->name;
482 name = child->full_name;
485 if (!strcmp(desc->of_match, name)) {
706 * Check if name is a supply name according to the '*-supply' pattern
708 * return length of supply name without the -supply
710 static int is_supply_name(const char *name)
714 strs = strlen(name);
720 if (name[i] != '-')
722 if (strcmp(name + i + 1, "supply") != 0)
750 char name[64];
760 i = is_supply_name(prop->name);
767 memcpy(name, prop->name, i);
768 name[i] = '\0';
769 tmp = regulator_get(dev, name);