Home
last modified time | relevance | path

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

/linux/arch/arm/mach-omap1/
A Dclock.c348 __u16 ratio_bits; in omap1_set_ext_clk_rate() local
353 ratio_bits = ((dsor - 8) / 2 + 6) << 2; in omap1_set_ext_clk_rate()
355 ratio_bits = (dsor - 2) << 2; in omap1_set_ext_clk_rate()
358 __raw_writew(ratio_bits, clk->enable_reg); in omap1_set_ext_clk_rate()
394 __u16 ratio_bits; in omap1_init_ext_clk() local
397 ratio_bits = __raw_readw(clk->enable_reg) & ~1; in omap1_init_ext_clk()
398 __raw_writew(ratio_bits, clk->enable_reg); in omap1_init_ext_clk()
400 ratio_bits = (ratio_bits & 0xfc) >> 2; in omap1_init_ext_clk()
401 if (ratio_bits > 6) in omap1_init_ext_clk()
402 dsor = (ratio_bits - 6) * 2 + 8; in omap1_init_ext_clk()
[all …]

Completed in 5 milliseconds