Lines Matching defs:ctx
759 struct rockchip_clk_provider *ctx;
768 ctx = rockchip_clk_init(np, reg_base, CLK_NR_CLKS);
769 if (IS_ERR(ctx)) {
775 rockchip_clk_register_branches(ctx, common_clk_branches,
781 rockchip_register_restart_notifier(ctx, RK2928_GLB_SRST_FST, NULL);
783 return ctx;
788 struct rockchip_clk_provider *ctx;
790 ctx = rk3188_common_clk_init(np);
791 if (IS_ERR(ctx))
794 rockchip_clk_register_plls(ctx, rk3066_pll_clks,
797 rockchip_clk_register_branches(ctx, rk3066a_clk_branches,
799 rockchip_clk_register_armclk(ctx, ARMCLK, "armclk",
805 rockchip_clk_of_add_provider(np, ctx);
811 struct rockchip_clk_provider *ctx;
816 ctx = rk3188_common_clk_init(np);
817 if (IS_ERR(ctx))
820 rockchip_clk_register_plls(ctx, rk3188_pll_clks,
823 rockchip_clk_register_branches(ctx, rk3188_clk_branches,
825 rockchip_clk_register_armclk(ctx, ARMCLK, "armclk",
849 rockchip_clk_of_add_provider(np, ctx);