Lines Matching refs:hi655x_clk
20 struct hi655x_clk { struct
33 struct hi655x_clk *hi655x_clk = in hi655x_clk_enable() argument
34 container_of(hw, struct hi655x_clk, clk_hw); in hi655x_clk_enable()
36 struct hi655x_pmic *hi655x = hi655x_clk->hi655x; in hi655x_clk_enable()
54 struct hi655x_clk *hi655x_clk = in hi655x_clk_is_prepared() local
55 container_of(hw, struct hi655x_clk, clk_hw); in hi655x_clk_is_prepared()
56 struct hi655x_pmic *hi655x = hi655x_clk->hi655x; in hi655x_clk_is_prepared()
78 struct hi655x_clk *hi655x_clk; in hi655x_clk_probe() local
86 hi655x_clk = devm_kzalloc(&pdev->dev, sizeof(*hi655x_clk), GFP_KERNEL); in hi655x_clk_probe()
87 if (!hi655x_clk) in hi655x_clk_probe()
93 hi655x_clk->clk_hw.init = &init; in hi655x_clk_probe()
94 hi655x_clk->hi655x = hi655x; in hi655x_clk_probe()
96 platform_set_drvdata(pdev, hi655x_clk); in hi655x_clk_probe()
98 ret = devm_clk_hw_register(&pdev->dev, &hi655x_clk->clk_hw); in hi655x_clk_probe()
103 &hi655x_clk->clk_hw); in hi655x_clk_probe()