Searched refs:cfg_in (Results 1 – 1 of 1) sorted by relevance
296 const struct uart_config *cfg_in) in uart_altera_check_configuration() argument300 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() argument329 __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 …]