Home
last modified time | relevance | path

Searched refs:GPLL_HZ (Results 1 – 16 of 16) sorted by relevance

/external/u-boot/drivers/clk/rockchip/
Dclk_rk3036.c42 static const struct pll_div gpll_init_cfg = PLL_DIVISORS(GPLL_HZ, 2, 2, 1);
119 aclk_div = GPLL_HZ / BUS_ACLK_HZ - 1; in rkclk_init()
120 assert((aclk_div + 1) * BUS_ACLK_HZ == GPLL_HZ && aclk_div <= 0x1f); in rkclk_init()
122 pclk_div = GPLL_HZ / BUS_PCLK_HZ - 1; in rkclk_init()
123 assert((pclk_div + 1) * BUS_PCLK_HZ == GPLL_HZ && pclk_div <= 0x7); in rkclk_init()
125 hclk_div = GPLL_HZ / BUS_HCLK_HZ - 1; in rkclk_init()
126 assert((hclk_div + 1) * BUS_HCLK_HZ == GPLL_HZ && hclk_div <= 0x3); in rkclk_init()
142 aclk_div = GPLL_HZ / PERI_ACLK_HZ - 1; in rkclk_init()
143 assert((aclk_div + 1) * PERI_ACLK_HZ == GPLL_HZ && aclk_div < 0x1f); in rkclk_init()
Dclk_rk3328.c37 static const struct pll_div gpll_init_cfg = PLL_DIVISORS(GPLL_HZ, 1, 4, 1);
290 aclk_div = GPLL_HZ / PERIHP_ACLK_HZ - 1; in rkclk_init()
355 return DIV_TO_RATE(GPLL_HZ, div); in rk3328_i2c_get_clk()
362 src_clk_div = GPLL_HZ / hz; in rk3328_i2c_set_clk()
399 return DIV_TO_RATE(GPLL_HZ, src_clk_div); in rk3328_i2c_set_clk()
423 pll_rate = GPLL_HZ; in rk3328_gmac2io_set_clk()
463 return DIV_TO_RATE(GPLL_HZ, div) / 2; in rk3328_mmc_get_clk()
486 src_clk_div = DIV_ROUND_UP(GPLL_HZ / 2, set_rate); in rk3328_mmc_set_clk()
512 return DIV_TO_RATE(GPLL_HZ, div); in rk3328_pwm_get_clk()
517 u32 div = GPLL_HZ / hz; in rk3328_pwm_set_clk()
[all …]
Dclk_rk3399.c50 static const struct pll_div gpll_init_cfg = PLL_DIVISORS(GPLL_HZ, 2, 2, 1);
489 return DIV_TO_RATE(GPLL_HZ, div); in rk3399_i2c_get_clk()
497 src_clk_div = GPLL_HZ / hz; in rk3399_i2c_set_clk()
588 return DIV_TO_RATE(GPLL_HZ, div); in rk3399_spi_get_clk()
596 src_clk_div = DIV_ROUND_UP(GPLL_HZ, hz) - 1; in rk3399_spi_set_clk()
686 return DIV_TO_RATE(GPLL_HZ, div); in rk3399_mmc_get_clk()
700 src_clk_div = DIV_ROUND_UP(GPLL_HZ / 2, set_rate); in rk3399_mmc_set_clk()
719 src_clk_div = DIV_ROUND_UP(GPLL_HZ , aclk_emmc); in rk3399_mmc_set_clk()
728 src_clk_div = DIV_ROUND_UP(GPLL_HZ, set_rate); in rk3399_mmc_set_clk()
1044 aclk_div = GPLL_HZ / PERIHP_ACLK_HZ - 1; in rkclk_init()
[all …]
Dclk_rk322x.c39 static const struct pll_div gpll_init_cfg = PLL_DIVISORS(GPLL_HZ, 2, 2, 1);
120 aclk_div = GPLL_HZ / BUS_ACLK_HZ - 1; in rkclk_init()
121 assert((aclk_div + 1) * BUS_ACLK_HZ == GPLL_HZ && aclk_div <= 0x1f); in rkclk_init()
124 assert((pclk_div + 1) * BUS_PCLK_HZ == GPLL_HZ && pclk_div <= 0x7); in rkclk_init()
127 assert((hclk_div + 1) * BUS_HCLK_HZ == GPLL_HZ && hclk_div <= 0x3); in rkclk_init()
143 aclk_div = GPLL_HZ / PERI_ACLK_HZ - 1; in rkclk_init()
144 assert((aclk_div + 1) * PERI_ACLK_HZ == GPLL_HZ && aclk_div < 0x1f); in rkclk_init()
256 pll_rate = GPLL_HZ; in rk322x_mac_set_clk()
Dclk_rk3128.c36 static const struct pll_div gpll_init_cfg = PLL_DIVISORS(GPLL_HZ, 2, 2, 1);
181 aclk_div = GPLL_HZ / BUS_ACLK_HZ - 1; in rkclk_init()
182 assert((aclk_div + 1) * BUS_ACLK_HZ == GPLL_HZ && aclk_div <= 0x1f); in rkclk_init()
204 aclk_div = GPLL_HZ / PERI_ACLK_HZ - 1; in rkclk_init()
205 assert((aclk_div + 1) * PERI_ACLK_HZ == GPLL_HZ && aclk_div < 0x1f); in rkclk_init()
421 src_clk_div = GPLL_HZ / hz; in rk3128_vop_set_clk()
463 parent = GPLL_HZ; in rk3128_vop_get_rate()
468 parent = GPLL_HZ; in rk3128_vop_get_rate()
Dclk_rk3368.c38 #define GPLL_HZ (576 * 1000 * 1000) macro
53 static const struct pll_div gpll_init_cfg = PLL_DIVISORS(GPLL_HZ, 1, 2);
211 { .mux = MMC_PLL_SEL_GPLL, .rate = GPLL_HZ }, in rk3368_mmc_find_best_rate_and_parent()
330 pll_rate = GPLL_HZ; in rk3368_gmac_set_clk()
397 return DIV_TO_RATE(GPLL_HZ, div); in rk3368_spi_get_clk()
405 src_clk_div = DIV_ROUND_UP(GPLL_HZ, hz); in rk3368_spi_set_clk()
Dclk_rk3188.c81 static const struct pll_div gpll_init_cfg = PLL_DIVISORS(GPLL_HZ, 2, 2);
399 aclk_div = DIV_ROUND_UP(GPLL_HZ, CPU_ACLK_HZ) - 1; in rkclk_init()
400 assert((aclk_div + 1) * CPU_ACLK_HZ == GPLL_HZ && aclk_div <= 0x1f); in rkclk_init()
427 aclk_div = GPLL_HZ / PERI_ACLK_HZ - 1; in rkclk_init()
428 assert((aclk_div + 1) * PERI_ACLK_HZ == GPLL_HZ && aclk_div < 0x1f); in rkclk_init()
Dclk_rk3288.c140 static const struct pll_div gpll_init_cfg = PLL_DIVISORS(GPLL_HZ, 2, 2);
315 pll_rate = GPLL_HZ; in rockchip_mac_set_clk()
402 aclk_div = GPLL_HZ / PD_BUS_ACLK_HZ - 1; in rkclk_init()
403 assert((aclk_div + 1) * PD_BUS_ACLK_HZ == GPLL_HZ && aclk_div < 0x1f); in rkclk_init()
424 aclk_div = GPLL_HZ / PERI_ACLK_HZ - 1; in rkclk_init()
425 assert((aclk_div + 1) * PERI_ACLK_HZ == GPLL_HZ && aclk_div < 0x1f); in rkclk_init()
/external/u-boot/arch/arm/include/asm/arch-rockchip/
Dcru_rk3328.h51 #define GPLL_HZ (576 * MHz) macro
Dcru_rv1108.h14 #define GPLL_HZ (594 * 1000000) macro
Dcru_rk3188.h12 #define GPLL_HZ (594 * 1000000) macro
Dcru_rk3399.h73 #define GPLL_HZ (594*MHz) macro
Dcru_rk3036.h13 #define GPLL_HZ (594 * 1000000) macro
Dcru_rk322x.h14 #define GPLL_HZ (594 * MHz) macro
Dcru_rk3128.h15 #define GPLL_HZ (594 * MHz) macro
Dcru_rk3288.h14 #define GPLL_HZ (594 * 1000000) macro