Lines Matching refs:np
372 void __init of_at91sam9x5_clk_usb_setup(struct device_node *np, in of_at91sam9x5_clk_usb_setup() argument
379 const char *name = np->name; in of_at91sam9x5_clk_usb_setup()
381 num_parents = of_count_phandle_with_args(np, "clocks", "#clock-cells"); in of_at91sam9x5_clk_usb_setup()
386 parent_names[i] = of_clk_get_parent_name(np, i); in of_at91sam9x5_clk_usb_setup()
391 of_property_read_string(np, "clock-output-names", &name); in of_at91sam9x5_clk_usb_setup()
397 of_clk_add_provider(np, of_clk_src_simple_get, clk); in of_at91sam9x5_clk_usb_setup()
400 void __init of_at91sam9n12_clk_usb_setup(struct device_node *np, in of_at91sam9n12_clk_usb_setup() argument
405 const char *name = np->name; in of_at91sam9n12_clk_usb_setup()
407 parent_name = of_clk_get_parent_name(np, 0); in of_at91sam9n12_clk_usb_setup()
411 of_property_read_string(np, "clock-output-names", &name); in of_at91sam9n12_clk_usb_setup()
417 of_clk_add_provider(np, of_clk_src_simple_get, clk); in of_at91sam9n12_clk_usb_setup()
420 void __init of_at91rm9200_clk_usb_setup(struct device_node *np, in of_at91rm9200_clk_usb_setup() argument
425 const char *name = np->name; in of_at91rm9200_clk_usb_setup()
428 parent_name = of_clk_get_parent_name(np, 0); in of_at91rm9200_clk_usb_setup()
432 of_property_read_u32_array(np, "atmel,clk-divisors", divisors, 4); in of_at91rm9200_clk_usb_setup()
436 of_property_read_string(np, "clock-output-names", &name); in of_at91rm9200_clk_usb_setup()
442 of_clk_add_provider(np, of_clk_src_simple_get, clk); in of_at91rm9200_clk_usb_setup()