ReactOS
0.4.15-dev-4603-gb922b6d
|
#include "fxdmapch.hpp"
Go to the source code of this file.
_Must_inspect_result_ __drv_maxIRQL | ( | DISPATCH_LEVEL | ) |
_Must_inspect_result_ __in WDFDMATRANSACTION __in PFN_WDF_PROGRAM_DMA __in WDF_DMA_DIRECTION __in PMDL __in size_t __in __drv_when | ( | Length | = = 0 , |
__drv_reportError(Length cannot be zero) | |||
) |
Definition at line 377 of file fxdmatransactionapi.cpp.
__success | ( | TRUE | ) |
return pDmaTrans DmaCompleted | ( | 0 | , |
pStatus | , | ||
FxDmaCompletionTypeFull | |||
) |
return pDmaTrans DmaCompleted | ( | TransferredLength | , |
pStatus | , | ||
FxDmaCompletionTypePartial | |||
) |
return pDmaTrans DmaCompleted | ( | FinalTransferredLength | , |
pStatus | , | ||
FxDmaCompletionTypeAbort | |||
) |
FxObjectHandleGetPtr | ( | pFxDriverGlobals | , |
Request | , | ||
FX_TYPE_REQUEST | , | ||
(PVOID *) & | pReqObj | ||
) |
FxObjectHandleGetPtr | ( | GetFxDriverGlobals(DriverGlobals) | , |
DmaTransaction | , | ||
FX_TYPE_DMA_TRANSACTION | , | ||
(PVOID *) & | pDmaTrans | ||
) |
FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
DmaEnabler | , | ||
FX_TYPE_DMA_ENABLER | , | ||
(PVOID *) & | pDmaEnabler, | ||
& | pFxDriverGlobals | ||
) |
FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
DmaTransaction | , | ||
FX_TYPE_DMA_TRANSACTION | , | ||
(PVOID *) & | pDmaTrans, | ||
& | pFxDriverGlobals | ||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
DmaTransactionHandle | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
EvtProgramDmaFunction | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
EvtReserveDmaFunction | |||
) |
pDmaTrans GetTransferInfo | ( | MapRegisterCount | , |
ScatterGatherElementCount | |||
) |
if | ( | ! | NT_SUCCESSstatus | ) |
Definition at line 67 of file fxdmatransactionapi.cpp.
if | ( | DmaDirection ! | = WdfDmaDirectionReadFromDevice && DmaDirection != WdfDmaDirectionWriteToDevice | ) |
Definition at line 142 of file fxdmatransactionapi.cpp.
if | ( | reqLength | = = 0 | ) |
Definition at line 303 of file fxdmatransactionapi.cpp.
Definition at line 317 of file fxdmatransactionapi.cpp.
Definition at line 716 of file fxdmatransactionapi.cpp.
if | ( | (profile !=WdfDmaProfileSystem) &&(profile !=WdfDmaProfileSystemDuplex) | ) |
Definition at line 790 of file fxdmatransactionapi.cpp.
Definition at line 926 of file fxdmatransactionapi.cpp.
if | ( | (state==FxDmaTransactionStateInvalid)||(state==FxDmaTransactionStateCreated)||(state==FxDmaTransactionStateReleased)||(state==FxDmaTransactionStateDeleted) | ) |
Definition at line 939 of file fxdmatransactionapi.cpp.
if | ( | (profile !=WdfDmaProfilePacket) &&(profile !=WdfDmaProfilePacket64) &&(profile !=WdfDmaProfileSystem) &&(profile !=WdfDmaProfileSystemDuplex) | ) |
Definition at line 1072 of file fxdmatransactionapi.cpp.
pDmaTrans ReleaseAdapter | ( | ) |
systemTransaction SetConfigureChannelCallback | ( | ConfigureRoutine | , |
ConfigureContext | |||
) |
systemTransaction SetDeviceAddressOffset | ( | Offset | ) |
pDmaTrans SetImmediateExecution | ( | UseImmediateExecution | ) |
pDmaTrans SetMaximumFragmentLength | ( | MaximumLength | ) |
systemTransaction SetTransferCompleteCallback | ( | DmaCompletionRoutine | , |
DmaCompletionContext | |||
) |
systemTransaction StopTransfer | ( | ) |
switch | ( | pDmaEnabler-> | GetProfile() | ) |
Definition at line 71 of file fxdmatransactionapi.cpp.
switch | ( | stack-> | MajorFunction | ) |
Definition at line 165 of file fxdmatransactionapi.cpp.
_Must_inspect_result_ __in WDFDMAENABLER __in_opt WDF_OBJECT_ATTRIBUTES* Attributes |
Definition at line 42 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in_opt PFN_WDF_DMA_TRANSACTION_CONFIGURE_DMA_CHANNEL __in_opt PVOID ConfigureContext |
Definition at line 775 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in_opt PFN_WDF_DMA_TRANSACTION_CONFIGURE_DMA_CHANNEL ConfigureRoutine |
Definition at line 769 of file fxdmatransactionapi.cpp.
_Must_inspect_result_ __in WDFDMATRANSACTION __in_opt WDFCONTEXT Context |
Definition at line 531 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in_opt PFN_WDF_DMA_TRANSACTION_DMA_TRANSFER_COMPLETE __in_opt PVOID DmaCompletionContext |
Definition at line 824 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in_opt PFN_WDF_DMA_TRANSACTION_DMA_TRANSFER_COMPLETE DmaCompletionRoutine |
Definition at line 818 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in WDF_DMA_DIRECTION DmaDirection |
Definition at line 125 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
_Must_inspect_result_ __in WDFDMAENABLER DmaEnabler |
Definition at line 42 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION DmaTransaction |
Definition at line 117 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
* DmaTransactionHandle |
Definition at line 48 of file fxdmatransactionapi.cpp.
Referenced by switch().
else |
Definition at line 719 of file fxdmatransactionapi.cpp.
_Must_inspect_result_ __in WDFDMATRANSACTION __in PFN_WDF_PROGRAM_DMA EvtProgramDmaFunction |
Definition at line 117 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
__in WDFDMATRANSACTION __in WDF_DMA_DIRECTION __in ULONG __in PFN_WDF_RESERVE_DMA __in PVOID EvtReserveDmaContext |
Definition at line 1037 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in WDF_DMA_DIRECTION __in ULONG __in PFN_WDF_RESERVE_DMA EvtReserveDmaFunction |
Definition at line 1027 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in size_t FinalTransferredLength |
Definition at line 632 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __out_opt ULONG* MapRegisterCount |
Definition at line 963 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in size_t MaximumLength |
Definition at line 686 of file fxdmatransactionapi.cpp.
Definition at line 129 of file fxdmatransactionapi.cpp.
Referenced by __attribute__(), FxDmaTransactionBase::_ComputeNextTransferAddress(), _Success_(), ClasspBuildDeviceMdl(), FreeBT_DispatchRead(), FreeBT_DispatchWrite(), FxDmaTransactionBase::GetTransferInfo(), if(), read_data(), FxDmaPacketTransaction::StageTransfer(), and switch().
_Must_inspect_result_ __in WDFDMATRANSACTION __in PFN_WDF_PROGRAM_DMA __in WDF_DMA_DIRECTION __in PMDL Mdl |
Definition at line 367 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
Definition at line 367 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
FxDmaEnabler* pDmaEnabler |
Definition at line 50 of file fxdmatransactionapi.cpp.
Referenced by switch().
FxDmaTransactionBase* pDmaTrans |
Definition at line 127 of file fxdmatransactionapi.cpp.
Referenced by if().
PFX_DRIVER_GLOBALS pFxDriverGlobals |
Definition at line 51 of file fxdmatransactionapi.cpp.
FxRequest* pReqObj |
Definition at line 128 of file fxdmatransactionapi.cpp.
Referenced by switch().
Definition at line 707 of file fxdmatransactionapi.cpp.
Referenced by FxUsbDevice::_CleanupPipesRequests(), FxRequest::_Create(), FxRequest::_CreateForPackage(), FxUsbPipe::_FormatTransfer(), FxIoTarget::_RequestCancelled(), BaseMemAllocator_SetProperties(), FxIoTarget::DrainPendedRequestsLocked(), FxPkgIo::EnqueueRequest(), FxUsbPipeContinuousReader::FormatRepeater(), FxIrpQueue::GetNextRequest(), FxRequest::GetNextRequest(), FxIoTarget::GetSentRequestsListLocked(), FxUsbPipe::GotoStartState(), CMiniportDMusUARTStream::HandlePortParams(), if(), FxPkgGeneral::OnCreate(), FxIrpQueue::PeekRequest(), CMallocSpy::PreDidAlloc(), CHeapPtrListMallocSpy::PreDidAlloc(), CMallocSpy::PreFree(), CHeapPtrListMallocSpy::PreFree(), CMallocSpy::PreGetSize(), CHeapPtrListMallocSpy::PreGetSize(), CMallocSpy::PreRealloc(), CHeapPtrListMallocSpy::PreRealloc(), PropertyHandler_Synth(), SeclCreateProcessWithLogonW(), CKsAllocator::SetProperties(), FxUsbDevice::Start(), and ValidatePropertyRequest().
WDF_DMA_PROFILE profile = pDmaTrans->GetDmaEnabler()->GetProfile() |
Definition at line 789 of file fxdmatransactionapi.cpp.
Referenced by AssociateColorProfileWithDeviceA(), AssociateColorProfileWithDeviceW(), CloseColorProfile(), ColorContext_InitializeFromFilename(), ColorContext_InitializeFromMemory(), compile_pixel_shader9(), ConvertColorNameToIndex(), ConvertIndexToColorName(), CreateColorTransformW(), CreateMultiProfileTransform(), d3dx9_fragment_linker_LinkPixelShader(), d3dx9_fragment_linker_LinkShader(), d3dx9_fragment_linker_LinkVertexShader(), D3DXCompileShader(), D3DXCompileShaderFromFileA(), D3DXCompileShaderFromFileW(), D3DXCompileShaderFromResourceA(), D3DXCompileShaderFromResourceW(), DECLARE_INTERFACE_(), DelOld(), DisassociateColorProfileFromDeviceA(), DisassociateColorProfileFromDeviceW(), EnumTfInputProcessorProfiles_Next(), fw_policy_get_CurrentProfile(), fw_policy_GetProfileByType(), fwpolicy2_get_CurrentProfileTypes(), get_active_textservice(), GetColorProfileElement(), GetColorProfileElementTag(), GetColorProfileFromHandle(), GetColorProfileHeader(), GetCountColorProfileElements(), GetNamedProfileInfo(), GetPS2ColorRenderingDictionary(), GetPS2ColorRenderingIntent(), GetPS2ColorSpaceArray(), GetStandardColorSpaceProfileA(), GetStandardColorSpaceProfileW(), header_from_file(), if(), InputProcessorProfiles_GetActiveLanguageProfile(), InsNew(), InstallColorProfileA(), InstallColorProfileW(), is_firewall_enabled(), IsColorProfileTagPresent(), IsColorProfileValid(), load_profile(), MAPILogon(), MAPILogonEx(), next_LanguageProfile(), OpenColorProfileA(), OpenColorProfileW(), set_firewall(), set_profile_device_key(), SetColorProfileElement(), SetColorProfileElementReference(), SetColorProfileElementSize(), SetColorProfileHeader(), SetStandardColorSpaceProfileA(), SetStandardColorSpaceProfileW(), test_AssociateColorProfileWithDeviceA(), test_CreateMultiProfileTransform(), test_EnumLanguageProfiles(), test_GetColorProfileElement(), test_GetColorProfileElementTag(), test_GetColorProfileFromHandle(), test_GetColorProfileHeader(), test_GetCountColorProfileElements(), test_IsColorProfileTagPresent(), test_OpenColorProfileA(), test_OpenColorProfileW(), test_profile_manager_interfaces(), test_SetColorProfileElement(), test_SetColorProfileHeader(), test_SetICMProfileA(), test_SetICMProfileW(), test_wmreader_interfaces(), test_wmsyncreader_interfaces(), UninstallColorProfileA(), UninstallColorProfileW(), WMProfileManager_LoadProfileByData(), WMProfileManager_SaveProfile(), WMWriter_SetProfile(), xsltApplyStylesheetInternal(), xsltApplyStylesheetUser(), and xsltRunStylesheetUser().
Definition at line 579 of file fxdmatransactionapi.cpp.
Referenced by BitmapDecoderInfo_GetSigningStatus(), BitmapEncoderInfo_GetSigningStatus(), EnumJobsA(), FormatConverterInfo_GetSigningStatus(), INetCfgComponent_fnGetDeviceStatus(), PixelFormatInfo_GetSigningStatus(), PrintService(), PrintServiceStatus(), and Query().
reqLength = 0 |
Definition at line 131 of file fxdmatransactionapi.cpp.
_Must_inspect_result_ __in WDFDMATRANSACTION __in WDFREQUEST Request |
Definition at line 117 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in WDF_DMA_DIRECTION __in ULONG RequiredMapRegisters |
Definition at line 1027 of file fxdmatransactionapi.cpp.
return |
Definition at line 1168 of file fxdmatransactionapi.cpp.
Definition at line 969 of file fxdmatransactionapi.cpp.
Definition at line 130 of file fxdmatransactionapi.cpp.
FxDmaTransactionState state = pDmaTrans->GetTransactionState() |
Definition at line 937 of file fxdmatransactionapi.cpp.
Referenced by if().
Definition at line 63 of file fxdmatransactionapi.cpp.
return STATUS_SUCCESS |
Definition at line 356 of file fxdmatransactionapi.cpp.
FxDmaSystemTransaction * systemTransaction = (FxDmaSystemTransaction*) pDmaTrans |
Definition at line 807 of file fxdmatransactionapi.cpp.
Referenced by FxDmaPacketTransaction::_AdapterControl(), and FxDmaPacketTransaction::StageTransfer().
__in WDFDMATRANSACTION __in size_t TransferredLength |
Definition at line 602 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in BOOLEAN UseImmediateExecution |
Definition at line 996 of file fxdmatransactionapi.cpp.
_Must_inspect_result_ __in WDFDMATRANSACTION __in PFN_WDF_PROGRAM_DMA __in WDF_DMA_DIRECTION __in PMDL __in PVOID VirtualAddress |
Definition at line 404 of file fxdmatransactionapi.cpp.