Lines Matching full:baud

411 		   only fixed rates) and for PL2303SA (8-pin chip, up to 115200 baud */  in uplcom_attach()
730 * NOTE: These baud rates are officially supported, they can be written
779 * Check requested baud rate. in uplcom_pre_param()
781 * The PL2303 can only set specific baud rates, up to 1228800 baud. in uplcom_pre_param()
782 * The PL2303HX can set any baud rate up to 6Mb. in uplcom_pre_param()
783 * The PL2303HX rev. D and PL2303HXN can set any baud rate up to 12Mb. in uplcom_pre_param()
809 DPRINTF("uplcom_param: bad baud rate (%d)\n", t->c_ospeed); in uplcom_pre_param()
814 uplcom_encode_baud_rate_divisor(uint8_t *buf, unsigned baud) in uplcom_encode_baud_rate_divisor() argument
818 /* Determine the baud rate divisor. This algorithm is taken from Linux. */ in uplcom_encode_baud_rate_divisor()
826 if (baud == 0) in uplcom_encode_baud_rate_divisor()
827 baud = 1; in uplcom_encode_baud_rate_divisor()
829 mantissa = baseline / baud; in uplcom_encode_baud_rate_divisor()
838 /* Exponent is maxed. Trim mantissa and leave. This gives approx. 45.8 baud */ in uplcom_encode_baud_rate_divisor()
849 /* Calculate and return the exact baud rate. */ in uplcom_encode_baud_rate_divisor()
850 baud = (baseline / mantissa) >> (exponent << 1); in uplcom_encode_baud_rate_divisor()
851 DPRINTF("real baud rate will be %u\n", baud); in uplcom_encode_baud_rate_divisor()
853 return baud; in uplcom_encode_baud_rate_divisor()
867 * NOTE: If unsupported baud rates are set directly, the PL2303* uses 9600 baud. in uplcom_cfg_param()