Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/serial/
Duart_altera.c296 const struct uart_config *cfg_in) in uart_altera_check_configuration() argument
300 if ((cfg_stored->parity == cfg_in->parity) in uart_altera_check_configuration()
301 && (cfg_stored->stop_bits == cfg_in->stop_bits) in uart_altera_check_configuration()
302 && (cfg_stored->data_bits == cfg_in->data_bits) in uart_altera_check_configuration()
303 && (cfg_stored->flow_ctrl == cfg_in->flow_ctrl)) { in uart_altera_check_configuration()
320 const struct uart_config *cfg_in) in uart_altera_configure() argument
329 __ASSERT(cfg_in != NULL, "cfg_in is null pointer!"); in uart_altera_configure()
332 if (cfg_in == NULL) { in uart_altera_configure()
337 if (uart_altera_check_configuration(cfg_stored, cfg_in) in uart_altera_configure()
340 divisor_val = (CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC/cfg_in->baudrate) - 1; in uart_altera_configure()
[all …]