Home
last modified time | relevance | path

Searched refs:childnp (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/clk/at91/
Dsckc.c40 struct device_node *childnp; in of_at91sam9x5_sckc_setup() local
48 for_each_child_of_node(np, childnp) { in of_at91sam9x5_sckc_setup()
49 clk_id = of_match_node(sckc_clk_ids, childnp); in of_at91sam9x5_sckc_setup()
53 clk_setup(childnp, regbase); in of_at91sam9x5_sckc_setup()
Dpmc.c393 struct device_node *childnp; in of_at91_pmc_setup() local
409 for_each_child_of_node(np, childnp) { in of_at91_pmc_setup()
410 clk_id = of_match_node(pmc_clk_ids, childnp); in of_at91_pmc_setup()
414 clk_setup(childnp, pmc); in of_at91_pmc_setup()
/linux-4.4.14/drivers/i2c/busses/
Di2c-sun6i-p2wi.c187 struct device_node *childnp; in p2wi_probe() local
222 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->full_name); in p2wi_probe()