Home
last modified time | relevance | path

Searched refs:src_clk (Results 1 – 6 of 6) sorted by relevance

/third_party/uboot/u-boot-2020.01/arch/arm/cpu/arm926ejs/lpc32xx/
Dclk.c102 unsigned int src_clk; in get_sdram_clk_rate() local
107 src_clk = get_hclk_pll_rate(); in get_sdram_clk_rate()
113 return src_clk/2; in get_sdram_clk_rate()
115 return src_clk; in get_sdram_clk_rate()
123 return src_clk/4; in get_sdram_clk_rate()
125 return src_clk/2; in get_sdram_clk_rate()
127 return src_clk; in get_sdram_clk_rate()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-imx/mx5/
Dclock.c617 #define calc_div(tgt_clk, src_clk, limit) ({ \ argument
619 if (((src_clk) % (tgt_clk)) <= 100) \
620 v = (src_clk) / (tgt_clk); \
622 v = ((src_clk) / (tgt_clk)) + 1;\
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/arch/comm/src/
Ddrv_vo_dev_comm.c270 hi_u32 src_clk; in vo_drv_check_dev_pll_foutvco() local
283 src_clk = foutcvo * VO_CLK_MHZ_UNIT / (pll->post_div1 * pll->post_div2); in vo_drv_check_dev_pll_foutvco()
284 pixel_clk = src_clk / (sync_info->pre_div * sync_info->dev_div); in vo_drv_check_dev_pll_foutvco()
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/arch/hi3531dv200/hal/
Ddrv_vo_dev.c41 hi_u32 src_clk; in vo_drv_get_user_sync_pixel_clk() local
46 src_clk = foutcvo * VO_CLK_MHZ_UNIT / (pll->post_div1 * pll->post_div2); in vo_drv_get_user_sync_pixel_clk()
47 pixel_clk = src_clk / (sync_info->pre_div * sync_info->dev_div); in vo_drv_get_user_sync_pixel_clk()
/third_party/uboot/u-boot-2020.01/product/hiosd/vo/arch/hi3535av100/hal/
Ddrv_vo_dev.c40 hi_u32 src_clk; in vo_drv_get_user_sync_pixel_clk() local
45 src_clk = foutcvo * VO_CLK_MHZ_UNIT / (pll->post_div1 * pll->post_div2); in vo_drv_get_user_sync_pixel_clk()
46 pixel_clk = src_clk / (sync_info->pre_div * sync_info->dev_div); in vo_drv_get_user_sync_pixel_clk()
/third_party/uboot/u-boot-2020.01/drivers/mmc/
Dmtk-sd.c256 struct clk src_clk; /* for SD/MMC bus clock */ member
1456 clk_enable(&host->src_clk); in msdc_ungate_clock()
1473 host->src_clk_freq = clk_get_rate(&host->src_clk); in msdc_drv_probe()
1515 ret = clk_get_by_name(dev, "source", &host->src_clk); in msdc_ofdata_to_platdata()