Searched refs:real_rate (Results 1 – 6 of 6) sorted by relevance
30 unsigned long real_rate; member
875 int real_rate; in jz4740_mmc_set_clock_rate() local880 real_rate = clk_get_rate(host->clk); in jz4740_mmc_set_clock_rate()882 while (real_rate > rate && div < 7) { in jz4740_mmc_set_clock_rate()884 real_rate >>= 1; in jz4740_mmc_set_clock_rate()889 if (real_rate > 25000000) { in jz4740_mmc_set_clock_rate()904 return real_rate; in jz4740_mmc_set_clock_rate()
1171 host->real_rate = host->clk_rate / (host->clk_div*(mci_psc+1)); in s3cmci_set_clk()1173 if (host->real_rate <= ios->clock) in s3cmci_set_clk()1185 host->real_rate = 0; in s3cmci_set_clk()1227 host->real_rate/1000, ios->clock/1000); in s3cmci_set_ios()
197 unsigned long real_rate) in tilcdc_pclk_diff() argument199 int r = rate / 100, rr = real_rate / 100; in tilcdc_pclk_diff()209 unsigned long clk_rate, real_rate, req_rate; in tilcdc_crtc_set_clk() local244 real_rate = clkdiv * req_rate; in tilcdc_crtc_set_clk()246 if (tilcdc_pclk_diff(clk_rate, real_rate) > 5) { in tilcdc_crtc_set_clk()249 clk_rate, real_rate); in tilcdc_crtc_set_clk()
695 static unsigned int snd_cs4281_rate(unsigned int rate, unsigned int *real_rate) in snd_cs4281_rate() argument699 if (real_rate) in snd_cs4281_rate()700 *real_rate = rate; in snd_cs4281_rate()713 if (real_rate) in snd_cs4281_rate()714 *real_rate = 1536000 / val; in snd_cs4281_rate()
1206 unsigned int dispc_pclk_diff(unsigned long rate, unsigned long real_rate) in dispc_pclk_diff() argument1208 int r = rate / 100, rr = real_rate / 100; in dispc_pclk_diff()