diff options
| author | Philip Froese <[email protected]> | 2016-10-19 13:25:24 -0700 |
|---|---|---|
| committer | Philip Froese <[email protected]> | 2016-10-19 13:25:24 -0700 |
| commit | 7995677b7883bad51cbadd6bd1d1674dbd689c38 (patch) | |
| tree | bbde63ce3535c264de5202e337a86fb0606819b7 /usb/UcmTcpciCxClientSample/PortControllerInterface.h | |
| parent | ce06de38a6daee9815dbf7eb8ddd8f335612ccc0 (diff) | |
Adding UcmTcpciCxClientSample
Diffstat (limited to 'usb/UcmTcpciCxClientSample/PortControllerInterface.h')
| -rw-r--r-- | usb/UcmTcpciCxClientSample/PortControllerInterface.h | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/usb/UcmTcpciCxClientSample/PortControllerInterface.h b/usb/UcmTcpciCxClientSample/PortControllerInterface.h new file mode 100644 index 00000000..1d236178 --- /dev/null +++ b/usb/UcmTcpciCxClientSample/PortControllerInterface.h @@ -0,0 +1,73 @@ +/*++ + +Module Name: + + PortControllerInterface.h + +Abstract: + + This file contains the declarations of functions to read to and write from the + Type-C port controller hardware registers. + +Environment: + + Kernel-mode Driver Framework + +--*/ + +#pragma once + +void +PostponeToWorkitem( + _In_ WDFREQUEST Request, + _In_ WDFDEVICE Device, + _In_ WDFWORKITEM Workitem +); + +EVT_WDF_WORKITEM +EvtWorkItemGetStatus; + +EVT_WDF_WORKITEM +EvtWorkItemGetControl; + +void +EvtSetControl( + _In_ WDFREQUEST Request, + _In_ WDFDEVICE Device +); + +void +EvtSetCommand( + _In_ WDFREQUEST Request, + _In_ WDFDEVICE Device +); + +void +EvtSetConfigStandardOutput( + _In_ WDFREQUEST Request, + _In_ WDFDEVICE Device +); + +void +EvtSetMessageHeaderInfo( + _In_ WDFREQUEST Request, + _In_ WDFDEVICE Device +); + +void +EvtSetReceiveDetect( + _In_ WDFREQUEST Request, + _In_ WDFDEVICE Device +); + +void +EvtSetTransmit( + _In_ WDFREQUEST Request, + _In_ WDFDEVICE Device +); + +void +EvtSetTransmitBuffer( + _In_ WDFREQUEST Request, + _In_ WDFDEVICE Device +); |
