Lines Matching refs:dn
121 struct device_node *dn)
125 chip_id = of_get_ibm_chip_id(dn);
127 pr_warn("No ibm,chip-id found for %pOF.\n", dn);
137 static __init int rng_create(struct device_node *dn)
147 if (of_address_to_resource(dn, 0, &res)) {
154 rng->regs = of_iomap(dn, 0);
163 rng_init_per_cpu(rng, dn);
172 struct device_node *dn;
181 for_each_compatible_node(dn, NULL, "ibm,power-rng")
182 rng_create(dn);
191 struct device_node *dn;
197 dn = of_find_compatible_node(NULL, NULL, "ibm,power-rng");
198 if (dn)
201 of_node_put(dn);
206 struct device_node *dn;
214 for_each_compatible_node(dn, NULL, "ibm,power-rng")
215 of_platform_device_create(dn, NULL, NULL);