ReactOS 0.4.16-dev-334-g4d9f67c
|
#include <fxdmaenabler.hpp>
Protected Attributes | |
PDEVICE_OBJECT | m_FDO |
PDEVICE_OBJECT | m_PDO |
union { | |
FxDmaDescription m_SimplexAdapterInfo | |
FxDmaDescription m_DuplexAdapterInfo [FxDuplexDmaDescriptionTypeMax] | |
}; | |
WDF_DMA_PROFILE | m_Profile |
BOOLEAN | m_IsAdded: 1 |
BOOLEAN | m_IsConfigured: 1 |
BOOLEAN | m_IsBusMaster: 1 |
BOOLEAN | m_IsScatterGather: 1 |
BOOLEAN | m_IsDuplexTransfer: 1 |
BOOLEAN | m_IsSGListAllocated: 1 |
ULONG | m_CommonBufferAlignment |
ULONG | m_MaximumLength |
ULONG | m_MaxSGElements |
size_t | m_SGListSize |
union { | |
struct { | |
NPAGED_LOOKASIDE_LIST Lookaside | |
} ScatterGatherProfile | |
struct { | |
PSCATTER_GATHER_LIST List | |
} SystemProfile | |
} | m_SGList |
Protected Attributes inherited from FxObject | |
union { | |
CfxDeviceBase * m_DeviceBase | |
CfxDevice * m_Device | |
}; | |
Friends | |
class | FxDmaTransactionBase |
class | FxDmaPacketTransaction |
class | FxDmaScatterGatherTransaction |
class | FxDmaSystemTransaction |
Definition at line 66 of file fxdmaenabler.hpp.
FxDmaEnabler::FxDmaEnabler | ( | __in PFX_DRIVER_GLOBALS | FxDriverGlobals | ) |
Definition at line 30 of file fxdmaenabler.cpp.
FxDmaEnabler::~FxDmaEnabler | ( | ) |
Definition at line 71 of file fxdmaenabler.cpp.
VOID FxDmaEnabler::AllocateCommonBuffer | ( | __in size_t | Length, |
__deref_out_opt PVOID * | BufferVA, | ||
__out PHYSICAL_ADDRESS * | BufferPA | ||
) |
Definition at line 1053 of file fxdmaenabler.cpp.
Referenced by FxCommonBuffer::AllocateCommonBuffer(), and AllocateCommonBuffer().
|
private |
Definition at line 606 of file fxdmaenabler.cpp.
Referenced by Initialize().
|
private |
Definition at line 748 of file fxdmaenabler.cpp.
Referenced by ConfigureBusMasterAdapters(), and ConfigureSystemAdapter().
_Must_inspect_result_ NTSTATUS FxDmaEnabler::ConfigureSystemAdapter | ( | __in PWDF_DMA_SYSTEM_PROFILE_CONFIG | Config, |
__in WDF_DMA_DIRECTION | ConfigDirection | ||
) |
Definition at line 481 of file fxdmaenabler.cpp.
Reimplemented from FxObject.
Definition at line 103 of file fxdmaenabler.cpp.
VOID FxDmaEnabler::FreeCommonBuffer | ( | __in size_t | Length, |
__in PVOID | BufferVA, | ||
__in PHYSICAL_ADDRESS | BufferPA | ||
) |
Definition at line 1090 of file fxdmaenabler.cpp.
Referenced by FreeCommonBuffer(), and FxCommonBuffer::FreeCommonBuffer().
|
private |
Definition at line 882 of file fxdmaenabler.cpp.
Referenced by ReleaseResources().
Definition at line 153 of file fxdmaenabler.hpp.
Referenced by FxCommonBuffer::FxCommonBuffer().
|
inline |
Definition at line 171 of file fxdmaenabler.hpp.
|
inline |
Definition at line 245 of file fxdmaenabler.hpp.
Referenced by ConfigureDmaAdapter(), ConfigureSystemAdapter(), InitializeTransferContext(), and UsesDmaV3().
|
inline |
Definition at line 162 of file fxdmaenabler.hpp.
Referenced by if(), and FxDmaPacketTransaction::StartTransfer().
Definition at line 140 of file fxdmaenabler.hpp.
Definition at line 181 of file fxdmaenabler.hpp.
Referenced by FxDmaScatterGatherTransaction::_AdapterListControl().
|
inline |
Definition at line 199 of file fxdmaenabler.hpp.
|
inline |
Definition at line 273 of file fxdmaenabler.hpp.
Referenced by AllocateCommonBuffer(), ConfigureBusMasterAdapters(), ConfigureSystemAdapter(), FreeCommonBuffer(), GetMaximumLength(), FxDmaTransactionBase::Initialize(), ReleaseResources(), and FxDmaPacketTransaction::ReserveAdapter().
Definition at line 303 of file fxdmaenabler.hpp.
|
inline |
Definition at line 260 of file fxdmaenabler.hpp.
Referenced by ConfigureBusMasterAdapters(), ConfigureSystemAdapter(), FxDmaTransactionBase::Initialize(), ReleaseResources(), and FxDmaPacketTransaction::ReserveAdapter().
_Must_inspect_result_ NTSTATUS FxDmaEnabler::Initialize | ( | __in PWDF_DMA_ENABLER_CONFIG | Config, |
__inout FxDeviceBase * | Device | ||
) |
Definition at line 117 of file fxdmaenabler.cpp.
|
private |
Definition at line 781 of file fxdmaenabler.cpp.
Referenced by ConfigureDmaAdapter().
VOID FxDmaEnabler::InitializeTransferContext | ( | __out PVOID | Context, |
__in WDF_DMA_DIRECTION | Direction | ||
) |
Definition at line 1109 of file fxdmaenabler.cpp.
Referenced by FxDmaTransactionBase::Initialize(), and FxDmaPacketTransaction::ReserveAdapter().
Definition at line 228 of file fxdmaenabler.hpp.
Referenced by FxDmaPacketTransaction::_AdapterControl(), FxDmaPacketTransaction::ReserveAdapter(), FxDmaPacketTransaction::StageTransfer(), and FxDmaPacketTransaction::StartTransfer().
|
inline |
Definition at line 237 of file fxdmaenabler.hpp.
_Must_inspect_result_ NTSTATUS FxDmaEnabler::PowerDown | ( | VOID | ) |
Definition at line 988 of file fxdmaenabler.cpp.
_Must_inspect_result_ NTSTATUS FxDmaEnabler::PowerUp | ( | VOID | ) |
Definition at line 929 of file fxdmaenabler.cpp.
Definition at line 893 of file fxdmaenabler.cpp.
Referenced by Dispose(), and Initialize().
Definition at line 905 of file fxdmaenabler.cpp.
Definition at line 190 of file fxdmaenabler.hpp.
Definition at line 208 of file fxdmaenabler.hpp.
Definition at line 285 of file fxdmaenabler.hpp.
Referenced by FxDmaPacketTransaction::AcquireDevice(), FxDmaPacketTransaction::AllocateAdapterChannel(), FxDmaScatterGatherTransaction::BuildScatterGatherList(), FxDmaSystemTransaction::CancelMappedTransfer(), FxDmaPacketTransaction::FlushAdapterBuffers(), FxDmaScatterGatherTransaction::GetScatterGatherList(), GetTransferContextSize(), FxDmaTransactionBase::GetTransferInfo(), FxDmaTransactionBase::Initialize(), InitializeTransferContext(), FxDmaPacketTransaction::MapTransfer(), FxDmaPacketTransaction::ReleaseDevice(), FxDmaPacketTransaction::ReserveAdapter(), FxDmaPacketTransaction::StartTransfer(), and SupportsChainedMdls().
|
friend |
Definition at line 69 of file fxdmaenabler.hpp.
|
friend |
Definition at line 70 of file fxdmaenabler.hpp.
|
friend |
Definition at line 71 of file fxdmaenabler.hpp.
|
friend |
Definition at line 68 of file fxdmaenabler.hpp.
union { ... } FxDmaEnabler::@4826 |
PSCATTER_GATHER_LIST FxDmaEnabler::List |
Definition at line 418 of file fxdmaenabler.hpp.
NPAGED_LOOKASIDE_LIST FxDmaEnabler::Lookaside |
Definition at line 406 of file fxdmaenabler.hpp.
|
protected |
Definition at line 371 of file fxdmaenabler.hpp.
Referenced by ConfigureBusMasterAdapters(), FxDmaEnabler(), and GetAlignment().
|
private |
Definition at line 444 of file fxdmaenabler.hpp.
Referenced by FxDmaEnabler(), PowerDown(), and PowerUp().
|
private |
Definition at line 443 of file fxdmaenabler.hpp.
Referenced by FxDmaEnabler(), PowerDown(), and PowerUp().
|
private |
Definition at line 445 of file fxdmaenabler.hpp.
Referenced by FxDmaEnabler(), and PowerUp().
FxDmaDescription FxDmaEnabler::m_DuplexAdapterInfo[FxDuplexDmaDescriptionTypeMax] |
Definition at line 332 of file fxdmaenabler.hpp.
Referenced by FxDmaEnabler(), GetDmaDescription(), GetReadDmaDescription(), and GetWriteDmaDescription().
|
private |
Definition at line 436 of file fxdmaenabler.hpp.
Referenced by FxDmaEnabler(), Initialize(), and PowerDown().
|
private |
Definition at line 435 of file fxdmaenabler.hpp.
Referenced by FxDmaEnabler(), Initialize(), and PowerUp().
|
private |
Definition at line 433 of file fxdmaenabler.hpp.
Referenced by FxDmaEnabler(), Initialize(), and PowerUp().
|
private |
Definition at line 434 of file fxdmaenabler.hpp.
Referenced by FxDmaEnabler(), Initialize(), and PowerDown().
|
private |
Definition at line 437 of file fxdmaenabler.hpp.
Referenced by FxDmaEnabler(), Initialize(), and PowerUp().
|
private |
Definition at line 438 of file fxdmaenabler.hpp.
Referenced by FxDmaEnabler(), Initialize(), and PowerDown().
|
protected |
Definition at line 318 of file fxdmaenabler.hpp.
Referenced by FxDmaPacketTransaction::AllocateAdapterChannel(), FxDmaScatterGatherTransaction::BuildScatterGatherList(), FxDmaTransactionBase::CancelResourceAllocation(), ConfigureBusMasterAdapters(), FxDmaEnabler(), FxDmaScatterGatherTransaction::GetScatterGatherList(), and Initialize().
|
protected |
Definition at line 343 of file fxdmaenabler.hpp.
Referenced by Dispose(), FxDmaEnabler(), and Initialize().
|
protected |
Definition at line 354 of file fxdmaenabler.hpp.
Referenced by Initialize(), InitializeResources(), IsBusMaster(), RevokeResources(), SupportsChainedMdls(), and ~FxDmaEnabler().
|
protected |
Definition at line 349 of file fxdmaenabler.hpp.
Referenced by ConfigureBusMasterAdapters(), ConfigureSystemAdapter(), and ReleaseResources().
|
protected |
Definition at line 358 of file fxdmaenabler.hpp.
Referenced by ConfigureBusMasterAdapters(), ConfigureSystemAdapter(), FxDmaEnabler(), GetDmaDescription(), GetReadDmaDescription(), GetWriteDmaDescription(), and Initialize().
|
protected |
Definition at line 356 of file fxdmaenabler.hpp.
Referenced by ConfigureBusMasterAdapters(), FxDmaEnabler(), Initialize(), InitializeResources(), IsPacketBased(), SupportsChainedMdls(), and ~FxDmaEnabler().
|
protected |
Definition at line 365 of file fxdmaenabler.hpp.
Referenced by ConfigureBusMasterAdapters(), ConfigureSystemAdapter(), FxDmaEnabler(), FxDmaScatterGatherTransaction::StageTransfer(), and ~FxDmaEnabler().
|
protected |
Definition at line 377 of file fxdmaenabler.hpp.
Referenced by ConfigureBusMasterAdapters(), ConfigureSystemAdapter(), Initialize(), and InitializeResources().
|
protected |
Definition at line 379 of file fxdmaenabler.hpp.
Referenced by FxDmaEnabler(), GetMaxSGElements(), FxDmaScatterGatherTransaction::InitializeResources(), SetMaxSGElements(), and FxDmaScatterGatherTransaction::StageTransfer().
|
protected |
Definition at line 320 of file fxdmaenabler.hpp.
Referenced by FxDmaEnabler(), Initialize(), and InitializeResources().
|
protected |
Definition at line 338 of file fxdmaenabler.hpp.
Referenced by ConfigureSystemAdapter(), GetProfile(), Initialize(), and InitializeResources().
union { ... } FxDmaEnabler::m_SGList |
|
protected |
Definition at line 385 of file fxdmaenabler.hpp.
Referenced by ConfigureBusMasterAdapters(), ConfigureSystemAdapter(), FxDmaEnabler(), and FxDmaPacketTransaction::StageTransfer().
FxDmaDescription FxDmaEnabler::m_SimplexAdapterInfo |
Definition at line 327 of file fxdmaenabler.hpp.
Referenced by ConfigureBusMasterAdapters(), ConfigureSystemAdapter(), FxDmaEnabler(), GetDmaDescription(), GetReadDmaDescription(), and GetWriteDmaDescription().
FxTransactionedEntry FxDmaEnabler::m_TransactionLink |
Definition at line 314 of file fxdmaenabler.hpp.
Referenced by FxDmaEnabler().
struct { ... } FxDmaEnabler::ScatterGatherProfile |
Referenced by FxDmaScatterGatherTransaction::Dispose().
struct { ... } FxDmaEnabler::SystemProfile |
Referenced by FxDmaPacketTransaction::StageTransfer().