Searched refs:mc4_clock (Results 1 – 1 of 1) sorted by relevance
83 int t1_mc4_init(struct pemc4 *mc4, unsigned int mc4_clock) in t1_mc4_init() argument107 DELAY_US(2 * 512 / (mc4_clock / 1000000) + 1); in t1_mc4_init()154 mc4_clock /= 1000; /* Hz->KHz */ in t1_mc4_init()155 mc4_clock = mc4_clock * 7812 + mc4_clock / 2; /* ns */ in t1_mc4_init()156 mc4_clock /= 1000000; /* KHz->MHz, ns->us */ in t1_mc4_init()160 F_REFRESH_ENABLE | V_REFRESH_DIVISOR(mc4_clock)); in t1_mc4_init()