Home
last modified time | relevance | path

Searched refs:DIV_ROUND_CLOSEST (Results 1 – 1 of 1) sorted by relevance

/components/drivers/usb/cherryusb/class/vendor/serial/
A Dusbh_ftdi.c68 #define DIV_ROUND_CLOSEST(x, divisor) ( \ macro
84 int divisor3 = DIV_ROUND_CLOSEST(base, 2 * baud); in ftdi_232bm_baud_base_to_divisor()
107 divisor3 = DIV_ROUND_CLOSEST(8 * base, 10 * baud); in ftdi_2232h_baud_base_to_divisor()

Completed in 3 milliseconds