Lines Matching refs:new_cfg
391 const struct uart_config *new_cfg) in uart_sam0_configure() argument
404 if (new_cfg->flow_ctrl != UART_CFG_FLOW_CTRL_NONE) { in uart_sam0_configure()
411 dev_data->config_cache.flow_ctrl = new_cfg->flow_ctrl; in uart_sam0_configure()
416 switch (new_cfg->parity) { in uart_sam0_configure()
432 dev_data->config_cache.parity = new_cfg->parity; in uart_sam0_configure()
434 switch (new_cfg->stop_bits) { in uart_sam0_configure()
445 dev_data->config_cache.stop_bits = new_cfg->stop_bits; in uart_sam0_configure()
447 switch (new_cfg->data_bits) { in uart_sam0_configure()
467 dev_data->config_cache.data_bits = new_cfg->data_bits; in uart_sam0_configure()
479 retval = uart_sam0_set_baudrate(usart, new_cfg->baudrate, in uart_sam0_configure()
485 dev_data->config_cache.baudrate = new_cfg->baudrate; in uart_sam0_configure()