Lines Matching defs:prescaler
1621 /* usa19 function doesn't require prescaler */
1623 u8 *rate_low, u8 *prescaler, int portnum)
1661 /* usa19hs function doesn't require prescaler */
1663 u8 *rate_low, u8 *prescaler, int portnum)
1698 u8 *rate_low, u8 *prescaler, int portnum)
1701 clk, /* clock with 13/8 prescaler */
1702 div, /* divisor using 13/8 prescaler */
1703 res, /* resulting baud rate using 13/8 prescaler */
1704 diff, /* error using 13/8 prescaler */
1716 /* Calculate prescaler by trying them all and looking
1722 /* 0 is an invalid prescaler, used as a flag */
1747 /* return the divisor and prescaler if non-null */
1752 if (prescaler) {
1753 *prescaler = best_prescaler;
1754 /* dbg("%s - %d %d", __func__, *prescaler, div); */
1761 u8 *rate_low, u8 *prescaler, int portnum)
1852 &msg.baudLo, &msg.prescaler, device_port) == KEYSPAN_INVALID_BAUD_RATE) {
1857 msg.prescaler = 10;
2130 &msg.baudLo, &msg.prescaler, device_port) == KEYSPAN_INVALID_BAUD_RATE) {
2135 msg.prescaler = 10;
2268 u8 prescaler;
2301 &msg.baudLo, &prescaler, 0) == KEYSPAN_INVALID_BAUD_RATE) {
2306 &msg.baudHi, &msg.baudLo, &prescaler, 0);
2441 &msg.baudLo, &msg.prescaler, device_port) == KEYSPAN_INVALID_BAUD_RATE) {
2446 msg.prescaler = 10;