Lines Matching refs:dn
131 struct device_node *cpu, *dn;
148 dn = of_find_compatible_node(NULL, NULL, "1682m-sdc");
149 if (!dn)
150 dn = of_find_compatible_node(NULL, NULL,
152 if (!dn)
154 err = of_address_to_resource(dn, 0, &res);
155 of_node_put(dn);
164 dn = of_find_compatible_node(NULL, NULL, "1682m-gizmo");
165 if (!dn)
166 dn = of_find_compatible_node(NULL, NULL,
168 if (!dn) {
172 err = of_address_to_resource(dn, 0, &res);
173 of_node_put(dn);