template <typename T>
class Fifo
Defined at line 22 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
Protected Members
unique_ptr buffer_
T * first_
T * write_
T * read_
T * last_
Public Methods
zx::result<> Init (zx::bti & bti, bool cached)
Defined at line 27 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
void Release ()
Defined at line 30 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t TotalSlots ()
Defined at line 35 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t WriteOffset ()
Defined at line 36 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t ReadOffset ()
Defined at line 37 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
bool IsEmpty ()
Defined at line 38 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t AvailableSlots ()
Defined at line 40 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t GetActiveCount ()
Defined at line 51 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
std::vector<T> Read (size_t count)
Defined at line 58 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
std::vector<T> Read (T *& ptr, size_t count)
Defined at line 63 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
zx_paddr_t Write (T *& ptr, size_t count)
Defined at line 83 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
T * Advance (T *& ptr, size_t count)
Defined at line 100 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
const T * Advance (const T *& ptr, size_t count)
Defined at line 109 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
Protected Methods
zx::result<bool> InitBuffer (zx::bti & bti, bool cached)
Defined at line 119 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
zx_paddr_t GetPhys (T * ptr)
Defined at line 157 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
Friends
template <bool manage_lifetimetypename gtest_base>
class TestFixture