32 for (Tcb = Adapter->Send.LastTcb;
33 Tcb != Adapter->Send.CurrentTcb;
52 Adapter->Flags &= ~NV_ACTIVE;
142#if defined(SARCH_XBOX)
275 Characteristics.MajorNdisVersion = NDIS_MINIPORT_MAJOR_VERSION;
276 Characteristics.MinorNdisVersion = NDIS_MINIPORT_MINOR_VERSION;
VOID NTAPI KeFlushQueuedDpcs(VOID)
#define NDIS_DbgPrint(_t_, _x_)
NDIS_STATUS NTAPI MiniportSetInformation(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_OID Oid, IN PVOID InformationBuffer, IN ULONG InformationBufferLength, OUT PULONG BytesRead, OUT PULONG BytesNeeded)
NDIS_STATUS NTAPI MiniportQueryInformation(IN NDIS_HANDLE MiniportAdapterContext, IN NDIS_OID Oid, IN PVOID InformationBuffer, IN ULONG InformationBufferLength, OUT PULONG BytesWritten, OUT PULONG BytesNeeded)
VOID NTAPI MiniportISR(OUT PBOOLEAN InterruptRecognized, OUT PBOOLEAN QueueMiniportHandleInterrupt, IN NDIS_HANDLE MiniportAdapterContext)
VOID NTAPI MiniportHandleInterrupt(IN NDIS_HANDLE MiniportAdapterContext)
VOID NvNetFreeAdapter(_In_ PNVNET_ADAPTER Adapter)
NDIS_STATUS EXPORT NdisScheduleWorkItem(IN PNDIS_WORK_ITEM pWorkItem)
VOID EXPORT NdisMCancelTimer(IN PNDIS_MINIPORT_TIMER Timer, OUT PBOOLEAN TimerCancelled)
VOID EXPORT NdisMSetPeriodicTimer(IN PNDIS_MINIPORT_TIMER Timer, IN UINT MillisecondsPeriod)
NDIS_STATUS NTAPI MiniportInitialize(OUT PNDIS_STATUS OpenErrorStatus, OUT PUINT SelectedMediumIndex, IN PNDIS_MEDIUM MediumArray, IN UINT MediumArraySize, IN NDIS_HANDLE MiniportAdapterHandle, IN NDIS_HANDLE WrapperConfigurationContext)
NDIS_STATUS NTAPI MiniportSend(_In_ NDIS_HANDLE MiniportAdapterContext, _In_ PNDIS_PACKET Packet, _In_ UINT Flags)
#define KeGetCurrentIrql()
long __cdecl _InterlockedCompareExchange(_Interlocked_operand_ long volatile *_Destination, long _Exchange, long _Comparand)
long __cdecl _InterlockedDecrement(_Interlocked_operand_ long volatile *_Addend)
#define NdisReleaseSpinLock(_SpinLock)
#define NDIS_STATUS_PENDING
#define NdisInitializeWorkItem(_WI_, _R_, _C_)
#define NdisDprReleaseSpinLock(_SpinLock)
#define NdisMResetComplete(MiniportAdapterHandle, Status, AddressingReset)
#define NDIS_STATUS_FAILURE
#define NdisStallExecution
#define NDIS_STATUS_SUCCESS
#define NdisDprAcquireSpinLock(_SpinLock)
#define NdisMInitializeWrapper(NdisWrapperHandle, SystemSpecific1, SystemSpecific2, SystemSpecific3)
#define NdisMSendComplete(MiniportAdapterHandle, Packet, Status)
#define NdisAcquireSpinLock(_SpinLock)
#define NDIS_STATUS_RESET_IN_PROGRESS
BOOLEAN EXPORT NdisMSynchronizeWithInterrupt(IN PNDIS_MINIPORT_INTERRUPT Interrupt, IN PVOID SynchronizeFunction, IN PVOID SynchronizeContext)
NDIS_STATUS EXPORT NdisMRegisterMiniport(IN NDIS_HANDLE NdisWrapperHandle, IN PNDIS_MINIPORT_CHARACTERISTICS MiniportCharacteristics, IN UINT CharacteristicsLength)
VOID EXPORT NdisTerminateWrapper(IN NDIS_HANDLE NdisWrapperHandle, IN PVOID SystemSpecific)
VOID NvNetStopReceiver(_In_ PNVNET_ADAPTER Adapter)
VOID NvNetToggleClockPowerGating(_In_ PNVNET_ADAPTER Adapter, _In_ BOOLEAN Gate)
VOID NvNetIdleTransmitter(_In_ PNVNET_ADAPTER Adapter, _In_ BOOLEAN ClearPhyControl)
NDIS_STATUS NvNetInitNIC(_In_ PNVNET_ADAPTER Adapter, _In_ BOOLEAN InitPhy)
VOID NvNetStopTransmitter(_In_ PNVNET_ADAPTER Adapter)
#define DECLSPEC_NOINLINE
#define NV_TXRX_RESET_DELAY
#define DEV_NEED_LINKTIMER
#define NVREG_TXRXCTL_BIT2
#define NVREG_TXRXCTL_RESET
#define NVREG_TRANSMITPOLL_MAC_ADDR_REV
VOID NvNetFlushTransmitQueue(_In_ PNVNET_ADAPTER Adapter, _In_ NDIS_STATUS CompleteStatus)
static VOID NTAPI MiniportShutdown(_In_ NDIS_HANDLE MiniportAdapterContext)
DRIVER_INITIALIZE DriverEntry
DECLSPEC_NOINLINE VOID NvNetPauseProcessing(_In_ PNVNET_ADAPTER Adapter)
static VOID NTAPI MiniportHalt(_In_ NDIS_HANDLE MiniportAdapterContext)
static BOOLEAN NTAPI MiniportCheckForHang(_In_ NDIS_HANDLE MiniportAdapterContext)
static VOID NTAPI NvNetResetWorker(_In_ PNDIS_WORK_ITEM WorkItem, _In_opt_ PVOID Context)
VOID NvNetStopAdapter(_In_ PNVNET_ADAPTER Adapter)
VOID NvNetStartAdapter(_In_ PNVNET_ADAPTER Adapter)
static NDIS_STATUS NTAPI MiniportReset(_Out_ PBOOLEAN AddressingReset, _In_ NDIS_HANDLE MiniportAdapterContext)
#define NVNET_MEDIA_DETECTION_INTERVAL
VOID SidebandUnitReleaseSemaphore(_In_ PNVNET_ADAPTER Adapter)
#define NVNET_TRANSMIT_BLOCKS
VOID NvNetSetPowerState(_In_ PNVNET_ADAPTER Adapter, _In_ NDIS_DEVICE_POWER_STATE NewPowerState, _In_ ULONG WakeFlags)
KSYNCHRONIZE_ROUTINE NvNetInitPhaseSynchronized
#define NvNetDisableInterrupts(Adapter)
FORCEINLINE VOID NV_RELEASE_TCB(_In_ PNVNET_ADAPTER Adapter, _In_ PNVNET_TCB Tcb)
#define NvNetApplyInterruptMask(Adapter)
struct _NVNET_ADAPTER * PNVNET_ADAPTER
#define NVNET_TRANSMIT_HANG_THRESHOLD
FORCEINLINE VOID NV_WRITE(_In_ PNVNET_ADAPTER Adapter, _In_ NVNET_REGISTER Register, _In_ ULONG Value)
FORCEINLINE ULONG NV_READ(_In_ PNVNET_ADAPTER Adapter, _In_ NVNET_REGISTER Register)
FORCEINLINE PNVNET_TCB NV_NEXT_TCB(_In_ PNVNET_ADAPTER Adapter, _In_ PNVNET_TCB Tcb)
_Interlocked_ volatile LONG ResetLock
ULONG OriginalMacAddress[2]
NDIS_HANDLE AdapterHandle
NDIS_WORK_ITEM ResetWorkItem
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
_Must_inspect_result_ _In_ PWDF_WORKITEM_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWORKITEM * WorkItem