template <typename T>
class Fifo
Defined at line 20 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 25 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
void Clear ()
Defined at line 44 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
void Release ()
Defined at line 45 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t TotalSlots ()
Defined at line 50 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t WriteOffset ()
Defined at line 51 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t ReadOffset ()
Defined at line 52 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
bool IsEmpty ()
Defined at line 53 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t AvailableSlots ()
Defined at line 55 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
size_t GetActiveCount ()
Defined at line 66 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
std::vector<T> Read (size_t count)
Defined at line 73 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
std::vector<T> Read (T *& ptr, size_t count)
Defined at line 78 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
zx_paddr_t Write (T *& ptr, size_t count)
Defined at line 98 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
T * Advance (T *& ptr, size_t count)
Defined at line 115 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
const T * Advance (const T *& ptr, size_t count)
Defined at line 124 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
Protected Methods
zx_paddr_t GetPhys (T * ptr)
Defined at line 134 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo.h
Friends
template <bool manage_lifetimetypename gtest_base>
class TestFixture