/u-boot/drivers/clk/rockchip/ |
A D | clk_rk3368.c | 93 static int rkclk_set_pll(struct rk3368_cru *cru, enum rk3368_pll_id pll_id, in rkclk_set_pll() function 139 rkclk_set_pll(cru, APLLB, &apll_b_init_cfg); in rkclk_init() 140 rkclk_set_pll(cru, APLLL, &apll_l_init_cfg); in rkclk_init() 146 rkclk_set_pll(cru, GPLL, &gpll_init_cfg); in rkclk_init() 147 rkclk_set_pll(cru, CPLL, &cpll_init_cfg); in rkclk_init() 310 rkclk_set_pll(cru, DPLL, dpll_cfg); in rk3368_ddr_set_clk()
|
A D | clk_rk3188.c | 90 static int rkclk_set_pll(struct rk3188_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll() function 157 rkclk_set_pll(cru, CLK_DDR, &dpll_cfg[cfg], has_bwadj); in rkclk_configure_ddr() 206 rkclk_set_pll(cru, CLK_ARM, &apll_cfg[cfg], has_bwadj); in rkclk_configure_cpu() 390 rkclk_set_pll(cru, CLK_GENERAL, &gpll_init_cfg, has_bwadj); in rkclk_init() 391 rkclk_set_pll(cru, CLK_CODEC, &cpll_init_cfg, has_bwadj); in rkclk_init()
|
A D | clk_rk3036.c | 49 static int rkclk_set_pll(struct rk3036_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll() function 96 rkclk_set_pll(cru, CLK_ARM, &apll_init_cfg); in rkclk_init() 97 rkclk_set_pll(cru, CLK_GENERAL, &gpll_init_cfg); in rkclk_init()
|
A D | clk_rk322x.c | 47 static int rkclk_set_pll(struct rk322x_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll() function 98 rkclk_set_pll(cru, CLK_ARM, &apll_init_cfg); in rkclk_init() 99 rkclk_set_pll(cru, CLK_GENERAL, &gpll_init_cfg); in rkclk_init() 348 rkclk_set_pll(cru, CLK_DDR, &dpll_cfg); in rk322x_ddr_set_clk()
|
A D | clk_rk3128.c | 42 static int rkclk_set_pll(struct rk3128_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll() function 157 rkclk_set_pll(cru, CLK_ARM, &apll_init_cfg); in rkclk_init() 158 rkclk_set_pll(cru, CLK_GENERAL, &gpll_init_cfg); in rkclk_init() 444 rkclk_set_pll(cru, CLK_CODEC, &cpll_config); in rk3128_vop_set_clk()
|
A D | clk_rk3288.c | 151 static int rkclk_set_pll(struct rockchip_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll() function 215 rkclk_set_pll(cru, CLK_DDR, &dpll_cfg[cfg]); in rkclk_configure_ddr() 356 rkclk_set_pll(cru, CLK_NEW, &npll_config); in rockchip_vop_set_clk() 441 rkclk_set_pll(cru, CLK_GENERAL, &gpll_init_cfg); in rkclk_init() 442 rkclk_set_pll(cru, CLK_CODEC, &cpll_init_cfg); in rkclk_init() 508 rkclk_set_pll(cru, CLK_ARM, &apll_init_cfg); in rk3288_clk_configure_cpu()
|
A D | clk_rk3328.c | 211 static void rkclk_set_pll(struct rk3328_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll() function 293 rkclk_set_pll(cru, CLK_GENERAL, &gpll_init_cfg); in rkclk_init() 294 rkclk_set_pll(cru, CLK_CODEC, &cpll_init_cfg); in rkclk_init() 318 rkclk_set_pll(cru, CLK_ARM, apll_cfgs[apll_freq]); in rk3328_configure_cpu()
|
A D | clk_rk3399.c | 325 static void rkclk_set_pll(u32 *pll_con, const struct pll_div *div) in rkclk_set_pll() function 440 rkclk_set_pll(&cru->apll_l_con[0], apll_l_cfgs[apll_l_freq]); in rk3399_configure_cpu_l() 475 rkclk_set_pll(&cru->apll_b_con[0], apll_b_cfgs[apll_b_freq]); in rk3399_configure_cpu_b() 714 rkclk_set_pll(&cru->vpll_con[0], &vpll_config); in rk3399_vop_set_clk() 872 rkclk_set_pll(&cru->dpll_con[0], &dpll_cfg); in rk3399_ddr_set_clk() 1317 rkclk_set_pll(&cru->gpll_con[0], &gpll_init_cfg); in rkclk_init() 1318 rkclk_set_pll(&cru->cpll_con[0], &cpll_init_cfg); in rkclk_init() 1587 rkclk_set_pll(&pmucru->ppll_con[0], &ppll_init_cfg); in pmuclk_init()
|
A D | clk_px30.c | 206 static int rkclk_set_pll(struct px30_pll *pll, unsigned int *mode, in rkclk_set_pll() function 796 rkclk_set_pll(&cru->pll[CPLL], &cru->mode, in px30_vop_set_clk() 821 rkclk_set_pll(&cru->pll[NPLL], &cru->mode, NPLL, in px30_vop_set_clk() 1113 if (rkclk_set_pll(&cru->pll[pll_id], &cru->mode, pll_id, hz)) in px30_clk_set_pll_rate() 1137 if (rkclk_set_pll(&cru->pll[APLL], &cru->mode, APLL, hz)) in px30_armclk_set_clk() 1154 if (rkclk_set_pll(&cru->pll[APLL], &cru->mode, APLL, hz)) in px30_armclk_set_clk() 1543 rkclk_set_pll(&pmucru->pll, &pmucru->pmu_mode, GPLL, hz); in px30_pmuclk_set_gpll_rate()
|
A D | clk_rv1108.c | 71 static int rkclk_set_pll(struct rv1108_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll() function 648 rkclk_set_pll(cru, CLK_ARM, &apll_init_cfg); in rkclk_init() 649 rkclk_set_pll(cru, CLK_GENERAL, &gpll_init_cfg); in rkclk_init()
|