Searched refs:childnp (Results 1 – 2 of 2) sorted by relevance
187 struct device_node *childnp; in p2wi_probe() local222 childnp = of_get_next_available_child(np, NULL); in p2wi_probe()223 if (childnp) { in p2wi_probe()224 ret = of_property_read_u32(childnp, "reg", &slave_addr); in p2wi_probe()227 childnp); in p2wi_probe()
411 struct device_node *childnp; in of_at91sam9x5_sckc_setup() local419 for_each_child_of_node(np, childnp) { in of_at91sam9x5_sckc_setup()420 clk_id = of_match_node(sckc_clk_ids, childnp); in of_at91sam9x5_sckc_setup()424 clk_setup(childnp, regbase); in of_at91sam9x5_sckc_setup()