Searched refs:mc3_clock (Results 1 – 2 of 2) sorted by relevance
195 int t1_mc3_init(struct pemc3 *mc3, unsigned int mc3_clock) in t1_mc3_init() argument213 if (mc3_clock <= 100000000) in t1_mc3_init()217 else if (mc3_clock <= 133000000) in t1_mc3_init()240 DELAY_US(2 * 512 / (mc3_clock / 1000000) + 1); in t1_mc3_init()290 mc3_clock /= 1000; /* Hz->KHz */ in t1_mc3_init()291 mc3_clock = mc3_clock * 7812 + mc3_clock / 2; /* ns */ in t1_mc3_init()292 mc3_clock /= 1000000; /* KHz->MHz, ns->us */ in t1_mc3_init()296 F_REFRESH_ENABLE | V_REFRESH_DIVISOR(mc3_clock)); in t1_mc3_init()
44 int t1_mc3_init(struct pemc3 *mc3, unsigned int mc3_clock);