Searched refs:protect_clocks (Results 1 – 2 of 2) sorted by relevance
736 static struct clk **protect_clocks; variable745 if (protect_clocks || !ctx || !clocks || !ctx->clk_data.clks) in rockchip_clk_protect()748 protect_clocks = kcalloc(nclocks, sizeof(void *), GFP_KERNEL); in rockchip_clk_protect()749 if (!protect_clocks) in rockchip_clk_protect()760 protect_clocks[i] = clk; in rockchip_clk_protect()773 if (!protect_clocks || !protect_nclocks) in rockchip_clk_unprotect()777 if (protect_clocks[i]) in rockchip_clk_unprotect()778 clk_disable_unprepare(protect_clocks[i]); in rockchip_clk_unprotect()781 kfree(protect_clocks); in rockchip_clk_unprotect()782 protect_clocks = NULL; in rockchip_clk_unprotect()
1034 static int protect_clocks[] = { variable1081 rockchip_clk_protect(ctx, protect_clocks, ARRAY_SIZE(protect_clocks)); in rk3562_clk_init()