blob: c46bf43dd592b3a9928e4edc0501e7d6f3262b14 [file] [log] [blame]
Nico Huber27d26272026-05-27 19:01:09 +02001--
2-- Copyright (C) 2022 Google, LLC
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; either version 2 of the License, or
7-- (at your option) any later version.
8--
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.Registers;
16
17with HW.GFX.GMA.Power_Domains;
18use HW.GFX.GMA.Power_Domains;
19
20private package HW.GFX.GMA.Power_Domains_Common is
21
22 procedure PD_On (PD : Power_Domain);
23
24 procedure Power_Set_To (Configs : Pipe_Configs);
25 procedure Power_Up (Old_Configs, New_Configs : Pipe_Configs);
26 procedure Power_Down (Old_Configs, Tmp_Configs, New_Configs : Pipe_Configs);
27 procedure All_Off;
28
29end HW.GFX.GMA.Power_Domains_Common;