template <typename T>
class Fifo
Defined at line 26 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
Protected Members
unique_ptr buffer_
bool cached_
T * first_
T * write_
T * read_
T * last_
Public Methods
zx::result<> Init (zx::bti & bti, bool cached)
Defined at line 31 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
void Clear ()
Defined at line 49 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
void Release ()
Defined at line 50 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t TotalSlots ()
Defined at line 55 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t WriteOffset ()
Defined at line 56 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t ReadOffset ()
Defined at line 57 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
bool IsEmpty ()
Defined at line 58 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t AvailableSlots ()
Defined at line 60 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t GetActiveCount ()
Defined at line 71 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
std::vector<T> Read (size_t count)
Defined at line 78 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
std::vector<T> Read (T *& ptr, size_t count)
Defined at line 83 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
zx_paddr_t Write (T *& ptr, size_t count)
Defined at line 99 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
T * Advance (T *& ptr, size_t count)
Defined at line 111 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
const T * Advance (const T *& ptr, size_t count)
Defined at line 120 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
Protected Methods
zx_status_t CacheFlushIfCached (dma_buffer::ContiguousBuffer *buffer,zx_off_toffset,size_tlength)
Defined at line 130 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
zx_status_t CacheFlushInvalidateIfCashed (dma_buffer::ContiguousBuffer *buffer,zx_off_toffset,size_tlength)
Defined at line 137 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
zx_paddr_t GetPhys (T * ptr)
Defined at line 145 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
Friends
template <bool manage_lifetimetypename gtest_base>
class TestFixture