Definition at line 69 of file miniport_dmus.cpp.
◆ CMiniportDMusUART()
CMiniportDMusUART::CMiniportDMusUART |
( |
IUnknown * |
Unknown | ) |
|
|
inline |
◆ ~CMiniportDMusUART()
CMiniportDMusUART::~CMiniportDMusUART |
( |
void |
| ) |
|
|
virtual |
Definition at line 1384 of file miniport_dmus.cpp.
1385{
1387
1388 DPRINT(
"~CMiniportDMusUART");
1389
1392
1393
1395 {
1397 }
1398 else
1399 {
1401 }
1402
1404 {
1407 }
1409 {
1412 }
1414 {
1417 }
1418}
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 1203 of file miniport_dmus.cpp.
1208{
1210
1211 ASSERT(OutFilterDescriptor);
1212
1213 DPRINT(
"GetDescription");
1214
1216
1218}
static PCFILTER_DESCRIPTOR MiniportFilterDescriptor
◆ InitializeHardware()
Definition at line 620 of file miniport_dmus.cpp.
621{
623
626 {
627 ntStatus = interruptSync->CallSynchronizedRoutine(
InitMPU,
PVOID(portBase));
628 }
629 else
630 {
632 }
633
635 {
636
637
638
640 }
641 else
642 {
643 DPRINT(
"*** InitMPU returned with ntStatus 0x%08x ***", ntStatus);
644 }
645
647
648 return ntStatus;
649}
BOOLEAN m_fMPUInitialized
#define NT_SUCCESS(StatCode)
NTSTATUS ResetHardware(PUCHAR portBase)
Referenced by ProcessResources().
◆ ProcessResources()
Definition at line 1258 of file miniport_dmus.cpp.
1263{
1265
1266 DPRINT(
"ProcessResources");
1267
1270 {
1272 }
1273
1274
1275
1280
1281#if DBG
1282 DPRINT(
"Starting MPU401 Port 0x%lx",
ResourceList->FindTranslatedPort(0)->u.Port.Start.LowPart);
1283#endif
1284
1286
1287
1288
1289
1290 if ( (countIO != 1)
1291 || (countIRQ > 1)
1292 || (countDMA != 0)
1293 || (lengthIO == 0)
1294 )
1295 {
1296 DPRINT(
"Unknown ResourceList configuration");
1298 }
1299
1301 {
1302
1303
1304
1307
1309 }
1310
1311 return ntStatus;
1312}
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 1324 of file miniport_dmus.cpp.
1329{
1331
1332 DPRINT(
"Miniport::NonDelegatingQueryInterface");
1334
1336 {
1338 }
1339 else
1341 {
1343 }
1344 else
1346 {
1348 }
1349 else
1351 {
1353 }
1354 else
1356 {
1358 }
1359 else
1360 {
1362 }
1363
1365 {
1366
1367
1368
1371 }
1372
1374}
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 2432 of file miniport_dmus.cpp.
2436{
2438
2440
2442 {
2445 {
2446
2448
2450 switch (
pRequest->PropertyItem->Id)
2451 {
2455 }
2456 switch (
pRequest->PropertyItem->Id)
2457 {
2460 }
2463
2464 switch (
pRequest->PropertyItem->Id)
2465 {
2468 {
2470 }
2471 else
2472 {
2475 }
2476 }
2477 }
2478 }
2479 else
2480 {
2483 {
2485 DPRINT(
"PropertyHandler_Synth:KSPROPERTY_SYNTH_CAPS");
2486
2488 {
2490 }
2491
2493 {
2495
2497 {
2499 int increment;
2501
2502
2504 {
2507 caps->
Guid = CLSID_MiniportDriverDMusUART;
2508 }
2509 else
2510 {
2513 caps->
Guid = CLSID_MiniportDriverDMusUARTCapture;
2514 }
2515
2521
2523
2528 int cLen;
2530
2531 cLen *=
sizeof(
WCHAR);
2533 wszDesc2,
2534 cLen);
2535
2536
2538 }
2539 }
2540
2541 break;
2542
2544 DPRINT(
"PropertyHandler_Synth:KSPROPERTY_SYNTH_PORTPARAMETERS");
2545 {
2547
2549 if (aStream)
2550 {
2552 }
2553 else
2554 {
2556 }
2557 }
2558 break;
2559
2561 DPRINT(
"PropertyHandler_Synth:KSPROPERTY_SYNTH_CHANNELGROUPS");
2562
2565 {
2568 }
2569 break;
2570
2572 DPRINT(
"PropertyHandler_Synth:KSPROPERTY_SYNTH_LATENCYCLOCK");
2573
2575 {
2577 }
2578 else
2579 {
2582 {
2585
2588 {
2590 }
2591 else
2592 {
2596 }
2597 }
2598 }
2599 break;
2600
2601 default:
2602 DPRINT(
"Unhandled property in PropertyHandler_Synth");
2603 break;
2604 }
2605 }
2606 return ntStatus;
2607}
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: