Searched refs:rx_fifo_pos (Results 1 – 3 of 3) sorted by relevance
65 unsigned int rx_fifo_pos; member108 r = s->rx_fifo[(s->rx_fifo_pos - s->rx_fifo_len) & 7]; in uart_read()143 s->rx_fifo_pos = 0; in uart_write()193 s->rx_fifo[s->rx_fifo_pos] = *buf; in uart_rx()194 s->rx_fifo_pos++; in uart_rx()195 s->rx_fifo_pos &= 0x7; in uart_rx()
52 r = s->rx_fifo[s->rx_fifo_pos]; in uart_read()54 s->rx_fifo_pos = (s->rx_fifo_pos + 1) % UART_FIFO_LENGTH; in uart_read()216 s->rx_fifo_pos = 0; in nrf51_uart_reset()233 uint32_t pos = (s->rx_fifo_pos + s->rx_fifo_len) % UART_FIFO_LENGTH; in uart_receive()297 VMSTATE_UINT32(rx_fifo_pos, NRF51UARTState),
67 unsigned int rx_fifo_pos; member