Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mmc/host/
Ds3cmci.h30 unsigned long real_rate; member
Djz4740_mmc.c875 int real_rate; in jz4740_mmc_set_clock_rate() local
880 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()
Ds3cmci.c1171 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/tilcdc/
Dtilcdc_crtc.c197 unsigned long real_rate) in tilcdc_pclk_diff() argument
199 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() local
244 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()
/kernel/linux/linux-5.10/sound/pci/
Dcs4281.c695 static unsigned int snd_cs4281_rate(unsigned int rate, unsigned int *real_rate) in snd_cs4281_rate() argument
699 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
Dtidss_dispc.c1206 unsigned int dispc_pclk_diff(unsigned long rate, unsigned long real_rate) in dispc_pclk_diff() argument
1208 int r = rate / 100, rr = real_rate / 100; in dispc_pclk_diff()