Home
last modified time | relevance | path

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

/openbmc/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
906 struct device_node *np_output; in vc5_get_output_config() local
916 if (!np_output) in vc5_get_output_config()
919 ret = vc5_update_mode(np_output, clk_out); in vc5_get_output_config()
923 ret = vc5_update_power(np_output, clk_out); in vc5_get_output_config()
927 ret = vc5_update_slew(np_output, clk_out); in vc5_get_output_config()
[all …]
H A Dclk-cdce925.c644 struct device_node *np_output; in cdce925_probe() local
718 np_output = of_get_child_by_name(node, child_name); in cdce925_probe()
719 if (!np_output) in cdce925_probe()
721 if (!of_property_read_u32(np_output, in cdce925_probe()
729 if (!of_property_read_u32(np_output, in cdce925_probe()
731 u8 flag = of_property_read_bool(np_output, in cdce925_probe()
740 of_node_put(np_output); in cdce925_probe()