Definition at line 66 of file miniport_dmus.cpp.
◆ CMiniportDMusUART()
CMiniportDMusUART::CMiniportDMusUART |
( |
IUnknown * |
Unknown | ) |
|
|
inline |
◆ ~CMiniportDMusUART()
CMiniportDMusUART::~CMiniportDMusUART |
( |
void |
| ) |
|
|
virtual |
Definition at line 1381 of file miniport_dmus.cpp.
1382{
1384
1385 DPRINT(
"~CMiniportDMusUART");
1386
1389
1390
1392 {
1394 }
1395 else
1396 {
1398 }
1399
1401 {
1404 }
1406 {
1409 }
1411 {
1414 }
1415}
PINTERRUPTSYNC m_pInterruptSync
USHORT m_NumCaptureStreams
USHORT m_NumRenderStreams
PSERVICEGROUP m_pServiceGroup
NTSTATUS NTAPI InitMPU(IN PINTERRUPTSYNC InterruptSync, IN PVOID DynamicContext)
NTSTATUS(NTAPI * PINTERRUPTSYNCROUTINE)(IN struct IInterruptSync *InterruptSync, IN PVOID DynamicContext)
◆ DataRangeIntersection()
◆ GetDescription()
Definition at line 1200 of file miniport_dmus.cpp.
1205{
1207
1208 ASSERT(OutFilterDescriptor);
1209
1210 DPRINT(
"GetDescription");
1211
1213
1215}
static PCFILTER_DESCRIPTOR MiniportFilterDescriptor
◆ InitializeHardware()
Definition at line 617 of file miniport_dmus.cpp.
618{
620
623 {
624 ntStatus = interruptSync->CallSynchronizedRoutine(
InitMPU,
PVOID(portBase));
625 }
626 else
627 {
629 }
630
632 {
633
634
635
637 }
638 else
639 {
640 DPRINT(
"*** InitMPU returned with ntStatus 0x%08x ***", ntStatus);
641 }
642
644
645 return ntStatus;
646}
BOOLEAN m_fMPUInitialized
#define NT_SUCCESS(StatCode)
NTSTATUS ResetHardware(PUCHAR portBase)
Referenced by ProcessResources().
◆ ProcessResources()
Definition at line 1255 of file miniport_dmus.cpp.
1260{
1262
1263 DPRINT(
"ProcessResources");
1264
1267 {
1269 }
1270
1271
1272
1277
1278#if DBG
1279 DPRINT(
"Starting MPU401 Port 0x%lx",
ResourceList->FindTranslatedPort(0)->u.Port.Start.LowPart);
1280#endif
1281
1283
1284
1285
1286
1287 if ( (countIO != 1)
1288 || (countIRQ > 1)
1289 || (countDMA != 0)
1290 || (lengthIO == 0)
1291 )
1292 {
1293 DPRINT(
"Unknown ResourceList configuration");
1295 }
1296
1298 {
1299
1300
1301
1304
1306 }
1307
1308 return ntStatus;
1309}
NTSTATUS InitializeHardware(PINTERRUPTSYNC interruptSync, PUCHAR portBase)
#define STATUS_DEVICE_CONFIGURATION_ERROR
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList
◆ QueryInterface()
CMiniportDMusUART::QueryInterface |
( |
REFIID |
InterfaceId, |
|
|
PVOID * |
Interface |
|
) |
| |
Definition at line 1321 of file miniport_dmus.cpp.
1326{
1328
1329 DPRINT(
"Miniport::NonDelegatingQueryInterface");
1331
1333 {
1335 }
1336 else
1338 {
1340 }
1341 else
1343 {
1345 }
1346 else
1348 {
1350 }
1351 else
1353 {
1355 }
1356 else
1357 {
1359 }
1360
1362 {
1363
1364
1365
1368 }
1369
1371}
IMiniportDMus * PMINIPORTDMUS
struct _MINIPORT * PMINIPORT
IMusicTechnology * PMUSICTECHNOLOGY
IPowerNotify * PPOWERNOTIFY
#define STATUS_INVALID_PARAMETER
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
#define IsEqualGUIDAligned(guid1, guid2)
◆ STDMETHODIMP_() [1/4]
CMiniportDMusUART::STDMETHODIMP_ |
( |
NTSTATUS |
| ) |
|
◆ STDMETHODIMP_() [2/4]
CMiniportDMusUART::STDMETHODIMP_ |
( |
NTSTATUS |
| ) |
|
◆ STDMETHODIMP_() [3/4]
CMiniportDMusUART::STDMETHODIMP_ |
( |
NTSTATUS |
| ) |
|
◆ STDMETHODIMP_() [4/4]
CMiniportDMusUART::STDMETHODIMP_ |
( |
void |
| ) |
|
◆ CMiniportDMusUARTStream
◆ DMusMPUInterruptServiceRoutine
◆ DMusUARTTimerDPC
◆ PropertyHandler_Synth
Definition at line 2429 of file miniport_dmus.cpp.
2433{
2435
2437
2439 {
2442 {
2443
2445
2447 switch (
pRequest->PropertyItem->Id)
2448 {
2452 }
2453 switch (
pRequest->PropertyItem->Id)
2454 {
2457 }
2460
2461 switch (
pRequest->PropertyItem->Id)
2462 {
2465 {
2467 }
2468 else
2469 {
2472 }
2473 }
2474 }
2475 }
2476 else
2477 {
2480 {
2482 DPRINT(
"PropertyHandler_Synth:KSPROPERTY_SYNTH_CAPS");
2483
2485 {
2487 }
2488
2490 {
2492
2494 {
2496 int increment;
2498
2499
2501 {
2504 caps->
Guid = CLSID_MiniportDriverDMusUART;
2505 }
2506 else
2507 {
2510 caps->
Guid = CLSID_MiniportDriverDMusUARTCapture;
2511 }
2512
2518
2520
2525 int cLen;
2527
2528 cLen *=
sizeof(
WCHAR);
2530 wszDesc2,
2531 cLen);
2532
2533
2535 }
2536 }
2537
2538 break;
2539
2541 DPRINT(
"PropertyHandler_Synth:KSPROPERTY_SYNTH_PORTPARAMETERS");
2542 {
2544
2546 if (aStream)
2547 {
2549 }
2550 else
2551 {
2553 }
2554 }
2555 break;
2556
2558 DPRINT(
"PropertyHandler_Synth:KSPROPERTY_SYNTH_CHANNELGROUPS");
2559
2562 {
2565 }
2566 break;
2567
2569 DPRINT(
"PropertyHandler_Synth:KSPROPERTY_SYNTH_LATENCYCLOCK");
2570
2572 {
2574 }
2575 else
2576 {
2579 {
2582
2585 {
2587 }
2588 else
2589 {
2593 }
2594 }
2595 }
2596 break;
2597
2598 default:
2599 DPRINT(
"Unhandled property in PropertyHandler_Synth");
2600 break;
2601 }
2602 }
2603 return ntStatus;
2604}
CMiniportDMusUART * m_pMiniport
NTSTATUS HandlePortParams(IN PPCPROPERTY_REQUEST Request)
PMASTERCLOCK m_MasterClock
@ KSPROPERTY_SYNTH_PORTPARAMETERS
@ KSPROPERTY_SYNTH_CHANNELGROUPS
@ KSPROPERTY_SYNTH_LATENCYCLOCK
#define SYNTH_PC_EXTERNAL
struct _SYNTHCAPS SYNTHCAPS
#define KSPROPERTY_TYPE_SET
#define KSPROPERTY_TYPE_BASICSUPPORT
#define KSPROPERTY_TYPE_GET
NTSTATUS ValidatePropertyRequest(IN PPCPROPERTY_REQUEST pRequest, IN ULONG ulValueSize, IN BOOLEAN fValueRequired)
__GNU_EXTENSION typedef unsigned __int64 * PULONGLONG
#define RtlCopyMemory(Destination, Source, Length)
#define RtlZeroMemory(Destination, Length)
#define STATUS_INVALID_DEVICE_REQUEST
◆ pStream
◆ SynchronizedDMusMPUWrite
◆ AllocatorMXF
◆ DataFormat
◆ IMP_IMusicTechnology
CMiniportDMusUART::IMP_IMusicTechnology |
◆ IMP_IPowerNotify
CMiniportDMusUART::IMP_IPowerNotify |
◆ m_fMPUInitialized
BOOLEAN CMiniportDMusUART::m_fMPUInitialized |
|
private |
◆ m_InputTimeStamp
◆ m_KSStateInput
KSSTATE CMiniportDMusUART::m_KSStateInput |
|
private |
◆ m_MasterClock
◆ m_MPUInputBuffer
◆ m_MPUInputBufferHead
ULONG CMiniportDMusUART::m_MPUInputBufferHead |
|
private |
◆ m_MPUInputBufferTail
ULONG CMiniportDMusUART::m_MPUInputBufferTail |
|
private |
◆ m_MusicFormatTechnology
GUID CMiniportDMusUART::m_MusicFormatTechnology |
|
private |
◆ m_NumCaptureStreams
USHORT CMiniportDMusUART::m_NumCaptureStreams |
|
private |
◆ m_NumRenderStreams
USHORT CMiniportDMusUART::m_NumRenderStreams |
|
private |
◆ m_pInterruptSync
◆ m_PowerState
◆ m_pPort
◆ m_pPortBase
PUCHAR CMiniportDMusUART::m_pPortBase |
|
private |
◆ m_pServiceGroup
◆ m_UseIRQ
BOOLEAN CMiniportDMusUART::m_UseIRQ |
|
private |
◆ MasterClock
◆ OPTIONAL
IN PUNKNOWN OuterUnknown CMiniportDMusUART::OPTIONAL |
◆ PinID
◆ PoolType
◆ Port
◆ ResourceList
◆ SchedulePreFetch
◆ ServiceGroup [1/2]
◆ ServiceGroup [2/2]
◆ StreamType
The documentation for this class was generated from the following file: