Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/serial/
Duart_xmc4xxx.c891 uint8_t fifo_offset = config->fifo_start_offset; in uart_xmc4xxx_init() local
900 fifo_offset = ROUND_UP(fifo_offset, BIT(config->fifo_tx_size)); in uart_xmc4xxx_init()
901 XMC_USIC_CH_TXFIFO_Configure(config->uart, fifo_offset, config->fifo_tx_size, 1); in uart_xmc4xxx_init()
902 fifo_offset += BIT(config->fifo_tx_size); in uart_xmc4xxx_init()
907 fifo_offset = ROUND_UP(fifo_offset, BIT(config->fifo_rx_size)); in uart_xmc4xxx_init()
908 XMC_USIC_CH_RXFIFO_Configure(config->uart, fifo_offset, config->fifo_rx_size, 0); in uart_xmc4xxx_init()
909 fifo_offset += BIT(config->fifo_rx_size); in uart_xmc4xxx_init()
912 if (fifo_offset > MAX_FIFO_SIZE) { in uart_xmc4xxx_init()
/Zephyr-latest/drivers/can/
Dcan_mcan.c681 static void can_mcan_get_message(const struct device *dev, uint16_t fifo_offset, in can_mcan_get_message() argument
704 err = can_mcan_read_mram(dev, fifo_offset + get_idx * in can_mcan_get_message()
747 err = can_mcan_read_mram(dev, fifo_offset + get_idx * in can_mcan_get_message()