Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
spdif_out_regs.h File Reference

Go to the source code of this file.

Macros

#define SPDIF_OUT_SOFT_RST   0x00
 
#define SPDIF_OUT_RESET   (1 << 0)
 
#define SPDIF_OUT_FIFO_DATA   0x04
 
#define SPDIF_OUT_INT_STA   0x08
 
#define SPDIF_OUT_INT_STA_CLR   0x0C
 
#define SPDIF_INT_UNDERFLOW   (1 << 0)
 
#define SPDIF_INT_EODATA   (1 << 1)
 
#define SPDIF_INT_EOBLOCK   (1 << 2)
 
#define SPDIF_INT_EOLATENCY   (1 << 3)
 
#define SPDIF_INT_EOPD_DATA   (1 << 4)
 
#define SPDIF_INT_MEMFULLREAD   (1 << 5)
 
#define SPDIF_INT_EOPD_PAUSE   (1 << 6)
 
#define SPDIF_OUT_INT_EN   0x10
 
#define SPDIF_OUT_INT_EN_SET   0x14
 
#define SPDIF_OUT_INT_EN_CLR   0x18
 
#define SPDIF_OUT_CTRL   0x1C
 
#define SPDIF_OPMODE_MASK   (7 << 0)
 
#define SPDIF_OPMODE_OFF   (0 << 0)
 
#define SPDIF_OPMODE_MUTE_PCM   (1 << 0)
 
#define SPDIF_OPMODE_MUTE_PAUSE   (2 << 0)
 
#define SPDIF_OPMODE_AUD_DATA   (3 << 0)
 
#define SPDIF_OPMODE_ENCODE   (4 << 0)
 
#define SPDIF_STATE_NORMAL   (1 << 3)
 
#define SPDIF_DIVIDER_MASK   (0xff << 5)
 
#define SPDIF_DIVIDER_SHIFT   (5)
 
#define SPDIF_SAMPLEREAD_MASK   (0x1ffff << 15)
 
#define SPDIF_SAMPLEREAD_SHIFT   (15)
 
#define SPDIF_OUT_STA   0x20
 
#define SPDIF_OUT_PA_PB   0x24
 
#define SPDIF_OUT_PC_PD   0x28
 
#define SPDIF_OUT_CL1   0x2C
 
#define SPDIF_OUT_CR1   0x30
 
#define SPDIF_OUT_CL2_CR2_UV   0x34
 
#define SPDIF_OUT_PAUSE_LAT   0x38
 
#define SPDIF_OUT_FRMLEN_BRST   0x3C
 
#define SPDIF_OUT_CFG   0x40
 
#define SPDIF_OUT_MEMFMT_16_0   (0 << 5)
 
#define SPDIF_OUT_MEMFMT_16_16   (1 << 5)
 
#define SPDIF_OUT_VALID_DMA   (0 << 3)
 
#define SPDIF_OUT_VALID_HW   (1 << 3)
 
#define SPDIF_OUT_USER_DMA   (0 << 2)
 
#define SPDIF_OUT_USER_HW   (1 << 2)
 
#define SPDIF_OUT_CHNLSTA_DMA   (0 << 1)
 
#define SPDIF_OUT_CHNLSTA_HW   (1 << 1)
 
#define SPDIF_OUT_PARITY_HW   (0 << 0)
 
#define SPDIF_OUT_PARITY_DMA   (1 << 0)
 
#define SPDIF_OUT_FDMA_TRIG_2   (2 << 8)
 
#define SPDIF_OUT_FDMA_TRIG_6   (6 << 8)
 
#define SPDIF_OUT_FDMA_TRIG_8   (8 << 8)
 
#define SPDIF_OUT_FDMA_TRIG_10   (10 << 8)
 
#define SPDIF_OUT_FDMA_TRIG_12   (12 << 8)
 
#define SPDIF_OUT_FDMA_TRIG_16   (16 << 8)
 
#define SPDIF_OUT_FDMA_TRIG_18   (18 << 8)
 

Macro Definition Documentation

#define SPDIF_DIVIDER_MASK   (0xff << 5)

Definition at line 48 of file spdif_out_regs.h.

#define SPDIF_DIVIDER_SHIFT   (5)

Definition at line 49 of file spdif_out_regs.h.

#define SPDIF_INT_EOBLOCK   (1 << 2)

Definition at line 31 of file spdif_out_regs.h.

#define SPDIF_INT_EODATA   (1 << 1)

Definition at line 30 of file spdif_out_regs.h.

#define SPDIF_INT_EOLATENCY   (1 << 3)

Definition at line 32 of file spdif_out_regs.h.

#define SPDIF_INT_EOPD_DATA   (1 << 4)

Definition at line 33 of file spdif_out_regs.h.

#define SPDIF_INT_EOPD_PAUSE   (1 << 6)

Definition at line 35 of file spdif_out_regs.h.

#define SPDIF_INT_MEMFULLREAD   (1 << 5)

Definition at line 34 of file spdif_out_regs.h.

#define SPDIF_INT_UNDERFLOW   (1 << 0)

Definition at line 29 of file spdif_out_regs.h.

#define SPDIF_OPMODE_AUD_DATA   (3 << 0)

Definition at line 45 of file spdif_out_regs.h.

#define SPDIF_OPMODE_ENCODE   (4 << 0)

Definition at line 46 of file spdif_out_regs.h.

#define SPDIF_OPMODE_MASK   (7 << 0)

Definition at line 41 of file spdif_out_regs.h.

#define SPDIF_OPMODE_MUTE_PAUSE   (2 << 0)

Definition at line 44 of file spdif_out_regs.h.

#define SPDIF_OPMODE_MUTE_PCM   (1 << 0)

Definition at line 43 of file spdif_out_regs.h.

#define SPDIF_OPMODE_OFF   (0 << 0)

Definition at line 42 of file spdif_out_regs.h.

#define SPDIF_OUT_CFG   0x40

Definition at line 60 of file spdif_out_regs.h.

#define SPDIF_OUT_CHNLSTA_DMA   (0 << 1)

Definition at line 67 of file spdif_out_regs.h.

#define SPDIF_OUT_CHNLSTA_HW   (1 << 1)

Definition at line 68 of file spdif_out_regs.h.

#define SPDIF_OUT_CL1   0x2C

Definition at line 55 of file spdif_out_regs.h.

#define SPDIF_OUT_CL2_CR2_UV   0x34

Definition at line 57 of file spdif_out_regs.h.

#define SPDIF_OUT_CR1   0x30

Definition at line 56 of file spdif_out_regs.h.

#define SPDIF_OUT_CTRL   0x1C

Definition at line 40 of file spdif_out_regs.h.

#define SPDIF_OUT_FDMA_TRIG_10   (10 << 8)

Definition at line 74 of file spdif_out_regs.h.

#define SPDIF_OUT_FDMA_TRIG_12   (12 << 8)

Definition at line 75 of file spdif_out_regs.h.

#define SPDIF_OUT_FDMA_TRIG_16   (16 << 8)

Definition at line 76 of file spdif_out_regs.h.

#define SPDIF_OUT_FDMA_TRIG_18   (18 << 8)

Definition at line 77 of file spdif_out_regs.h.

#define SPDIF_OUT_FDMA_TRIG_2   (2 << 8)

Definition at line 71 of file spdif_out_regs.h.

#define SPDIF_OUT_FDMA_TRIG_6   (6 << 8)

Definition at line 72 of file spdif_out_regs.h.

#define SPDIF_OUT_FDMA_TRIG_8   (8 << 8)

Definition at line 73 of file spdif_out_regs.h.

#define SPDIF_OUT_FIFO_DATA   0x04

Definition at line 26 of file spdif_out_regs.h.

#define SPDIF_OUT_FRMLEN_BRST   0x3C

Definition at line 59 of file spdif_out_regs.h.

#define SPDIF_OUT_INT_EN   0x10

Definition at line 37 of file spdif_out_regs.h.

#define SPDIF_OUT_INT_EN_CLR   0x18

Definition at line 39 of file spdif_out_regs.h.

#define SPDIF_OUT_INT_EN_SET   0x14

Definition at line 38 of file spdif_out_regs.h.

#define SPDIF_OUT_INT_STA   0x08

Definition at line 27 of file spdif_out_regs.h.

#define SPDIF_OUT_INT_STA_CLR   0x0C

Definition at line 28 of file spdif_out_regs.h.

#define SPDIF_OUT_MEMFMT_16_0   (0 << 5)

Definition at line 61 of file spdif_out_regs.h.

#define SPDIF_OUT_MEMFMT_16_16   (1 << 5)

Definition at line 62 of file spdif_out_regs.h.

#define SPDIF_OUT_PA_PB   0x24

Definition at line 53 of file spdif_out_regs.h.

#define SPDIF_OUT_PARITY_DMA   (1 << 0)

Definition at line 70 of file spdif_out_regs.h.

#define SPDIF_OUT_PARITY_HW   (0 << 0)

Definition at line 69 of file spdif_out_regs.h.

#define SPDIF_OUT_PAUSE_LAT   0x38

Definition at line 58 of file spdif_out_regs.h.

#define SPDIF_OUT_PC_PD   0x28

Definition at line 54 of file spdif_out_regs.h.

#define SPDIF_OUT_RESET   (1 << 0)

Definition at line 25 of file spdif_out_regs.h.

#define SPDIF_OUT_SOFT_RST   0x00

Definition at line 24 of file spdif_out_regs.h.

#define SPDIF_OUT_STA   0x20

Definition at line 52 of file spdif_out_regs.h.

#define SPDIF_OUT_USER_DMA   (0 << 2)

Definition at line 65 of file spdif_out_regs.h.

#define SPDIF_OUT_USER_HW   (1 << 2)

Definition at line 66 of file spdif_out_regs.h.

#define SPDIF_OUT_VALID_DMA   (0 << 3)

Definition at line 63 of file spdif_out_regs.h.

#define SPDIF_OUT_VALID_HW   (1 << 3)

Definition at line 64 of file spdif_out_regs.h.

#define SPDIF_SAMPLEREAD_MASK   (0x1ffff << 15)

Definition at line 50 of file spdif_out_regs.h.

#define SPDIF_SAMPLEREAD_SHIFT   (15)

Definition at line 51 of file spdif_out_regs.h.

#define SPDIF_STATE_NORMAL   (1 << 3)

Definition at line 47 of file spdif_out_regs.h.