Lines Matching refs:ratio_bits
351 __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()
405 dsor = (ratio_bits - 6) * 2 + 8; in omap1_init_ext_clk()
407 dsor = ratio_bits + 2; in omap1_init_ext_clk()