Lines Matching refs:id
47 uint32_t id = tty->dev.id; in tty_uart_startup() local
199 if (hal_uart_open(id, &cfg)) in tty_uart_startup()
202 hal_set_uart_iomux(id); in tty_uart_startup()
203 hal_uart_irq_set_dma_handler(id, uart->rx_handler, uart->tx_handler, NULL); in tty_uart_startup()
211 uint32_t id = tty->dev.id; in tty_uart_shutdown() local
213 hal_uart_close(id); in tty_uart_shutdown()
225 uint32_t id = uart->tty.dev.id; in start_rx_dma() local
236 hal_uart_dma_recv_mask(id, uart->rx_buf, UART_DMA_RING_BUFFER_SIZE, &desc, &desc_count, &mask); in start_rx_dma()
253 uint32_t id = tty->dev.id; in tty_uart_disable_rx() local
258 hal_uart_stop_dma_recv(id); in tty_uart_disable_rx()
265 uint32_t id = tty->dev.id; in tty_uart_start_tx() local
273 hal_uart_dma_send_sync_cache(id, uart->tx_buf, count, NULL, NULL); in tty_uart_start_tx()
279 uint32_t id = tty->dev.id; in tty_uart_stop_tx() local
286 hal_uart_stop_dma_send(id); in tty_uart_stop_tx()
308 uint32_t id = tty->dev.id; in tty_uart_rx_handler() local
336 uint32_t id = tty->dev.id; in tty_uart_tx_handler() local
354 hal_uart_dma_send_sync_cache(id, uart->tx_buf, count, NULL, NULL); in tty_uart_tx_handler()
372 tty_uarts[1].tty.dev.id = 1; in tty_uart_init()
384 tty_uarts[2].tty.dev.id = 2; in tty_uart_init()