Searched refs:read_ptr (Results 1 – 2 of 2) sorted by relevance
67 buf_ptr = buf->read_ptr; in sdio_ringbuf_offset_ptr()100 HAL_ASSERT(buf->free_ptr == buf->read_ptr); //must return before recv again in sdio_ringbuf_recv()102 if (buf->read_ptr == buf->write_ptr) return ESP_ERR_NOT_FOUND; // no data in sdio_ringbuf_recv()107 buf->read_ptr = buf->write_ptr; in sdio_ringbuf_recv()109 buf->read_ptr = get_start; in sdio_ringbuf_recv()116 *end = (sdio_slave_hal_send_desc_t *) buf->read_ptr; in sdio_ringbuf_recv()124 size_t size = (buf->read_ptr + buf->size - buf->free_ptr) % buf->size; in sdio_ringbuf_return()127 buf->free_ptr = buf->read_ptr; in sdio_ringbuf_return()133 if (buf->read_ptr != buf->write_ptr) { in sdio_ringbuf_peek_front()147 return (buf->read_ptr == buf->write_ptr); in sdio_ringbuf_empty()[all …]
164 uint8_t* read_ptr; member