|
ReactOS 0.4.16-dev-1946-g52006dd
|
#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 383 of file fxdmatransactionapi.cpp.
| __success | ( | TRUE | ) |
| return pDmaTrans DmaCompleted | ( | 0 | , |
| pStatus | , | ||
| FxDmaCompletionTypeFull | |||
| ) |
| return pDmaTrans DmaCompleted | ( | FinalTransferredLength | , |
| pStatus | , | ||
| FxDmaCompletionTypeAbort | |||
| ) |
| return pDmaTrans DmaCompleted | ( | TransferredLength | , |
| pStatus | , | ||
| FxDmaCompletionTypePartial | |||
| ) |
| FxObjectHandleGetPtr | ( | GetFxDriverGlobals(DriverGlobals) | , |
| DmaTransaction | , | ||
| FX_TYPE_DMA_TRANSACTION | , | ||
| (PVOID *) & | pDmaTrans | ||
| ) |
| FxObjectHandleGetPtr | ( | pFxDriverGlobals | , |
| Request | , | ||
| FX_TYPE_REQUEST | , | ||
| (PVOID *) & | pReqObj | ||
| ) |
Referenced by __success().
| 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 | |||
| ) |
Referenced by FxDmaPacketTransaction::StageTransfer().
Referenced by FxDmaPacketTransaction::AllocateAdapterChannel(), FxDmaScatterGatherTransaction::BuildScatterGatherList(), FxDmaSystemTransaction::CancelMappedTransfer(), FxDmaTransactionBase::CancelResourceAllocation(), FxDmaScatterGatherTransaction::GetScatterGatherList(), FxDmaTransactionBase::Initialize(), and FxDmaPacketTransaction::ReserveAdapter().
| pDmaTrans GetTransferInfo | ( | MapRegisterCount | , |
| ScatterGatherElementCount | |||
| ) |
| if | ( | ! | NT_SUCCESSstatus | ) |
Definition at line 69 of file fxdmatransactionapi.cpp.
| if | ( | (profile !=WdfDmaProfilePacket) &&(profile !=WdfDmaProfilePacket64) &&(profile !=WdfDmaProfileSystem) &&(profile !=WdfDmaProfileSystemDuplex) | ) |
Definition at line 1114 of file fxdmatransactionapi.cpp.
| if | ( | (profile !=WdfDmaProfileSystem) &&(profile !=WdfDmaProfileSystemDuplex) | ) |
Definition at line 820 of file fxdmatransactionapi.cpp.
| if | ( | (state==FxDmaTransactionStateInvalid)||(state==FxDmaTransactionStateCreated)||(state==FxDmaTransactionStateReleased)||(state==FxDmaTransactionStateDeleted) | ) |
Definition at line 975 of file fxdmatransactionapi.cpp.
| if | ( | DmaDirection ! | = WdfDmaDirectionReadFromDevice && DmaDirection != WdfDmaDirectionWriteToDevice | ) |
Definition at line 146 of file fxdmatransactionapi.cpp.
Definition at line 321 of file fxdmatransactionapi.cpp.
Definition at line 962 of file fxdmatransactionapi.cpp.
Definition at line 740 of file fxdmatransactionapi.cpp.
| if | ( | reqLength | = = 0 | ) |
Definition at line 307 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 73 of file fxdmatransactionapi.cpp.
| switch | ( | stack-> | MajorFunction | ) |
Definition at line 169 of file fxdmatransactionapi.cpp.
| _Must_inspect_result_ __in WDFDMAENABLER __in_opt WDF_OBJECT_ATTRIBUTES* Attributes |
Definition at line 46 of file fxdmatransactionapi.cpp.
| __in WDFDMATRANSACTION __in_opt PFN_WDF_DMA_TRANSACTION_CONFIGURE_DMA_CHANNEL __in_opt PVOID ConfigureContext |
Definition at line 803 of file fxdmatransactionapi.cpp.
| __in WDFDMATRANSACTION __in_opt PFN_WDF_DMA_TRANSACTION_CONFIGURE_DMA_CHANNEL ConfigureRoutine |
Definition at line 801 of file fxdmatransactionapi.cpp.
| _Must_inspect_result_ __in WDFDMATRANSACTION __in_opt WDFCONTEXT Context |
Definition at line 539 of file fxdmatransactionapi.cpp.
| __in WDFDMATRANSACTION __in_opt PFN_WDF_DMA_TRANSACTION_DMA_TRANSFER_COMPLETE __in_opt PVOID DmaCompletionContext |
Definition at line 854 of file fxdmatransactionapi.cpp.
| __in WDFDMATRANSACTION __in_opt PFN_WDF_DMA_TRANSACTION_DMA_TRANSFER_COMPLETE DmaCompletionRoutine |
Definition at line 852 of file fxdmatransactionapi.cpp.
| __in WDFDMATRANSACTION __in WDF_DMA_DIRECTION DmaDirection |
Definition at line 127 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
| _Must_inspect_result_ __in WDFDMAENABLER DmaEnabler |
Definition at line 44 of file fxdmatransactionapi.cpp.
| __in WDFDMATRANSACTION DmaTransaction |
Definition at line 121 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
| * DmaTransactionHandle |
Definition at line 48 of file fxdmatransactionapi.cpp.
Referenced by switch().
| else |
Definition at line 743 of file fxdmatransactionapi.cpp.
| _Must_inspect_result_ __in WDFDMATRANSACTION __in PFN_WDF_PROGRAM_DMA EvtProgramDmaFunction |
Definition at line 125 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 1077 of file fxdmatransactionapi.cpp.
| __in WDFDMATRANSACTION __in WDF_DMA_DIRECTION __in ULONG __in PFN_WDF_RESERVE_DMA EvtReserveDmaFunction |
Definition at line 1075 of file fxdmatransactionapi.cpp.
| __in WDFDMATRANSACTION __in size_t FinalTransferredLength |
Definition at line 652 of file fxdmatransactionapi.cpp.
| __in WDFDMATRANSACTION __out_opt ULONG* MapRegisterCount |
Definition at line 1003 of file fxdmatransactionapi.cpp.
| __in WDFDMATRANSACTION __in size_t MaximumLength |
Definition at line 706 of file fxdmatransactionapi.cpp.
Definition at line 133 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 379 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
Definition at line 381 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
| FxDmaEnabler* pDmaEnabler |
Definition at line 52 of file fxdmatransactionapi.cpp.
Referenced by switch().
| FxDmaTransactionBase* pDmaTrans |
Definition at line 131 of file fxdmatransactionapi.cpp.
Referenced by __success(), and if().
| PFX_DRIVER_GLOBALS pFxDriverGlobals |
Definition at line 53 of file fxdmatransactionapi.cpp.
| FxRequest* pReqObj |
Definition at line 132 of file fxdmatransactionapi.cpp.
Referenced by switch().
Definition at line 731 of file fxdmatransactionapi.cpp.
Referenced by FxUsbDevice::_CleanupPipesRequests(), FxRequest::_Create(), FxRequest::_CreateForPackage(), FxUsbPipe::_FormatTransfer(), FxIoTarget::_RequestCancelled(), FxIoQueue::AllocateReservedRequest(), BaseMemAllocator_SetProperties(), FxIoQueue::CancelForDriver(), FxIoQueue::DispatchRequestToDriver(), FxIoTarget::DrainPendedRequestsLocked(), FxPkgIo::EnqueueRequest(), FxIoQueue::FlushByFileObject(), FxUsbPipeContinuousReader::FormatRepeater(), FxIoQueue::ForwardRequest(), FxRequest::GetNextRequest(), FxIrpQueue::GetNextRequest(), FxIoQueue::GetRequest(), FxIoTarget::GetSentRequestsListLocked(), FxUsbPipe::GotoStartState(), CMiniportDMusUARTStream::HandlePortParams(), if(), FxPkgGeneral::OnCreate(), FxIoQueue::PeekRequest(), FxIrpQueue::PeekRequest(), CMallocSpy::PreDidAlloc(), CHeapPtrListMallocSpy::PreDidAlloc(), CMallocSpy::PreFree(), CHeapPtrListMallocSpy::PreFree(), CMallocSpy::PreGetSize(), CHeapPtrListMallocSpy::PreGetSize(), CMallocSpy::PreRealloc(), CHeapPtrListMallocSpy::PreRealloc(), FxIoQueue::QueuePurge(), FxIoQueue::QueueRequest(), FxIoQueue::QueueRequestFromForward(), FxIoQueue::RequestCancelable(), FxIoQueue::Requeue(), SeclCreateProcessWithLogonW(), CKsAllocator::SetProperties(), FxUsbDevice::Start(), and ValidatePropertyRequest().
| WDF_DMA_PROFILE profile = pDmaTrans->GetDmaEnabler()->GetProfile() |
Definition at line 819 of file fxdmatransactionapi.cpp.
Referenced by if().
Definition at line 591 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 135 of file fxdmatransactionapi.cpp.
| _Must_inspect_result_ __in WDFDMATRANSACTION __in WDFREQUEST Request |
Definition at line 123 of file fxdmatransactionapi.cpp.
| __in WDFDMATRANSACTION __in WDF_DMA_DIRECTION __in ULONG RequiredMapRegisters |
Definition at line 1073 of file fxdmatransactionapi.cpp.
| return |
Definition at line 1212 of file fxdmatransactionapi.cpp.
Definition at line 1005 of file fxdmatransactionapi.cpp.
Definition at line 134 of file fxdmatransactionapi.cpp.
| FxDmaTransactionState state = pDmaTrans->GetTransactionState() |
Definition at line 973 of file fxdmatransactionapi.cpp.
Referenced by if().
Definition at line 65 of file fxdmatransactionapi.cpp.
| return STATUS_SUCCESS |
Definition at line 360 of file fxdmatransactionapi.cpp.
| FxDmaSystemTransaction * systemTransaction = (FxDmaSystemTransaction*) pDmaTrans |
Definition at line 837 of file fxdmatransactionapi.cpp.
Referenced by FxDmaPacketTransaction::_AdapterControl(), and FxDmaPacketTransaction::StageTransfer().
| __in WDFDMATRANSACTION __in size_t TransferredLength |
Definition at line 620 of file fxdmatransactionapi.cpp.
| __in WDFDMATRANSACTION __in BOOLEAN UseImmediateExecution |
Definition at line 1034 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 423 of file fxdmatransactionapi.cpp.