Searched refs:baud_sup (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/usb/serial/
H A Dpl2303.c327 static const speed_t baud_sup[] = { pl2303_get_supported_baud_rate() local
335 for (i = 0; i < ARRAY_SIZE(baud_sup); ++i) { pl2303_get_supported_baud_rate()
336 if (baud_sup[i] > baud) pl2303_get_supported_baud_rate()
340 if (i == ARRAY_SIZE(baud_sup)) pl2303_get_supported_baud_rate()
341 baud = baud_sup[i - 1]; pl2303_get_supported_baud_rate()
342 else if (i > 0 && (baud_sup[i] - baud) > (baud - baud_sup[i - 1])) pl2303_get_supported_baud_rate()
343 baud = baud_sup[i - 1]; pl2303_get_supported_baud_rate()
345 baud = baud_sup[i]; pl2303_get_supported_baud_rate()
407 speed_t baud_sup; pl2303_encode_baud_rate() local
420 baud_sup = pl2303_get_supported_baud_rate(baud); pl2303_encode_baud_rate()
422 if (baud == baud_sup) pl2303_encode_baud_rate()

Completed in 90 milliseconds