Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/chxge/com/
H A Dmc3.c195 int t1_mc3_init(struct pemc3 *mc3, unsigned int mc3_clock) in t1_mc3_init() argument
213 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()
H A Dmc3.h44 int t1_mc3_init(struct pemc3 *mc3, unsigned int mc3_clock);