Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_bcm2711.c131 struct bcm2711_uart_data *uart_data = dev->data; in uart_bcm2711_init() local
134 uart_data->uart_addr = DEVICE_MMIO_GET(dev); in uart_bcm2711_init()
135 bcm2711_mu_lowlevel_init(uart_data->uart_addr, 1, uart_cfg->baud_rate, uart_cfg->clocks); in uart_bcm2711_init()
144 struct bcm2711_uart_data *uart_data = dev->data; in uart_bcm2711_poll_out() local
146 bcm2711_mu_lowlevel_putc(uart_data->uart_addr, c); in uart_bcm2711_poll_out()
151 struct bcm2711_uart_data *uart_data = dev->data; in uart_bcm2711_poll_in() local
153 while (!bcm2711_mu_lowlevel_can_getc(uart_data->uart_addr)) { in uart_bcm2711_poll_in()
157 return sys_read32(uart_data->uart_addr + BCM2711_MU_IO) & 0xFF; in uart_bcm2711_poll_in()
167 struct bcm2711_uart_data *uart_data = dev->data; in uart_bcm2711_fifo_fill() local
171 bcm2711_mu_lowlevel_putc(uart_data->uart_addr, tx_data[num_tx]); in uart_bcm2711_fifo_fill()
[all …]