| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 1 | -- |
| 2 | -- Copyright (C) 2015-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 Huber | 125a29e | 2016-10-18 00:23:54 +0200 | [diff] [blame] | 6 | -- the Free Software Foundation; either version 2 of the License, or |
| 7 | -- (at your option) any later version. |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 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 | private package HW.GFX.GMA.Connectors is |
| 16 | |
| Nico Huber | a825448 | 2024-07-03 12:23:00 +0200 | [diff] [blame] | 17 | pragma Warnings (GNATprove, Off, "unused variable ""P*""", |
| 18 | Reason => "Needed for a common interface"); |
| 19 | pragma Warnings (GNATprove, Off, """P*"" is not modified, could be IN", |
| 20 | Reason => "Needed for a common interface"); |
| Nico Huber | 3a0e2a0 | 2017-07-19 14:41:46 +0200 | [diff] [blame] | 21 | pragma Warnings (GNATprove, Off, "subprogram ""*"" has no effect", |
| Nico Huber | 0923b79 | 2017-06-09 15:28:41 +0200 | [diff] [blame] | 22 | Reason => "Only effects some platforms"); |
| Nico Huber | 3a0e2a0 | 2017-07-19 14:41:46 +0200 | [diff] [blame] | 23 | procedure Post_Reset_Off; |
| Nico Huber | 0923b79 | 2017-06-09 15:28:41 +0200 | [diff] [blame] | 24 | procedure Initialize; |
| Nico Huber | a825448 | 2024-07-03 12:23:00 +0200 | [diff] [blame] | 25 | procedure Prepare |
| 26 | (Port : in Active_Port_Type; |
| 27 | Port_Cfg : in out Port_Config; |
| 28 | Success : out Boolean) |
| 29 | with |
| 30 | Post => Port_Cfg.Mode = Port_Cfg'Old.Mode; |
| 31 | |
| 32 | pragma Warnings (GNATprove, On, """P*"" is not modified, could be IN"); |
| Nico Huber | 3a0e2a0 | 2017-07-19 14:41:46 +0200 | [diff] [blame] | 33 | pragma Warnings (GNATprove, On, "subprogram ""*"" has no effect"); |
| Nico Huber | 0923b79 | 2017-06-09 15:28:41 +0200 | [diff] [blame] | 34 | |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 35 | procedure Pre_On |
| Nico Huber | 6e327c9 | 2016-12-21 14:45:45 +0100 | [diff] [blame] | 36 | (Pipe : in Pipe_Index; |
| 37 | Port_Cfg : in Port_Config; |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 38 | PLL_Hint : in Word32; |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 39 | Success : out Boolean); |
| 40 | |
| 41 | procedure Post_On |
| Arthur Heymans | 60d0e5f | 2018-03-28 17:08:27 +0200 | [diff] [blame] | 42 | (Pipe : in Pipe_Index; |
| 43 | Port_Cfg : in Port_Config; |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 44 | PLL_Hint : in Word32; |
| 45 | Success : out Boolean); |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 46 | |
| Nico Huber | bfea6a3 | 2024-03-07 15:22:36 +0000 | [diff] [blame] | 47 | procedure Pre_Off (Pipe : Pipe_Index; Port_Cfg : Port_Config); |
| 48 | procedure Post_Off (Pipe : Pipe_Index; Port_Cfg : Port_Config); |
| 49 | pragma Warnings (GNATprove, On, "unused variable ""P*"""); |
| Nico Huber | 83693c8 | 2016-10-08 22:17:55 +0200 | [diff] [blame] | 50 | |
| 51 | procedure Pre_All_Off; |
| 52 | procedure Post_All_Off; |
| 53 | |
| 54 | end HW.GFX.GMA.Connectors; |