ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Classes | |
class | CMiniportDMusUART |
class | CMiniportDMusUARTStream |
struct | SYNCWRITECONTEXT |
Macros | |
#define | NDEBUG |
#define | kOneMillisec (10 * 1000) |
#define | MPU401_REG_STATUS 0x01 |
#define | MPU401_DRR 0x40 |
#define | MPU401_DSR 0x80 |
#define | MPU401_REG_DATA 0x00 |
#define | MPU401_REG_COMMAND 0x01 |
#define | MPU401_CMD_RESET 0xFF |
#define | MPU401_CMD_UART 0x3F |
#define | STR_MODULENAME "DMusUART:Miniport: " |
#define | UartFifoOkForWrite(status) ((status & MPU401_DRR) == 0) |
#define | UartFifoOkForRead(status) ((status & MPU401_DSR) == 0) |
#define | kMaxNumCaptureStreams 1 |
#define | kMaxNumLegacyRenderStreams 1 |
#define | kMaxNumDMusicRenderStreams 1 |
#define | CONST_PCNODE_DESCRIPTOR(n) { 0, NULL, &n, NULL } |
#define | CONST_PCNODE_DESCRIPTOR_AUTO(n, a) { 0, &a, &n, NULL } |
#define | kMPUPollTimeout 2 |
Typedefs | |
typedef struct SYNCWRITECONTEXT * | PSYNCWRITECONTEXT |
Enumerations | |
enum | { eSynthNode = 0 , eInputNode } |
enum | { eFilterInputPinLeg = 0 , eFilterInputPinDM , eBridgeOutputPin , eBridgeInputPin , eFilterOutputPin } |
Variables | |
const BOOLEAN | COMMAND = TRUE |
const BOOLEAN | DATA = FALSE |
const ULONG | kMPUInputBufferSize = 128 |
static KSDATARANGE_MUSIC | PinDataRangesStreamLegacy |
static KSDATARANGE_MUSIC | PinDataRangesStreamDMusic |
static PKSDATARANGE | PinDataRangePointersStreamLegacy [] |
static PKSDATARANGE | PinDataRangePointersStreamDMusic [] |
static PKSDATARANGE | PinDataRangePointersStreamCombined [] |
static KSDATARANGE | PinDataRangesBridge [] |
static PKSDATARANGE | PinDataRangePointersBridge [] |
static PCPROPERTY_ITEM | SynthProperties [] |
static PCPIN_DESCRIPTOR | MiniportPins [] |
static PCNODE_DESCRIPTOR | MiniportNodes [] |
static PCCONNECTION_DESCRIPTOR | MiniportConnections [] |
static GUID | MiniportCategories [] |
static PCFILTER_DESCRIPTOR | MiniportFilterDescriptor |
const WCHAR | wszDescOut [] = L"DMusic MPU-401 Out " |
const WCHAR | wszDescIn [] = L"DMusic MPU-401 In " |
Definition at line 517 of file miniport_dmus.cpp.
Definition at line 518 of file miniport_dmus.cpp.
#define kMaxNumCaptureStreams 1 |
Definition at line 413 of file miniport_dmus.cpp.
#define kMaxNumDMusicRenderStreams 1 |
Definition at line 415 of file miniport_dmus.cpp.
#define kMaxNumLegacyRenderStreams 1 |
Definition at line 414 of file miniport_dmus.cpp.
#define kMPUPollTimeout 2 |
Definition at line 873 of file miniport_dmus.cpp.
#define kOneMillisec (10 * 1000) |
Definition at line 17 of file miniport_dmus.cpp.
#define MPU401_CMD_RESET 0xFF |
Definition at line 30 of file miniport_dmus.cpp.
#define MPU401_CMD_UART 0x3F |
Definition at line 31 of file miniport_dmus.cpp.
#define MPU401_DRR 0x40 |
Definition at line 23 of file miniport_dmus.cpp.
#define MPU401_DSR 0x80 |
Definition at line 25 of file miniport_dmus.cpp.
#define MPU401_REG_COMMAND 0x01 |
Definition at line 29 of file miniport_dmus.cpp.
#define MPU401_REG_DATA 0x00 |
Definition at line 28 of file miniport_dmus.cpp.
#define MPU401_REG_STATUS 0x01 |
Definition at line 22 of file miniport_dmus.cpp.
#define NDEBUG |
Definition at line 12 of file miniport_dmus.cpp.
#define STR_MODULENAME "DMusUART:Miniport: " |
Definition at line 250 of file miniport_dmus.cpp.
#define UartFifoOkForRead | ( | status | ) | ((status & MPU401_DSR) == 0) |
Definition at line 257 of file miniport_dmus.cpp.
#define UartFifoOkForWrite | ( | status | ) | ((status & MPU401_DRR) == 0) |
Definition at line 256 of file miniport_dmus.cpp.
typedef struct SYNCWRITECONTEXT * PSYNCWRITECONTEXT |
anonymous enum |
Enumerator | |
---|---|
eSynthNode | |
eInputNode |
Definition at line 531 of file miniport_dmus.cpp.
anonymous enum |
Enumerator | |
---|---|
eFilterInputPinLeg | |
eFilterInputPinDM | |
eBridgeOutputPin | |
eBridgeInputPin | |
eFilterOutputPin |
Definition at line 536 of file miniport_dmus.cpp.
DEFINE_PCAUTOMATION_TABLE_PROP | ( | AutomationSynth | , |
SynthProperties | |||
) |
DEFINE_PCAUTOMATION_TABLE_PROP | ( | AutomationSynth2 | , |
SynthProperties | |||
) |
NTSTATUS NTAPI DMusMPUInterruptServiceRoutine | ( | IN PINTERRUPTSYNC | InterruptSync, |
IN PVOID | DynamicContext | ||
) |
Definition at line 1101 of file miniport_dmus.cpp.
NTSTATUS NTAPI DMusMPUInterruptServiceRoutine | ( | PINTERRUPTSYNC | InterruptSync, |
PVOID | DynamicContext | ||
) |
Referenced by SynchronizedDMusMPUWrite().
VOID NTAPI DMusUARTTimerDPC | ( | IN PKDPC | Dpc, |
IN PVOID | DeferredContext, | ||
IN PVOID | SystemArgument1, | ||
IN PVOID | SystemArgument2 | ||
) |
Definition at line 2390 of file miniport_dmus.cpp.
VOID NTAPI DMusUARTTimerDPC | ( | PKDPC | Dpc, |
PVOID | DeferredContext, | ||
PVOID | SystemArgument1, | ||
PVOID | SystemArgument2 | ||
) |
Definition at line 659 of file miniport_dmus.cpp.
Referenced by CMiniportDMusUART::InitializeHardware(), and CMiniportDMusUART::~CMiniportDMusUART().
Definition at line 1222 of file miniport_dmus.cpp.
Referenced by PcNewMiniport().
NTSTATUS NTAPI PropertyHandler_Synth | ( | IN PPCPROPERTY_REQUEST | PropertyRequest | ) |
Definition at line 2429 of file miniport_dmus.cpp.
Definition at line 602 of file miniport_dmus.cpp.
Referenced by CMiniportDMusUART::InitializeHardware().
SnapTimeStamp | ( | PINTERRUPTSYNC | InterruptSync, |
PVOID | pStream | ||
) |
Definition at line 983 of file miniport_dmus.cpp.
NTSTATUS NTAPI SynchronizedDMusMPUWrite | ( | IN PINTERRUPTSYNC | InterruptSync, |
IN PVOID | syncWriteContext | ||
) |
Definition at line 829 of file miniport_dmus.cpp.
NTSTATUS NTAPI SynchronizedDMusMPUWrite | ( | PINTERRUPTSYNC | InterruptSync, |
PVOID | syncWriteContext | ||
) |
Definition at line 885 of file miniport_dmus.cpp.
Referenced by SynchronizedDMusMPUWrite().
NTSTATUS ValidatePropertyRequest | ( | IN PPCPROPERTY_REQUEST | pRequest, |
IN ULONG | ulValueSize, | ||
IN BOOLEAN | fValueRequired | ||
) |
Definition at line 2616 of file miniport_dmus.cpp.
Referenced by CMiniportDMusUARTStream::HandlePortParams().
Definition at line 930 of file miniport_dmus.cpp.
Referenced by InitMPU(), ResetHardware(), and SynchronizedDMusMPUWrite().
Definition at line 51 of file miniport_dmus.cpp.
Referenced by DMusMPUInterruptServiceRoutine().
|
static |
Definition at line 561 of file miniport_dmus.cpp.
|
static |
Definition at line 545 of file miniport_dmus.cpp.
|
static |
Definition at line 574 of file miniport_dmus.cpp.
Referenced by CMiniportDMusUART::GetDescription(), and STDMETHODIMP_().
|
static |
Definition at line 520 of file miniport_dmus.cpp.
|
static |
Definition at line 423 of file miniport_dmus.cpp.
Referenced by CMiniport::BuildDataRangeInformation().
|
static |
Definition at line 367 of file miniport_dmus.cpp.
|
static |
Definition at line 333 of file miniport_dmus.cpp.
|
static |
Definition at line 328 of file miniport_dmus.cpp.
|
static |
Definition at line 323 of file miniport_dmus.cpp.
|
static |
Definition at line 345 of file miniport_dmus.cpp.
|
static |
Definition at line 295 of file miniport_dmus.cpp.
|
static |
Definition at line 276 of file miniport_dmus.cpp.
|
static |
Definition at line 379 of file miniport_dmus.cpp.
Definition at line 2425 of file miniport_dmus.cpp.
Definition at line 2424 of file miniport_dmus.cpp.