Fix style issues and enable style checks

The enabled checks `3abdefhiklnprSx` are what we already live by
but didn't enforce so far. One check that we use internally, yet
omit here is `t`, token spacing. It's too aggressive and doesn't
allow for manual alignment of tables. The set of checks seems to
to fit our code base rather well, otherwise.

So following checks will be performed:

`3` Specify indentation level: 3 spaces.
`a` Check attribute casing: Attributes should appear in mixed case
`b` Blanks not allowed at statement end
`d` Check no DOS line terminators present: No CR/LF
`e` Check end/exit labels
`f` No form feeds or vertical tabs
`h` No horizontal tabs: We always use spaces
`i` Check if-then layout
`k` Check keyword casing: Keywords should appear in lower case
`l` Check layout: Follow layout recommendation of the Ada RM
`n` Check casing of entities in Standard: Should follow the Ada RM
`p` Check pragma casing: Should appear in mixed case
`r` Check reference: Identifiers should appear as in the declaration
`S` Check no statements after then/else
`x` Check extra parentheses: No C-syle parents arounds conditions

Change-Id: Ia07c571c3e3e4e49d8559099511b217ade86f33f
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.sourcearcade.org/c/libgfxinit/+/533
Reviewed-by: Thomas Heijligen <src@posteo.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: Nico Huber <nico.h@gmx.de>
diff --git a/common/hw-gfx-gma-config.ads.template b/common/hw-gfx-gma-config.ads.template
index a041e2c..763a22d 100644
--- a/common/hw-gfx-gma-config.ads.template
+++ b/common/hw-gfx-gma-config.ads.template
@@ -446,7 +446,7 @@
          when Generation'First .. G45      => 165_000_000, -- i945: no HDMI, moot
          when Ironlake                     => 225_000_000,
          when Haswell .. Skylake           => 300_000_000,
-	 when Tigerlake .. Generation'Last => 600_000_000);
+         when Tigerlake .. Generation'Last => 600_000_000);
 
    ----------------------------------------------------------------------------
 
@@ -578,7 +578,7 @@
       Device_Id = 16#9a68# or
       Device_Id = 16#9a70#);
 
-   function Is_Alder_Lake_P (Device_ID : Word16) return Boolean is
+   function Is_Alder_Lake_P (Device_Id : Word16) return Boolean is
      (Device_Id = 16#46a0# or
       Device_Id = 16#46a1# or
       Device_Id = 16#46a2# or
@@ -597,11 +597,11 @@
       Device_Id = 16#46c1# or
       Device_Id = 16#46c2# or
       Device_Id = 16#46c3#);
-   function Is_Alder_Lake_N (Device_ID : Word16) return Boolean is
+   function Is_Alder_Lake_N (Device_Id : Word16) return Boolean is
      (Device_Id = 16#46d0# or
       Device_Id = 16#46d1# or
       Device_Id = 16#46d2#);
-   function Is_Raptor_Lake_P (Device_ID : Word16) return Boolean is
+   function Is_Raptor_Lake_P (Device_Id : Word16) return Boolean is
      (Device_Id = 16#a720# or
       Device_Id = 16#a721# or
       Device_Id = 16#a7a0# or
@@ -663,7 +663,7 @@
                                 when Normal =>
                                    False,
                                 when ULT | ULX =>
-                                   Is_Alder_Lake (Device_ID)));
+                                   Is_Alder_Lake (Device_Id)));
 
    function Compatible_GPU (Device_Id : Word16) return Boolean is
      (Is_GPU (Device_Id, CPU, CPU_Var));