Lines Matching refs:baud
412 only fixed rates) and for PL2303SA (8-pin chip, up to 115200 baud */
731 * NOTE: These baud rates are officially supported, they can be written
780 * Check requested baud rate.
782 * The PL2303 can only set specific baud rates, up to 1228800 baud.
783 * The PL2303HX can set any baud rate up to 6Mb.
784 * The PL2303HX rev. D and PL2303HXN can set any baud rate up to 12Mb.
810 DPRINTF("uplcom_param: bad baud rate (%d)\n", t->c_ospeed);
815 uplcom_encode_baud_rate_divisor(uint8_t *buf, unsigned int baud)
819 /* Determine the baud rate divisor. This algorithm is taken from Linux. */
827 if (baud == 0)
828 baud = 1;
830 mantissa = baseline / baud;
839 /* Exponent is maxed. Trim mantissa and leave. This gives approx. 45.8 baud */
850 /* Calculate and return the exact baud rate. */
851 baud = (baseline / mantissa) >> (exponent << 1);
852 DPRINTF("real baud rate will be %u\n", baud);
854 return baud;
868 * NOTE: If unsupported baud rates are set directly, the PL2303* uses 9600 baud.