Searched refs:fifo_offset (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/drivers/serial/ |
D | uart_xmc4xxx.c | 863 uint8_t fifo_offset = config->fifo_start_offset; in uart_xmc4xxx_init() local 872 fifo_offset = ROUND_UP(fifo_offset, BIT(config->fifo_tx_size)); in uart_xmc4xxx_init() 873 XMC_USIC_CH_TXFIFO_Configure(config->uart, fifo_offset, config->fifo_tx_size, 1); in uart_xmc4xxx_init() 874 fifo_offset += BIT(config->fifo_tx_size); in uart_xmc4xxx_init() 879 fifo_offset = ROUND_UP(fifo_offset, BIT(config->fifo_rx_size)); in uart_xmc4xxx_init() 880 XMC_USIC_CH_RXFIFO_Configure(config->uart, fifo_offset, config->fifo_rx_size, 0); in uart_xmc4xxx_init() 881 fifo_offset += BIT(config->fifo_rx_size); in uart_xmc4xxx_init() 884 if (fifo_offset > MAX_FIFO_SIZE) { in uart_xmc4xxx_init()
|
/Zephyr-Core-3.7.0/drivers/can/ |
D | can_mcan.c | 681 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()
|