Lines Matching refs:dn
101 struct device_node *dn)
105 chip_id = of_get_ibm_chip_id(dn);
107 pr_warn("No ibm,chip-id found for %pOF.\n", dn);
117 static __init int rng_create(struct device_node *dn)
127 if (of_address_to_resource(dn, 0, &res)) {
134 rng->regs = of_iomap(dn, 0);
143 rng_init_per_cpu(rng, dn);
152 struct device_node *dn;
161 for_each_compatible_node(dn, NULL, "ibm,power-rng")
162 rng_create(dn);
171 struct device_node *dn;
177 dn = of_find_compatible_node(NULL, NULL, "ibm,power-rng");
178 if (dn)
181 of_node_put(dn);
186 struct device_node *dn;
194 for_each_compatible_node(dn, NULL, "ibm,power-rng")
195 of_platform_device_create(dn, NULL, NULL);