Searched refs:baud_sup (Results 1 – 1 of 1) sorted by relevance
485 static const speed_t baud_sup[] = { in pl2303_get_supported_baud_rate() local493 for (i = 0; i < ARRAY_SIZE(baud_sup); ++i) { in pl2303_get_supported_baud_rate()494 if (baud_sup[i] > baud) in pl2303_get_supported_baud_rate()498 if (i == ARRAY_SIZE(baud_sup)) in pl2303_get_supported_baud_rate()499 baud = baud_sup[i - 1]; in pl2303_get_supported_baud_rate()500 else if (i > 0 && (baud_sup[i] - baud) > (baud - baud_sup[i - 1])) in pl2303_get_supported_baud_rate()501 baud = baud_sup[i - 1]; in pl2303_get_supported_baud_rate()503 baud = baud_sup[i]; in pl2303_get_supported_baud_rate()565 speed_t baud_sup; in pl2303_encode_baud_rate() local580 baud_sup = baud; in pl2303_encode_baud_rate()[all …]