ReactOS 0.4.16-dev-303-g11d5cb8
|
#include <fxusbpipe.hpp>
Public Attributes | |
friend | FxUsbDevice |
friend | FxUsbInterface |
friend | FxUsbPipeContinuousReader |
LIST_ENTRY | m_ListEntry |
Public Attributes inherited from FxIoTarget | |
FxTransactionedEntry | m_TransactionedEntry |
BOOLEAN | m_InStack |
BOOLEAN | m_AddedToDeviceList |
Protected Attributes | |
FxUsbDevice * | m_UsbDevice |
FxUsbInterface * | m_UsbInterface |
FxUsbPipeContinuousReader * | m_Reader |
USBD_PIPE_INFORMATION | m_PipeInformation |
WINUSB_PIPE_INFORMATION | m_PipeInformationUm |
UCHAR | m_InterfaceNumber |
BOOLEAN | m_CheckPacketSize |
USBD_HANDLE | m_USBDHandle |
FX_URB_TYPE | m_UrbType |
Protected Attributes inherited from FxIoTarget | |
LIST_ENTRY | m_SentIoListHead |
LIST_ENTRY | m_IgnoredIoListHead |
FxCREvent | m_SentIoEvent |
FxCREvent * | m_DisposeEvent |
FxCREvent | m_DisposeEventUm |
FxIrpQueue | m_PendedQueue |
FxDriver * | m_Driver |
MdDeviceObject | m_InStackDevice |
MdDeviceObject | m_TargetDevice |
MdDeviceObject | m_TargetPdo |
MdFileObject | m_TargetFileObject |
WDF_IO_TARGET_STATE | m_State |
LONG | m_IoCount |
CCHAR | m_TargetStackSize |
UCHAR | m_TargetIoType |
BOOLEAN | m_WaitingForSentIo |
BOOLEAN | m_Removing |
Protected Attributes inherited from FxObject | |
union { | |
CfxDeviceBase * m_DeviceBase | |
CfxDevice * m_Device | |
}; | |
Additional Inherited Members | |
Static Public Attributes inherited from FxIoTarget | |
static const PVOID | m_SentRequestTag = (PVOID) 'lcnC' |
Static Protected Member Functions inherited from FxIoTarget | |
static VOID | _CancelSentRequests (__in PSINGLE_LIST_ENTRY RequestListHead) |
static VOID | _RequestCancelled (__in FxIrpQueue *Queue, __in MdIrp Irp, __in PMdIoCsqIrpContext pCsqContext, __in KIRQL CallerIrql) |
Static Protected Member Functions inherited from FxObject | |
static PVOID | _GetBase (__in FxObject *Object) |
Static Protected Attributes inherited from FxIoTarget | |
static MdCompletionRoutineType | _RequestCompletionRoutine |
static EVT_WDF_REQUEST_COMPLETION_ROUTINE | _SyncCompletionRoutine |
Definition at line 409 of file fxusbpipe.hpp.
FxUsbPipe::FxUsbPipe | ( | __in PFX_DRIVER_GLOBALS | FxDriverGlobals, |
__in FxUsbDevice * | UsbDevice | ||
) |
Definition at line 1050 of file fxusbpipe.cpp.
|
protected |
Definition at line 1091 of file fxusbpipe.cpp.
|
static |
Definition at line 1536 of file fxusbpipe.cpp.
Referenced by ValidateTransferLength().
|
static |
Definition at line 1625 of file fxusbpipe.cpp.
Referenced by ValidateTransferLength().
|
inlinestatic |
Definition at line 643 of file fxusbpipe.hpp.
Referenced by FxUsbInterface::CopyEndpointFieldsFromDescriptor(), GetInformation(), GetType(), and IsType().
Reimplemented from FxIoTarget.
Definition at line 1102 of file fxusbpipe.cpp.
_Must_inspect_result_ NTSTATUS FxUsbPipe::FormatAbortRequest | ( | __in FxRequestBase * | Request | ) |
Definition at line 1710 of file fxusbpipe.cpp.
Referenced by ValidateTransferLength().
_Must_inspect_result_ NTSTATUS FxUsbPipe::FormatResetRequest | ( | __in FxRequestBase * | Request | ) |
Definition at line 1783 of file fxusbpipe.cpp.
Referenced by Reset(), and ValidateTransferLength().
_Must_inspect_result_ NTSTATUS FxUsbPipe::FormatTransferRequest | ( | __in FxRequestBase * | Request, |
__in FxRequestBuffer * | Buffer, | ||
__in ULONG | TransferFlags = 0 |
||
) |
Definition at line 204 of file fxusbpipekm.cpp.
Referenced by _FormatTransfer(), _SendTransfer(), FxUsbPipeContinuousReader::FormatRepeater(), and ValidateTransferLength().
|
inline |
Definition at line 504 of file fxusbpipe.hpp.
Referenced by FxUsbPipeContinuousReader::CancelRepeaters(), FxUsbPipeContinuousReader::FxUsbPipeRequestWorkItemHandler(), FxUsbInterface::GetConfiguredPipe(), FxUsbPipeContinuousReader::QueueWorkItemLocked(), and FxUsbPipeContinuousReader::ResubmitRepeater().
VOID FxUsbPipe::GetInformation | ( | __out PWDF_USB_PIPE_INFORMATION | PipeInformation | ) |
Definition at line 349 of file fxusbpipekm.cpp.
Referenced by FxUsbInterface::GetConfiguredPipe().
Definition at line 555 of file fxusbpipe.hpp.
WDF_USB_PIPE_TYPE FxUsbPipe::GetType | ( | VOID | ) |
Definition at line 365 of file fxusbpipekm.cpp.
Referenced by if().
|
inline |
Definition at line 676 of file fxusbpipe.hpp.
Referenced by __in_xcount().
|
inline |
Definition at line 668 of file fxusbpipe.hpp.
Referenced by __in_xcount().
|
virtual |
Reimplemented from FxIoTarget.
Definition at line 1294 of file fxusbpipe.cpp.
Referenced by FxUsbDevice::Purge().
|
virtual |
Reimplemented from FxIoTarget.
Definition at line 1367 of file fxusbpipe.cpp.
Referenced by FxUsbDevice::CleanupInterfacePipesAndDelete(), and FxUsbDevice::PipesGotoRemoveState().
|
virtual |
Reimplemented from FxIoTarget.
Definition at line 1133 of file fxusbpipe.cpp.
Referenced by FxUsbDevice::Start().
|
virtual |
Reimplemented from FxIoTarget.
Definition at line 1217 of file fxusbpipe.cpp.
Referenced by FxUsbDevice::Stop().
_Must_inspect_result_ NTSTATUS FxUsbPipe::InitContinuousReader | ( | __in PWDF_USB_CONTINUOUS_READER_CONFIG | Config, |
__in size_t | TotalBufferLength | ||
) |
Definition at line 1463 of file fxusbpipe.cpp.
VOID FxUsbPipe::InitPipe | ( | __in PUSBD_PIPE_INFORMATION | PipeInfo, |
__in UCHAR | InterfaceNumber, | ||
__in FxUsbInterface * | UsbInterface | ||
) |
Definition at line 1073 of file fxusbpipe.cpp.
Referenced by FxUsbInterface::MakeAndConfigurePipes(), and FxUsbInterface::SetInfo().
VOID FxUsbPipe::InitPipe | ( | __in PWINUSB_PIPE_INFORMATION | PipeInfo, |
__in UCHAR | InterfaceNumber, | ||
__in FxUsbInterface * | UsbInterface | ||
) |
Definition at line 199 of file fxusbpipeum.cpp.
Definition at line 513 of file fxusbpipe.hpp.
Definition at line 531 of file fxusbpipe.hpp.
BOOLEAN FxUsbPipe::IsType | ( | __in WDF_USB_PIPE_TYPE | Type | ) |
Definition at line 1858 of file fxusbpipe.cpp.
Referenced by FxUsbPipeContinuousReader::FxUsbPipeRequestWorkItemHandler().
Definition at line 480 of file fxusbpipe.hpp.
|
inline |
Definition at line 568 of file fxusbpipe.hpp.
Reimplemented from FxIoTarget.
Definition at line 1419 of file fxusbpipe.cpp.
Referenced by FxUsbDevice::CleanupInterfacePipesAndDelete().
|
inline |
Definition at line 634 of file fxusbpipe.hpp.
friend FxUsbPipe::FxUsbDevice |
Definition at line 411 of file fxusbpipe.hpp.
friend FxUsbPipe::FxUsbInterface |
Definition at line 412 of file fxusbpipe.hpp.
friend FxUsbPipe::FxUsbPipeContinuousReader |
Definition at line 413 of file fxusbpipe.hpp.
Referenced by InitContinuousReader().
|
protected |
Definition at line 732 of file fxusbpipe.hpp.
Referenced by FormatTransferRequest(), FxUsbPipe(), SetNoCheckPacketSize(), and ValidateTransferLength().
|
protected |
Definition at line 726 of file fxusbpipe.hpp.
Referenced by FxUsbPipe(), and InitPipe().
LIST_ENTRY FxUsbPipe::m_ListEntry |
Definition at line 687 of file fxusbpipe.hpp.
Referenced by FxUsbPipe(), and ~FxUsbPipe().
|
protected |
Definition at line 714 of file fxusbpipe.hpp.
Referenced by FormatAbortRequest(), FormatResetRequest(), FormatTransferRequest(), FxUsbPipe(), GetInformation(), GetMaxPacketSize(), GetType(), InitPipe(), IsInEndpoint(), IsOutEndpoint(), IsType(), ValidateTransferLength(), and WdmGetPipeHandle().
|
protected |
Definition at line 720 of file fxusbpipe.hpp.
Referenced by FormatAbortRequest(), FormatResetRequest(), FxUsbPipe(), GetMaxPacketSize(), InitPipe(), IsInEndpoint(), IsOutEndpoint(), and ValidateTransferLength().
|
protected |
Definition at line 709 of file fxusbpipe.hpp.
Referenced by Dispose(), FxUsbPipe(), GotoPurgeState(), GotoRemoveState(), GotoStartState(), GotoStopState(), InitContinuousReader(), Reset(), and WaitForSentIoToComplete().
|
protected |
Definition at line 743 of file fxusbpipe.hpp.
Referenced by FxUsbPipe(), and GetUrbType().
|
protected |
Definition at line 698 of file fxusbpipe.hpp.
Referenced by FormatAbortRequest(), FormatResetRequest(), FormatTransferRequest(), and FxUsbPipeContinuousReader::FxUsbPipeRequestWorkItemHandler().
|
protected |
Definition at line 737 of file fxusbpipe.hpp.
Referenced by FormatAbortRequest(), FormatResetRequest(), FormatTransferRequest(), FxUsbPipe(), and GetUSBDHandle().
|
protected |
Definition at line 700 of file fxusbpipe.hpp.
Referenced by FormatAbortRequest(), FormatResetRequest(), FxUsbPipe(), GetInformation(), InitPipe(), and ~FxUsbPipe().