class EventRing
Defined at line 87 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h
Public Methods
zx_status_t Init (size_t page_size, const zx::bti & bti, fdf::MmioBuffer * buffer, bool is_32bit, uint32_t erst_max, ERSTSZ erst_size, ERDP erdp_reg, IMAN iman_reg, uint8_t cap_length, HCSPARAMS1 hcs_params_1, CommandRing * command_ring, DoorbellOffset doorbell_offset, UsbXhci * hci, HCCPARAMS1 hcc_params_1, uint64_t * dcbaa, uint16_t interrupter, inspect::Node * interrupter_node)
Adds a segment to the event ring.
Defined at line 78 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.cc
void RemovePressure ()
Defined at line 81 of file ../../src/devices/usb/drivers/xhci/tests/xhci-transfer-ring-test.cc
zx_paddr_t erst ()
Disable thread safety analysis here.
We don't need to hold the mutex just to read the ERST
paddr, as this will never change (it is effectively a constant).
We don't need to incurr the overhead of acquiring the mutex for this.
Defined at line 99 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h
zx_status_t AddSegmentIfNoneLock ()
Defined at line 102 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h
zx_paddr_t erdp_phys ()
Defined at line 106 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h
TRB * erdp_virt ()
Defined at line 107 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h
void ScheduleTask (TRBPromise promise)
Defined at line 111 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.h
size_t GetPressure ()
Defined at line 137 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.cc
zx_status_t HandleIRQ ()
Defined at line 570 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.cc
zx_status_t Ring0Bringup ()
Defined at line 396 of file ../../src/devices/usb/drivers/xhci/xhci-event-ring.cc
void ScheduleTask (fpromise::promise<void, zx_status_t> promise)
Defined at line 181 of file ../../src/devices/usb/drivers/xhci/tests/xhci-endpoint-test.cc
void RunUntilIdle ()
Defined at line 192 of file ../../src/devices/usb/drivers/xhci/tests/xhci-endpoint-test.cc