Home
last modified time | relevance | path

Searched refs:uart_port (Results 1 – 3 of 3) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/uart/
A Dhal_uart.c163 return (uart_port < UART_MAX); in uart_port_is_valid()
388 uart_force_idle(uart_port); in uart_handle_busy()
426 uart_port_t uart_port = uart_priv->uart_port; in uart_irq_handler() local
566 switch (uart_port) in uart_pinctrl_init()
597 switch (uart_port) in uart_pinctrl_uninit()
645 uart_clk_init(uart_port, true); in hal_uart_init()
648 uart_pinctrl_init(uart_port); in hal_uart_init()
655 uart_reset(uart_port); in hal_uart_init()
663 if (uart_priv->uart_port == uart_port && uart_priv->irqn == irqn) in hal_uart_init()
669 uart_priv->uart_port = uart_port; in hal_uart_init()
[all …]
/bsp/allwinner/libraries/drivers/
A Ddrv_uart.c372 uart_port_t uart_port; member
405 .uart_port = UART_0,
412 .uart_port = UART_1,
419 .uart_port = UART_2,
426 .uart_port = UART_3,
433 .uart_port = UART_4,
440 .uart_port = UART_5,
592 uart_set_fifo(uart->uart_port); in _uart_configure()
593 uart_forcechange(uart->uart_port); in _uart_configure()
943 switch (uart_port) in uart_pinctrl_init()
[all …]
/bsp/allwinner/libraries/sunxi-hal/include/hal/
A Dhal_uart.h217 uart_port_t uart_port; member
361 int32_t (*initialize)(int32_t uart_port);
364 int32_t (*uninitialize)(int32_t uart_port);
385 int32_t (*control)(int32_t uart_port, int cmd, void *args);
414 int32_t hal_uart_init(int32_t uart_port);
415 int32_t hal_uart_deinit(int32_t uart_port);
424 int32_t hal_uart_control(int32_t uart_port, int cmd, void *args);
435 void hal_uart_set_hardware_flowcontrol(uart_port_t uart_port);
436 void hal_uart_disable_flowcontrol(uart_port_t uart_port);
437 void hal_uart_set_loopback(uart_port_t uart_port, bool enable);

Completed in 10 milliseconds