Searched refs:clk_speed (Results 1 - 1 of 1) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/8253x/
H A D8253xutl.c297 sab8253x_baudenh(unsigned long encbaud, unsigned long clk_speed, argument
315 fastclock = (clk_speed >= 10000000); /* >= 10 MHz */
324 mant = ROUND_DIV(ROUND_SHIFT(clk_speed, power2 + 3), encbaud);
326 /* mant = (clk_speed / (8 * 2^M)) / (baud * 2) */
327 /* = clk_speed / (baud * 16 * 2^M) */
331 mant = ROUND_DIV(ROUND_SHIFT(clk_speed, 3), encbaud << power2);
332 /* mant = (clk_speed / 8) / (baud * 2 * 2^M) */
333 /* = clk_speed / (baud * 16 * 2^M) */
338 mant = ROUND_DIV(clk_speed, encbaud << (power2 + 3));
339 /* mant = clk_speed / (bau
426 sab8253x_baudstd(unsigned long encbaud, unsigned long clk_speed, unsigned char *bgr, unsigned char *ccr2, unsigned long *truebaudp) argument
[all...]

Completed in 28 milliseconds