Lines Matching full:baudrate
79 uint32_t baudrate) in lpc11u6x_uart0_config_baudrate() argument
86 * LPC11U6X_UART0_CLK so that we can have every baudrate that is in lpc11u6x_uart0_config_baudrate()
93 dl = pclk / (16 * baudrate + 16 * baudrate / mul); in lpc11u6x_uart0_config_baudrate()
95 /* Configure clock divisor and fractional baudrate generator */ in lpc11u6x_uart0_config_baudrate()
108 /* Check that the baudrate is a multiple of 9600 */ in lpc11u6x_uart0_configure()
109 if (cfg->baudrate % 9600) { in lpc11u6x_uart0_configure()
170 lpc11u6x_uart0_config_baudrate(dev_cfg->clock_dev, dev_cfg, cfg->baudrate); in lpc11u6x_uart0_configure()
173 data->baudrate = cfg->baudrate; in lpc11u6x_uart0_configure()
187 cfg->baudrate = data->baudrate; in lpc11u6x_uart0_config_get()
357 /* Configure baudrate, parity and stop bits */ in lpc11u6x_uart0_init()
358 lpc11u6x_uart0_config_baudrate(cfg->clock_dev, cfg, cfg->baudrate); in lpc11u6x_uart0_init()
362 data->baudrate = cfg->baudrate; in lpc11u6x_uart0_init()
389 .baudrate = DT_PROP(DT_NODELABEL(uart0), current_speed),
487 uint32_t baudrate) in lpc11u6x_uartx_config_baud() argument
496 div = clk_rate / (16 * baudrate); in lpc11u6x_uartx_config_baud()
512 if (cfg->baudrate % 9600) { in lpc11u6x_uartx_configure()
574 /* Update baudrate */ in lpc11u6x_uartx_configure()
575 lpc11u6x_uartx_config_baud(dev_cfg, cfg->baudrate); in lpc11u6x_uartx_configure()
580 data->baudrate = cfg->baudrate; in lpc11u6x_uartx_configure()
594 cfg->baudrate = data->baudrate; in lpc11u6x_uartx_config_get()
779 /* Configure baudrate, parity and stop bits */ in lpc11u6x_uartx_init()
780 lpc11u6x_uartx_config_baud(cfg, cfg->baudrate); in lpc11u6x_uartx_init()
783 data->baudrate = cfg->baudrate; in lpc11u6x_uartx_init()
847 .baudrate = DT_PROP(DT_NODELABEL(uart##idx), current_speed), \