Searched refs:aos_tty_t (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/drivers/peripheral/uart/include/aos/ |
A D | tty_core.h | 39 } aos_tty_t; typedef 42 void (*unregister)(aos_tty_t *); 43 aos_status_t (*startup)(aos_tty_t *); 44 void (*shutdown)(aos_tty_t *); 45 aos_status_t (*set_attr)(aos_tty_t *); 46 void (*enable_rx)(aos_tty_t *); 47 void (*disable_rx)(aos_tty_t *); 48 void (*start_tx)(aos_tty_t *); 49 void (*stop_tx)(aos_tty_t *); 56 aos_status_t aos_tty_register(aos_tty_t *tty); [all …]
|
A D | tty_csi.h | 12 aos_tty_t tty;
|
/AliOS-Things-master/components/drivers/peripheral/uart/src/ |
A D | tty.c | 41 aos_tty_t *tty; in aos_tty_get_attr() 46 tty = aos_container_of(ref->dev, aos_tty_t, dev); in aos_tty_get_attr() 127 aos_tty_t *tty; in aos_tty_set_attr() 148 tty = aos_container_of(ref->dev, aos_tty_t, dev); in aos_tty_set_attr() 409 aos_tty_t *tty; in aos_tty_read_fancy() 415 tty = aos_container_of(ref->dev, aos_tty_t, dev); in aos_tty_read_fancy() 497 aos_tty_t *tty; in aos_tty_write_fancy() 579 aos_tty_t *tty = aos_container_of(dev, aos_tty_t, dev); in dev_tty_unregister() 589 aos_tty_t *tty = aos_container_of(ref->dev, aos_tty_t, dev); in dev_tty_get() 610 aos_tty_t *tty = aos_container_of(ref->dev, aos_tty_t, dev); in dev_tty_put() [all …]
|
A D | tty_csi.c | 163 aos_tty_t *tty = &tty_csi->tty; in rx_task_func() 188 aos_tty_t *tty = &tty_csi->tty; in tx_task_func() 227 static void tty_csi_unregister(aos_tty_t *tty) in tty_csi_unregister() 236 static aos_status_t tty_csi_startup(aos_tty_t *tty) in tty_csi_startup() 280 static void tty_csi_shutdown(aos_tty_t *tty) in tty_csi_shutdown() 291 static aos_status_t tty_csi_set_attr(aos_tty_t *tty) in tty_csi_set_attr() 319 static void tty_csi_enable_rx(aos_tty_t *tty) in tty_csi_enable_rx() 326 static void tty_csi_disable_rx(aos_tty_t *tty) in tty_csi_disable_rx() 333 static void tty_csi_start_tx(aos_tty_t *tty) in tty_csi_start_tx() 340 static void tty_csi_stop_tx(aos_tty_t *tty) in tty_csi_stop_tx()
|
/AliOS-Things-master/hardware/chip/haas1000/csi/ |
A D | uart.c | 21 aos_tty_t tty; 40 static void tty_uart_unregister(aos_tty_t *tty) in tty_uart_unregister() 44 static aos_status_t tty_uart_startup(aos_tty_t *tty) in tty_uart_startup() 208 static void tty_uart_shutdown(aos_tty_t *tty) in tty_uart_shutdown() 216 static aos_status_t tty_uart_set_attr(aos_tty_t *tty) in tty_uart_set_attr() 239 static void tty_uart_enable_rx(aos_tty_t *tty) in tty_uart_enable_rx() 250 static void tty_uart_disable_rx(aos_tty_t *tty) in tty_uart_disable_rx() 262 static void tty_uart_start_tx(aos_tty_t *tty) in tty_uart_start_tx() 276 static void tty_uart_stop_tx(aos_tty_t *tty) in tty_uart_stop_tx() 307 aos_tty_t *tty = &uart->tty; in tty_uart_rx_handler() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/csi_driver/uart/ |
A D | uart.c | 455 aos_tty_t tty; 585 aos_tty_t *tty = &tty_uart->tty; in uart_rx_irq_handler() 604 aos_tty_t *tty = &tty_uart->tty; in uart_irq_handler() 668 static void uart_unregister(aos_tty_t *tty) in uart_unregister() 672 static aos_status_t uart_startup(aos_tty_t *tty) in uart_startup() 715 static void uart_shutdown(aos_tty_t *tty) in uart_shutdown() 725 static aos_status_t uart_set_attr(aos_tty_t *tty) in uart_set_attr() 753 static void uart_enable_rx(aos_tty_t *tty) in uart_enable_rx() 766 static void uart_disable_rx(aos_tty_t *tty) in uart_disable_rx() 780 static void uart_start_tx(aos_tty_t *tty) in uart_start_tx() [all …]
|
Completed in 10 milliseconds