Lines Matching refs:np

45 int of_at91_get_clk_range(struct device_node *np, const char *propname,  in of_at91_get_clk_range()  argument
51 ret = of_property_read_u32_index(np, propname, 0, &min); in of_at91_get_clk_range()
55 ret = of_property_read_u32_index(np, propname, 1, &max); in of_at91_get_clk_range()
218 static struct at91_pmc *__init at91_pmc_init(struct device_node *np, in at91_pmc_init() argument
238 pmc->irqdomain = irq_domain_add_linear(np, 32, &pmc_irq_ops, pmc); in at91_pmc_init()
376 static void __init of_at91_pmc_setup(struct device_node *np, in of_at91_pmc_setup() argument
383 void __iomem *regbase = of_iomap(np, 0); in of_at91_pmc_setup()
389 virq = irq_of_parse_and_map(np, 0); in of_at91_pmc_setup()
393 pmc = at91_pmc_init(np, regbase, virq, caps); in of_at91_pmc_setup()
396 for_each_child_of_node(np, childnp) { in of_at91_pmc_setup()
405 static void __init of_at91rm9200_pmc_setup(struct device_node *np) in of_at91rm9200_pmc_setup() argument
407 of_at91_pmc_setup(np, &at91rm9200_caps); in of_at91rm9200_pmc_setup()
412 static void __init of_at91sam9260_pmc_setup(struct device_node *np) in of_at91sam9260_pmc_setup() argument
414 of_at91_pmc_setup(np, &at91sam9260_caps); in of_at91sam9260_pmc_setup()
419 static void __init of_at91sam9g45_pmc_setup(struct device_node *np) in of_at91sam9g45_pmc_setup() argument
421 of_at91_pmc_setup(np, &at91sam9g45_caps); in of_at91sam9g45_pmc_setup()
426 static void __init of_at91sam9n12_pmc_setup(struct device_node *np) in of_at91sam9n12_pmc_setup() argument
428 of_at91_pmc_setup(np, &at91sam9n12_caps); in of_at91sam9n12_pmc_setup()
433 static void __init of_at91sam9x5_pmc_setup(struct device_node *np) in of_at91sam9x5_pmc_setup() argument
435 of_at91_pmc_setup(np, &at91sam9x5_caps); in of_at91sam9x5_pmc_setup()
440 static void __init of_sama5d3_pmc_setup(struct device_node *np) in of_sama5d3_pmc_setup() argument
442 of_at91_pmc_setup(np, &sama5d3_caps); in of_sama5d3_pmc_setup()