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

Go to the source code of this file.

Data Structures

struct  spu2_u16pair_
 
struct  spu2_voice_params_
 
struct  spu2_voice_address_
 
struct  spu2_core_regs_
 
struct  spu2_different_regs_
 
struct  spu2_core_regs_padded_
 
struct  spu2_regs_main_
 
struct  spu2_regs_extra_
 
struct  spu2_mmio_hwport_
 
union  spu2_mmio_hwport_::spu2_regs_union_
 

Macros

#define USE_SPU2_MMIO_HWPORT()
 

Typedefs

typedef struct spu2_u16pair_ spu2_u16pair_t
 
typedef struct spu2_voice_params_ spu2_voice_params_t
 
typedef struct spu2_voice_address_ spu2_voice_address_t
 
typedef struct spu2_core_regs_ spu2_core_regs_t
 
typedef struct spu2_different_regs_ spu2_different_regs_t
 
typedef struct spu2_core_regs_padded_ spu2_core_regs_padded_t
 
typedef struct spu2_regs_main_ spu2_regs_main_t
 
typedef struct spu2_regs_extra_ spu2_regs_extra_t
 
typedef struct spu2_mmio_hwport_ spu2_mmio_hwport_t
 

Detailed Description

Definitions for memory-mapped I/O for SPU2.

Definition in file spu2_mmio_hwport.h.


Data Structure Documentation

◆ spu2_u16pair_

struct spu2_u16pair_

Definition at line 19 of file spu2_mmio_hwport.h.

Data Fields
vu16 m_pair[2]

◆ spu2_voice_params_

struct spu2_voice_params_

Definition at line 24 of file spu2_mmio_hwport.h.

Data Fields
vu16 m_voll
vu16 m_volr
vu16 m_pitch
vu16 m_adsr1
vu16 m_adsr2
vu16 m_envx
vu16 m_volxl
vu16 m_volxr

◆ spu2_voice_address_

struct spu2_voice_address_

Definition at line 36 of file spu2_mmio_hwport.h.

+ Collaboration diagram for spu2_voice_address_:
Data Fields
spu2_u16pair_t m_ssa
spu2_u16pair_t m_lsax
spu2_u16pair_t m_nax

◆ spu2_core_regs_

struct spu2_core_regs_

Definition at line 43 of file spu2_mmio_hwport.h.

+ Collaboration diagram for spu2_core_regs_:
Data Fields
spu2_voice_params_t m_voice_params[24]
spu2_u16pair_t m_pmon
spu2_u16pair_t m_non
spu2_u16pair_t m_vmixl
spu2_u16pair_t m_vmixel
spu2_u16pair_t m_vmixr
spu2_u16pair_t m_vmixer
vu16 m_mmix
vu16 m_attr
spu2_u16pair_t m_irqa
spu2_u16pair_t m_kon
spu2_u16pair_t m_koff
spu2_u16pair_t m_tsa
vu16 m_xferdata
vu16 m_unk1ae
vu16 m_admas
vu16 unk1b2[7]
spu2_voice_address_t m_voice_address[24]
spu2_u16pair_t m_esa
spu2_u16pair_t m_apf1_size
spu2_u16pair_t m_apf2_size
spu2_u16pair_t m_same_l_dst
spu2_u16pair_t m_same_r_dst
spu2_u16pair_t m_comb1_l_src
spu2_u16pair_t m_comb1_r_src
spu2_u16pair_t m_comb2_l_src
spu2_u16pair_t m_comb2_r_src
spu2_u16pair_t m_same_l_src
spu2_u16pair_t m_same_r_src
spu2_u16pair_t m_diff_l_dst
spu2_u16pair_t m_diff_r_dst
spu2_u16pair_t m_comb3_l_src
spu2_u16pair_t m_comb3_r_src
spu2_u16pair_t m_comb4_l_src
spu2_u16pair_t m_comb4_r_src
spu2_u16pair_t m_diff_l_src
spu2_u16pair_t m_diff_r_src
spu2_u16pair_t m_apf1_l_dst
spu2_u16pair_t m_apf1_r_dst
spu2_u16pair_t m_apf2_l_dst
spu2_u16pair_t m_apf2_r_dst
vu16 m_eea
vu16 unk33e
spu2_u16pair_t m_endx
vu16 m_statx
vu16 unk346[13]

◆ spu2_different_regs_

struct spu2_different_regs_

Definition at line 93 of file spu2_mmio_hwport.h.

Data Fields
vu16 m_mvoll
vu16 m_mvolr
vu16 m_evoll
vu16 m_evolr
vu16 m_avoll
vu16 m_avolr
vu16 m_bvoll
vu16 m_bvolr
vu16 m_mvolxl
vu16 m_mvolxr
vu16 m_iir_vol
vu16 m_comb1_vol
vu16 m_comb2_vol
vu16 m_comb3_vol
vu16 m_comb4_vol
vu16 m_wall_vol
vu16 m_apf1_vol
vu16 m_apf2_vol
vu16 m_in_coef_l
vu16 m_in_coef_r

◆ spu2_core_regs_padded_

struct spu2_core_regs_padded_

Definition at line 117 of file spu2_mmio_hwport.h.

+ Collaboration diagram for spu2_core_regs_padded_:
Data Fields
spu2_core_regs_t m_cregs
vu16 padding[80]

◆ spu2_regs_main_

struct spu2_regs_main_

Definition at line 123 of file spu2_mmio_hwport.h.

+ Collaboration diagram for spu2_regs_main_:
Data Fields
spu2_core_regs_padded_t m_core_regs[2]

◆ spu2_regs_extra_

struct spu2_regs_extra_

Definition at line 128 of file spu2_mmio_hwport.h.

+ Collaboration diagram for spu2_regs_extra_:
Data Fields
spu2_core_regs_t core0_regs
vu16 padding346[80]
spu2_core_regs_t core1_regs
spu2_different_regs_t m_different_regs[2]
vu16 unk7b0[8]
vu16 m_spdif_out
vu16 m_spdif_irqinfo
vu16 unk7c4
vu16 m_spdif_mode
vu16 m_spdif_media
vu16 m_unknown7ca
vu16 m_spdif_protect
vu16 unk7ce[25]

◆ spu2_mmio_hwport_

struct spu2_mmio_hwport_

Definition at line 145 of file spu2_mmio_hwport.h.

+ Collaboration diagram for spu2_mmio_hwport_:
Data Fields
union spu2_regs_union_ m_u

◆ spu2_mmio_hwport_::spu2_regs_union_

union spu2_mmio_hwport_::spu2_regs_union_

Definition at line 147 of file spu2_mmio_hwport.h.

+ Collaboration diagram for spu2_mmio_hwport_::spu2_regs_union_:
Data Fields
spu2_regs_main_t m_m
spu2_regs_extra_t m_e

Macro Definition Documentation

◆ USE_SPU2_MMIO_HWPORT

#define USE_SPU2_MMIO_HWPORT ( )

Definition at line 159 of file spu2_mmio_hwport.h.