Home
last modified time | relevance | path

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

/hal_intel-3.7.0/bsp_sedi/include/driver/
Dsedi_driver_uart.h192 uint32_t baud_rate; /**< Baud Rate. */ member
674 int sedi_uart_set_baud_rate(IN sedi_uart_t uart, IN uint32_t baud_rate,
/hal_intel-3.7.0/bsp_sedi/drivers/usart/
Dsedi_dw_uart.c615 ret = sedi_uart_set_baud_rate(uart, cfg->baud_rate, sedi_pm_get_hbw_clock()); in sedi_uart_set_config()
1444 int sedi_uart_set_baud_rate(IN sedi_uart_t uart, IN uint32_t baud_rate, IN uint32_t clk_speed_hz) in sedi_uart_set_baud_rate() argument
1449 uint32_t divisor = clk_speed_hz / (baud_rate << 4); in sedi_uart_set_baud_rate()
1451 uint32_t dlf = (clk_speed_hz % (baud_rate << 4)) / baud_rate; in sedi_uart_set_baud_rate()
1453 ((clk_speed_hz % (baud_rate << 4)) * SEDI_UART_DLF_SCALAR) / baud_rate; in sedi_uart_set_baud_rate()
1470 baud_rate_cache[uart] = baud_rate; in sedi_uart_set_baud_rate()
1489 cfg->baud_rate = baud_rate_cache[uart]; in sedi_uart_get_config()