class Environment

Defined at line 493 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

Public Members

static const size_t kRegSize
static const size_t kMmioRegionSize
static const size_t kRegCount

Public Methods

void Environment ()

Defined at line 495 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

void SetDriverMetadata (std::optional<uint32_t> interrupt_moderation_us, std::optional<uint32_t> fladj, bool refclk_lpm_sel)

Defined at line 504 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

void SetInterruptModerationUs (uint32_t us)

Defined at line 531 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

void SetFrameLengthAdjustment (std::optional<uint32_t> fladj, bool refclk_lpm_sel)

Defined at line 533 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

zx::result<> Serve (fdf::OutgoingDirectory & directory)

Defined at line 538 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

void Reset ()

Note: Only intended for teardown, does not restore default mock behaviors.

Defined at line 608 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

ddk_fake::FakeMmioRegRegion & reg_region ()

Defined at line 616 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

FakePath & path ()

Defined at line 618 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

FakeUsbPhy & usb_phy ()

Defined at line 619 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

const fdf_fake::FakeClock & clock_xo ()

Defined at line 620 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

const fdf_fake::FakeClock & clock_sleep ()

Defined at line 621 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

const fdf_fake::FakeClock & clock_iface ()

Defined at line 622 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

const fdf_fake::FakeClock & clock_core ()

Defined at line 623 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

const fdf_fake::FakeClock & clock_utmi ()

Defined at line 624 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

const fdf_fake::FakeClock & clock_bus_aggr ()

Defined at line 625 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

fdf_fake::FakeReset & reset ()

Defined at line 626 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

const fdf_fake::FakeVreg & vreg ()

Defined at line 627 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

void set_serve_platform_mocks (bool serve)

Defined at line 629 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h