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()
225 static struct at91_pmc *__init at91_pmc_init(struct device_node *np, in at91_pmc_init() argument
245 pmc->irqdomain = irq_domain_add_linear(np, 32, &pmc_irq_ops, pmc); in at91_pmc_init()
389 static void __init of_at91_pmc_setup(struct device_node *np, in of_at91_pmc_setup() argument
396 void __iomem *regbase = of_iomap(np, 0); in of_at91_pmc_setup()
402 virq = irq_of_parse_and_map(np, 0); in of_at91_pmc_setup()
406 pmc = at91_pmc_init(np, regbase, virq, caps); in of_at91_pmc_setup()
409 for_each_child_of_node(np, childnp) { in of_at91_pmc_setup()
418 static void __init of_at91rm9200_pmc_setup(struct device_node *np) in of_at91rm9200_pmc_setup() argument
420 of_at91_pmc_setup(np, &at91rm9200_caps); in of_at91rm9200_pmc_setup()
425 static void __init of_at91sam9260_pmc_setup(struct device_node *np) in of_at91sam9260_pmc_setup() argument
427 of_at91_pmc_setup(np, &at91sam9260_caps); in of_at91sam9260_pmc_setup()
432 static void __init of_at91sam9g45_pmc_setup(struct device_node *np) in of_at91sam9g45_pmc_setup() argument
434 of_at91_pmc_setup(np, &at91sam9g45_caps); in of_at91sam9g45_pmc_setup()
439 static void __init of_at91sam9n12_pmc_setup(struct device_node *np) in of_at91sam9n12_pmc_setup() argument
441 of_at91_pmc_setup(np, &at91sam9n12_caps); in of_at91sam9n12_pmc_setup()
446 static void __init of_at91sam9x5_pmc_setup(struct device_node *np) in of_at91sam9x5_pmc_setup() argument
448 of_at91_pmc_setup(np, &at91sam9x5_caps); in of_at91sam9x5_pmc_setup()
453 static void __init of_sama5d2_pmc_setup(struct device_node *np) in of_sama5d2_pmc_setup() argument
455 of_at91_pmc_setup(np, &sama5d2_caps); in of_sama5d2_pmc_setup()
460 static void __init of_sama5d3_pmc_setup(struct device_node *np) in of_sama5d3_pmc_setup() argument
462 of_at91_pmc_setup(np, &sama5d3_caps); in of_sama5d3_pmc_setup()