Searched refs:int_div (Results 1 – 2 of 2) sorted by relevance
22 u32 int_div, mantissa, fraction, oversampling; in _stm32_serial_setbrg() local24 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()
619 int_div(PyIntObject *x, PyIntObject *y) in int_div() function1403 (binaryfunc)int_div, /* nb_floor_divide */