Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_b91.c169 uint8_t position_min = 0, position_max = 0; in uart_b91_cal_div_and_bwpc() local
179 position_max = 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()
188 *bwpc = position_max + 3; in uart_b91_cal_div_and_bwpc()
189 *divider = D_int[position_max]; 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()
195 *bwpc = position_max + 3; in uart_b91_cal_div_and_bwpc()
196 *divider = D_int[position_max]; in uart_b91_cal_div_and_bwpc()