Lines Matching refs:clk_hw

58 	struct clk_hw clk_hw;  member
315 static struct axi_clkgen *clk_hw_to_axi_clkgen(struct clk_hw *clk_hw) in clk_hw_to_axi_clkgen() argument
317 return container_of(clk_hw, struct axi_clkgen, clk_hw); in clk_hw_to_axi_clkgen()
336 static int axi_clkgen_set_rate(struct clk_hw *clk_hw, in axi_clkgen_set_rate() argument
339 struct axi_clkgen *axi_clkgen = clk_hw_to_axi_clkgen(clk_hw); in axi_clkgen_set_rate()
387 static long axi_clkgen_round_rate(struct clk_hw *hw, unsigned long rate, in axi_clkgen_round_rate()
433 static unsigned long axi_clkgen_recalc_rate(struct clk_hw *clk_hw, in axi_clkgen_recalc_rate() argument
436 struct axi_clkgen *axi_clkgen = clk_hw_to_axi_clkgen(clk_hw); in axi_clkgen_recalc_rate()
461 static int axi_clkgen_enable(struct clk_hw *clk_hw) in axi_clkgen_enable() argument
463 struct axi_clkgen *axi_clkgen = clk_hw_to_axi_clkgen(clk_hw); in axi_clkgen_enable()
470 static void axi_clkgen_disable(struct clk_hw *clk_hw) in axi_clkgen_disable() argument
472 struct axi_clkgen *axi_clkgen = clk_hw_to_axi_clkgen(clk_hw); in axi_clkgen_disable()
477 static int axi_clkgen_set_parent(struct clk_hw *clk_hw, u8 index) in axi_clkgen_set_parent() argument
479 struct axi_clkgen *axi_clkgen = clk_hw_to_axi_clkgen(clk_hw); in axi_clkgen_set_parent()
486 static u8 axi_clkgen_get_parent(struct clk_hw *clk_hw) in axi_clkgen_get_parent() argument
488 struct axi_clkgen *axi_clkgen = clk_hw_to_axi_clkgen(clk_hw); in axi_clkgen_get_parent()
551 axi_clkgen->clk_hw.init = &init; in axi_clkgen_probe()
552 ret = devm_clk_hw_register(&pdev->dev, &axi_clkgen->clk_hw); in axi_clkgen_probe()
557 &axi_clkgen->clk_hw); in axi_clkgen_probe()