Lines Matching refs:kclk
676 struct k210_clk *kclk = to_k210_clk(hw); in k210_clk_enable() local
677 struct k210_sysclk *ksc = kclk->ksc; in k210_clk_enable()
678 struct k210_clk_cfg *cfg = &k210_clk_cfgs[kclk->id]; in k210_clk_enable()
696 struct k210_clk *kclk = to_k210_clk(hw); in k210_clk_disable() local
697 struct k210_sysclk *ksc = kclk->ksc; in k210_clk_disable()
698 struct k210_clk_cfg *cfg = &k210_clk_cfgs[kclk->id]; in k210_clk_disable()
714 struct k210_clk *kclk = to_k210_clk(hw); in k210_clk_set_parent() local
715 struct k210_sysclk *ksc = kclk->ksc; in k210_clk_set_parent()
716 struct k210_clk_cfg *cfg = &k210_clk_cfgs[kclk->id]; in k210_clk_set_parent()
734 struct k210_clk *kclk = to_k210_clk(hw); in k210_clk_get_parent() local
735 struct k210_sysclk *ksc = kclk->ksc; in k210_clk_get_parent()
736 struct k210_clk_cfg *cfg = &k210_clk_cfgs[kclk->id]; in k210_clk_get_parent()
751 struct k210_clk *kclk = to_k210_clk(hw); in k210_clk_get_rate() local
752 struct k210_sysclk *ksc = kclk->ksc; in k210_clk_get_rate()
753 struct k210_clk_cfg *cfg = &k210_clk_cfgs[kclk->id]; in k210_clk_get_rate()
795 struct k210_clk *kclk = &ksc->clks[id]; in k210_register_clk() local
808 kclk->id = id; in k210_register_clk()
809 kclk->ksc = ksc; in k210_register_clk()
810 kclk->hw.init = &init; in k210_register_clk()
812 ret = of_clk_hw_register(np, &kclk->hw); in k210_register_clk()
816 kclk->id = -1; in k210_register_clk()