Home
last modified time | relevance | path

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

/external/u-boot/drivers/serial/
Dserial_stm32.c22 u32 int_div, mantissa, fraction, oversampling; in _stm32_serial_setbrg() local
24 int_div = DIV_ROUND_CLOSEST(clock_rate, baudrate); in _stm32_serial_setbrg()
26 if (int_div < 16) { in _stm32_serial_setbrg()
34 mantissa = (int_div / oversampling) << USART_BRR_M_SHIFT; in _stm32_serial_setbrg()
35 fraction = int_div % oversampling; in _stm32_serial_setbrg()
/external/python/cpython2/Objects/
Dintobject.c619 int_div(PyIntObject *x, PyIntObject *y) in int_div() function
1403 (binaryfunc)int_div, /* nb_floor_divide */