Searched refs:bauddiv (Results 1 – 2 of 2) sorted by relevance
119 uint64_t bauddiv = (((uint64_t)clk) << PL011_FBRD_WIDTH) in pl011_set_baudrate() local126 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()
39 volatile uint32_t bauddiv; member110 dev_cfg->uart->bauddiv = (dev_cfg->sys_clk_freq / dev_data->baud_rate); in baudrate_set()