Lines Matching refs:ratio_bits
348 __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()
357 ratio_bits |= __raw_readw(clk->enable_reg) & ~0xfd; 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()
404 dsor = ratio_bits + 2; in omap1_init_ext_clk()