Lines Matching defs:sgrp
338 struct device_node *groups, *sgrp;
346 for_each_child_of_node(groups, sgrp) {
347 type = get_sensor_type(sgrp);
362 for_each_child_of_node(groups, sgrp) {
365 type = get_sensor_type(sgrp);
369 if (of_property_read_u32(sgrp, "sensor-group-id", &gid))
372 if (of_count_phandle_with_args(sgrp, "sensors", NULL) <= 0)
392 struct device_node *groups, *sgrp;
398 for_each_child_of_node(groups, sgrp) {
404 type = get_sensor_type(sgrp);
408 if (of_property_read_u32(sgrp, "sensor-group-id", &gid))
411 of_for_each_phandle(&it, rc, sgrp, "sensors", NULL, 0)
422 of_node_put(sgrp);