Home
last modified time | relevance | path

Searched refs:flow_ctrl (Results 1 – 25 of 57) sorted by relevance

123

/Zephyr-latest/tests/drivers/uart/uart_elementary/src/
Dmain.c144 .flow_ctrl = UART_CFG_FLOW_CTRL_RTS_CTS }; in ZTEST()
168 zassert_equal(test_uart_config.flow_ctrl, test_expected_uart_config.flow_ctrl, in ZTEST()
170 test_uart_config.flow_ctrl, test_expected_uart_config.flow_ctrl); in ZTEST()
185 .flow_ctrl = UART_CFG_FLOW_CTRL_RTS_CTS }; in ZTEST()
205 .flow_ctrl = UART_CFG_FLOW_CTRL_RTS_CTS }; in ZTEST()
242 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE }; in ZTEST()
249 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE }; in ZTEST()
/Zephyr-latest/drivers/serial/
Dusart_sam.c227 static uint32_t usart_sam_cfg2sam_flow_ctrl(uint8_t flow_ctrl) in usart_sam_cfg2sam_flow_ctrl() argument
229 switch (flow_ctrl) { in usart_sam_cfg2sam_flow_ctrl()
265 cfg->flow_ctrl == UART_CFG_FLOW_CTRL_DTR_DSR) { in usart_sam_configure()
282 | usart_sam_cfg2sam_flow_ctrl(cfg->flow_ctrl); in usart_sam_configure()
305 cfg->flow_ctrl = usart_sam_get_flow_ctrl(dev); in usart_sam_config_get()
507 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE, in usart_sam_init()
510 uart_config.flow_ctrl = UART_CFG_FLOW_CTRL_RTS_CTS; in usart_sam_init()
Duart_native_tty_bottom.h50 enum native_tty_bottom_flow_control flow_ctrl; member
Duart_max32.c175 if (data->conf.flow_ctrl != uart_cfg->flow_ctrl) { in api_configure()
176 if (uart_cfg->flow_ctrl != UART_CFG_FLOW_CTRL_NONE) { in api_configure()
179 data->conf.flow_ctrl = uart_cfg->flow_ctrl; in api_configure()
445 .uart_conf.flow_ctrl = \
Duart_lpc11u6x.c166 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()
Duart_cc13xx_cc26xx.c99 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, \
Duart_lpc11u6x.h148 uint8_t flow_ctrl; member
186 uint8_t flow_ctrl; member
Duart_numicro.c118 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()
Duart_native_tty.c121 if (cfg->flow_ctrl != UART_CFG_FLOW_CTRL_NONE) { in native_tty_conv_to_bottom_cfg()
126 bottom_cfg->flow_ctrl = NTB_FLOW_CTRL_NONE; in native_tty_conv_to_bottom_cfg()
396 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE, \
Duart_sam.c176 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()
Duart_apbuart.c263 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()
Duart_smartbond.c248 (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, \
Duart_neorv32.c154 switch (cfg->flow_ctrl) { in neorv32_uart_configure()
162 LOG_ERR("unsupported flow control mode %d", cfg->flow_ctrl); in neorv32_uart_configure()
498 .flow_ctrl = DT_PROP(node_id, hw_flow_control) ? \
Duart_renesas_rz_scif.c135 switch (uart_config->flow_ctrl) { in uart_rz_scif_apply_config()
287 .flow_ctrl = DT_INST_PROP_OR(n, hw_flow_control, \
Duart_mcux_lpuart.c57 uint8_t flow_ctrl; member
1017 switch (cfg->flow_ctrl) { in mcux_lpuart_configure_basic()
1106 if (cfg->flow_ctrl == UART_CFG_FLOW_CTRL_RS485) { in mcux_lpuart_configure_init()
1195 uart_api_config->flow_ctrl = config->flow_ctrl; in mcux_lpuart_init()
1199 if (config->flow_ctrl) { in mcux_lpuart_init()
1370 .flow_ctrl = FLOW_CONTROL(n), \
Duart_ene_kb1200.c97 switch (cfg->flow_ctrl) { in kb1200_uart_configure()
369 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE, \
Duart_nrfx_uarte2.c224 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) ? \
/Zephyr-latest/subsys/debug/gdbstub/
Dgdbstub_backend_serial.c21 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE in z_gdb_backend_init()
/Zephyr-latest/subsys/usb/device/class/
Dcdc_acm.c135 bool flow_ctrl; member
923 switch (cfg->flow_ctrl) { in cdc_acm_configure()
925 dev_data->flow_ctrl = false; in cdc_acm_configure()
928 dev_data->flow_ctrl = true; in cdc_acm_configure()
992 cfg->flow_ctrl = dev_data->flow_ctrl ? UART_CFG_FLOW_CTRL_RTS_CTS : in cdc_acm_config_get()
1041 if (k_is_in_isr() || !dev_data->flow_ctrl) { in cdc_acm_poll_out()
1213 .flow_ctrl = DT_INST_PROP(x, hw_flow_control), \
/Zephyr-latest/tests/drivers/uart/uart_basic_api/src/
Dtest_uart_config.c33 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE
Dtest_uart_config_wide.c33 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE
/Zephyr-latest/samples/drivers/uart/native_tty/src/
Dmain.c23 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE,
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_acm.c113 bool flow_ctrl; member
399 cfg->flow_ctrl = data->flow_ctrl ? UART_CFG_FLOW_CTRL_RTS_CTS : in cdc_acm_update_uart_cfg()
911 if (k_is_in_isr() || !data->flow_ctrl) { in cdc_acm_poll_out()
998 switch (cfg->flow_ctrl) { in cdc_acm_configure()
1000 data->flow_ctrl = false; in cdc_acm_configure()
1003 data->flow_ctrl = true; in cdc_acm_configure()
1260 .flow_ctrl = DT_INST_PROP(n, hw_flow_control), \
/Zephyr-latest/subsys/bluetooth/host/classic/
Drfcomm_internal.h69 uint8_t flow_ctrl; member
/Zephyr-latest/drivers/sensor/a01nyub/
Da01nyub.c31 .flow_ctrl = UART_CFG_FLOW_CTRL_NONE

123