Lines Matching refs:np
390 of_at91_clk_pll_get_characteristics(struct device_node *np) in of_at91_clk_pll_get_characteristics() argument
403 if (of_at91_get_clk_range(np, "atmel,clk-input-range", &input)) in of_at91_clk_pll_get_characteristics()
406 if (of_property_read_u32(np, "#atmel,pll-clk-output-range-cells", in of_at91_clk_pll_get_characteristics()
413 if (!of_get_property(np, "atmel,pll-clk-output-ranges", &tmp)) in of_at91_clk_pll_get_characteristics()
439 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
444 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
453 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
462 if (of_property_read_u32_index(np, in of_at91_clk_pll_get_characteristics()
486 of_at91_clk_pll_setup(struct device_node *np, struct at91_pmc *pmc, in of_at91_clk_pll_setup() argument
493 const char *name = np->name; in of_at91_clk_pll_setup()
496 if (of_property_read_u32(np, "reg", &id)) in of_at91_clk_pll_setup()
499 parent_name = of_clk_get_parent_name(np, 0); in of_at91_clk_pll_setup()
501 of_property_read_string(np, "clock-output-names", &name); in of_at91_clk_pll_setup()
503 characteristics = of_at91_clk_pll_get_characteristics(np); in of_at91_clk_pll_setup()
507 irq = irq_of_parse_and_map(np, 0); in of_at91_clk_pll_setup()
516 of_clk_add_provider(np, of_clk_src_simple_get, clk); in of_at91_clk_pll_setup()
523 void __init of_at91rm9200_clk_pll_setup(struct device_node *np, in of_at91rm9200_clk_pll_setup() argument
526 of_at91_clk_pll_setup(np, pmc, &at91rm9200_pll_layout); in of_at91rm9200_clk_pll_setup()
529 void __init of_at91sam9g45_clk_pll_setup(struct device_node *np, in of_at91sam9g45_clk_pll_setup() argument
532 of_at91_clk_pll_setup(np, pmc, &at91sam9g45_pll_layout); in of_at91sam9g45_clk_pll_setup()
535 void __init of_at91sam9g20_clk_pllb_setup(struct device_node *np, in of_at91sam9g20_clk_pllb_setup() argument
538 of_at91_clk_pll_setup(np, pmc, &at91sam9g20_pllb_layout); in of_at91sam9g20_clk_pllb_setup()
541 void __init of_sama5d3_clk_pll_setup(struct device_node *np, in of_sama5d3_clk_pll_setup() argument
544 of_at91_clk_pll_setup(np, pmc, &sama5d3_pll_layout); in of_sama5d3_clk_pll_setup()