~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/sound/isa/galaxy/azt1605.c

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /sound/isa/galaxy/azt1605.c (Version linux-6.12-rc7) and /sound/isa/galaxy/azt1605.c (Version linux-6.9.12)


  1 // SPDX-License-Identifier: GPL-2.0-or-later        1 // SPDX-License-Identifier: GPL-2.0-or-later
  2 /*                                                  2 /*
  3  * Aztech AZT1605 Driver                            3  * Aztech AZT1605 Driver
  4  * Copyright (C) 2007,2010  Rene Herman             4  * Copyright (C) 2007,2010  Rene Herman
  5  */                                                 5  */
  6                                                     6 
  7 #define AZT1605                                     7 #define AZT1605
  8                                                     8 
  9 #define CRD_NAME "Aztech AZT1605"                   9 #define CRD_NAME "Aztech AZT1605"
 10 #define DRV_NAME "AZT1605"                         10 #define DRV_NAME "AZT1605"
 11 #define DEV_NAME "azt1605"                         11 #define DEV_NAME "azt1605"
 12                                                    12 
 13 #define GALAXY_DSP_MAJOR                2          13 #define GALAXY_DSP_MAJOR                2
 14 #define GALAXY_DSP_MINOR                1          14 #define GALAXY_DSP_MINOR                1
 15                                                    15 
 16 #define GALAXY_CONFIG_SIZE              3          16 #define GALAXY_CONFIG_SIZE              3
 17                                                    17 
 18 /*                                                 18 /*
 19  * 24-bit config register                          19  * 24-bit config register
 20  */                                                20  */
 21                                                    21 
 22 #define GALAXY_CONFIG_SBA_220           (0 <<      22 #define GALAXY_CONFIG_SBA_220           (0 << 0)
 23 #define GALAXY_CONFIG_SBA_240           (1 <<      23 #define GALAXY_CONFIG_SBA_240           (1 << 0)
 24 #define GALAXY_CONFIG_SBA_260           (2 <<      24 #define GALAXY_CONFIG_SBA_260           (2 << 0)
 25 #define GALAXY_CONFIG_SBA_280           (3 <<      25 #define GALAXY_CONFIG_SBA_280           (3 << 0)
 26 #define GALAXY_CONFIG_SBA_MASK          GALAXY     26 #define GALAXY_CONFIG_SBA_MASK          GALAXY_CONFIG_SBA_280
 27                                                    27 
 28 #define GALAXY_CONFIG_MPUA_300          (0 <<      28 #define GALAXY_CONFIG_MPUA_300          (0 << 2)
 29 #define GALAXY_CONFIG_MPUA_330          (1 <<      29 #define GALAXY_CONFIG_MPUA_330          (1 << 2)
 30                                                    30 
 31 #define GALAXY_CONFIG_MPU_ENABLE        (1 <<      31 #define GALAXY_CONFIG_MPU_ENABLE        (1 << 3)
 32                                                    32 
 33 #define GALAXY_CONFIG_GAME_ENABLE       (1 <<      33 #define GALAXY_CONFIG_GAME_ENABLE       (1 << 4)
 34                                                    34 
 35 #define GALAXY_CONFIG_CD_PANASONIC      (1 <<      35 #define GALAXY_CONFIG_CD_PANASONIC      (1 << 5)
 36 #define GALAXY_CONFIG_CD_MITSUMI        (1 <<      36 #define GALAXY_CONFIG_CD_MITSUMI        (1 << 6)
 37 #define GALAXY_CONFIG_CD_MASK           (\         37 #define GALAXY_CONFIG_CD_MASK           (\
 38         GALAXY_CONFIG_CD_PANASONIC | GALAXY_CO     38         GALAXY_CONFIG_CD_PANASONIC | GALAXY_CONFIG_CD_MITSUMI)
 39                                                    39 
 40 #define GALAXY_CONFIG_UNUSED            (1 <<      40 #define GALAXY_CONFIG_UNUSED            (1 << 7)
 41 #define GALAXY_CONFIG_UNUSED_MASK       GALAXY     41 #define GALAXY_CONFIG_UNUSED_MASK       GALAXY_CONFIG_UNUSED
 42                                                    42 
 43 #define GALAXY_CONFIG_SBIRQ_2           (1 <<      43 #define GALAXY_CONFIG_SBIRQ_2           (1 << 8)
 44 #define GALAXY_CONFIG_SBIRQ_3           (1 <<      44 #define GALAXY_CONFIG_SBIRQ_3           (1 << 9)
 45 #define GALAXY_CONFIG_SBIRQ_5           (1 <<      45 #define GALAXY_CONFIG_SBIRQ_5           (1 << 10)
 46 #define GALAXY_CONFIG_SBIRQ_7           (1 <<      46 #define GALAXY_CONFIG_SBIRQ_7           (1 << 11)
 47                                                    47 
 48 #define GALAXY_CONFIG_MPUIRQ_2          (1 <<      48 #define GALAXY_CONFIG_MPUIRQ_2          (1 << 12)
 49 #define GALAXY_CONFIG_MPUIRQ_3          (1 <<      49 #define GALAXY_CONFIG_MPUIRQ_3          (1 << 13)
 50 #define GALAXY_CONFIG_MPUIRQ_5          (1 <<      50 #define GALAXY_CONFIG_MPUIRQ_5          (1 << 14)
 51 #define GALAXY_CONFIG_MPUIRQ_7          (1 <<      51 #define GALAXY_CONFIG_MPUIRQ_7          (1 << 15)
 52                                                    52 
 53 #define GALAXY_CONFIG_WSSA_530          (0 <<      53 #define GALAXY_CONFIG_WSSA_530          (0 << 16)
 54 #define GALAXY_CONFIG_WSSA_604          (1 <<      54 #define GALAXY_CONFIG_WSSA_604          (1 << 16)
 55 #define GALAXY_CONFIG_WSSA_E80          (2 <<      55 #define GALAXY_CONFIG_WSSA_E80          (2 << 16)
 56 #define GALAXY_CONFIG_WSSA_F40          (3 <<      56 #define GALAXY_CONFIG_WSSA_F40          (3 << 16)
 57                                                    57 
 58 #define GALAXY_CONFIG_WSS_ENABLE        (1 <<      58 #define GALAXY_CONFIG_WSS_ENABLE        (1 << 18)
 59                                                    59 
 60 #define GALAXY_CONFIG_CDIRQ_11          (1 <<      60 #define GALAXY_CONFIG_CDIRQ_11          (1 << 19)
 61 #define GALAXY_CONFIG_CDIRQ_12          (1 <<      61 #define GALAXY_CONFIG_CDIRQ_12          (1 << 20)
 62 #define GALAXY_CONFIG_CDIRQ_15          (1 <<      62 #define GALAXY_CONFIG_CDIRQ_15          (1 << 21)
 63 #define GALAXY_CONFIG_CDIRQ_MASK        (\         63 #define GALAXY_CONFIG_CDIRQ_MASK        (\
 64         GALAXY_CONFIG_CDIRQ_11 | GALAXY_CONFIG     64         GALAXY_CONFIG_CDIRQ_11 | GALAXY_CONFIG_CDIRQ_12 |\
 65         GALAXY_CONFIG_CDIRQ_15)                    65         GALAXY_CONFIG_CDIRQ_15)
 66                                                    66 
 67 #define GALAXY_CONFIG_CDDMA_DISABLE     (0 <<      67 #define GALAXY_CONFIG_CDDMA_DISABLE     (0 << 22)
 68 #define GALAXY_CONFIG_CDDMA_0           (1 <<      68 #define GALAXY_CONFIG_CDDMA_0           (1 << 22)
 69 #define GALAXY_CONFIG_CDDMA_1           (2 <<      69 #define GALAXY_CONFIG_CDDMA_1           (2 << 22)
 70 #define GALAXY_CONFIG_CDDMA_3           (3 <<      70 #define GALAXY_CONFIG_CDDMA_3           (3 << 22)
 71 #define GALAXY_CONFIG_CDDMA_MASK        GALAXY     71 #define GALAXY_CONFIG_CDDMA_MASK        GALAXY_CONFIG_CDDMA_3
 72                                                    72 
 73 #define GALAXY_CONFIG_MASK              (\         73 #define GALAXY_CONFIG_MASK              (\
 74         GALAXY_CONFIG_SBA_MASK | GALAXY_CONFIG     74         GALAXY_CONFIG_SBA_MASK | GALAXY_CONFIG_CD_MASK |\
 75         GALAXY_CONFIG_UNUSED_MASK | GALAXY_CON     75         GALAXY_CONFIG_UNUSED_MASK | GALAXY_CONFIG_CDIRQ_MASK |\
 76         GALAXY_CONFIG_CDDMA_MASK)                  76         GALAXY_CONFIG_CDDMA_MASK)
 77                                                    77 
 78 #include "galaxy.c"                                78 #include "galaxy.c"
 79                                                    79 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php