Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/serial/
Duart_b91.c169 uint8_t position_min = 0, position_max = 0; in uart_b91_cal_div_and_bwpc() local
175 position_min = j; in uart_b91_cal_div_and_bwpc()
183 if ((D_dec[position_min] < 5) && (D_dec[position_max] >= 5)) { in uart_b91_cal_div_and_bwpc()
184 if (D_dec[position_min] < (10 - D_dec[position_max])) { in uart_b91_cal_div_and_bwpc()
185 *bwpc = position_min + 3; in uart_b91_cal_div_and_bwpc()
186 *divider = D_int[position_min] - 1; in uart_b91_cal_div_and_bwpc()
191 } else if ((D_dec[position_min] < 5) && (D_dec[position_max] < 5)) { in uart_b91_cal_div_and_bwpc()
192 *bwpc = position_min + 3; in uart_b91_cal_div_and_bwpc()
193 *divider = D_int[position_min] - 1; in uart_b91_cal_div_and_bwpc()