Home
last modified time | relevance | path

Searched refs:np_output (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/clk/
H A Dclk-versaclock5.c763 static int vc5_update_mode(struct device_node *np_output, in vc5_update_mode() argument
768 if (!of_property_read_u32(np_output, "idt,mode", &value)) { in vc5_update_mode()
788 static int vc5_update_power(struct device_node *np_output, in vc5_update_power() argument
793 if (!of_property_read_u32(np_output, "idt,voltage-microvolt", in vc5_update_power()
875 static int vc5_update_slew(struct device_node *np_output, in vc5_update_slew() argument
880 if (!of_property_read_u32(np_output, "idt,slew-percent", &value)) { in vc5_update_slew()
906 struct device_node *np_output; in vc5_get_output_config() local
914 np_output = of_get_child_by_name(client->dev.of_node, child_name); in vc5_get_output_config()
916 if (!np_output) in vc5_get_output_config()
919 ret = vc5_update_mode(np_output, clk_out); in vc5_get_output_config()
[all …]
H A Dclk-cdce925.c619 struct device_node *np_output; in cdce925_probe() local
693 np_output = of_get_child_by_name(node, child_name); in cdce925_probe()
694 if (!np_output) in cdce925_probe()
696 if (!of_property_read_u32(np_output, in cdce925_probe()
704 if (!of_property_read_u32(np_output, in cdce925_probe()
706 u8 flag = of_property_read_bool(np_output, in cdce925_probe()
715 of_node_put(np_output); in cdce925_probe()