Home
last modified time | relevance | path

Searched refs:uart_dev (Results 1 – 2 of 2) sorted by relevance

/mcuboot-latest/boot/zephyr/
Dserial_adapter.c58 static struct device const *uart_dev; variable
72 uart_poll_out(uart_dev, c); in console_out()
138 uart_irq_update(uart_dev); in boot_uart_fifo_callback()
140 if (!uart_irq_rx_ready(uart_dev)) { in boot_uart_fifo_callback()
145 rx = uart_fifo_read(uart_dev, &byte, 1); in boot_uart_fifo_callback()
211 uart_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_uart_mcumgr)); in boot_uart_fifo_init()
213 uart_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_console)); in boot_uart_fifo_init()
217 uart_dev = DEVICE_DT_GET_ONE(zephyr_cdc_acm_uart); in boot_uart_fifo_init()
223 if (!device_is_ready(uart_dev)) { in boot_uart_fifo_init()
234 uart_irq_callback_set(uart_dev, boot_uart_fifo_callback); in boot_uart_fifo_init()
[all …]
/mcuboot-latest/boot/mynewt/boot_uart/src/
Dboot_uart.c43 static struct uart_dev *bs_uart;
61 bs_uart = (struct uart_dev *)os_dev_open(MYNEWT_VAL(CONSOLE_UART_DEV), in boot_uart_open()