class Environment

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

void SetInterruptModerationUs (uint32_t us)

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

void SetPhyMetadata (fuchsia_hardware_usb_phy::Metadata metadata)

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

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

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

ddk_fake::FakeMmioRegRegion & reg_region ()

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

FakePath & path ()

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

FakeUsbPhy & usb_phy ()

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

const fdf_fake::FakeClock & clock_xo ()

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

const fdf_fake::FakeClock & clock_sleep ()

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

const fdf_fake::FakeClock & clock_iface ()

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

const fdf_fake::FakeClock & clock_core ()

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

const fdf_fake::FakeClock & clock_utmi ()

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

const fdf_fake::FakeClock & clock_bus_aggr ()

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

fdf_fake::FakeReset & reset ()

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

const fdf_fake::FakeVreg & vreg ()

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

void set_serve_platform_mocks (bool serve)

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