Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.9 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. //
  3. // File : mpst.h
  4. //
  5. // Prototype for mpst.c
  6. // i/f between Miniport Layer and core driver
  7. //
  8. //
  9. ///////////////////////////////////////////////////////////////////////////
  10. #ifndef __MPST_H__
  11. #define __MPST_H__
  12. #include "mpinit.h"
  13. typedef struct tagBusInfo
  14. {
  15. ULONG NumberOfAccessRanges;
  16. INTERFACE_TYPE AdapterInterfaceType;
  17. USHORT VendorIdLength; // size in bytes of VendorId
  18. PVOID VendorId; // points to ASCII byte string identifying
  19. USHORT DeviceIdLength; // size in bytes of DeviceId
  20. PVOID DeviceId; // points to ASCII byte string identifying
  21. BOOLEAN NoDynamicRelocation; // On dynamically configurable I/O busses, when set
  22. } BUSINFO, *PBUSINFO;
  23. typedef struct tagBoardInfo
  24. {
  25. PUSHORT ioBasePCI9060; // Eval3520 PCI Specific address
  26. PUSHORT ioBaseLocal; // Base address
  27. UCHAR Irq;
  28. } BOARDINFO, *PBOARDINFO;
  29. BOOLEAN mpstDriverEntry (OUT PBUSINFO pBusInfo);
  30. BOOLEAN mpstHwFindAdaptor (OUT PBOARDINFO pBoardInfo);
  31. BOOLEAN mpstHwInitialize(PHW_DEVICE_EXTENSION pHwDevExt);
  32. BOOLEAN mpstHwUnInitialize(VOID);
  33. BOOLEAN mpstHwInterrupt(VOID);
  34. VOID mpstEnableVideo (BOOLEAN bFlag);
  35. ULONG mpstVideoPacket(PHW_STREAM_REQUEST_BLOCK pMrb);
  36. VOID mpstVideoPause(VOID);
  37. VOID mpstVideoPlay(VOID);
  38. VOID mpstVideoStop(VOID);
  39. ULONG mpstVideoDecoderBufferSize(VOID);
  40. ULONG mpstVideoDecoderBufferFullness(VOID);
  41. VOID mpstVideoReset(VOID);
  42. VOID mpstEnableAudio (BOOLEAN bFlag);
  43. ULONG mpstSendAudio(UCHAR *pData, ULONG uLen);
  44. VOID mpstAudioPause(VOID);
  45. VOID mpstAudioPlay(VOID);
  46. VOID mpstAudioStop(VOID);
  47. ULONG mpstAudioDecoderBufferSize(VOID);
  48. ULONG mpstAudioDecoderBufferFullness(VOID);
  49. VOID mpstAudioReset(VOID);
  50. VOID portWritePortBuffer16(IN PUSHORT Port, IN PUSHORT Data, ULONG Size);
  51. void mpstGetVidLvl(PHW_STREAM_REQUEST_BLOCK pSrb);
  52. #endif // __MPST_H__
  53.