Home
last modified time | relevance | path

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

12

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/
Dhcc_host.c216 hcc_tx_queues->queues[i].flow_ctrl.enable = HI_TRUE;
217 hcc_tx_queues->queues[i].flow_ctrl.flow_type = HCC_FLOWCTRL_SDIO;
218 hcc_tx_queues->queues[i].flow_ctrl.is_stopped = HI_FALSE;
219 hcc_tx_queues->queues[i].flow_ctrl.low_waterline = THRESHOLD_SIZE_512_BYTES;
220 hcc_tx_queues->queues[i].flow_ctrl.high_waterline = THRESHOLD_SIZE_1024_BYTES;
224 hcc_rx_queues->queues[i].flow_ctrl.enable = HI_TRUE;
225 hcc_rx_queues->queues[i].flow_ctrl.is_stopped = HI_FALSE;
226 hcc_rx_queues->queues[i].flow_ctrl.low_waterline = THRESHOLD_SIZE_128_BYTES;
227 hcc_rx_queues->queues[i].flow_ctrl.high_waterline = THRESHOLD_SIZE_512_BYTES;
231 hcc_tx_queues->queues[DATA_HI_QUEUE].flow_ctrl.flow_type = HCC_FLOWCTRL_CREDIT;
[all …]
/device/soc/esp/esp32/components/hal/
Duart_hal.c68 void uart_hal_set_hw_flow_ctrl(uart_hal_context_t *hal, uart_hw_flowcontrol_t flow_ctrl, uint8_t rx… in uart_hal_set_hw_flow_ctrl() argument
70 uart_ll_set_hw_flow_ctrl(hal->dev, flow_ctrl, rx_thresh); in uart_hal_set_hw_flow_ctrl()
73 void uart_hal_get_hw_flow_ctrl(uart_hal_context_t *hal, uart_hw_flowcontrol_t *flow_ctrl) in uart_hal_get_hw_flow_ctrl() argument
75 uart_ll_get_hw_flow_ctrl(hal->dev, flow_ctrl); in uart_hal_get_hw_flow_ctrl()
78 void uart_hal_set_sw_flow_ctrl(uart_hal_context_t *hal, uart_sw_flowctrl_t *flow_ctrl, bool sw_flow… in uart_hal_set_sw_flow_ctrl() argument
80 uart_ll_set_sw_flow_ctrl(hal->dev, flow_ctrl, sw_flow_ctrl_en); in uart_hal_set_sw_flow_ctrl()
/device/soc/esp/esp32/components/hal/esp32/include/hal/
Duart_ll.h472 FORCE_INLINE_ATTR void uart_ll_set_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t flow_ctrl, ui… in uart_ll_set_hw_flow_ctrl() argument
475 if(flow_ctrl & UART_HW_FLOWCTRL_RTS) { in uart_ll_set_hw_flow_ctrl()
481 if(flow_ctrl & UART_HW_FLOWCTRL_CTS) { in uart_ll_set_hw_flow_ctrl()
496 FORCE_INLINE_ATTR void uart_ll_get_hw_flow_ctrl(uart_dev_t *hw, uart_hw_flowcontrol_t *flow_ctrl) in uart_ll_get_hw_flow_ctrl() argument
498 *flow_ctrl = UART_HW_FLOWCTRL_DISABLE; in uart_ll_get_hw_flow_ctrl()
500 *flow_ctrl |= UART_HW_FLOWCTRL_RTS; in uart_ll_get_hw_flow_ctrl()
503 *flow_ctrl |= UART_HW_FLOWCTRL_CTS; in uart_ll_get_hw_flow_ctrl()
516 FORCE_INLINE_ATTR void uart_ll_set_sw_flow_ctrl(uart_dev_t *hw, uart_sw_flowctrl_t *flow_ctrl, bool… in uart_ll_set_sw_flow_ctrl() argument
521 hw->swfc_conf.xon_threshold = flow_ctrl->xon_thrd; in uart_ll_set_sw_flow_ctrl()
522 hw->swfc_conf.xoff_threshold = flow_ctrl->xoff_thrd; in uart_ll_set_sw_flow_ctrl()
[all …]
/device/soc/esp/esp32/components/hal/include/hal/
Duart_hal.h258 void uart_hal_set_hw_flow_ctrl(uart_hal_context_t *hal, uart_hw_flowcontrol_t flow_ctrl, uint8_t rx…
299 void uart_hal_set_sw_flow_ctrl(uart_hal_context_t *hal, uart_sw_flowctrl_t *flow_ctrl, bool sw_flow…
432 void uart_hal_get_hw_flow_ctrl(uart_hal_context_t *hal, uart_hw_flowcontrol_t *flow_ctrl);
Duart_types.h144 uart_hw_flowcontrol_t flow_ctrl; /*!< UART HW flow control mode (cts/rts)*/ member
/device/soc/winnermicro/wm800/board/platform/drivers/uart/
Dwm_uart.c237 …T_STATUS_T tls_uart_set_flow_ctrl(struct tls_uart_port * port, TLS_UART_FLOW_CTRL_MODE_T flow_ctrl) in tls_uart_set_flow_ctrl() argument
243 switch (flow_ctrl) { in tls_uart_set_flow_ctrl()
248 if (TLS_UART_FLOW_CTRL_HARDWARE == port->opts.flow_ctrl) { in tls_uart_set_flow_ctrl()
267 if (port->opts.flow_ctrl == TLS_UART_FLOW_CTRL_HARDWARE && status == 0 && port->hw_stopped) { in tls_uart_set_fc_status()
306 port->opts.flow_ctrl = opts->flow_ctrl; in tls_uart_config()
307 tls_uart_set_flow_ctrl(port, opts->flow_ctrl); in tls_uart_config()
334 && (port->opts.flow_ctrl == TLS_UART_FLOW_CTRL_HARDWARE)) in uart_handle_cts_change()
490 if ((TLS_UART_FLOW_CTRL_HARDWARE == port->opts.flow_ctrl) in tls_set_uart_rx_status()
802 opt.flow_ctrl = TLS_UART_FLOW_CTRL_NONE; in tls_uart_port_init()
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/mlmr/
Dmlmr.h172 sdk_err_t gus_rx_flow_ctrl_set(uint8_t conn_idx, uint8_t flow_ctrl);
Dmlmr.c470 sdk_err_t gus_rx_flow_ctrl_set(uint8_t conn_idx, uint8_t flow_ctrl)
482 send_cmd.value = &flow_ctrl;
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/gus/
Dgus.h172 sdk_err_t gus_rx_flow_ctrl_set(uint8_t conn_idx, uint8_t flow_ctrl);
Dgus.c421 sdk_err_t gus_rx_flow_ctrl_set(uint8_t conn_idx, uint8_t flow_ctrl) in gus_rx_flow_ctrl_set() argument
433 send_cmd.value = &flow_ctrl; in gus_rx_flow_ctrl_set()
/device/soc/esp/esp32/components/driver/include/driver/
Duart.h249 esp_err_t uart_set_hw_flow_ctrl(uart_port_t uart_num, uart_hw_flowcontrol_t flow_ctrl, uint8_t rx_t…
275 esp_err_t uart_get_hw_flow_ctrl(uart_port_t uart_num, uart_hw_flowcontrol_t* flow_ctrl);
/device/board/openvalley/niobeu4/liteos_m/hals/iot_hardware/wifiiot_lite/
Dhal_iot_uart.c266 uart->attr.flow_ctrl = HoflowCtrlToESPflowCtrl(flowCtrl); in IoTUartSetFlowCtrl()
267 assert(uart->attr.flow_ctrl != UART_HW_FLOWCTRL_MAX); in IoTUartSetFlowCtrl()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/uart/
Dhi_uart.c278 hi_u32 hi_uart_set_flow_ctrl(hi_uart_idx id, hi_flow_ctrl flow_ctrl) in hi_uart_set_flow_ctrl() argument
284 if (port_num >= UART_NUM || flow_ctrl > HI_FLOW_CTRL_CTS_ONLY) { in hi_uart_set_flow_ctrl()
292 uart_attr.flow_ctrl = (hi_u8) flow_ctrl; in hi_uart_set_flow_ctrl()
Dserial_dw.h39 hi_u8 flow_ctrl; /* 0: None; 1:rts&&cts. 2:only rts; 3:only cts */ member
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_system/
Dprintf_base.c54 .flow_ctrl = UART_FLOWCTRL_DISABLE, in bk_printf_init()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/include/driver/hal/
Dhal_uart_types.h105 uart_flow_control_t flow_ctrl; /**< UART flow control */ member
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/mlmr_c/
Dmlmr_c.h219 sdk_err_t gus_c_rx_flow_ctrl_set(uint8_t conn_idx, uint8_t flow_ctrl);
Dmlmr_c.c398 sdk_err_t gus_c_rx_flow_ctrl_set(uint8_t conn_idx, uint8_t flow_ctrl)
409 write_attr_value.p_value = &flow_ctrl;
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/gus_c/
Dgus_c.h219 sdk_err_t gus_c_rx_flow_ctrl_set(uint8_t conn_idx, uint8_t flow_ctrl);
Dgus_c.c326 sdk_err_t gus_c_rx_flow_ctrl_set(uint8_t conn_idx, uint8_t flow_ctrl) in gus_c_rx_flow_ctrl_set() argument
337 write_attr_value.p_value = &flow_ctrl; in gus_c_rx_flow_ctrl_set()
/device/soc/beken/bk7235/hals/iot_hardware/wifiiot_lite/
Dhal_iot_uart.c55 dst->flow_ctrl = UART_FLOWCTRL_DISABLE; in convert_uart_config()
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_uart.h292 hi_u32 hi_uart_set_flow_ctrl(hi_uart_idx id, hi_flow_ctrl flow_ctrl);
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_cli/
Dcli_uart.c74 config.flow_ctrl = os_strtoul(argv[7], NULL, 10); in cli_uart_cmd()
327 config.flow_ctrl = UART_FLOWCTRL_DISABLE; in cli_uart_test_cmd()
/device/soc/winnermicro/wm800/board/src/app/wm_atcmd/
Dwm_cmdp.c812 params->flow_ctrl = uart_params.flow; in tls_cmd_get_uart_params()
867 if (params->flow_ctrl > 1) in tls_cmd_set_uart_params()
889 uart1_port->opts.flow_ctrl = (TLS_UART_FLOW_CTRL_MODE_T)params->flow_ctrl; in tls_cmd_set_uart_params()
894 uart_params.flow = params->flow_ctrl; in tls_cmd_set_uart_params()
/device/soc/esp/esp32/components/esp_rom/include/esp32/rom/
Duart.h157 UartFlowCtrl flow_ctrl; member

12