Lines Matching refs:max_clk_data
50 struct max77686_clk_init_data *max_clk_data; member
158 return &drv_data->max_clk_data[idx].hw; in of_clk_max77686_get()
205 drv_data->max_clk_data = devm_kcalloc(dev, num_clks, in max77686_clk_probe()
206 sizeof(*drv_data->max_clk_data), in max77686_clk_probe()
208 if (!drv_data->max_clk_data) in max77686_clk_probe()
212 struct max77686_clk_init_data *max_clk_data; in max77686_clk_probe() local
215 max_clk_data = &drv_data->max_clk_data[i]; in max77686_clk_probe()
217 max_clk_data->regmap = regmap; in max77686_clk_probe()
218 max_clk_data->clk_info = &hw_clks[i]; in max77686_clk_probe()
219 max_clk_data->clk_idata.flags = hw_clks[i].flags; in max77686_clk_probe()
220 max_clk_data->clk_idata.ops = &max77686_clk_ops; in max77686_clk_probe()
226 max_clk_data->clk_idata.name = clk_name; in max77686_clk_probe()
228 max_clk_data->clk_idata.name = hw_clks[i].name; in max77686_clk_probe()
230 max_clk_data->hw.init = &max_clk_data->clk_idata; in max77686_clk_probe()
232 ret = devm_clk_hw_register(dev, &max_clk_data->hw); in max77686_clk_probe()
238 ret = devm_clk_hw_register_clkdev(dev, &max_clk_data->hw, in max77686_clk_probe()
239 max_clk_data->clk_idata.name, in max77686_clk_probe()