blob: 8fb1586a4cf965492caa59f70dfdac720aa17d9a [file] [log] [blame]
Nico Huber83693c82016-10-08 22:17:55 +02001--
2-- Copyright (C) 2015 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
15private package HW.GFX.GMA.PCH.Sideband is
16
17 type Destination_Type is (SBI_ICLK, SBI_MPHY);
18
19 type Register_Type is
Angel Pons450c24c2020-05-13 00:49:52 +020020 (SBI_SSCDIVINTPHASE,
21 SBI_SSCDITHPHASE,
22 SBI_SSCCTL,
23 SBI_SSCDIVINTPHASE6,
Nico Huber83693c82016-10-08 22:17:55 +020024 SBI_SSCCTL6,
Angel Pons450c24c2020-05-13 00:49:52 +020025 SBI_SSCAUXDIV,
26 SBI_GEN0,
27 SBI_DBUFF0,
28
29 SBI_MPHY_2008,
30 SBI_MPHY_206C,
31 SBI_MPHY_2080,
32 SBI_MPHY_208C,
33 SBI_MPHY_2098,
34 SBI_MPHY_20C4,
35 SBI_MPHY_20EC,
36 SBI_MPHY_2108,
37 SBI_MPHY_216C,
38 SBI_MPHY_2180,
39 SBI_MPHY_218C,
40 SBI_MPHY_2198,
41 SBI_MPHY_21C4,
42 SBI_MPHY_21EC,
43 SBI_MPHY_8008);
Nico Huber83693c82016-10-08 22:17:55 +020044
45 procedure Read
46 (Dest : in Destination_Type;
47 Register : in Register_Type;
48 Value : out Word32);
49
50 procedure Write
51 (Dest : in Destination_Type;
52 Register : in Register_Type;
53 Value : in Word32);
54
55 procedure Unset_Mask
56 (Dest : in Destination_Type;
57 Register : in Register_Type;
58 Mask : in Word32);
59
60 procedure Set_Mask
61 (Dest : in Destination_Type;
62 Register : in Register_Type;
63 Mask : in Word32);
64
65 procedure Unset_And_Set_Mask
66 (Dest : in Destination_Type;
67 Register : in Register_Type;
68 Mask_Unset : in Word32;
69 Mask_Set : in Word32);
70
71end HW.GFX.GMA.PCH.Sideband;