Home
last modified time | relevance | path

Searched refs:divs (Results 1 – 18 of 18) sorted by relevance

/linux-4.19.296/drivers/cpufreq/
Ds3c2440-cpufreq.c114 cfg->divs.dvs = 1; in s3c2440_cpufreq_calcdivs()
117 cfg->divs.dvs = 0; in s3c2440_cpufreq_calcdivs()
123 cfg->divs.h_divisor = hdiv; in s3c2440_cpufreq_calcdivs()
124 cfg->divs.p_divisor = pdiv; in s3c2440_cpufreq_calcdivs()
147 cfg->divs.h_divisor, cfg->divs.p_divisor); in s3c2440_cpufreq_setdivs()
155 switch (cfg->divs.h_divisor) { in s3c2440_cpufreq_setdivs()
180 if (cfg->divs.p_divisor != cfg->divs.h_divisor) in s3c2440_cpufreq_setdivs()
196 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2440_cpufreq_setdivs()
200 int *divs, in run_freq_for() argument
208 for (div = *divs; div > 0; div = *divs++) { in run_freq_for()
Ds3c2412-cpufreq.c72 cfg->divs.arm_divisor = armdiv; in s3c2412_cpufreq_calcdivs()
82 cfg->divs.dvs = dvs = armclk < armdiv_clk; in s3c2412_cpufreq_calcdivs()
88 __func__, armclk, hclk, armdiv, hdiv, cfg->divs.dvs); in s3c2412_cpufreq_calcdivs()
109 cfg->divs.h_divisor = hdiv * armdiv; in s3c2412_cpufreq_calcdivs()
110 cfg->divs.p_divisor = pdiv * armdiv; in s3c2412_cpufreq_calcdivs()
131 if (cfg->divs.arm_divisor == 2) in s3c2412_cpufreq_setdivs()
134 clkdiv |= ((cfg->divs.h_divisor / cfg->divs.arm_divisor) - 1); in s3c2412_cpufreq_setdivs()
136 if (cfg->divs.p_divisor != cfg->divs.h_divisor) in s3c2412_cpufreq_setdivs()
142 clk_set_parent(armclk, cfg->divs.dvs ? hclk : fclk); in s3c2412_cpufreq_setdivs()
Ds3c2410-cpufreq.c37 if (cfg->divs.h_divisor == 2) in s3c2410_cpufreq_setdivs()
40 if (cfg->divs.p_divisor != cfg->divs.h_divisor) in s3c2410_cpufreq_setdivs()
79 cfg->divs.p_divisor = pdiv; in s3c2410_cpufreq_calcdivs()
80 cfg->divs.h_divisor = hdiv; in s3c2410_cpufreq_calcdivs()
Ds3c24xx-cpufreq-debugfs.c99 cfg->divs.h_divisor, cfg->divs.p_divisor, in info_show()
100 cfg->divs.arm_divisor, cfg->divs.dvs ? "on" : "off"); in info_show()
Ds3c24xx-cpufreq.c79 cfg->divs.h_divisor = fclk / hclk; in s3c_cpufreq_getcur()
80 cfg->divs.p_divisor = fclk / pclk; in s3c_cpufreq_getcur()
88 cfg->freq.hclk = pll / cfg->divs.h_divisor; in s3c_cpufreq_calc()
89 cfg->freq.pclk = pll / cfg->divs.p_divisor; in s3c_cpufreq_calc()
108 cfg->freq.hclk, cfg->divs.h_divisor, in s3c_cpufreq_show()
109 cfg->freq.pclk, cfg->divs.p_divisor); in s3c_cpufreq_show()
/linux-4.19.296/drivers/clk/rockchip/
Dclk-cpu.c111 for (i = 0; i < ARRAY_SIZE(rate->divs); i++) { in rockchip_cpuclk_set_dividers()
112 const struct rockchip_cpuclk_clksel *clksel = &rate->divs[i]; in rockchip_cpuclk_set_dividers()
Dclk-rk3188.c139 .divs = { \
177 .divs = { \
Dclk-rk3368.c210 .divs = { \
220 .divs = { \
Dclk-rk3036.c101 .divs = { \
Dclk-rk3128.c100 .divs = { \
Dclk-rk3228.c101 .divs = { \
Dclk-rk3399.c345 .divs = { \
355 .divs = { \
Dclk.h324 struct rockchip_cpuclk_clksel divs[ROCKCHIP_CPUCLK_NUM_DIVIDERS]; member
Dclk-rk3328.c113 .divs = { \
Dclk-rv1108.c90 .divs = { \
Dclk-rk3288.c141 .divs = { \
Dclk-px30.c98 .divs = { \
/linux-4.19.296/drivers/i2c/busses/
Di2c-s3c2410.c814 unsigned int *div1, unsigned int *divs) in s3c24xx_i2c_calcdivisor() argument
832 *divs = calc_divs; in s3c24xx_i2c_calcdivisor()
847 unsigned int divs, div1; in s3c24xx_i2c_clockrate() local
861 freq = s3c24xx_i2c_calcdivisor(clkin, target_frequency, &div1, &divs); in s3c24xx_i2c_clockrate()
874 iiccon |= (divs-1); in s3c24xx_i2c_clockrate()