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