/linux-2.6.39/arch/arm/plat-s5p/include/plat/ |
D | pll.h | 33 u32 mdiv, pdiv, sdiv; in s5p_get_pll45xx() local 37 pdiv = (pll_con >> PLL45XX_PDIV_SHIFT) & PLL45XX_PDIV_MASK; in s5p_get_pll45xx() 44 do_div(fvco, (pdiv << sdiv)); in s5p_get_pll45xx() 69 u32 mdiv, pdiv, sdiv, kdiv; in s5p_get_pll46xx() local 73 pdiv = (pll_con0 >> PLL46XX_PDIV_SHIFT) & PLL46XX_PDIV_MASK; in s5p_get_pll46xx() 86 do_div(tmp, (pdiv << sdiv)); in s5p_get_pll46xx() 90 do_div(tmp, (pdiv << sdiv)); in s5p_get_pll46xx() 110 u32 mdiv, pdiv, sdiv, kdiv; in s5p_get_pll90xx() local 114 pdiv = (pll_con >> PLL90XX_PDIV_SHIFT) & PLL90XX_PDIV_MASK; in s5p_get_pll90xx() 127 do_div(tmp, (pdiv << sdiv)); in s5p_get_pll90xx() [all …]
|
/linux-2.6.39/arch/arm/mach-s3c2410/include/mach/ |
D | regs-s3c2443-clock.h | 129 unsigned int mdiv, pdiv, sdiv; in s3c2443_get_mpll() local 133 pdiv = pllval >> S3C2443_PLLCON_PDIVSHIFT; in s3c2443_get_mpll() 137 pdiv &= S3C2443_PLLCON_PDIVMASK; in s3c2443_get_mpll() 141 do_div(fvco, pdiv << sdiv); in s3c2443_get_mpll() 149 unsigned int mdiv, pdiv, sdiv; in s3c2443_get_epll() local 153 pdiv = pllval >> S3C2443_PLLCON_PDIVSHIFT; in s3c2443_get_epll() 157 pdiv &= S3C2443_PLLCON_PDIVMASK; in s3c2443_get_epll() 161 do_div(fvco, (pdiv + 2) << sdiv); in s3c2443_get_epll()
|
/linux-2.6.39/arch/arm/mach-s3c2412/ |
D | cpu-freq.c | 45 unsigned int hdiv, pdiv, armdiv, dvs; in s3c2412_cpufreq_calcdivs() local 93 pdiv = (hclk > cfg->max.pclk) ? 2 : 1; in s3c2412_cpufreq_calcdivs() 95 if ((hclk / pdiv) > cfg->max.pclk) in s3c2412_cpufreq_calcdivs() 96 pdiv++; in s3c2412_cpufreq_calcdivs() 98 cfg->freq.pclk = hclk / pdiv; in s3c2412_cpufreq_calcdivs() 100 s3c_freq_dbg("%s: pdiv %d\n", __func__, pdiv); in s3c2412_cpufreq_calcdivs() 102 if (pdiv > 2) in s3c2412_cpufreq_calcdivs() 105 pdiv *= hdiv; in s3c2412_cpufreq_calcdivs() 110 cfg->divs.p_divisor = pdiv * armdiv; in s3c2412_cpufreq_calcdivs()
|
/linux-2.6.39/arch/arm/mach-s3c2440/ |
D | s3c2440-cpufreq.c | 61 unsigned int hdiv, pdiv; in s3c2440_cpufreq_calcdivs() local 95 pdiv = (hclk > cfg->max.pclk) ? 2 : 1; in s3c2440_cpufreq_calcdivs() 97 if ((hclk / pdiv) > cfg->max.pclk) in s3c2440_cpufreq_calcdivs() 98 pdiv++; in s3c2440_cpufreq_calcdivs() 100 s3c_freq_dbg("%s: pdiv %d\n", __func__, pdiv); in s3c2440_cpufreq_calcdivs() 102 if (pdiv > 2) in s3c2440_cpufreq_calcdivs() 105 pdiv *= hdiv; in s3c2440_cpufreq_calcdivs() 126 cfg->divs.p_divisor = pdiv; in s3c2440_cpufreq_calcdivs()
|
/linux-2.6.39/arch/arm/plat-s3c24xx/include/plat/ |
D | pll.h | 22 unsigned int mdiv, pdiv, sdiv; in s3c24xx_get_pll() local 26 pdiv = pllval >> S3C24XX_PLLCON_PDIVSHIFT; in s3c24xx_get_pll() 30 pdiv &= S3C24XX_PLLCON_PDIVMASK; in s3c24xx_get_pll() 34 do_div(fvco, (pdiv + 2) << sdiv); in s3c24xx_get_pll()
|
/linux-2.6.39/arch/arm/mach-s3c2410/ |
D | cpu-freq.c | 51 unsigned int hdiv, pdiv; in s3c2410_cpufreq_calcdivs() local 70 pdiv = (hclk > cfg->max.pclk) ? 2 : 1; in s3c2410_cpufreq_calcdivs() 71 pclk = hclk / pdiv; in s3c2410_cpufreq_calcdivs() 78 pdiv *= hdiv; in s3c2410_cpufreq_calcdivs() 81 cfg->divs.p_divisor = pdiv; in s3c2410_cpufreq_calcdivs()
|
/linux-2.6.39/arch/arm/mach-s3c64xx/include/mach/ |
D | pll.h | 28 u32 mdiv, pdiv, sdiv; in s3c6400_get_pll() local 32 pdiv = (pllcon >> S3C6400_PLL_PDIV_SHIFT) & S3C6400_PLL_PDIV_MASK; in s3c6400_get_pll() 36 do_div(fvco, (pdiv << sdiv)); in s3c6400_get_pll()
|
/linux-2.6.39/arch/arm/plat-samsung/include/plat/ |
D | pll6553x.h | 30 u32 mdiv, pdiv, sdiv, kdiv; in s3c_get_pll6553x() local 34 pdiv = (pll0 >> PLL6553X_PDIV_SHIFT) & PLL6553X_PDIV_MASK; in s3c_get_pll6553x() 47 do_div(tmp, (pdiv << sdiv)); in s3c_get_pll6553x()
|
/linux-2.6.39/arch/arm/mach-ep93xx/ |
D | clock.c | 354 int *psel, int *esel, int *pdiv, int *div) in calc_clk_div() argument 391 *pdiv = __pdiv - 3; in calc_clk_div() 411 int err, psel = 0, esel = 0, pdiv = 0, div = 0; in set_div_rate() local 414 err = calc_clk_div(clk, rate, &psel, &esel, &pdiv, &div); in set_div_rate() 425 (pdiv << EP93XX_SYSCON_CLKDIV_PDIV_SHIFT) | div; in set_div_rate()
|
/linux-2.6.39/drivers/net/wireless/b43/ |
D | phy_lp.c | 568 lpphy->pdiv = 1; in lpphy_2062_init() 571 lpphy->pdiv = 2; in lpphy_2062_init() 575 tmp = (((800000000 * lpphy->pdiv + crystalfreq) / in lpphy_2062_init() 579 tmp = (((100 * crystalfreq + 16000000 * lpphy->pdiv) / in lpphy_2062_init() 580 (32000000 * lpphy->pdiv)) - 1) & 0xFF; in lpphy_2062_init() 583 tmp = (((2 * crystalfreq + 1000000 * lpphy->pdiv) / in lpphy_2062_init() 584 (2000000 * lpphy->pdiv)) - 1) & 0xFF; in lpphy_2062_init() 587 ref = (1000 * lpphy->pdiv + 2 * crystalfreq) / (2000 * lpphy->pdiv); in lpphy_2062_init() 2463 tmp2 = lpphy->pdiv * 1000; in lpphy_b2062_tune()
|
D | phy_lp.h | 891 unsigned int pdiv; member
|
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/phy/ |
D | wlc_phy_int.h | 709 u8 pdiv; member
|