Lines Matching refs:baud_sup
574 static const speed_t baud_sup[] = { in pl2303_get_supported_baud_rate() local
582 for (i = 0; i < ARRAY_SIZE(baud_sup); ++i) { in pl2303_get_supported_baud_rate()
583 if (baud_sup[i] > baud) in pl2303_get_supported_baud_rate()
587 if (i == ARRAY_SIZE(baud_sup)) in pl2303_get_supported_baud_rate()
588 baud = baud_sup[i - 1]; in pl2303_get_supported_baud_rate()
589 else if (i > 0 && (baud_sup[i] - baud) > (baud - baud_sup[i - 1])) in pl2303_get_supported_baud_rate()
590 baud = baud_sup[i - 1]; in pl2303_get_supported_baud_rate()
592 baud = baud_sup[i]; in pl2303_get_supported_baud_rate()
693 speed_t baud_sup; in pl2303_encode_baud_rate() local
708 baud_sup = baud; in pl2303_encode_baud_rate()
710 baud_sup = pl2303_get_supported_baud_rate(baud); in pl2303_encode_baud_rate()
712 if (baud == baud_sup) in pl2303_encode_baud_rate()