Home
last modified time | relevance | path

Searched refs:set_rate (Results 1 – 25 of 35) sorted by relevance

12

/external/u-boot/drivers/clk/rockchip/
Dclk_rk3368.c282 static ulong rk3368_ddr_set_clk(struct rk3368_cru *cru, ulong set_rate) in rk3368_ddr_set_clk() argument
292 switch (set_rate) { in rk3368_ddr_set_clk()
303 pr_err("Unsupported SDRAM frequency!,%ld\n", set_rate); in rk3368_ddr_set_clk()
307 return set_rate; in rk3368_ddr_set_clk()
312 static ulong rk3368_gmac_set_clk(struct rk3368_cru *cru, ulong set_rate) in rk3368_gmac_set_clk() argument
322 ret = set_rate; in rk3368_gmac_set_clk()
338 div = DIV_ROUND_UP(pll_rate, set_rate) - 1; in rk3368_gmac_set_clk()
589 .set_rate = rk3368_clk_set_rate,
Dclk_rk3399.c690 ulong clk_id, ulong set_rate) in rk3399_mmc_set_clk() argument
700 src_clk_div = DIV_ROUND_UP(GPLL_HZ / 2, set_rate); in rk3399_mmc_set_clk()
704 src_clk_div = DIV_ROUND_UP(OSC_HZ / 2, set_rate); in rk3399_mmc_set_clk()
728 src_clk_div = DIV_ROUND_UP(GPLL_HZ, set_rate); in rk3399_mmc_set_clk()
768 ulong set_rate) in rk3399_ddr_set_clk() argument
776 switch (set_rate) { in rk3399_ddr_set_clk()
798 pr_err("Unsupported SDRAM frequency!,%ld\n", set_rate); in rk3399_ddr_set_clk()
802 return set_rate; in rk3399_ddr_set_clk()
1015 .set_rate = rk3399_clk_set_rate,
1290 .set_rate = rk3399_pmuclk_set_rate,
Dclk_rk322x.c317 static int rk322x_ddr_set_clk(struct rk322x_cru *cru, unsigned int set_rate) in rk322x_ddr_set_clk() argument
322 switch (set_rate) { in rk322x_ddr_set_clk()
345 return set_rate; in rk322x_ddr_set_clk()
467 .set_rate = rk322x_clk_set_rate,
Dclk_rk3328.c467 ulong clk_id, ulong set_rate) in rk3328_mmc_set_clk() argument
486 src_clk_div = DIV_ROUND_UP(GPLL_HZ / 2, set_rate); in rk3328_mmc_set_clk()
490 src_clk_div = DIV_ROUND_UP(OSC_HZ / 2, set_rate); in rk3328_mmc_set_clk()
750 .set_rate = rk3328_clk_set_rate,
Dclk_rv1108.c195 .set_rate = rv1108_clk_set_rate,
/external/u-boot/include/
Dclk-uclass.h78 ulong (*set_rate)(struct clk *clk, ulong rate); member
/external/u-boot/arch/arm/cpu/armv7/bcm235xx/
Dclk-core.c251 .set_rate = peri_clk_set_rate,
495 if (!c || !c->ops || !c->ops->set_rate) in clk_set_rate()
502 ret = c->ops->set_rate(c, rate); in clk_set_rate()
/external/u-boot/arch/arm/cpu/armv7/bcm281xx/
Dclk-core.c251 .set_rate = peri_clk_set_rate,
495 if (!c || !c->ops || !c->ops->set_rate) in clk_set_rate()
502 ret = c->ops->set_rate(c, rate); in clk_set_rate()
Dclk-core.h51 int (*set_rate) (struct clk *c, unsigned long rate); member
/external/u-boot/drivers/clk/at91/
Dclk-plladiv.c65 .set_rate = at91_plladiv_clk_set_rate,
Dclk-system.c100 .set_rate = system_clk_set_rate,
Dclk-usb.c104 .set_rate = at91_usb_clk_set_rate,
Dclk-generated.c146 .set_rate = generic_clk_set_rate,
/external/u-boot/drivers/clk/tegra/
Dtegra-car-clk.c85 .set_rate = tegra_car_clk_set_rate,
Dtegra186-clk.c86 .set_rate = tegra186_clk_set_rate,
/external/u-boot/drivers/clk/
Dclk-uclass.c341 if (!ops->set_rate) in clk_set_rate()
344 return ops->set_rate(clk, rate); in clk_set_rate()
Dclk_sandbox.c70 .set_rate = sandbox_clk_set_rate,
Dclk-hsdk-cgu.c280 ulong (*set_rate)(struct clk *clk, ulong rate); member
670 return clock_map[sclk->id].set_rate(sclk, rate); in hsdk_cgu_set_rate()
685 .set_rate = hsdk_cgu_set_rate,
Dics8n3qv01.c208 .set_rate = ics8n3qv01_set_rate,
/external/u-boot/arch/arm/mach-snapdragon/
Dclock-snapdragon.c130 .set_rate = msm_clk_set_rate,
/external/u-boot/drivers/video/
Dipu_common.c137 if (clk->set_rate) in clk_set_rate()
138 clk->set_rate(clk, rate); in clk_set_rate()
408 .set_rate = ipu_pixel_clk_set_rate,
419 .set_rate = ipu_pixel_clk_set_rate,
Dipu.h48 int (*set_rate) (struct clk *, unsigned long); member
/external/u-boot/drivers/clk/renesas/
Dclk-rcar-gen2.c226 .set_rate = gen2_clk_set_rate,
/external/u-boot/drivers/clk/uniphier/
Dclk-uniphier-core.c246 .set_rate = uniphier_clk_set_rate,
/external/u-boot/drivers/clk/aspeed/
Dclk_ast2500.c423 .set_rate = ast2500_clk_set_rate,

12