class EventRingSegmentTable

Defined at line 41 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h

Used for managing event ring segments.

This table can be expanded and shrunk as event ring

segments are added and removed.

Public Methods

zx_status_t Init (size_t page_size, const zx::bti & bti, bool is_32bit, uint32_t erst_max, ERSTSZ erst_size, const dma_buffer::BufferFactory & factory, fdf::MmioBuffer * mmio)

Defined at line 34 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.cc

ERSTEntry * entries ()

Defined at line 47 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h

zx_paddr_t erst ()

Defined at line 48 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h

uint32_t SegmentCount ()

Returns the number of segments in this ERST

Defined at line 50 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h

uint64_t TrbCount ()

Defined at line 51 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h

bool CanGrow ()

Defined at line 52 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h

void AddPressure ()

Defined at line 53 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h

size_t Pressure ()

Defined at line 54 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h

void RemovePressure ()

Defined at line 55 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h

zx_status_t AddSegment (zx_paddr_t paddr)

Defined at line 59 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.cc