PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
spu2regs.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define U16_REGISTER(x)   ((volatile u16 *) (0xBF900000 | (x)))
 
#define U32_REGISTER(x)   ((volatile u32 *) (0xBF800000 | (x)))
 
#define U16_REGISTER_READ(x)   (*((volatile u16 *) (x)))
 
#define U32_REGISTER_READ(x)   (*((volatile u32 *) (x)))
 
#define U16_REGISTER_WRITE(x, y)   (*((volatile u16 *) (x)) = y)
 
#define U32_REGISTER_WRITE(x, y)   (*((volatile u32 *) (x)) = y)
 
#define U16_REGISTER_WRITEOR(x, y)   (*((volatile u16 *) (x)) |= y)
 
#define U32_REGISTER_WRITEOR(x, y)   (*((volatile u32 *) (x)) |= y)
 
#define U16_REGISTER_WRITEAND(x, y)   (*((volatile u16 *) (x)) &= y)
 
#define U32_REGISTER_WRITEAND(x, y)   (*((volatile u32 *) (x)) &= y)
 
#define SD_BASE_REG(reg)   ((volatile u16 *)(0xBF900000 + reg))
 
#define SD_VP_REG(core, voice, reg)   SD_BASE_REG(((core) << 10) + ((voice) << 4) + (reg))
 
#define SD_VP_VOLL(core, voice)   SD_VP_REG((core), (voice), 0x00)
 
#define SD_VP_VOLR(core, voice)   SD_VP_REG((core), (voice), 0x02)
 
#define SD_VP_PITCH(core, voice)   SD_VP_REG((core), (voice), 0x04)
 
#define SD_VP_ADSR1(core, voice)   SD_VP_REG((core), (voice), 0x06)
 
#define SD_VP_ADSR2(core, voice)   SD_VP_REG((core), (voice), 0x08)
 
#define SD_VP_ENVX(core, voice)   SD_VP_REG((core), (voice), 0x0A)
 
#define SD_VP_VOLXL(core, voice)   SD_VP_REG((core), (voice), 0x0C)
 
#define SD_VP_VOLXR(core, voice)   SD_VP_REG((core), (voice), 0x0E)
 
#define SD_S_REG(core, reg)   SD_BASE_REG(0x180 + ((core) << 10) + (reg))
 
#define SD_S_PMON_HI(core)   SD_S_REG((core), 0x00)
 
#define SD_S_PMON_LO(core)   SD_S_REG((core), 0x02)
 
#define SD_S_NON_HI(core)   SD_S_REG((core), 0x04)
 
#define SD_S_NON_LO(core)   SD_S_REG((core), 0x06)
 
#define SD_S_VMIXL_HI(core)   SD_S_REG((core), 0x08)
 
#define SD_S_VMIXL_LO(core)   SD_S_REG((core), 0x0A)
 
#define SD_S_VMIXEL_HI(core)   SD_S_REG((core), 0x0C)
 
#define SD_S_VMIXEL_LO(core)   SD_S_REG((core), 0x0E)
 
#define SD_S_VMIXR_HI(core)   SD_S_REG((core), 0x10)
 
#define SD_S_VMIXR_LO(core)   SD_S_REG((core), 0x12)
 
#define SD_S_VMIXER_HI(core)   SD_S_REG((core), 0x14)
 
#define SD_S_VMIXER_LO(core)   SD_S_REG((core), 0x16)
 
#define SD_P_MMIX(core)   SD_S_REG((core), 0x18)
 
#define SD_CORE_ATTR(core)   SD_S_REG((core), 0x1A)
 
#define SD_CORE_IRQA(core)   SD_S_REG((core), 0x1C)
 
#define SD_A_REG(core, reg)   SD_BASE_REG(0x1A0 + ((core) << 10) + (reg))
 
#define SD_A_KON_HI(core)   SD_A_REG((core), 0x00)
 
#define SD_A_KON_LO(core)   SD_A_REG((core), 0x02)
 
#define SD_A_KOFF_HI(core)   SD_A_REG((core), 0x04)
 
#define SD_A_KOFF_LO(core)   SD_A_REG((core), 0x06)
 
#define SD_A_TSA_HI(core)   SD_A_REG((core), 0x08)
 
#define SD_A_TSA_LO(core)   SD_A_REG((core), 0x0A)
 
#define SD_A_STD(core)   SD_A_REG((core), 0x0C)
 
#define SD_VA_REG(core, voice, reg)   SD_BASE_REG(0x1C0 + ((core) << 10) + ((voice) * 12) + (reg))
 
#define SD_VA_SSA_HI(core, voice)   SD_VA_REG((core), (voice), 0x00)
 
#define SD_VA_SSA_LO(core, voice)   SD_VA_REG((core), (voice), 0x02)
 
#define SD_VA_LSAX(core, voice)   SD_VA_REG((core), (voice), 0x04)
 
#define SD_VA_NAX(core, voice)   SD_VA_REG((core), (voice), 0x08)
 
#define SD_S_ENDX_HI(core)   ((volatile u16*)(0xBF900340 + ((core) << 10)))
 
#define SD_S_ENDX_LO(core)   ((volatile u16*)(0xBF900342 + ((core) << 10)))
 
#define SD_P_REG(core, reg)   SD_BASE_REG(0x760 + ((core) * 40) + (reg))
 
#define SD_P_MVOLL(core)   SD_P_REG((core), 0x00)
 
#define SD_P_MVOLR(core)   SD_P_REG((core), 0x02)
 
#define SD_P_EVOLL(core)   SD_P_REG((core), 0x04)
 
#define SD_P_EVOLR(core)   SD_P_REG((core), 0x06)
 
#define SD_P_AVOLL(core)   SD_P_REG((core), 0x08)
 
#define SD_P_AVOLR(core)   SD_P_REG((core), 0x0A)
 
#define SD_P_BVOLL(core)   SD_P_REG((core), 0x0C)
 
#define SD_P_BVOLR(core)   SD_P_REG((core), 0x0E)
 
#define SD_P_MVOLXL(core)   SD_P_REG((core), 0x10)
 
#define SD_P_MVOLXR(core)   SD_P_REG((core), 0x12)
 
#define SD_C_SPDIF_OUT   ((volatile u16*)0xBF9007C0)
 
#define SD_C_IRQINFO   ((volatile u16*)0xBF9007C2)
 
#define SD_C_SPDIF_MODE   ((volatile u16*)0xBF9007C6)
 
#define SD_C_SPDIF_MEDIA   ((volatile u16*)0xBF9007C8)
 
#define SD_R_REG(core, reg)   SD_BASE_REG(0x2E0 + ((core) << 10) + reg)
 
#define SD_A_ESA_HI(core)   SD_R_REG((core), 0x00)
 
#define SD_A_ESA_LO(core)   SD_R_REG((core), 0x02)
 
#define SD_R_FB_SRC_A(core)   SD_R_REG((core), 0x04)
 
#define SD_R_FB_SRC_B(core)   SD_R_REG((core), 0x08)
 
#define SD_R_IIR_DEST_A0(core)   SD_R_REG((core), 0x0C)
 
#define SD_R_IIR_DEST_A1(core)   SD_R_REG((core), 0x10)
 
#define SD_R_ACC_SRC_A0(core)   SD_R_REG((core), 0x14)
 
#define SD_R_ACC_SRC_A1(core)   SD_R_REG((core), 0x18)
 
#define SD_R_ACC_SRC_B0(core)   SD_R_REG((core), 0x1C)
 
#define SD_R_ACC_SRC_B1(core)   SD_R_REG((core), 0x20)
 
#define SD_R_IIR_SRC_A0(core)   SD_R_REG((core), 0x24)
 
#define SD_R_IIR_SRC_A1(core)   SD_R_REG((core), 0x28)
 
#define SD_R_IIR_DEST_B0(core)   SD_R_REG((core), 0x2C)
 
#define SD_R_IIR_DEST_B1(core)   SD_R_REG((core), 0x30)
 
#define SD_R_ACC_SRC_C0(core)   SD_R_REG((core), 0x34)
 
#define SD_R_ACC_SRC_C1(core)   SD_R_REG((core), 0x38)
 
#define SD_R_ACC_SRC_D0(core)   SD_R_REG((core), 0x3C)
 
#define SD_R_ACC_SRC_D1(core)   SD_R_REG((core), 0x40)
 
#define SD_R_IIR_SRC_B1(core)   SD_R_REG((core), 0x44)
 
#define SD_R_IIR_SRC_B0(core)   SD_R_REG((core), 0x48)
 
#define SD_R_MIX_DEST_A0(core)   SD_R_REG((core), 0x4C)
 
#define SD_R_MIX_DEST_A1(core)   SD_R_REG((core), 0x50)
 
#define SD_R_MIX_DEST_B0(core)   SD_R_REG((core), 0x54)
 
#define SD_R_MIX_DEST_B1(core)   SD_R_REG((core), 0x58)
 
#define SD_A_EEA_HI(core)   SD_R_REG((core), 0x5C)
 
#define SD_A_EEA_LO(core)   SD_R_REG((core), 0x5E)
 
#define SD_R_IIR_ALPHA(core)   SD_P_REG((core), 0x14)
 
#define SD_R_ACC_COEF_A(core)   SD_P_REG((core), 0x16)
 
#define SD_R_ACC_COEF_B(core)   SD_P_REG((core), 0x18)
 
#define SD_R_ACC_COEF_C(core)   SD_P_REG((core), 0x1A)
 
#define SD_R_ACC_COEF_D(core)   SD_P_REG((core), 0x1C)
 
#define SD_R_IIR_COEF(core)   SD_P_REG((core), 0x1E)
 
#define SD_R_FB_ALPHA(core)   SD_P_REG((core), 0x20)
 
#define SD_R_FB_X(core)   SD_P_REG((core), 0x22)
 
#define SD_R_IN_COEF_L(core)   SD_P_REG((core), 0x24)
 
#define SD_R_IN_COEF_R(core)   SD_P_REG((core), 0x26)
 
#define SD_DMA_ADDR(ch)   ((volatile u32*)(0xBF8010C0+(ch*1088)))
 
#define SD_DMA_MODE(ch)   ((volatile u16*)(0xBF8010C4+(ch*1088)))
 
#define SD_DMA_SIZE(ch)   ((volatile u16*)(0xBF8010C6+(ch*1088)))
 
#define SD_DMA_MSIZE(ch)   ((volatile u32*)(0xBF8010C4+(ch*1088)))
 
#define SD_DMA_CHCR(ch)   ((volatile u32*)(0xBF8010C8+(ch*1088)))
 
#define SD_DMA_CS   (1 << 9)
 
#define SD_DMA_START   (1 << 24)
 
#define SD_DMA_DIR_SPU2IOP   0
 
#define SD_DMA_DIR_IOP2SPU   1
 

Detailed Description

SPU2 registers

Definition in file spu2regs.h.

Macro Definition Documentation

◆ U16_REGISTER

#define U16_REGISTER (   x)    ((volatile u16 *) (0xBF900000 | (x)))

Definition at line 12 of file spu2regs.h.

◆ U32_REGISTER

#define U32_REGISTER (   x)    ((volatile u32 *) (0xBF800000 | (x)))

Definition at line 13 of file spu2regs.h.

◆ U16_REGISTER_READ

#define U16_REGISTER_READ (   x)    (*((volatile u16 *) (x)))

Definition at line 15 of file spu2regs.h.

◆ U32_REGISTER_READ

#define U32_REGISTER_READ (   x)    (*((volatile u32 *) (x)))

Definition at line 16 of file spu2regs.h.

◆ U16_REGISTER_WRITE

#define U16_REGISTER_WRITE (   x,
 
)    (*((volatile u16 *) (x)) = y)

Definition at line 17 of file spu2regs.h.

◆ U32_REGISTER_WRITE

#define U32_REGISTER_WRITE (   x,
 
)    (*((volatile u32 *) (x)) = y)

Definition at line 18 of file spu2regs.h.

◆ U16_REGISTER_WRITEOR

#define U16_REGISTER_WRITEOR (   x,
 
)    (*((volatile u16 *) (x)) |= y)

Definition at line 19 of file spu2regs.h.

◆ U32_REGISTER_WRITEOR

#define U32_REGISTER_WRITEOR (   x,
 
)    (*((volatile u32 *) (x)) |= y)

Definition at line 20 of file spu2regs.h.

◆ U16_REGISTER_WRITEAND

#define U16_REGISTER_WRITEAND (   x,
 
)    (*((volatile u16 *) (x)) &= y)

Definition at line 21 of file spu2regs.h.

◆ U32_REGISTER_WRITEAND

#define U32_REGISTER_WRITEAND (   x,
 
)    (*((volatile u32 *) (x)) &= y)

Definition at line 22 of file spu2regs.h.

◆ SD_BASE_REG

#define SD_BASE_REG (   reg)    ((volatile u16 *)(0xBF900000 + reg))

Definition at line 24 of file spu2regs.h.

◆ SD_VP_REG

#define SD_VP_REG (   core,
  voice,
  reg 
)    SD_BASE_REG(((core) << 10) + ((voice) << 4) + (reg))

Definition at line 26 of file spu2regs.h.

◆ SD_VP_VOLL

#define SD_VP_VOLL (   core,
  voice 
)    SD_VP_REG((core), (voice), 0x00)

Definition at line 27 of file spu2regs.h.

◆ SD_VP_VOLR

#define SD_VP_VOLR (   core,
  voice 
)    SD_VP_REG((core), (voice), 0x02)

Definition at line 28 of file spu2regs.h.

◆ SD_VP_PITCH

#define SD_VP_PITCH (   core,
  voice 
)    SD_VP_REG((core), (voice), 0x04)

Definition at line 29 of file spu2regs.h.

◆ SD_VP_ADSR1

#define SD_VP_ADSR1 (   core,
  voice 
)    SD_VP_REG((core), (voice), 0x06)

Definition at line 30 of file spu2regs.h.

◆ SD_VP_ADSR2

#define SD_VP_ADSR2 (   core,
  voice 
)    SD_VP_REG((core), (voice), 0x08)

Definition at line 31 of file spu2regs.h.

◆ SD_VP_ENVX

#define SD_VP_ENVX (   core,
  voice 
)    SD_VP_REG((core), (voice), 0x0A)

Definition at line 32 of file spu2regs.h.

◆ SD_VP_VOLXL

#define SD_VP_VOLXL (   core,
  voice 
)    SD_VP_REG((core), (voice), 0x0C)

Definition at line 33 of file spu2regs.h.

◆ SD_VP_VOLXR

#define SD_VP_VOLXR (   core,
  voice 
)    SD_VP_REG((core), (voice), 0x0E)

Definition at line 34 of file spu2regs.h.

◆ SD_S_REG

#define SD_S_REG (   core,
  reg 
)    SD_BASE_REG(0x180 + ((core) << 10) + (reg))

Definition at line 36 of file spu2regs.h.

◆ SD_S_PMON_HI

#define SD_S_PMON_HI (   core)    SD_S_REG((core), 0x00)

Definition at line 37 of file spu2regs.h.

◆ SD_S_PMON_LO

#define SD_S_PMON_LO (   core)    SD_S_REG((core), 0x02)

Definition at line 38 of file spu2regs.h.

◆ SD_S_NON_HI

#define SD_S_NON_HI (   core)    SD_S_REG((core), 0x04)

Definition at line 39 of file spu2regs.h.

◆ SD_S_NON_LO

#define SD_S_NON_LO (   core)    SD_S_REG((core), 0x06)

Definition at line 40 of file spu2regs.h.

◆ SD_S_VMIXL_HI

#define SD_S_VMIXL_HI (   core)    SD_S_REG((core), 0x08)

Definition at line 41 of file spu2regs.h.

◆ SD_S_VMIXL_LO

#define SD_S_VMIXL_LO (   core)    SD_S_REG((core), 0x0A)

Definition at line 42 of file spu2regs.h.

◆ SD_S_VMIXEL_HI

#define SD_S_VMIXEL_HI (   core)    SD_S_REG((core), 0x0C)

Definition at line 43 of file spu2regs.h.

◆ SD_S_VMIXEL_LO

#define SD_S_VMIXEL_LO (   core)    SD_S_REG((core), 0x0E)

Definition at line 44 of file spu2regs.h.

◆ SD_S_VMIXR_HI

#define SD_S_VMIXR_HI (   core)    SD_S_REG((core), 0x10)

Definition at line 45 of file spu2regs.h.

◆ SD_S_VMIXR_LO

#define SD_S_VMIXR_LO (   core)    SD_S_REG((core), 0x12)

Definition at line 46 of file spu2regs.h.

◆ SD_S_VMIXER_HI

#define SD_S_VMIXER_HI (   core)    SD_S_REG((core), 0x14)

Definition at line 47 of file spu2regs.h.

◆ SD_S_VMIXER_LO

#define SD_S_VMIXER_LO (   core)    SD_S_REG((core), 0x16)

Definition at line 48 of file spu2regs.h.

◆ SD_P_MMIX

#define SD_P_MMIX (   core)    SD_S_REG((core), 0x18)

Definition at line 49 of file spu2regs.h.

◆ SD_CORE_ATTR

#define SD_CORE_ATTR (   core)    SD_S_REG((core), 0x1A)

Definition at line 50 of file spu2regs.h.

◆ SD_CORE_IRQA

#define SD_CORE_IRQA (   core)    SD_S_REG((core), 0x1C)

Definition at line 51 of file spu2regs.h.

◆ SD_A_REG

#define SD_A_REG (   core,
  reg 
)    SD_BASE_REG(0x1A0 + ((core) << 10) + (reg))

Definition at line 53 of file spu2regs.h.

◆ SD_A_KON_HI

#define SD_A_KON_HI (   core)    SD_A_REG((core), 0x00)

Definition at line 54 of file spu2regs.h.

◆ SD_A_KON_LO

#define SD_A_KON_LO (   core)    SD_A_REG((core), 0x02)

Definition at line 55 of file spu2regs.h.

◆ SD_A_KOFF_HI

#define SD_A_KOFF_HI (   core)    SD_A_REG((core), 0x04)

Definition at line 56 of file spu2regs.h.

◆ SD_A_KOFF_LO

#define SD_A_KOFF_LO (   core)    SD_A_REG((core), 0x06)

Definition at line 57 of file spu2regs.h.

◆ SD_A_TSA_HI

#define SD_A_TSA_HI (   core)    SD_A_REG((core), 0x08)

Definition at line 58 of file spu2regs.h.

◆ SD_A_TSA_LO

#define SD_A_TSA_LO (   core)    SD_A_REG((core), 0x0A)

Definition at line 59 of file spu2regs.h.

◆ SD_A_STD

#define SD_A_STD (   core)    SD_A_REG((core), 0x0C)

Definition at line 60 of file spu2regs.h.

◆ SD_VA_REG

#define SD_VA_REG (   core,
  voice,
  reg 
)    SD_BASE_REG(0x1C0 + ((core) << 10) + ((voice) * 12) + (reg))

Definition at line 62 of file spu2regs.h.

◆ SD_VA_SSA_HI

#define SD_VA_SSA_HI (   core,
  voice 
)    SD_VA_REG((core), (voice), 0x00)

Definition at line 63 of file spu2regs.h.

◆ SD_VA_SSA_LO

#define SD_VA_SSA_LO (   core,
  voice 
)    SD_VA_REG((core), (voice), 0x02)

Definition at line 64 of file spu2regs.h.

◆ SD_VA_LSAX

#define SD_VA_LSAX (   core,
  voice 
)    SD_VA_REG((core), (voice), 0x04)

Definition at line 65 of file spu2regs.h.

◆ SD_VA_NAX

#define SD_VA_NAX (   core,
  voice 
)    SD_VA_REG((core), (voice), 0x08)

Definition at line 66 of file spu2regs.h.

◆ SD_S_ENDX_HI

#define SD_S_ENDX_HI (   core)    ((volatile u16*)(0xBF900340 + ((core) << 10)))

Definition at line 70 of file spu2regs.h.

◆ SD_S_ENDX_LO

#define SD_S_ENDX_LO (   core)    ((volatile u16*)(0xBF900342 + ((core) << 10)))

Definition at line 71 of file spu2regs.h.

◆ SD_P_REG

#define SD_P_REG (   core,
  reg 
)    SD_BASE_REG(0x760 + ((core) * 40) + (reg))

Definition at line 73 of file spu2regs.h.

◆ SD_P_MVOLL

#define SD_P_MVOLL (   core)    SD_P_REG((core), 0x00)

Definition at line 74 of file spu2regs.h.

◆ SD_P_MVOLR

#define SD_P_MVOLR (   core)    SD_P_REG((core), 0x02)

Definition at line 75 of file spu2regs.h.

◆ SD_P_EVOLL

#define SD_P_EVOLL (   core)    SD_P_REG((core), 0x04)

Definition at line 76 of file spu2regs.h.

◆ SD_P_EVOLR

#define SD_P_EVOLR (   core)    SD_P_REG((core), 0x06)

Definition at line 77 of file spu2regs.h.

◆ SD_P_AVOLL

#define SD_P_AVOLL (   core)    SD_P_REG((core), 0x08)

Definition at line 78 of file spu2regs.h.

◆ SD_P_AVOLR

#define SD_P_AVOLR (   core)    SD_P_REG((core), 0x0A)

Definition at line 79 of file spu2regs.h.

◆ SD_P_BVOLL

#define SD_P_BVOLL (   core)    SD_P_REG((core), 0x0C)

Definition at line 80 of file spu2regs.h.

◆ SD_P_BVOLR

#define SD_P_BVOLR (   core)    SD_P_REG((core), 0x0E)

Definition at line 81 of file spu2regs.h.

◆ SD_P_MVOLXL

#define SD_P_MVOLXL (   core)    SD_P_REG((core), 0x10)

Definition at line 82 of file spu2regs.h.

◆ SD_P_MVOLXR

#define SD_P_MVOLXR (   core)    SD_P_REG((core), 0x12)

Definition at line 83 of file spu2regs.h.

◆ SD_C_SPDIF_OUT

#define SD_C_SPDIF_OUT   ((volatile u16*)0xBF9007C0)

Definition at line 85 of file spu2regs.h.

◆ SD_C_IRQINFO

#define SD_C_IRQINFO   ((volatile u16*)0xBF9007C2)

Definition at line 86 of file spu2regs.h.

◆ SD_C_SPDIF_MODE

#define SD_C_SPDIF_MODE   ((volatile u16*)0xBF9007C6)

Definition at line 87 of file spu2regs.h.

◆ SD_C_SPDIF_MEDIA

#define SD_C_SPDIF_MEDIA   ((volatile u16*)0xBF9007C8)

Definition at line 88 of file spu2regs.h.

◆ SD_R_REG

#define SD_R_REG (   core,
  reg 
)    SD_BASE_REG(0x2E0 + ((core) << 10) + reg)

Definition at line 91 of file spu2regs.h.

◆ SD_A_ESA_HI

#define SD_A_ESA_HI (   core)    SD_R_REG((core), 0x00)

Definition at line 93 of file spu2regs.h.

◆ SD_A_ESA_LO

#define SD_A_ESA_LO (   core)    SD_R_REG((core), 0x02)

Definition at line 94 of file spu2regs.h.

◆ SD_R_FB_SRC_A

#define SD_R_FB_SRC_A (   core)    SD_R_REG((core), 0x04)

Definition at line 95 of file spu2regs.h.

◆ SD_R_FB_SRC_B

#define SD_R_FB_SRC_B (   core)    SD_R_REG((core), 0x08)

Definition at line 96 of file spu2regs.h.

◆ SD_R_IIR_DEST_A0

#define SD_R_IIR_DEST_A0 (   core)    SD_R_REG((core), 0x0C)

Definition at line 97 of file spu2regs.h.

◆ SD_R_IIR_DEST_A1

#define SD_R_IIR_DEST_A1 (   core)    SD_R_REG((core), 0x10)

Definition at line 98 of file spu2regs.h.

◆ SD_R_ACC_SRC_A0

#define SD_R_ACC_SRC_A0 (   core)    SD_R_REG((core), 0x14)

Definition at line 99 of file spu2regs.h.

◆ SD_R_ACC_SRC_A1

#define SD_R_ACC_SRC_A1 (   core)    SD_R_REG((core), 0x18)

Definition at line 100 of file spu2regs.h.

◆ SD_R_ACC_SRC_B0

#define SD_R_ACC_SRC_B0 (   core)    SD_R_REG((core), 0x1C)

Definition at line 101 of file spu2regs.h.

◆ SD_R_ACC_SRC_B1

#define SD_R_ACC_SRC_B1 (   core)    SD_R_REG((core), 0x20)

Definition at line 102 of file spu2regs.h.

◆ SD_R_IIR_SRC_A0

#define SD_R_IIR_SRC_A0 (   core)    SD_R_REG((core), 0x24)

Definition at line 103 of file spu2regs.h.

◆ SD_R_IIR_SRC_A1

#define SD_R_IIR_SRC_A1 (   core)    SD_R_REG((core), 0x28)

Definition at line 104 of file spu2regs.h.

◆ SD_R_IIR_DEST_B0

#define SD_R_IIR_DEST_B0 (   core)    SD_R_REG((core), 0x2C)

Definition at line 105 of file spu2regs.h.

◆ SD_R_IIR_DEST_B1

#define SD_R_IIR_DEST_B1 (   core)    SD_R_REG((core), 0x30)

Definition at line 106 of file spu2regs.h.

◆ SD_R_ACC_SRC_C0

#define SD_R_ACC_SRC_C0 (   core)    SD_R_REG((core), 0x34)

Definition at line 107 of file spu2regs.h.

◆ SD_R_ACC_SRC_C1

#define SD_R_ACC_SRC_C1 (   core)    SD_R_REG((core), 0x38)

Definition at line 108 of file spu2regs.h.

◆ SD_R_ACC_SRC_D0

#define SD_R_ACC_SRC_D0 (   core)    SD_R_REG((core), 0x3C)

Definition at line 109 of file spu2regs.h.

◆ SD_R_ACC_SRC_D1

#define SD_R_ACC_SRC_D1 (   core)    SD_R_REG((core), 0x40)

Definition at line 110 of file spu2regs.h.

◆ SD_R_IIR_SRC_B1

#define SD_R_IIR_SRC_B1 (   core)    SD_R_REG((core), 0x44)

Definition at line 111 of file spu2regs.h.

◆ SD_R_IIR_SRC_B0

#define SD_R_IIR_SRC_B0 (   core)    SD_R_REG((core), 0x48)

Definition at line 112 of file spu2regs.h.

◆ SD_R_MIX_DEST_A0

#define SD_R_MIX_DEST_A0 (   core)    SD_R_REG((core), 0x4C)

Definition at line 113 of file spu2regs.h.

◆ SD_R_MIX_DEST_A1

#define SD_R_MIX_DEST_A1 (   core)    SD_R_REG((core), 0x50)

Definition at line 114 of file spu2regs.h.

◆ SD_R_MIX_DEST_B0

#define SD_R_MIX_DEST_B0 (   core)    SD_R_REG((core), 0x54)

Definition at line 115 of file spu2regs.h.

◆ SD_R_MIX_DEST_B1

#define SD_R_MIX_DEST_B1 (   core)    SD_R_REG((core), 0x58)

Definition at line 116 of file spu2regs.h.

◆ SD_A_EEA_HI

#define SD_A_EEA_HI (   core)    SD_R_REG((core), 0x5C)

Definition at line 117 of file spu2regs.h.

◆ SD_A_EEA_LO

#define SD_A_EEA_LO (   core)    SD_R_REG((core), 0x5E)

Definition at line 118 of file spu2regs.h.

◆ SD_R_IIR_ALPHA

#define SD_R_IIR_ALPHA (   core)    SD_P_REG((core), 0x14)

Definition at line 120 of file spu2regs.h.

◆ SD_R_ACC_COEF_A

#define SD_R_ACC_COEF_A (   core)    SD_P_REG((core), 0x16)

Definition at line 121 of file spu2regs.h.

◆ SD_R_ACC_COEF_B

#define SD_R_ACC_COEF_B (   core)    SD_P_REG((core), 0x18)

Definition at line 122 of file spu2regs.h.

◆ SD_R_ACC_COEF_C

#define SD_R_ACC_COEF_C (   core)    SD_P_REG((core), 0x1A)

Definition at line 123 of file spu2regs.h.

◆ SD_R_ACC_COEF_D

#define SD_R_ACC_COEF_D (   core)    SD_P_REG((core), 0x1C)

Definition at line 124 of file spu2regs.h.

◆ SD_R_IIR_COEF

#define SD_R_IIR_COEF (   core)    SD_P_REG((core), 0x1E)

Definition at line 125 of file spu2regs.h.

◆ SD_R_FB_ALPHA

#define SD_R_FB_ALPHA (   core)    SD_P_REG((core), 0x20)

Definition at line 126 of file spu2regs.h.

◆ SD_R_FB_X

#define SD_R_FB_X (   core)    SD_P_REG((core), 0x22)

Definition at line 127 of file spu2regs.h.

◆ SD_R_IN_COEF_L

#define SD_R_IN_COEF_L (   core)    SD_P_REG((core), 0x24)

Definition at line 128 of file spu2regs.h.

◆ SD_R_IN_COEF_R

#define SD_R_IN_COEF_R (   core)    SD_P_REG((core), 0x26)

Definition at line 129 of file spu2regs.h.

◆ SD_DMA_ADDR

#define SD_DMA_ADDR (   ch)    ((volatile u32*)(0xBF8010C0+(ch*1088)))

Definition at line 132 of file spu2regs.h.

◆ SD_DMA_MODE

#define SD_DMA_MODE (   ch)    ((volatile u16*)(0xBF8010C4+(ch*1088)))

Definition at line 133 of file spu2regs.h.

◆ SD_DMA_SIZE

#define SD_DMA_SIZE (   ch)    ((volatile u16*)(0xBF8010C6+(ch*1088)))

Definition at line 134 of file spu2regs.h.

◆ SD_DMA_MSIZE

#define SD_DMA_MSIZE (   ch)    ((volatile u32*)(0xBF8010C4+(ch*1088)))

Definition at line 135 of file spu2regs.h.

◆ SD_DMA_CHCR

#define SD_DMA_CHCR (   ch)    ((volatile u32*)(0xBF8010C8+(ch*1088)))

Definition at line 136 of file spu2regs.h.

◆ SD_DMA_CS

#define SD_DMA_CS   (1 << 9)

Definition at line 138 of file spu2regs.h.

◆ SD_DMA_START

#define SD_DMA_START   (1 << 24)

Definition at line 139 of file spu2regs.h.

◆ SD_DMA_DIR_SPU2IOP

#define SD_DMA_DIR_SPU2IOP   0

Definition at line 140 of file spu2regs.h.

◆ SD_DMA_DIR_IOP2SPU

#define SD_DMA_DIR_IOP2SPU   1

Definition at line 141 of file spu2regs.h.