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

TOMOYO Linux Cross Reference
Linux/sound/arm/pxa2xx-ac97-regs.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /sound/arm/pxa2xx-ac97-regs.h (Version linux-6.11-rc3) and /sound/arm/pxa2xx-ac97-regs.h (Version linux-6.10.4)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #ifndef __ASM_ARCH_REGS_AC97_H                      2 #ifndef __ASM_ARCH_REGS_AC97_H
  3 #define __ASM_ARCH_REGS_AC97_H                      3 #define __ASM_ARCH_REGS_AC97_H
  4                                                     4 
  5 /*                                                  5 /*
  6  * AC97 Controller registers                        6  * AC97 Controller registers
  7  */                                                 7  */
  8                                                     8 
  9 #define POCR            (0x0000)        /* PCM      9 #define POCR            (0x0000)        /* PCM Out Control Register */
 10 #define POCR_FEIE       (1 << 3)        /* FIF     10 #define POCR_FEIE       (1 << 3)        /* FIFO Error Interrupt Enable */
 11 #define POCR_FSRIE      (1 << 1)        /* FIF     11 #define POCR_FSRIE      (1 << 1)        /* FIFO Service Request Interrupt Enable */
 12                                                    12 
 13 #define PICR            (0x0004)        /* PCM     13 #define PICR            (0x0004)        /* PCM In Control Register */
 14 #define PICR_FEIE       (1 << 3)        /* FIF     14 #define PICR_FEIE       (1 << 3)        /* FIFO Error Interrupt Enable */
 15 #define PICR_FSRIE      (1 << 1)        /* FIF     15 #define PICR_FSRIE      (1 << 1)        /* FIFO Service Request Interrupt Enable */
 16                                                    16 
 17 #define MCCR            (0x0008)        /* Mic     17 #define MCCR            (0x0008)        /* Mic In Control Register */
 18 #define MCCR_FEIE       (1 << 3)        /* FIF     18 #define MCCR_FEIE       (1 << 3)        /* FIFO Error Interrupt Enable */
 19 #define MCCR_FSRIE      (1 << 1)        /* FIF     19 #define MCCR_FSRIE      (1 << 1)        /* FIFO Service Request Interrupt Enable */
 20                                                    20 
 21 #define GCR             (0x000C)         /* Gl     21 #define GCR             (0x000C)         /* Global Control Register */
 22 #ifdef CONFIG_PXA3xx                               22 #ifdef CONFIG_PXA3xx
 23 #define GCR_CLKBPB      (1 << 31)       /* Int     23 #define GCR_CLKBPB      (1 << 31)       /* Internal clock enable */
 24 #endif                                             24 #endif
 25 #define GCR_nDMAEN      (1 << 24)       /* non     25 #define GCR_nDMAEN      (1 << 24)       /* non DMA Enable */
 26 #define GCR_CDONE_IE    (1 << 19)       /* Com     26 #define GCR_CDONE_IE    (1 << 19)       /* Command Done Interrupt Enable */
 27 #define GCR_SDONE_IE    (1 << 18)       /* Sta     27 #define GCR_SDONE_IE    (1 << 18)       /* Status Done Interrupt Enable */
 28 #define GCR_SECRDY_IEN  (1 << 9)        /* Sec     28 #define GCR_SECRDY_IEN  (1 << 9)        /* Secondary Ready Interrupt Enable */
 29 #define GCR_PRIRDY_IEN  (1 << 8)        /* Pri     29 #define GCR_PRIRDY_IEN  (1 << 8)        /* Primary Ready Interrupt Enable */
 30 #define GCR_SECRES_IEN  (1 << 5)        /* Sec     30 #define GCR_SECRES_IEN  (1 << 5)        /* Secondary Resume Interrupt Enable */
 31 #define GCR_PRIRES_IEN  (1 << 4)        /* Pri     31 #define GCR_PRIRES_IEN  (1 << 4)        /* Primary Resume Interrupt Enable */
 32 #define GCR_ACLINK_OFF  (1 << 3)        /* AC-     32 #define GCR_ACLINK_OFF  (1 << 3)        /* AC-link Shut Off */
 33 #define GCR_WARM_RST    (1 << 2)        /* AC9     33 #define GCR_WARM_RST    (1 << 2)        /* AC97 Warm Reset */
 34 #define GCR_COLD_RST    (1 << 1)        /* AC'     34 #define GCR_COLD_RST    (1 << 1)        /* AC'97 Cold Reset (0 = active) */
 35 #define GCR_GIE         (1 << 0)        /* Cod     35 #define GCR_GIE         (1 << 0)        /* Codec GPI Interrupt Enable */
 36                                                    36 
 37 #define POSR            (0x0010)        /* PCM     37 #define POSR            (0x0010)        /* PCM Out Status Register */
 38 #define POSR_FIFOE      (1 << 4)        /* FIF     38 #define POSR_FIFOE      (1 << 4)        /* FIFO error */
 39 #define POSR_FSR        (1 << 2)        /* FIF     39 #define POSR_FSR        (1 << 2)        /* FIFO Service Request */
 40                                                    40 
 41 #define PISR            (0x0014)        /* PCM     41 #define PISR            (0x0014)        /* PCM In Status Register */
 42 #define PISR_FIFOE      (1 << 4)        /* FIF     42 #define PISR_FIFOE      (1 << 4)        /* FIFO error */
 43 #define PISR_EOC        (1 << 3)        /* DMA     43 #define PISR_EOC        (1 << 3)        /* DMA End-of-Chain (exclusive clear) */
 44 #define PISR_FSR        (1 << 2)        /* FIF     44 #define PISR_FSR        (1 << 2)        /* FIFO Service Request */
 45                                                    45 
 46 #define MCSR            (0x0018)        /* Mic     46 #define MCSR            (0x0018)        /* Mic In Status Register */
 47 #define MCSR_FIFOE      (1 << 4)        /* FIF     47 #define MCSR_FIFOE      (1 << 4)        /* FIFO error */
 48 #define MCSR_EOC        (1 << 3)        /* DMA     48 #define MCSR_EOC        (1 << 3)        /* DMA End-of-Chain (exclusive clear) */
 49 #define MCSR_FSR        (1 << 2)        /* FIF     49 #define MCSR_FSR        (1 << 2)        /* FIFO Service Request */
 50                                                    50 
 51 #define GSR             (0x001C)        /* Glo     51 #define GSR             (0x001C)        /* Global Status Register */
 52 #define GSR_CDONE       (1 << 19)       /* Com     52 #define GSR_CDONE       (1 << 19)       /* Command Done */
 53 #define GSR_SDONE       (1 << 18)       /* Sta     53 #define GSR_SDONE       (1 << 18)       /* Status Done */
 54 #define GSR_RDCS        (1 << 15)       /* Rea     54 #define GSR_RDCS        (1 << 15)       /* Read Completion Status */
 55 #define GSR_BIT3SLT12   (1 << 14)       /* Bit     55 #define GSR_BIT3SLT12   (1 << 14)       /* Bit 3 of slot 12 */
 56 #define GSR_BIT2SLT12   (1 << 13)       /* Bit     56 #define GSR_BIT2SLT12   (1 << 13)       /* Bit 2 of slot 12 */
 57 #define GSR_BIT1SLT12   (1 << 12)       /* Bit     57 #define GSR_BIT1SLT12   (1 << 12)       /* Bit 1 of slot 12 */
 58 #define GSR_SECRES      (1 << 11)       /* Sec     58 #define GSR_SECRES      (1 << 11)       /* Secondary Resume Interrupt */
 59 #define GSR_PRIRES      (1 << 10)       /* Pri     59 #define GSR_PRIRES      (1 << 10)       /* Primary Resume Interrupt */
 60 #define GSR_SCR         (1 << 9)        /* Sec     60 #define GSR_SCR         (1 << 9)        /* Secondary Codec Ready */
 61 #define GSR_PCR         (1 << 8)        /*  Pr     61 #define GSR_PCR         (1 << 8)        /*  Primary Codec Ready */
 62 #define GSR_MCINT       (1 << 7)        /* Mic     62 #define GSR_MCINT       (1 << 7)        /* Mic In Interrupt */
 63 #define GSR_POINT       (1 << 6)        /* PCM     63 #define GSR_POINT       (1 << 6)        /* PCM Out Interrupt */
 64 #define GSR_PIINT       (1 << 5)        /* PCM     64 #define GSR_PIINT       (1 << 5)        /* PCM In Interrupt */
 65 #define GSR_ACOFFD      (1 << 3)        /* AC-     65 #define GSR_ACOFFD      (1 << 3)        /* AC-link Shut Off Done */
 66 #define GSR_MOINT       (1 << 2)        /* Mod     66 #define GSR_MOINT       (1 << 2)        /* Modem Out Interrupt */
 67 #define GSR_MIINT       (1 << 1)        /* Mod     67 #define GSR_MIINT       (1 << 1)        /* Modem In Interrupt */
 68 #define GSR_GSCI        (1 << 0)        /* Cod     68 #define GSR_GSCI        (1 << 0)        /* Codec GPI Status Change Interrupt */
 69                                                    69 
 70 #define CAR             (0x0020)        /* COD     70 #define CAR             (0x0020)        /* CODEC Access Register */
 71 #define CAR_CAIP        (1 << 0)        /* Cod     71 #define CAR_CAIP        (1 << 0)        /* Codec Access In Progress */
 72                                                    72 
 73 #define PCDR            (0x0040)        /* PCM     73 #define PCDR            (0x0040)        /* PCM FIFO Data Register */
 74 #define MCDR            (0x0060)        /* Mic     74 #define MCDR            (0x0060)        /* Mic-in FIFO Data Register */
 75                                                    75 
 76 #define MOCR            (0x0100)        /* Mod     76 #define MOCR            (0x0100)        /* Modem Out Control Register */
 77 #define MOCR_FEIE       (1 << 3)        /* FIF     77 #define MOCR_FEIE       (1 << 3)        /* FIFO Error */
 78 #define MOCR_FSRIE      (1 << 1)        /* FIF     78 #define MOCR_FSRIE      (1 << 1)        /* FIFO Service Request Interrupt Enable */
 79                                                    79 
 80 #define MICR            (0x0108)        /* Mod     80 #define MICR            (0x0108)        /* Modem In Control Register */
 81 #define MICR_FEIE       (1 << 3)        /* FIF     81 #define MICR_FEIE       (1 << 3)        /* FIFO Error */
 82 #define MICR_FSRIE      (1 << 1)        /* FIF     82 #define MICR_FSRIE      (1 << 1)        /* FIFO Service Request Interrupt Enable */
 83                                                    83 
 84 #define MOSR            (0x0110)        /* Mod     84 #define MOSR            (0x0110)        /* Modem Out Status Register */
 85 #define MOSR_FIFOE      (1 << 4)        /* FIF     85 #define MOSR_FIFOE      (1 << 4)        /* FIFO error */
 86 #define MOSR_FSR        (1 << 2)        /* FIF     86 #define MOSR_FSR        (1 << 2)        /* FIFO Service Request */
 87                                                    87 
 88 #define MISR            (0x0118)        /* Mod     88 #define MISR            (0x0118)        /* Modem In Status Register */
 89 #define MISR_FIFOE      (1 << 4)        /* FIF     89 #define MISR_FIFOE      (1 << 4)        /* FIFO error */
 90 #define MISR_EOC        (1 << 3)        /* DMA     90 #define MISR_EOC        (1 << 3)        /* DMA End-of-Chain (exclusive clear) */
 91 #define MISR_FSR        (1 << 2)        /* FIF     91 #define MISR_FSR        (1 << 2)        /* FIFO Service Request */
 92                                                    92 
 93 #define MODR            (0x0140)        /* Mod     93 #define MODR            (0x0140)        /* Modem FIFO Data Register */
 94                                                    94 
 95 #define PAC_REG_BASE    (0x0200)        /* Pri     95 #define PAC_REG_BASE    (0x0200)        /* Primary Audio Codec */
 96 #define SAC_REG_BASE    (0x0300)        /* Sec     96 #define SAC_REG_BASE    (0x0300)        /* Secondary Audio Codec */
 97 #define PMC_REG_BASE    (0x0400)        /* Pri     97 #define PMC_REG_BASE    (0x0400)        /* Primary Modem Codec */
 98 #define SMC_REG_BASE    (0x0500)        /* Sec     98 #define SMC_REG_BASE    (0x0500)        /* Secondary Modem Codec */
 99                                                    99 
100 #endif /* __ASM_ARCH_REGS_AC97_H */               100 #endif /* __ASM_ARCH_REGS_AC97_H */
101                                                   101 

~ [ 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