Go to the documentation of this file.
21 #if !defined(_SND_PS3_H_)
26 #define SND_PS3_DRIVER_NAME "snd_ps3"
105 #define PS3_AUDIO_DMAC_BLOCK_SIZE (128)
107 #define PS3_AUDIO_FIFO_STAGE_SIZE (256)
109 #define PS3_AUDIO_FIFO_STAGE_COUNT (8)
111 #define PS3_AUDIO_FIFO_SIZE \
112 (PS3_AUDIO_FIFO_STAGE_SIZE * PS3_AUDIO_FIFO_STAGE_COUNT)
115 #define PS3_AUDIO_DMAC_MAX_BLOCKS (PS3_AUDIO_DMASIZE_BLOCKS_MASK + 1)
117 #define PS3_AUDIO_NORMAL_DMA_START_CH (0)
118 #define PS3_AUDIO_NORMAL_DMA_COUNT (8)
119 #define PS3_AUDIO_NULL_DMA_START_CH \
120 (PS3_AUDIO_NORMAL_DMA_START_CH + PS3_AUDIO_NORMAL_DMA_COUNT)
121 #define PS3_AUDIO_NULL_DMA_COUNT (2)
123 #define SND_PS3_MAX_VOL (0x0F)
124 #define SND_PS3_MIN_VOL (0x00)
125 #define SND_PS3_MIN_ATT SND_PS3_MIN_VOL
126 #define SND_PS3_MAX_ATT SND_PS3_MAX_VOL
128 #define SND_PS3_PCM_PREALLOC_SIZE \
129 (PS3_AUDIO_DMAC_BLOCK_SIZE * PS3_AUDIO_DMAC_MAX_BLOCKS * 4)
131 #define SND_PS3_DMA_REGION_SIZE \
132 (SND_PS3_PCM_PREALLOC_SIZE + PAGE_SIZE)
134 #define PS3_AUDIO_IOID (1UL)