Lines Matching refs:baud_sup
575 static const speed_t baud_sup[] = { in pl2303_get_supported_baud_rate() local
583 for (i = 0; i < ARRAY_SIZE(baud_sup); ++i) { in pl2303_get_supported_baud_rate()
584 if (baud_sup[i] > baud) in pl2303_get_supported_baud_rate()
588 if (i == ARRAY_SIZE(baud_sup)) in pl2303_get_supported_baud_rate()
589 baud = baud_sup[i - 1]; in pl2303_get_supported_baud_rate()
590 else if (i > 0 && (baud_sup[i] - baud) > (baud - baud_sup[i - 1])) in pl2303_get_supported_baud_rate()
591 baud = baud_sup[i - 1]; in pl2303_get_supported_baud_rate()
593 baud = baud_sup[i]; in pl2303_get_supported_baud_rate()
694 speed_t baud_sup; in pl2303_encode_baud_rate() local
709 baud_sup = baud; in pl2303_encode_baud_rate()
711 baud_sup = pl2303_get_supported_baud_rate(baud); in pl2303_encode_baud_rate()
713 if (baud == baud_sup) in pl2303_encode_baud_rate()