27 for (
i = 0;
i <
sizeof(*FilterBlock) /
sizeof(
ULONG); ++
i)
87 ULONG SiaState, SerialInterface;
94 Adapter->CurrentInterruptMask = 0;
97 switch (Adapter->MediaNumber)
120 SerialInterface &= ~DC_SERIAL_MII_MDC;
210 ERR(
"FIXME: Not implemented\n");
220 ERR(
"FIXME: Not implemented\n");
238 sizeof(ConfigValue));
240 ConfigValue &= ~DC_PCI_DEVICE_CONFIG_SLEEP;
245 ConfigValue &= ~DC_PCI_DEVICE_CONFIG_SNOOZE;
251 sizeof(ConfigValue));
VOID DcStartAdapter(_In_ PDC21X4_ADAPTER Adapter)
DECLSPEC_NOINLINE VOID DcStopAdapter(_In_ PDC21X4_ADAPTER Adapter, _In_ BOOLEAN WaitForPackets)
NDIS_STATUS DcSetupAdapter(_In_ PDC21X4_ADAPTER Adapter)
FORCEINLINE ULONG DC_READ(_In_ PDC21X4_ADAPTER Adapter, _In_ DC_CSR Register)
#define DC_HAS_POWER_SAVING
BOOLEAN DcSetupFrameDownload(_In_ PDC21X4_ADAPTER Adapter, _In_ BOOLEAN WaitForCompletion)
#define DC_WRITE(Adapter, Register, Value)
#define DC_PCI_DEVICE_CONFIG
#define DC_WAKE_UP_CONTROL_LINK_CHANGE
#define DC_OPMODE_TX_ENABLE
#define DC_WAKE_UP_STATUS_LINK_CHANGE
#define DC_BUS_MODE_ON_NOW_UNLOCK
#define DC_WAKE_UP_CONTROL_MAGIC_PACKET
#define DC_PCI_DEVICE_CONFIG_SNOOZE
#define DC_SERIAL_MII_MDC
#define DC_WAKE_UP_CONTROL_PATTERN_MATCH
#define DC_SETUP_FRAME_SIZE
#define DC_SIA_TXRX_LINK_TEST
#define DC_WAKE_UP_STATUS_MAGIC_PACKET
VOID DcPowerSave(_In_ PDC21X4_ADAPTER Adapter, _In_ BOOLEAN Enable)
NDIS_STATUS DcSetPower(_In_ PDC21X4_ADAPTER Adapter, _In_ NDIS_DEVICE_POWER_STATE PowerState)
VOID NTAPI DcPowerWorker(_In_ PNDIS_WORK_ITEM WorkItem, _In_opt_ PVOID Context)
static VOID DcPowerDown(_In_ PDC21X4_ADAPTER Adapter)
static VOID DcDownloadPatternFilter(_In_ PDC21X4_ADAPTER Adapter, _In_ PDC_PATTERN_FILTER_BLOCK FilterBlock)
NDIS_STATUS DcRemoveWakeUpPattern(_In_ PDC21X4_ADAPTER Adapter, _In_ PNDIS_PM_PACKET_PATTERN PmPattern)
NDIS_STATUS DcAddWakeUpPattern(_In_ PDC21X4_ADAPTER Adapter, _In_ PNDIS_PM_PACKET_PATTERN PmPattern)
static VOID DcSetupWakeUpFilter(_In_ PDC21X4_ADAPTER Adapter)
static VOID DcProgramWakeUpEvents(_In_ PDC21X4_ADAPTER Adapter)
static VOID DcPowerUp(_In_ PDC21X4_ADAPTER Adapter)
ULONG EXPORT NdisReadPciSlotInformation(IN NDIS_HANDLE NdisAdapterHandle, IN ULONG SlotNumber, IN ULONG Offset, IN PVOID Buffer, IN ULONG Length)
ULONG EXPORT NdisWritePciSlotInformation(IN NDIS_HANDLE NdisAdapterHandle, IN ULONG SlotNumber, IN ULONG Offset, IN PVOID Buffer, IN ULONG Length)
NDIS_STATUS EXPORT NdisScheduleWorkItem(IN PNDIS_WORK_ITEM pWorkItem)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define NdisMSetInformationComplete(MiniportAdapterHandle, Status)
#define NDIS_STATUS_PENDING
#define NdisZeroMemory(Destination, Length)
#define NDIS_STATUS_NOT_SUPPORTED
#define NDIS_STATUS_SUCCESS
#define NdisMoveMemory(Destination, Source, Length)
#define UNREFERENCED_PARAMETER(P)
#define NDIS_PNP_WAKE_UP_MAGIC_PACKET
enum _NDIS_DEVICE_POWER_STATE NDIS_DEVICE_POWER_STATE
#define NDIS_PNP_WAKE_UP_LINK_CHANGE
#define NDIS_PNP_WAKE_UP_PATTERN_MATCH
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
NDIS_DEVICE_POWER_STATE PowerState
NDIS_HANDLE AdapterHandle
NDIS_DEVICE_POWER_STATE PrevPowerState
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ WDF_DEVICE_POWER_STATE PowerState
_Must_inspect_result_ _In_ PWDF_WORKITEM_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWORKITEM * WorkItem