src_rate 598 drivers/clk/qcom/clk-rcg.c unsigned long request, src_rate; src_rate 603 drivers/clk/qcom/clk-rcg.c src_rate = clk_hw_round_rate(req->best_parent_hw, request); src_rate 605 drivers/clk/qcom/clk-rcg.c if ((src_rate < (request - delta)) || src_rate 606 drivers/clk/qcom/clk-rcg.c (src_rate > (request + delta))) src_rate 609 drivers/clk/qcom/clk-rcg.c req->best_parent_rate = src_rate; src_rate 610 drivers/clk/qcom/clk-rcg.c req->rate = (src_rate * frac->num) / frac->den; src_rate 673 drivers/clk/qcom/clk-rcg.c unsigned long src_rate; src_rate 678 drivers/clk/qcom/clk-rcg.c src_rate = clk_hw_get_rate(req->best_parent_hw); src_rate 680 drivers/clk/qcom/clk-rcg.c div = src_rate / req->rate; src_rate 683 drivers/clk/qcom/clk-rcg.c req->best_parent_rate = src_rate; src_rate 684 drivers/clk/qcom/clk-rcg.c req->rate = src_rate / div; src_rate 415 drivers/clk/qcom/clk-rcg2.c s64 src_rate = parent_rate; src_rate 420 drivers/clk/qcom/clk-rcg2.c if (src_rate == 810000000) src_rate 429 drivers/clk/qcom/clk-rcg2.c if ((src_rate < (request - delta)) || src_rate 430 drivers/clk/qcom/clk-rcg2.c (src_rate > (request + delta))) src_rate 647 drivers/clk/qcom/clk-rcg2.c unsigned long request, src_rate; src_rate 654 drivers/clk/qcom/clk-rcg2.c src_rate = clk_hw_round_rate(req->best_parent_hw, request); src_rate 655 drivers/clk/qcom/clk-rcg2.c if ((src_rate < (request - delta)) || src_rate 656 drivers/clk/qcom/clk-rcg2.c (src_rate > (request + delta))) src_rate 659 drivers/clk/qcom/clk-rcg2.c req->best_parent_rate = src_rate; src_rate 660 drivers/clk/qcom/clk-rcg2.c req->rate = (src_rate * frac->num) / frac->den; src_rate 1470 drivers/mfd/db8500-prcmu.c static unsigned long pll_rate(void __iomem *reg, unsigned long src_rate, src_rate 1480 drivers/mfd/db8500-prcmu.c rate = src_rate; src_rate 1655 drivers/mfd/db8500-prcmu.c static u32 clock_divider(unsigned long src_rate, unsigned long rate) src_rate 1659 drivers/mfd/db8500-prcmu.c div = (src_rate / rate); src_rate 1662 drivers/mfd/db8500-prcmu.c if (rate < (src_rate / div)) src_rate 1671 drivers/mfd/db8500-prcmu.c unsigned long src_rate; src_rate 1675 drivers/mfd/db8500-prcmu.c src_rate = clock_source_rate((val | clk_mgt[clock].pllsw), src_rate 1677 drivers/mfd/db8500-prcmu.c div = clock_divider(src_rate, rate); src_rate 1686 drivers/mfd/db8500-prcmu.c u64 r = (src_rate * 10); src_rate 1692 drivers/mfd/db8500-prcmu.c rounded_rate = (src_rate / min(div, (u32)31)); src_rate 1746 drivers/mfd/db8500-prcmu.c unsigned long src_rate; src_rate 1750 drivers/mfd/db8500-prcmu.c src_rate = clock_rate(PRCMU_HDMICLK); src_rate 1757 drivers/mfd/db8500-prcmu.c (void)do_div(d, src_rate); src_rate 1762 drivers/mfd/db8500-prcmu.c d *= src_rate; src_rate 1783 drivers/mfd/db8500-prcmu.c unsigned long src_rate; src_rate 1786 drivers/mfd/db8500-prcmu.c src_rate = pll_rate(PRCM_PLLDSI_FREQ, clock_rate(PRCMU_HDMICLK), src_rate 1788 drivers/mfd/db8500-prcmu.c div = clock_divider(src_rate, rate); src_rate 1789 drivers/mfd/db8500-prcmu.c rounded_rate = (src_rate / ((div > 2) ? 4 : div)); src_rate 1797 drivers/mfd/db8500-prcmu.c unsigned long src_rate; src_rate 1800 drivers/mfd/db8500-prcmu.c src_rate = clock_rate(PRCMU_TVCLK); src_rate 1801 drivers/mfd/db8500-prcmu.c div = clock_divider(src_rate, rate); src_rate 1802 drivers/mfd/db8500-prcmu.c rounded_rate = (src_rate / min(div, (u32)255)); src_rate 1827 drivers/mfd/db8500-prcmu.c unsigned long src_rate; src_rate 1837 drivers/mfd/db8500-prcmu.c src_rate = clock_source_rate((val | clk_mgt[clock].pllsw), src_rate 1839 drivers/mfd/db8500-prcmu.c div = clock_divider(src_rate, rate); src_rate 1851 drivers/mfd/db8500-prcmu.c u64 r = (src_rate * 10); src_rate 1905 drivers/mfd/db8500-prcmu.c unsigned long src_rate; src_rate 1910 drivers/mfd/db8500-prcmu.c src_rate = clock_rate(PRCMU_HDMICLK); src_rate 1918 drivers/mfd/db8500-prcmu.c (void)do_div(d, src_rate); src_rate 1923 drivers/mfd/db8500-prcmu.c hwrate = (d * src_rate); src_rate 394 drivers/spi/atmel-quadspi.c unsigned long src_rate; src_rate 403 drivers/spi/atmel-quadspi.c src_rate = clk_get_rate(aq->pclk); src_rate 404 drivers/spi/atmel-quadspi.c if (!src_rate) src_rate 408 drivers/spi/atmel-quadspi.c scbr = DIV_ROUND_UP(src_rate, spi->max_speed_hz); src_rate 42 sound/core/oss/pcm_plugin.c static int rate_match(unsigned int src_rate, unsigned int dst_rate) src_rate 44 sound/core/oss/pcm_plugin.c unsigned int low = (src_rate * 95) / 100; src_rate 45 sound/core/oss/pcm_plugin.c unsigned int high = (src_rate * 105) / 100;