]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>\r | |
4 | \r\r | |
5 | This program and the accompanying materials are licensed and made available under\r\r | |
6 | the terms and conditions of the BSD License that accompanies this distribution. \r\r | |
7 | The full text of the license may be found at \r\r | |
8 | http://opensource.org/licenses/bsd-license.php. \r\r | |
9 | \r\r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r | |
12 | \r\r | |
13 | \r | |
14 | --*/\r | |
15 | \r | |
16 | #ifndef _FSA_LIB_H\r | |
17 | #define _FSA_LIB_H\r | |
18 | #include <Uefi.h>\r | |
19 | #include <Uefi/UefiSpec.h>\r | |
20 | \r | |
21 | #define FSA_REG_DEVID 0x1\r | |
22 | #define FSA_REG_CTRL 0x2\r | |
23 | #define FSA_REG_INTR 0x3\r | |
24 | #define FSA_REG_INTR_MSK 0x5\r | |
25 | #define FSA_REG_RESISTOR_CODE 0x7\r | |
26 | #define FSA_REG_TIMING_SET 0x8\r | |
27 | #define FSA_REG_STATUS 0x9\r | |
28 | #define FSA_REG_DEV_TYPE 0xA\r | |
29 | #define FSA_REG_DAC_SAR 0xB\r | |
30 | #define FSA_REG_MANUAL_SW 0x13\r | |
31 | #define FSA_REG_MANUAL_CHG_CTRL 0x14\r | |
32 | \r | |
33 | extern\r | |
34 | EFI_STATUS\r | |
35 | EFIAPI\r | |
36 | FsaUsbDeviceMode (\r | |
37 | VOID\r | |
38 | );\r | |
39 | \r | |
40 | \r | |
41 | extern\r | |
42 | EFI_STATUS\r | |
43 | EFIAPI\r | |
44 | DisableFsaTimerHandler (\r | |
45 | VOID\r | |
46 | );\r | |
47 | \r | |
48 | extern\r | |
49 | EFI_STATUS\r | |
50 | EFIAPI\r | |
51 | FSAInit (\r | |
52 | IN UINT32 FFRDVer\r | |
53 | );\r | |
54 | \r | |
55 | #endif\r |