Namespaces
Records
-
class Bridge -
class Bus -
class BusDeviceInterface -
class BusInspect -
class BusScanEntry -
class CamOffset -
class Capability -
class CapabilityHdr -
class CompositeInfo -
class Config -
class Device -
class DownstreamListTag -
class EcamOffset -
class ExtCapability -
class ExtCapabilityHdr -
class ExtCapabilityIdReg -
class FakeAllocation -
class FakeAllocator -
class FakeBus -
class FakeBusDriver -
class FakeMmioConfig -
class FakePciProtocol -
class FakePciProtocolInternal -
class FakePcirootTests -
class FakePcirootTests_AllocateMsi_Test -
class FakePcirootTests_Constructor_Test -
class FakePcirootTests_DriverShouldProxyConfig_Test -
class FakePcirootTests_GetAddressSpace_Test -
class FakePcirootTests_GetBti_Test -
class FakePcirootTests_GetPciPlatformInfo_Test -
class FakePcirootTests_ReadConfig_Test -
class FakePcirootTests_WriteConfig_Test -
class FakeUpstreamNode -
class FidlDevice -
class HexHelper -
class IncomingNamespace -
class KernelPci -
class MmioConfig -
class MsiCapability -
class MsiControlReg -
class MsixCapability -
class MsixControlReg -
class MsixPbaReg -
class MsixTable -
class MsixTableReg -
class PciAllocation -
class PciAllocator -
class PciBusTests -
class PciBusTests_BdiAllocateMsi_Test -
class PciBusTests_BdiGetBti_Test -
class PciBusTests_BdiLinkUnlinkDevice_Test -
class PciBusTests_Bind_Test -
class PciBusTests_Inspect_Test -
class PciBusTests_IrqRoutingEntries_Test -
class PciBusTests_LegacyIrqSignalTest_Test -
class PciBusTests_Lifecycle_Test -
class PciBusTests_MetadataEmpty_Test -
class PciBusTests_MetadataPopulated_Test -
class PciBusTests_ObeysHeaderTypeMultiFn_Test -
class PciConfigBaseTests_DeviceConfigIntegration_Test -
class PciConfigBaseTests_MmioConfigGetView_Test -
class PciConfigBaseTests_MmioConfigReadWrite_Test -
class PciConfigBaseTests_ProxyConfigGetView_Test -
class PciConfigBaseTests_ProxyConfigReadWrite_Test -
class PciConfigExtendedTests_DeviceConfigIntegration_Test -
class PciConfigExtendedTests_MmioConfigGetView_Test -
class PciConfigExtendedTests_MmioConfigReadWrite_Test -
class PciConfigExtendedTests_ProxyConfigReadWrite_Test -
class PciConfigTests -
class PciDeviceTests -
class PciDeviceTestsCam_DuplicateFixedCapabilityTest_Test -
class PciDeviceTestsCam_InvalidPtrCapabilityTest_Test -
class PciDeviceTestsCam_PtrCycleCapabilityTest_Test -
class PciDeviceTestsCam_StdCapabilityTest_Test -
class PciDeviceTestsExtendedCam_CreationTest_Test -
class PciDeviceTestsExtendedCam_ExtendedCapabilityTest_Test -
class PciDeviceTestsExtendedCam_InspectIrqMode_Test -
class PciDeviceTestsExtendedCam_InspectLegacy_Test -
class PciDeviceTestsExtendedCam_InspectMsi_Test -
class PciDeviceTestsExtendedCam_MsiCapabilityTest_Test -
class PciDeviceTestsExtendedCam_MsixCapabilityTest_Test -
class PciDeviceTestsExtendedCam_PowerStateTransitions_Test -
class PciExpressCapability -
class PciReg16 -
class PciReg32 -
class PciReg8 -
class PciRegionAllocation -
class PciRegionAllocator -
class PciRoot -
class PciRootAllocation -
class PciRootAllocator -
class PcieRoot -
class PmcReg -
class PmcsrReg -
class PowerManagementCapability -
class ProxyConfig -
class Root -
class SharedIrqListTag -
class SharedVector -
class TestBus -
class UpstreamNode
Functions
-
ddk::CompositeNodeSpec CreateCompositeNodeSpec (const CompositeInfo & info)Defined at line 15 of file ../../src/devices/bus/drivers/pci/composite.cc
-
bool ReadCapability (Config & cfg, uint8_t offset, CapabilityHdr * header)Defined at line 23 of file ../../src/devices/bus/drivers/pci/device_caps.cc
-
bool ReadExtCapability (Config & cfg, uint16_t offset, ExtCapabilityHdr * header)Defined at line 52 of file ../../src/devices/bus/drivers/pci/device_caps.cc
-
template <class CamType>zx_vaddr_t GetConfigOffsetInCam (pci_bdf_t bdf, uint8_t start_bus)Defined at line 102 of file ../../src/devices/bus/drivers/pci/config.h
-
zx_vaddr_t GetConfigOffsetInCam (pci_bdf_t bdf, uint8_t start_bus, bool is_extended)Find the offset into the cam region for the given bdf address. Every bus
has 32 devices, every device has 8 functions, and each function has a
configuration access region of 256 bytes base, 4096 if extended. The base
address of the vmo provided to the bus driver corresponds to the
start_bus_num, so offset the bdf address based on the bottom of our ecam.
Defined at line 114 of file ../../src/devices/bus/drivers/pci/config.h
-
void RunAsync (async::Loop & loop, fit::closure f)Any test code which calls a helper method on FakePciProtocol must be executed
an async task, because FakePciProtocol is a FIDL server running on another
thread.
Defined at line 361 of file ../../src/devices/pci/testing/protocol/internal.cc
-
zx_status_t pci_bus_bind (void * ctx, zx_device_t * parent)Defined at line 36 of file ../../src/devices/bus/drivers/pci/bus.cc
-
zx_status_t pci_get_bar (kpci_device * device, uint32_t bar_id, pci_bar_t * out_res)Some functions used by both the Banjo and FIDL implementations are abstracted
out and defined here.
Defined at line 43 of file ../../src/devices/bus/drivers/pci/kpci.cc
-
void pci_get_interrupt_modes (kpci_device * device, pci_interrupt_modes_t * out_modes)Defined at line 69 of file ../../src/devices/bus/drivers/pci/kpci.cc
-
void pci_get_device_info (kpci_device * device, pci_device_info_t * out_info)Defined at line 81 of file ../../src/devices/bus/drivers/pci/kpci.cc
-
zx_status_t pci_get_next_capability (kpci_device * device, uint8_t cap_id, uint8_t offset, uint8_t * out_offset)Defined at line 85 of file ../../src/devices/bus/drivers/pci/kpci.cc
-
zx_status_t device_add_composite_spec (zx_device_t * dev, const char * name, const composite_node_spec_t * spec)MockDevice does not cover adding composite devices within a driver, but
BanjoDevice:Create only needs to think it succeeded.
Defined at line 93 of file ../../src/devices/bus/drivers/pci/test/unit/device_tests.cc
-
zx_status_t pci_get_bti (kpci_device * device, uint32_t index, zx::bti * out_bti)Defined at line 132 of file ../../src/devices/bus/drivers/pci/kpci.cc
-
template <typename T>zx_status_t ReadConfig (zx_handle_t deviceuint16_t offsetT * out_value)Defined at line 155 of file ../../src/devices/bus/drivers/pci/kpci.cc