• Home
  • Raw
  • Download

Lines Matching refs:ingenic_clk

80 	struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw);  in ingenic_pll_recalc_rate()  local
81 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_pll_recalc_rate()
89 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_pll_recalc_rate()
159 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_pll_round_rate() local
160 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_pll_round_rate()
163 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_pll_round_rate()
174 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_pll_set_rate() local
175 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_pll_set_rate()
182 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_pll_set_rate()
237 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_get_parent() local
238 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_get_parent()
243 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_get_parent()
265 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_set_parent() local
266 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_set_parent()
272 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_set_parent()
315 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_recalc_rate() local
316 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_recalc_rate()
321 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_recalc_rate()
355 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_round_rate() local
356 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_round_rate()
360 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_round_rate()
374 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_set_rate() local
375 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_set_rate()
383 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_set_rate()
432 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_enable() local
433 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_enable()
437 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_enable()
451 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_disable() local
452 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_disable()
456 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_disable()
468 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_is_enabled() local
469 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_is_enabled()
474 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_is_enabled()
506 struct ingenic_clk *ingenic_clk = NULL; in ingenic_register_clock() local
537 ingenic_clk = kzalloc(sizeof(*ingenic_clk), GFP_KERNEL); in ingenic_register_clock()
538 if (!ingenic_clk) { in ingenic_register_clock()
543 ingenic_clk->hw.init = &clk_init; in ingenic_register_clock()
544 ingenic_clk->cgu = cgu; in ingenic_register_clock()
545 ingenic_clk->idx = idx; in ingenic_register_clock()
626 clk = clk_register(NULL, &ingenic_clk->hw); in ingenic_register_clock()
641 kfree(ingenic_clk); in ingenic_register_clock()