| /drivers/serial/ |
| A D | lpuart_esp32.c | 39 uint8_t flow_ctrl; member 80 (cfg->flow_ctrl > UART_CFG_FLOW_CTRL_RTS_CTS) || in lp_uart_esp32_param_config() 118 uart_hal_set_hw_flow_ctrl(&data->hal, cfg->flow_ctrl, cfg->rx_flow_ctrl_thresh); in lp_uart_esp32_param_config() 189 .flow_ctrl = DT_PROP_OR(DT_NODELABEL(lp_uart), flow_ctrl, UART_CFG_FLOW_CTRL_NONE),
|
| A D | uart_lpc11u6x.c | 166 if (cfg->flow_ctrl != UART_CFG_FLOW_CTRL_NONE) { in lpc11u6x_uart0_configure() 176 data->flow_ctrl = cfg->flow_ctrl; in lpc11u6x_uart0_configure() 191 cfg->flow_ctrl = data->flow_ctrl; in lpc11u6x_uart0_config_get() 366 data->flow_ctrl = UART_CFG_FLOW_CTRL_NONE; in lpc11u6x_uart0_init() 572 if (cfg->flow_ctrl != UART_CFG_FLOW_CTRL_NONE) { in lpc11u6x_uartx_configure() 596 data->flow_ctrl = cfg->flow_ctrl; in lpc11u6x_uartx_configure() 610 cfg->flow_ctrl = data->flow_ctrl; in lpc11u6x_uartx_config_get() 799 data->flow_ctrl = UART_CFG_FLOW_CTRL_NONE; in lpc11u6x_uartx_init()
|
| A D | usart_sam.c | 241 static uint32_t usart_sam_cfg2sam_flow_ctrl(uint8_t flow_ctrl) in usart_sam_cfg2sam_flow_ctrl() argument 243 switch (flow_ctrl) { in usart_sam_cfg2sam_flow_ctrl() 279 cfg->flow_ctrl == UART_CFG_FLOW_CTRL_DTR_DSR) { in usart_sam_configure() 296 | usart_sam_cfg2sam_flow_ctrl(cfg->flow_ctrl); in usart_sam_configure() 319 cfg->flow_ctrl = usart_sam_get_flow_ctrl(dev); in usart_sam_config_get() 521 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE, in usart_sam_init() 524 uart_config.flow_ctrl = UART_CFG_FLOW_CTRL_RTS_CTS; in usart_sam_init()
|
| A D | uart_numaker.c | 160 if (cfg->flow_ctrl == UART_CFG_FLOW_CTRL_NONE) { in uart_numaker_configure() 162 } else if (cfg->flow_ctrl == UART_CFG_FLOW_CTRL_RTS_CTS) { in uart_numaker_configure() 234 if (pData->ucfg.flow_ctrl == UART_CFG_FLOW_CTRL_NONE) { in uart_numaker_init() 236 } else if (pData->ucfg.flow_ctrl == UART_CFG_FLOW_CTRL_RTS_CTS) { in uart_numaker_init() 239 LOG_ERR("H/W flow control (%d) not support", pData->ucfg.flow_ctrl); in uart_numaker_init() 451 .flow_ctrl = COND_CODE_1(DT_INST_PROP_OR(inst, hw_flow_control, 0),\
|
| A D | uart_cc13xx_cc26xx.c | 99 bool flow_ctrl; in uart_cc13xx_cc26xx_configure() local 152 switch (cfg->flow_ctrl) { in uart_cc13xx_cc26xx_configure() 154 flow_ctrl = false; in uart_cc13xx_cc26xx_configure() 157 flow_ctrl = true; in uart_cc13xx_cc26xx_configure() 176 if (flow_ctrl) { in uart_cc13xx_cc26xx_configure() 623 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE, \
|
| A D | uart_native_tty_bottom.h | 50 enum native_tty_bottom_flow_control flow_ctrl; member
|
| A D | uart_mcux_lpuart.c | 65 uint8_t flow_ctrl; member 977 static int mcux_lpuart_config_pinctrl(const struct device *dev, uint8_t flow_ctrl) in mcux_lpuart_config_pinctrl() argument 982 if (flow_ctrl) { in mcux_lpuart_config_pinctrl() 1002 switch (flow_ctrl) { in mcux_lpuart_config_flowctrl() 1021 ret = mcux_lpuart_config_pinctrl(dev, flow_ctrl); in mcux_lpuart_config_flowctrl() 1030 if (flow_ctrl != UART_CFG_FLOW_CTRL_NONE) { in mcux_lpuart_config_flowctrl() 1091 ret = mcux_lpuart_config_flowctrl(dev, cfg->flow_ctrl, uart_config); in mcux_lpuart_configure_basic() 1169 if (cfg->flow_ctrl == UART_CFG_FLOW_CTRL_RS485) { in mcux_lpuart_configure_init() 1354 uart_api_config->flow_ctrl = config->flow_ctrl; in mcux_lpuart_init() 1358 err = mcux_lpuart_config_pinctrl(dev, config->flow_ctrl); in mcux_lpuart_init() [all …]
|
| A D | uart_gecko.c | 392 if (uart_cfg->flow_ctrl) { in uart_gecko_init_pins() 591 if (uart_cfg->flow_ctrl != cfg->flow_ctrl) { in uart_gecko_configure() 617 cfg->flow_ctrl = uart_cfg->flow_ctrl; in uart_gecko_config_get() 650 usartInit.hwFlowControl = uart_cfg->flow_ctrl ? in uart_gecko_init() 845 .flow_ctrl = DT_INST_PROP(idx, hw_flow_control) \ 912 .flow_ctrl = DT_INST_PROP(idx, hw_flow_control) \ 948 .flow_ctrl = DT_INST_PROP(idx, hw_flow_control) \
|
| A D | uart_lpc11u6x.h | 148 uint8_t flow_ctrl; member 186 uint8_t flow_ctrl; member
|
| A D | uart_native_tty.c | 124 if (cfg->flow_ctrl != UART_CFG_FLOW_CTRL_NONE) { in native_tty_conv_to_bottom_cfg() 129 bottom_cfg->flow_ctrl = NTB_FLOW_CTRL_NONE; in native_tty_conv_to_bottom_cfg() 196 cfg->flow_ctrl = UART_CFG_FLOW_CTRL_NONE; in native_tty_conv_from_bottom_cfg() 483 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE, \
|
| A D | uart_numicro.c | 118 if (cfg->flow_ctrl == UART_CFG_FLOW_CTRL_NONE) { in uart_numicro_configure() 120 } else if (cfg->flow_ctrl == UART_CFG_FLOW_CTRL_RTS_CTS) { in uart_numicro_configure()
|
| A D | uart_cc23x0.c | 120 bool flow_ctrl; in uart_cc23x0_configure() local 173 switch (cfg->flow_ctrl) { in uart_cc23x0_configure() 175 flow_ctrl = false; in uart_cc23x0_configure() 178 flow_ctrl = true; in uart_cc23x0_configure() 189 if (flow_ctrl) { in uart_cc23x0_configure() 902 .flow_ctrl = DT_INST_PROP(n, hw_flow_control), \
|
| A D | uart_sam.c | 176 cfg->flow_ctrl != UART_CFG_FLOW_CTRL_NONE) { in uart_sam_configure() 213 cfg->flow_ctrl = UART_CFG_FLOW_CTRL_NONE; in uart_sam_config_get() 415 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE, in uart_sam_init()
|
| A D | uart_apbuart.c | 263 switch (cfg->flow_ctrl) { in apbuart_configure() 297 cfg->flow_ctrl = UART_CFG_FLOW_CTRL_NONE; in apbuart_config_get() 299 cfg->flow_ctrl = UART_CFG_FLOW_CTRL_RTS_CTS; in apbuart_config_get()
|
| A D | uart_smartbond.c | 248 (cfg->flow_ctrl != UART_CFG_FLOW_CTRL_NONE && in uart_smartbond_configure() 249 cfg->flow_ctrl != UART_CFG_FLOW_CTRL_RTS_CTS)) { in uart_smartbond_configure() 254 if (cfg->flow_ctrl == UART_CFG_FLOW_CTRL_RTS_CTS && in uart_smartbond_configure() 303 data->runtime_cfg.mcr_reg_val = cfg->flow_ctrl ? UART2_UART2_MCR_REG_UART_AFCE_Msk : 0; in uart_smartbond_configure() 798 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE, \
|
| A D | uart_native_tty_bottom.c | 299 cfg->flow_ctrl = NTB_FLOW_CTRL_NONE; in native_tty_configure_bottom() 357 cfg->flow_ctrl = NTB_FLOW_CTRL_NONE; in native_tty_read_bottom_cfg()
|
| A D | uart_ene_kb106x.c | 74 switch (cfg->flow_ctrl) { in kb106x_uart_configure() 279 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE, \
|
| A D | uart_renesas_rx_sci_qemu.c | 121 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE, \
|
| A D | uart_neorv32.c | 152 switch (cfg->flow_ctrl) { in neorv32_uart_configure() 160 LOG_ERR("unsupported flow control mode %d", cfg->flow_ctrl); in neorv32_uart_configure() 509 .flow_ctrl = DT_PROP(node_id, hw_flow_control) ? \
|
| A D | uart_bitbang.c | 276 if ((config->uart_cfg->flow_ctrl == UART_CFG_FLOW_CTRL_RS485) && in uart_bitbang_tx_counter_top_interrupt() 284 if ((config->uart_cfg->flow_ctrl == UART_CFG_FLOW_CTRL_RS485) && in uart_bitbang_tx_counter_top_interrupt() 737 if ((config->uart_cfg->flow_ctrl == UART_CFG_FLOW_CTRL_RS485) && in uart_bitbang_init() 764 .flow_ctrl = DT_INST_PROP(index, hw_flow_control) ? UART_CFG_FLOW_CTRL_RTS_CTS \
|
| A D | uart_ene_kb1200.c | 97 switch (cfg->flow_ctrl) { in kb1200_uart_configure() 368 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE, \
|
| A D | uart_max32.c | 231 if (data->conf.flow_ctrl != uart_cfg->flow_ctrl) { in api_configure() 232 if (uart_cfg->flow_ctrl != UART_CFG_FLOW_CTRL_NONE) { in api_configure() 235 data->conf.flow_ctrl = uart_cfg->flow_ctrl; in api_configure() 1048 .uart_conf.flow_ctrl = \
|
| A D | uart_silabs_usart.c | 960 usartInit.hwFlowControl = uart_silabs_cfg2ll_hwctrl(data->uart_cfg->flow_ctrl); in uart_silabs_configure_peripheral() 985 if (cfg->flow_ctrl == UART_CFG_FLOW_CTRL_DTR_DSR || in uart_silabs_configure() 986 cfg->flow_ctrl == UART_CFG_FLOW_CTRL_RS485) { in uart_silabs_configure() 1008 cfg->flow_ctrl = uart_cfg->flow_ctrl; in uart_silabs_config_get() 1167 .flow_ctrl = DT_INST_PROP(idx, hw_flow_control) ? UART_CFG_FLOW_CTRL_RTS_CTS \
|
| A D | uart_bflb.c | 42 uint8_t flow_ctrl; member 349 if (cfg->flow_ctrl & UART_FLOWCTRL_CTS) { in uart_bflb_configure() 558 .flow_ctrl = UART_FLOWCTRL_NONE, \
|
| A D | uart_nrfx_uarte2.c | 224 hwfc = data->uart_config.flow_ctrl == UART_CFG_FLOW_CTRL_RTS_CTS; in on_tx_done() 397 hwfc = data->uart_config.flow_ctrl == UART_CFG_FLOW_CTRL_RTS_CTS; in api_tx() 465 if (data->uart_config.flow_ctrl == UART_CFG_FLOW_CTRL_RTS_CTS) { in get_keep_fifo_content_flag() 671 switch (cfg->flow_ctrl) { in uarte_nrfx_configure() 1044 .flow_ctrl = UARTE_PROP(idx, hw_flow_control) ? \
|