Lines Matching refs:hw_clk

341 	struct clk_hw *hw_clk;  in n5x_clk_register_c_perip()  local
346 hw_clk = n5x_register_periph(&clks[i], base); in n5x_clk_register_c_perip()
347 if (IS_ERR(hw_clk)) { in n5x_clk_register_c_perip()
352 data->clk_data.hws[clks[i].id] = hw_clk; in n5x_clk_register_c_perip()
360 struct clk_hw *hw_clk; in agilex_clk_register_c_perip() local
365 hw_clk = s10_register_periph(&clks[i], base); in agilex_clk_register_c_perip()
366 if (IS_ERR(hw_clk)) { in agilex_clk_register_c_perip()
371 data->clk_data.hws[clks[i].id] = hw_clk; in agilex_clk_register_c_perip()
379 struct clk_hw *hw_clk; in agilex_clk_register_cnt_perip() local
384 hw_clk = s10_register_cnt_periph(&clks[i], base); in agilex_clk_register_cnt_perip()
385 if (IS_ERR(hw_clk)) { in agilex_clk_register_cnt_perip()
390 data->clk_data.hws[clks[i].id] = hw_clk; in agilex_clk_register_cnt_perip()
399 struct clk_hw *hw_clk; in agilex_clk_register_gate() local
404 hw_clk = agilex_register_gate(&clks[i], base); in agilex_clk_register_gate()
405 if (IS_ERR(hw_clk)) { in agilex_clk_register_gate()
410 data->clk_data.hws[clks[i].id] = hw_clk; in agilex_clk_register_gate()
419 struct clk_hw *hw_clk; in agilex_clk_register_pll() local
424 hw_clk = agilex_register_pll(&clks[i], base); in agilex_clk_register_pll()
425 if (IS_ERR(hw_clk)) { in agilex_clk_register_pll()
430 data->clk_data.hws[clks[i].id] = hw_clk; in agilex_clk_register_pll()
439 struct clk_hw *hw_clk; in n5x_clk_register_pll() local
444 hw_clk = n5x_register_pll(&clks[i], base); in n5x_clk_register_pll()
445 if (IS_ERR(hw_clk)) { in n5x_clk_register_pll()
450 data->clk_data.hws[clks[i].id] = hw_clk; in n5x_clk_register_pll()