Home
last modified time | relevance | path

Searched refs:PL011_FBRD_WIDTH (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()
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_pl011_registers.h63 #define PL011_FBRD_WIDTH 6u macro