Lines Matching defs:child
400 struct device_node *child;
408 child = of_get_next_child(np, NULL);
409 if (!child) {
416 for_each_child_of_node(np, child) {
417 if (of_device_is_compatible(child, gpio_compat))
421 if (of_property_read_u32(child, "reg", &val))
423 if (strcmp(fn, child->name)) {
424 fn = child->name;
445 for_each_child_of_node(np, child) {
446 if (of_device_is_compatible(child, gpio_compat))
448 if (of_property_read_u32(child, "reg", &val))
450 if (strcmp(fn, child->name)) {
455 * of_get_next_child(np, * child)
457 of_node_get(child);
467 for (child2 = of_get_next_child(np, child);
477 f->name = fn = child->name;
485 for_each_child_of_node(np, child) {
486 if (of_device_is_compatible(child, gpio_compat))
488 if (of_property_read_u32(child, "reg", &val)) {
489 ret = mxs_pinctrl_parse_group(pdev, child,
492 of_node_put(child);
498 if (strcmp(fn, child->name)) {
505 of_node_put(child);
508 fn = child->name;
511 ret = mxs_pinctrl_parse_group(pdev, child, idxg++,
514 of_node_put(child);