class Environment

Defined at line 448 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 450 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 459 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

void SetInterruptModerationUs (uint32_t us)

Defined at line 486 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 488 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

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

Defined at line 493 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 563 of file ../../src/devices/usb/drivers/dwc3/dwc3-test-fixture.h

ddk_fake::FakeMmioRegRegion & reg_region ()

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

FakePath & path ()

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

FakeUsbPhy & usb_phy ()

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

const fdf_fake::FakeClock & clock_xo ()

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

const fdf_fake::FakeClock & clock_sleep ()

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

const fdf_fake::FakeClock & clock_iface ()

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

const fdf_fake::FakeClock & clock_core ()

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

const fdf_fake::FakeClock & clock_utmi ()

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

const fdf_fake::FakeClock & clock_bus_aggr ()

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

fdf_fake::FakeReset & reset ()

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

const fdf_fake::FakeVreg & vreg ()

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

void set_serve_platform_mocks (bool serve)

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