• Home
  • Raw
  • Download

Lines Matching refs:ingenic_clk

73 	struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw);  in ingenic_pll_recalc_rate()  local
74 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_pll_recalc_rate()
82 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_pll_recalc_rate()
146 struct ingenic_clk *ingenic_clk) in to_clk_info() argument
148 struct ingenic_cgu *cgu = ingenic_clk->cgu; in to_clk_info()
151 clk_info = &cgu->clock_info[ingenic_clk->idx]; in to_clk_info()
161 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_pll_round_rate() local
162 const struct ingenic_cgu_clk_info *clk_info = to_clk_info(ingenic_clk); in ingenic_pll_round_rate()
171 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_pll_set_rate() local
172 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_pll_set_rate()
173 const struct ingenic_cgu_clk_info *clk_info = to_clk_info(ingenic_clk); in ingenic_pll_set_rate()
205 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_pll_enable() local
206 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_pll_enable()
207 const struct ingenic_cgu_clk_info *clk_info = to_clk_info(ingenic_clk); in ingenic_pll_enable()
240 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_pll_disable() local
241 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_pll_disable()
242 const struct ingenic_cgu_clk_info *clk_info = to_clk_info(ingenic_clk); in ingenic_pll_disable()
258 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_pll_is_enabled() local
259 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_pll_is_enabled()
260 const struct ingenic_cgu_clk_info *clk_info = to_clk_info(ingenic_clk); in ingenic_pll_is_enabled()
288 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_get_parent() local
289 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_get_parent()
294 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_get_parent()
316 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_set_parent() local
317 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_set_parent()
323 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_set_parent()
366 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_recalc_rate() local
367 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_recalc_rate()
372 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_recalc_rate()
441 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_round_rate() local
442 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_round_rate()
446 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_round_rate()
460 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_set_rate() local
461 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_set_rate()
469 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_set_rate()
523 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_enable() local
524 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_enable()
528 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_enable()
545 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_disable() local
546 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_disable()
550 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_disable()
562 struct ingenic_clk *ingenic_clk = to_ingenic_clk(hw); in ingenic_clk_is_enabled() local
563 struct ingenic_cgu *cgu = ingenic_clk->cgu; in ingenic_clk_is_enabled()
568 clk_info = &cgu->clock_info[ingenic_clk->idx]; in ingenic_clk_is_enabled()
600 struct ingenic_clk *ingenic_clk = NULL; in ingenic_register_clock() local
631 ingenic_clk = kzalloc(sizeof(*ingenic_clk), GFP_KERNEL); in ingenic_register_clock()
632 if (!ingenic_clk) { in ingenic_register_clock()
637 ingenic_clk->hw.init = &clk_init; in ingenic_register_clock()
638 ingenic_clk->cgu = cgu; in ingenic_register_clock()
639 ingenic_clk->idx = idx; in ingenic_register_clock()
721 clk = clk_register(NULL, &ingenic_clk->hw); in ingenic_register_clock()
736 kfree(ingenic_clk); in ingenic_register_clock()