| Nico Huber | 27d2627 | 2026-05-27 19:01:09 +0200 | [diff] [blame] | 1 | -- |
| 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 | |
| 15 | with HW.GFX.GMA.Registers; |
| 16 | |
| 17 | with HW.GFX.GMA.Power_Domains; |
| 18 | use HW.GFX.GMA.Power_Domains; |
| 19 | |
| 20 | private 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 | |
| 29 | end HW.GFX.GMA.Power_Domains_Common; |