blob: 2d2927512f56b93002f11c441728c1358bffa603 [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
6-- the Free Software Foundation; version 2 of the License.
7--
8-- This program is distributed in the hope that it will be useful,
9-- but WITHOUT ANY WARRANTY; without even the implied warranty of
10-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-- GNU General Public License for more details.
12--
13
14private package HW.GFX.GMA.PCH.Sideband is
15
16 type Destination_Type is (SBI_ICLK, SBI_MPHY);
17
18 type Register_Type is
19 (SBI_SSCDIVINTPHASE6,
20 SBI_SSCCTL6,
21 SBI_SSCAUXDIV);
22
23 procedure Read
24 (Dest : in Destination_Type;
25 Register : in Register_Type;
26 Value : out Word32);
27
28 procedure Write
29 (Dest : in Destination_Type;
30 Register : in Register_Type;
31 Value : in Word32);
32
33 procedure Unset_Mask
34 (Dest : in Destination_Type;
35 Register : in Register_Type;
36 Mask : in Word32);
37
38 procedure Set_Mask
39 (Dest : in Destination_Type;
40 Register : in Register_Type;
41 Mask : in Word32);
42
43 procedure Unset_And_Set_Mask
44 (Dest : in Destination_Type;
45 Register : in Register_Type;
46 Mask_Unset : in Word32;
47 Mask_Set : in Word32);
48
49end HW.GFX.GMA.PCH.Sideband;