Searched refs:src_clk (Results 1 – 6 of 6) sorted by relevance
102 unsigned int src_clk; in get_sdram_clk_rate() local107 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()
617 #define calc_div(tgt_clk, src_clk, limit) ({ \ argument619 if (((src_clk) % (tgt_clk)) <= 100) \620 v = (src_clk) / (tgt_clk); \622 v = ((src_clk) / (tgt_clk)) + 1;\
270 hi_u32 src_clk; in vo_drv_check_dev_pll_foutvco() local283 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()
41 hi_u32 src_clk; in vo_drv_get_user_sync_pixel_clk() local46 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()
40 hi_u32 src_clk; in vo_drv_get_user_sync_pixel_clk() local45 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()
256 struct clk src_clk; /* for SD/MMC bus clock */ member1456 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()