Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_pl011.c119 uint64_t bauddiv = (((uint64_t)clk) << PL011_FBRD_WIDTH) in pl011_set_baudrate() local
126 if ((bauddiv < (1u << PL011_FBRD_WIDTH)) in pl011_set_baudrate()
127 || (bauddiv > (65535u << PL011_FBRD_WIDTH))) { in pl011_set_baudrate()
131 get_uart(dev)->ibrd = bauddiv >> PL011_FBRD_WIDTH; in pl011_set_baudrate()
132 get_uart(dev)->fbrd = bauddiv & ((1u << PL011_FBRD_WIDTH) - 1u); in pl011_set_baudrate()
Duart_cmsdk_apb.c39 volatile uint32_t bauddiv; member
110 dev_cfg->uart->bauddiv = (dev_cfg->sys_clk_freq / dev_data->baud_rate); in baudrate_set()