Lines Matching refs:hw
26 static TEE_Result sama7_utmi_clk_enable(struct clk *hw) in sama7_utmi_clk_enable() argument
28 struct sama7_utmi_clk *utmi = hw->priv; in sama7_utmi_clk_enable()
42 static void sama7_utmi_clk_disable(struct clk *hw) in sama7_utmi_clk_disable() argument
44 struct sama7_utmi_clk *utmi = hw->priv; in sama7_utmi_clk_disable()
61 struct clk *hw = NULL; in sama7_utmi_clk_register() local
64 hw = clk_alloc(name, &sama7_utmi_ops, &parent, 1); in sama7_utmi_clk_register()
65 if (!hw) in sama7_utmi_clk_register()
70 clk_free(hw); in sama7_utmi_clk_register()
76 hw->priv = utmi_clk; in sama7_utmi_clk_register()
78 if (clk_register(hw)) { in sama7_utmi_clk_register()
79 clk_free(hw); in sama7_utmi_clk_register()
84 return hw; in sama7_utmi_clk_register()