Enumerations

enum class MetricEventType : uint32_t
Name Value Comments
kDevtDisconnect DEVT_DISCONNECT --
kDevtUsbReset DEVT_USB_RESET --
kDevtConnectionDone DEVT_CONNECTION_DONE --
kDevtLinkStateChange DEVT_LINK_STATE_CHANGE --
kDevtRemoteWakeup DEVT_REMOTE_WAKEUP --
kDevtHibernateRequest DEVT_HIBERNATE_REQUEST --
kDevtSuspendEntry DEVT_SUSPEND_ENTRY --
kDevtSof DEVT_SOF --
kDevtUnknown8 8

Unused event type

kDevtErraticError DEVT_ERRATIC_ERROR --
kDevtCommandComplete DEVT_COMMAND_COMPLETE --
kDevtEventBufOverflow DEVT_EVENT_BUF_OVERFLOW --
kDevtVendorTestLmp DEVT_VENDOR_TEST_LMP --
kDevtStoppedDisconnect DEVT_STOPPED_DISCONNECT --
kDevtL1ResumeDetect DEVT_L1_RESUME_DETECT --
kDevtLdmResponse DEVT_LDM_RESPONSE --
kDevtUnknown 16 --
kDevtNumEventTypes 17

Keeps track of the number of event types

Defined at line 23 of file ../../src/devices/usb/drivers/dwc3/dwc3-metrics.h

Records

Functions

  • zx_status_t CacheFlush (dma_buffer::ContiguousBuffer * buffer, zx_off_t offset, size_t length)

    A dma_buffer::ContiguousBuffer is cached, but leaves cache management to the user. These methods

    wrap zx_cache_flush with sensible boundary checking and validation.

    Defined at line 13 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo-test.cc

  • zx_status_t CacheFlushInvalidate (dma_buffer::ContiguousBuffer * buffer, zx_off_t offset, size_t length)

    Defined at line 17 of file ../../src/devices/usb/drivers/dwc3/dwc3-fifo-test.cc