Searched refs:cfg_word (Results 1 – 2 of 2) sorted by relevance
84 static int uart_mec5_xlat_cfg(const struct uart_config *cfg, uint32_t *cfg_word) in uart_mec5_xlat_cfg() argument88 if (!cfg || !cfg_word) { in uart_mec5_xlat_cfg()92 *cfg_word = 0u; in uart_mec5_xlat_cfg()98 *cfg_word |= ((temp << MEC5_UART_CFG_WORD_LEN_POS) & MEC5_UART_CFG_WORD_LEN_MSK); in uart_mec5_xlat_cfg()104 *cfg_word |= ((temp << MEC5_UART_CFG_STOP_BITS_POS) & MEC5_UART_CFG_STOP_BITS_MSK); in uart_mec5_xlat_cfg()110 *cfg_word |= ((temp << MEC5_UART_CFG_PARITY_POS) & MEC5_UART_CFG_PARITY_MSK); in uart_mec5_xlat_cfg()
126 uint16_t cfg_word; member