Lines Matching refs:np
386 of_at91_clk_pll_get_characteristics(struct device_node *np) in of_at91_clk_pll_get_characteristics() argument
399 if (of_at91_get_clk_range(np, "atmel,clk-input-range", &input)) in of_at91_clk_pll_get_characteristics()
402 if (of_property_read_u32(np, "#atmel,pll-clk-output-range-cells", in of_at91_clk_pll_get_characteristics()
409 if (!of_get_property(np, "atmel,pll-clk-output-ranges", &tmp)) in of_at91_clk_pll_get_characteristics()
435 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
440 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
449 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
458 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
482 of_at91_clk_pll_setup(struct device_node *np, struct at91_pmc *pmc, in of_at91_clk_pll_setup() argument
489 const char *name = np->name; in of_at91_clk_pll_setup()
492 if (of_property_read_u32(np, "reg", &id)) in of_at91_clk_pll_setup()
495 parent_name = of_clk_get_parent_name(np, 0); in of_at91_clk_pll_setup()
497 of_property_read_string(np, "clock-output-names", &name); in of_at91_clk_pll_setup()
499 characteristics = of_at91_clk_pll_get_characteristics(np); in of_at91_clk_pll_setup()
503 irq = irq_of_parse_and_map(np, 0); in of_at91_clk_pll_setup()
512 of_clk_add_provider(np, of_clk_src_simple_get, clk); in of_at91_clk_pll_setup()
519 void __init of_at91rm9200_clk_pll_setup(struct device_node *np, in of_at91rm9200_clk_pll_setup() argument
522 of_at91_clk_pll_setup(np, pmc, &at91rm9200_pll_layout); in of_at91rm9200_clk_pll_setup()
525 void __init of_at91sam9g45_clk_pll_setup(struct device_node *np, in of_at91sam9g45_clk_pll_setup() argument
528 of_at91_clk_pll_setup(np, pmc, &at91sam9g45_pll_layout); in of_at91sam9g45_clk_pll_setup()
531 void __init of_at91sam9g20_clk_pllb_setup(struct device_node *np, in of_at91sam9g20_clk_pllb_setup() argument
534 of_at91_clk_pll_setup(np, pmc, &at91sam9g20_pllb_layout); in of_at91sam9g20_clk_pllb_setup()
537 void __init of_sama5d3_clk_pll_setup(struct device_node *np, in of_sama5d3_clk_pll_setup() argument
540 of_at91_clk_pll_setup(np, pmc, &sama5d3_pll_layout); in of_sama5d3_clk_pll_setup()