blob: f80b97f15064e5f0f6d472704c85815d3f847b95 [file] [log] [blame]
Nico Huber83693c82016-10-08 22:17:55 +02001--
2-- Copyright (C) 2016 secunet Security Networks AG
3--
4-- This program is free software; you can redistribute it and/or modify
5-- it under the terms of the GNU General Public License as published by
Nico Huber125a29e2016-10-18 00:23:54 +02006-- the Free Software Foundation; either version 2 of the License, or
7-- (at your option) any later version.
Nico Huber83693c82016-10-08 22:17:55 +02008--
9-- This program is distributed in the hope that it will be useful,
10-- but WITHOUT ANY WARRANTY; without even the implied warranty of
11-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-- GNU General Public License for more details.
13--
14
15with HW.GFX.GMA.PCH;
16
17private package HW.GFX.GMA.Connectors.FDI
18is
19
20 subtype GPU_FDI_Port is GPU_Port range DIGI_B .. DIGI_D;
21
22 type PCH_FDI_Mapping is array (GPU_FDI_Port) of PCH.FDI_Port_Type;
23 PCH_FDIs : constant PCH_FDI_Mapping :=
24 (DIGI_B => PCH.FDI_A,
25 DIGI_C => PCH.FDI_B,
26 DIGI_D => PCH.FDI_C);
27
28 type Off_Type is (Link_Off, Clock_Off);
29
30 ----------------------------------------------------------------------------
31
32 procedure Pre_On (Port_Cfg : Port_Config)
33 with
34 Pre => Port_Cfg.Port in GPU_FDI_Port;
35
36 procedure Post_On
37 (Port_Cfg : in Port_Config;
38 Success : out Boolean)
39 with
40 Pre => Port_Cfg.Port in GPU_FDI_Port;
41
42 procedure Off (Port : GPU_FDI_Port; OT : Off_Type);
43
44end HW.GFX.GMA.Connectors.FDI;