Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_mchp_mec5.c84 static int uart_mec5_xlat_cfg(const struct uart_config *cfg, uint32_t *cfg_word) in uart_mec5_xlat_cfg() argument
88 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()
/Zephyr-latest/soc/nuvoton/npcx/common/
Dpinctrl_soc.h126 uint16_t cfg_word; member