Lines Matching refs:div
1437 div, /* divisor */ in keyspan_usa19_calc_baud() local
1454 if( (div = (baudclk / b16)) == 0) { in keyspan_usa19_calc_baud()
1458 cnt = 0 - div; in keyspan_usa19_calc_baud()
1461 if(div > 0xffff) { in keyspan_usa19_calc_baud()
1484 div; /* divisor */ in keyspan_usa19hs_calc_baud() local
1495 if( (div = (baudclk / b16)) == 0) in keyspan_usa19hs_calc_baud()
1498 if(div > 0xffff) in keyspan_usa19hs_calc_baud()
1503 *rate_low = (u8) (div & 0xff); in keyspan_usa19hs_calc_baud()
1506 *rate_hi = (u8) ((div >> 8) & 0xff); in keyspan_usa19hs_calc_baud()
1519 div, /* divisor using 13/8 prescaler */ in keyspan_usa19w_calc_baud() local
1545 if( (div = clk / b16) == 0) { in keyspan_usa19w_calc_baud()
1549 res = clk / div; in keyspan_usa19w_calc_baud()
1563 div = clk / b16; in keyspan_usa19w_calc_baud()
1567 *rate_low = (u8) (div & 0xff); in keyspan_usa19w_calc_baud()
1570 *rate_hi = (u8) ((div >> 8) & 0xff); in keyspan_usa19w_calc_baud()
1584 div, /* divisor */ in keyspan_usa28_calc_baud() local
1594 if ((div = (KEYSPAN_USA28_BAUDCLK / b16)) == 0) { in keyspan_usa28_calc_baud()
1598 cnt = 0 - div; in keyspan_usa28_calc_baud()
1604 if(div > 0xffff) in keyspan_usa28_calc_baud()
1609 if(div > 0xff) { in keyspan_usa28_calc_baud()