Home
last modified time | relevance | path

Searched refs:sdiv (Results 1 – 4 of 4) sorted by relevance

/arch/arm/mach-s3c/
Dregs-s3c2443-clock.h153 unsigned int mdiv, pdiv, sdiv; in s3c2443_get_mpll() local
158 sdiv = pllval >> S3C2443_PLLCON_SDIVSHIFT; in s3c2443_get_mpll()
162 sdiv &= S3C2443_PLLCON_SDIVMASK; in s3c2443_get_mpll()
165 do_div(fvco, pdiv << sdiv); in s3c2443_get_mpll()
173 unsigned int mdiv, pdiv, sdiv; in s3c2443_get_epll() local
178 sdiv = pllval >> S3C2443_PLLCON_SDIVSHIFT; in s3c2443_get_epll()
182 sdiv &= S3C2443_PLLCON_SDIVMASK; in s3c2443_get_epll()
185 do_div(fvco, (pdiv + 2) << sdiv); in s3c2443_get_epll()
/arch/mips/cavium-octeon/
Dcsrc-octeon.c27 static u64 sdiv; variable
47 sdiv = rst_boot.s.pnr_mul; /* I/O clock */ in octeon_setup_delays()
48 f = (0x8000000000000000ull / sdiv) * 2; in octeon_setup_delays()
54 sdiv = rst_boot.s.pnr_mul; /* I/O clock */ in octeon_setup_delays()
55 f = (0x8000000000000000ull / sdiv) * 2; in octeon_setup_delays()
/arch/arm64/include/asm/
Dinsn.h336 __AARCH64_INSN_FUNCS(sdiv, 0x7FE0FC00, 0x1AC00C00)
/arch/arm/
DKconfig1392 bool "Runtime patch udiv/sdiv instructions into __aeabi_{u}idiv()"
1398 and unsigned integers. Some v7 CPUs have support for the sdiv
1404 with the sdiv or udiv plus "bx lr" instructions when the CPU