Home
last modified time | relevance | path

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

/linux-3.4.99/arch/arm/mach-omap1/
Dclock.c351 __u16 ratio_bits; in omap1_set_ext_clk_rate() local
356 ratio_bits = ((dsor - 8) / 2 + 6) << 2; in omap1_set_ext_clk_rate()
358 ratio_bits = (dsor - 2) << 2; in omap1_set_ext_clk_rate()
360 ratio_bits |= __raw_readw(clk->enable_reg) & ~0xfd; in omap1_set_ext_clk_rate()
361 __raw_writew(ratio_bits, clk->enable_reg); in omap1_set_ext_clk_rate()
397 __u16 ratio_bits; in omap1_init_ext_clk() local
400 ratio_bits = __raw_readw(clk->enable_reg) & ~1; in omap1_init_ext_clk()
401 __raw_writew(ratio_bits, clk->enable_reg); in omap1_init_ext_clk()
403 ratio_bits = (ratio_bits & 0xfc) >> 2; in omap1_init_ext_clk()
404 if (ratio_bits > 6) in omap1_init_ext_clk()
[all …]