Searched refs:cfg_in (Results 1 – 2 of 2) sorted by relevance
333 const struct uart_config *cfg_in) in uart_intel_lw_check_configuration() argument337 if ((cfg_stored->parity == cfg_in->parity) in uart_intel_lw_check_configuration()338 && (cfg_stored->stop_bits == cfg_in->stop_bits) in uart_intel_lw_check_configuration()339 && (cfg_stored->data_bits == cfg_in->data_bits) in uart_intel_lw_check_configuration()340 && (cfg_stored->flow_ctrl == cfg_in->flow_ctrl)) { in uart_intel_lw_check_configuration()357 const struct uart_config *cfg_in) in uart_intel_lw_configure() argument366 __ASSERT(cfg_in != NULL, "cfg_in is null pointer!"); in uart_intel_lw_configure()369 if (cfg_in == NULL) { in uart_intel_lw_configure()374 if (uart_intel_lw_check_configuration(cfg_stored, cfg_in) in uart_intel_lw_configure()377 if (cfg_stored->baudrate != cfg_in->baudrate) { in uart_intel_lw_configure()[all …]
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 …]