Home
last modified time | relevance | path

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

/hal_intel-3.6.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.6.0/bsp_sedi/drivers/usart/
Dsedi_dw_uart.c617 ret = sedi_uart_set_baud_rate(uart, cfg->baud_rate, sedi_pm_get_hbw_clock()); in sedi_uart_set_config()
1445 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
1450 uint32_t divisor = clk_speed_hz / (baud_rate << 4); in sedi_uart_set_baud_rate()
1452 uint32_t dlf = (clk_speed_hz % (baud_rate << 4)) / baud_rate; in sedi_uart_set_baud_rate()
1454 ((clk_speed_hz % (baud_rate << 4)) * SEDI_UART_DLF_SCALAR) / baud_rate; in sedi_uart_set_baud_rate()
1471 baud_rate_cache[uart] = baud_rate; in sedi_uart_set_baud_rate()
1490 cfg->baud_rate = baud_rate_cache[uart]; in sedi_uart_get_config()