Lines Matching refs:clk_hw
67 struct clk_hw clk_hw; member
352 static struct axi_clkgen *clk_hw_to_axi_clkgen(struct clk_hw *clk_hw) in clk_hw_to_axi_clkgen() argument
354 return container_of(clk_hw, struct axi_clkgen, clk_hw); in clk_hw_to_axi_clkgen()
357 static int axi_clkgen_set_rate(struct clk_hw *clk_hw, in axi_clkgen_set_rate() argument
360 struct axi_clkgen *axi_clkgen = clk_hw_to_axi_clkgen(clk_hw); in axi_clkgen_set_rate()
407 static long axi_clkgen_round_rate(struct clk_hw *hw, unsigned long rate, in axi_clkgen_round_rate()
420 static unsigned long axi_clkgen_recalc_rate(struct clk_hw *clk_hw, in axi_clkgen_recalc_rate() argument
423 struct axi_clkgen *axi_clkgen = clk_hw_to_axi_clkgen(clk_hw); in axi_clkgen_recalc_rate()
447 static int axi_clkgen_enable(struct clk_hw *clk_hw) in axi_clkgen_enable() argument
449 struct axi_clkgen *axi_clkgen = clk_hw_to_axi_clkgen(clk_hw); in axi_clkgen_enable()
456 static void axi_clkgen_disable(struct clk_hw *clk_hw) in axi_clkgen_disable() argument
458 struct axi_clkgen *axi_clkgen = clk_hw_to_axi_clkgen(clk_hw); in axi_clkgen_disable()
527 axi_clkgen->clk_hw.init = &init; in axi_clkgen_probe()
528 clk = devm_clk_register(&pdev->dev, &axi_clkgen->clk_hw); in axi_clkgen_probe()