Lines Matching refs:s5_clk
234 struct s5_clk_data *s5_clk = data; in s5_clk_hw_get() local
242 return &s5_clk->s5_hw[idx].hw; in s5_clk_hw_get()
249 struct s5_clk_data *s5_clk; in s5_clk_probe() local
257 s5_clk = devm_kzalloc(dev, sizeof(*s5_clk), GFP_KERNEL); in s5_clk_probe()
258 if (!s5_clk) in s5_clk_probe()
261 s5_clk->base = devm_platform_ioremap_resource(pdev, 0); in s5_clk_probe()
262 if (IS_ERR(s5_clk->base)) in s5_clk_probe()
263 return PTR_ERR(s5_clk->base); in s5_clk_probe()
266 struct s5_hw_clk *s5_hw = &s5_clk->s5_hw[i]; in s5_clk_probe()
269 s5_hw->reg = s5_clk->base + (i * 4); in s5_clk_probe()
279 return devm_of_clk_add_hw_provider(dev, s5_clk_hw_get, s5_clk); in s5_clk_probe()