Searched refs:PL011_FBRD_WIDTH (Results 1 – 2 of 2) sorted by relevance
119 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()
63 #define PL011_FBRD_WIDTH 6u macro