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

Go to the source code of this file.

Macros

#define PS3_AUDIO_INTR_0   (0x00000100)
 
#define PS3_AUDIO_INTR_EN_0   (0x00000140)
 
#define PS3_AUDIO_CONFIG   (0x00000200)
 
#define PS3_AUDIO_DMAC_REGBASE(x)   (0x0000210 + 0x20 * (x))
 
#define PS3_AUDIO_KICK(n)   (PS3_AUDIO_DMAC_REGBASE(n) + 0x00)
 
#define PS3_AUDIO_SOURCE(n)   (PS3_AUDIO_DMAC_REGBASE(n) + 0x04)
 
#define PS3_AUDIO_DEST(n)   (PS3_AUDIO_DMAC_REGBASE(n) + 0x08)
 
#define PS3_AUDIO_DMASIZE(n)   (PS3_AUDIO_DMAC_REGBASE(n) + 0x0C)
 
#define PS3_AUDIO_AX_MCTRL   (0x00004000)
 
#define PS3_AUDIO_AX_ISBP   (0x00004004)
 
#define PS3_AUDIO_AX_AOBP   (0x00004008)
 
#define PS3_AUDIO_AX_IC   (0x00004010)
 
#define PS3_AUDIO_AX_IE   (0x00004014)
 
#define PS3_AUDIO_AX_IS   (0x00004018)
 
#define PS3_AUDIO_AO_MCTRL   (0x00006000)
 
#define PS3_AUDIO_AO_3WMCTRL   (0x00006004)
 
#define PS3_AUDIO_AO_3WCTRL(n)   (0x00006200 + 0x200 * (n))
 
#define PS3_AUDIO_AO_SPD_REGBASE(n)   (0x00007200 + 0x200 * (n))
 
#define PS3_AUDIO_AO_SPDCTRL(n)   (PS3_AUDIO_AO_SPD_REGBASE(n) + 0x00)
 
#define PS3_AUDIO_AO_SPDUB(n, x)   (PS3_AUDIO_AO_SPD_REGBASE(n) + 0x04 + 0x04 * (x))
 
#define PS3_AUDIO_AO_SPDCS(n, y)   (PS3_AUDIO_AO_SPD_REGBASE(n) + 0x34 + 0x04 * (y))
 
#define PS3_AUDIO_INTR_0_CHAN(n)   (1 << ((n) * 2))
 
#define PS3_AUDIO_INTR_0_CHAN9   PS3_AUDIO_INTR_0_CHAN(9)
 
#define PS3_AUDIO_INTR_0_CHAN8   PS3_AUDIO_INTR_0_CHAN(8)
 
#define PS3_AUDIO_INTR_0_CHAN7   PS3_AUDIO_INTR_0_CHAN(7)
 
#define PS3_AUDIO_INTR_0_CHAN6   PS3_AUDIO_INTR_0_CHAN(6)
 
#define PS3_AUDIO_INTR_0_CHAN5   PS3_AUDIO_INTR_0_CHAN(5)
 
#define PS3_AUDIO_INTR_0_CHAN4   PS3_AUDIO_INTR_0_CHAN(4)
 
#define PS3_AUDIO_INTR_0_CHAN3   PS3_AUDIO_INTR_0_CHAN(3)
 
#define PS3_AUDIO_INTR_0_CHAN2   PS3_AUDIO_INTR_0_CHAN(2)
 
#define PS3_AUDIO_INTR_0_CHAN1   PS3_AUDIO_INTR_0_CHAN(1)
 
#define PS3_AUDIO_INTR_0_CHAN0   PS3_AUDIO_INTR_0_CHAN(0)
 
#define PS3_AUDIO_CONFIG_CLEAR   (1 << 8) /* RWIVF */
 
#define PS3_AUDIO_AX_MCTRL_ASOMT(n)   (1 << (3 - (n))) /* RWIVF */
 
#define PS3_AUDIO_AX_MCTRL_ASO3MT   (1 << 0) /* RWIVF */
 
#define PS3_AUDIO_AX_MCTRL_ASO2MT   (1 << 1) /* RWIVF */
 
#define PS3_AUDIO_AX_MCTRL_ASO1MT   (1 << 2) /* RWIVF */
 
#define PS3_AUDIO_AX_MCTRL_ASO0MT   (1 << 3) /* RWIVF */
 
#define PS3_AUDIO_AX_MCTRL_SPOMT(n)   (1 << (5 - (n))) /* RWIVF */
 
#define PS3_AUDIO_AX_MCTRL_SPO1MT   (1 << 4) /* RWIVF */
 
#define PS3_AUDIO_AX_MCTRL_SPO0MT   (1 << 5) /* RWIVF */
 
#define PS3_AUDIO_AX_MCTRL_AASOMT   (1 << 13) /* RWIVF */
 
#define PS3_AUDIO_AX_MCTRL_ASPOMT   (1 << 14) /* RWIVF */
 
#define PS3_AUDIO_AX_MCTRL_AAOMT   (1 << 15) /* RWIVF */
 
#define PS3_AUDIO_AX_ISBP_SPOBRN_MASK(n)   (0x7 << 4 * (1 - (n))) /* R-IUF */
 
#define PS3_AUDIO_AX_ISBP_SPO1BRN_MASK   (0x7 << 0) /* R-IUF */
 
#define PS3_AUDIO_AX_ISBP_SPO0BRN_MASK   (0x7 << 4) /* R-IUF */
 
#define PS3_AUDIO_AX_ISBP_SPOBWN_MASK(n)   (0x7 << 4 * (5 - (n))) /* R-IUF */
 
#define PS3_AUDIO_AX_ISBP_SPO1BWN_MASK   (0x7 << 16) /* R-IUF */
 
#define PS3_AUDIO_AX_ISBP_SPO0BWN_MASK   (0x7 << 20) /* R-IUF */
 
#define PS3_AUDIO_AX_AOBP_ASOBRN_MASK(n)   (0x7 << 4 * (3 - (n))) /* R-IUF */
 
#define PS3_AUDIO_AX_AOBP_ASO3BRN_MASK   (0x7 << 0) /* R-IUF */
 
#define PS3_AUDIO_AX_AOBP_ASO2BRN_MASK   (0x7 << 4) /* R-IUF */
 
#define PS3_AUDIO_AX_AOBP_ASO1BRN_MASK   (0x7 << 8) /* R-IUF */
 
#define PS3_AUDIO_AX_AOBP_ASO0BRN_MASK   (0x7 << 12) /* R-IUF */
 
#define PS3_AUDIO_AX_AOBP_ASOBWN_MASK(n)   (0x7 << 4 * (7 - (n))) /* R-IUF */
 
#define PS3_AUDIO_AX_AOBP_ASO3BWN_MASK   (0x7 << 16) /* R-IUF */
 
#define PS3_AUDIO_AX_AOBP_ASO2BWN_MASK   (0x7 << 20) /* R-IUF */
 
#define PS3_AUDIO_AX_AOBP_ASO1BWN_MASK   (0x7 << 24) /* R-IUF */
 
#define PS3_AUDIO_AX_AOBP_ASO0BWN_MASK   (0x7 << 28) /* R-IUF */
 
#define PS3_AUDIO_AX_IC_AASOIMD_MASK   (0x3 << 12) /* RWIVF */
 
#define PS3_AUDIO_AX_IC_AASOIMD_EVERY1   (0x0 << 12) /* RWI-V */
 
#define PS3_AUDIO_AX_IC_AASOIMD_EVERY2   (0x1 << 12) /* RW--V */
 
#define PS3_AUDIO_AX_IC_AASOIMD_EVERY4   (0x2 << 12) /* RW--V */
 
#define PS3_AUDIO_AX_IC_SPO1IMD_MASK   (0x3 << 16) /* RWIVF */
 
#define PS3_AUDIO_AX_IC_SPO1IMD_EVERY1   (0x0 << 16) /* RWI-V */
 
#define PS3_AUDIO_AX_IC_SPO1IMD_EVERY2   (0x1 << 16) /* RW--V */
 
#define PS3_AUDIO_AX_IC_SPO1IMD_EVERY4   (0x2 << 16) /* RW--V */
 
#define PS3_AUDIO_AX_IC_SPO0IMD_MASK   (0x3 << 20) /* RWIVF */
 
#define PS3_AUDIO_AX_IC_SPO0IMD_EVERY1   (0x0 << 20) /* RWI-V */
 
#define PS3_AUDIO_AX_IC_SPO0IMD_EVERY2   (0x1 << 20) /* RW--V */
 
#define PS3_AUDIO_AX_IC_SPO0IMD_EVERY4   (0x2 << 20) /* RW--V */
 
#define PS3_AUDIO_AX_IE_ASOBUIE(n)   (1 << (3 - (n))) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_ASO3BUIE   (1 << 0) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_ASO2BUIE   (1 << 1) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_ASO1BUIE   (1 << 2) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_ASO0BUIE   (1 << 3) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_SPOBUIE(n)   (1 << (7 - (n))) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_SPO1BUIE   (1 << 6) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_SPO0BUIE   (1 << 7) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_SPOBTCIE(n)   (1 << (11 - (n))) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_SPO1BTCIE   (1 << 10) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_SPO0BTCIE   (1 << 11) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_ASOBEIE(n)   (1 << (19 - (n))) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_ASO3BEIE   (1 << 16) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_ASO2BEIE   (1 << 17) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_ASO1BEIE   (1 << 18) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_ASO0BEIE   (1 << 19) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_SPOBEIE(n)   (1 << (23 - (n))) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_SPO1BEIE   (1 << 22) /* RWIVF */
 
#define PS3_AUDIO_AX_IE_SPO0BEIE   (1 << 23) /* RWIVF */
 
#define PS3_AUDIO_AO_MCTRL_MCLKC1_MASK   (0x3 << 12) /* RWIVF */
 
#define PS3_AUDIO_AO_MCTRL_MCLKC1_DISABLED   (0x0 << 12) /* RWI-V */
 
#define PS3_AUDIO_AO_MCTRL_MCLKC1_ENABLED   (0x1 << 12) /* RW--V */
 
#define PS3_AUDIO_AO_MCTRL_MCLKC1_RESVD2   (0x2 << 12) /* RW--V */
 
#define PS3_AUDIO_AO_MCTRL_MCLKC1_RESVD3   (0x3 << 12) /* RW--V */
 
#define PS3_AUDIO_AO_MCTRL_MCLKC0_MASK   (0x3 << 14) /* RWIVF */
 
#define PS3_AUDIO_AO_MCTRL_MCLKC0_DISABLED   (0x0 << 14) /* RWI-V */
 
#define PS3_AUDIO_AO_MCTRL_MCLKC0_ENABLED   (0x1 << 14) /* RW--V */
 
#define PS3_AUDIO_AO_MCTRL_MCLKC0_RESVD2   (0x2 << 14) /* RW--V */
 
#define PS3_AUDIO_AO_MCTRL_MCLKC0_RESVD3   (0x3 << 14) /* RW--V */
 
#define PS3_AUDIO_AO_MCTRL_MR1_MASK   (0xf << 16)
 
#define PS3_AUDIO_AO_MCTRL_MR1_DEFAULT   (0x0 << 16) /* RWI-V */
 
#define PS3_AUDIO_AO_MCTRL_MR0_MASK   (0xf << 20) /* RWIVF */
 
#define PS3_AUDIO_AO_MCTRL_MR0_DEFAULT   (0x0 << 20) /* RWI-V */
 
#define PS3_AUDIO_AO_MCTRL_SCKSEL1_MASK   (0x7 << 24) /* RWIVF */
 
#define PS3_AUDIO_AO_MCTRL_SCKSEL1_DEFAULT   (0x2 << 24) /* RWI-V */
 
#define PS3_AUDIO_AO_MCTRL_SCKSEL0_MASK   (0x7 << 28) /* RWIVF */
 
#define PS3_AUDIO_AO_MCTRL_SCKSEL0_DEFAULT   (0x2 << 28) /* RWI-V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOPLRCK   (1 << 8) /* RWIVF */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOPLRCK_DEFAULT   (1 << 8) /* RW--V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOLRCKD   (1 << 10) /* RWIVF */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOLRCKD_ENABLED   (0 << 10) /* RW--V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOLRCKD_DISABLED   (1 << 10) /* RWI-V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOBCLKD   (1 << 11) /* RWIVF */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOBCLKD_ENABLED   (0 << 11) /* RW--V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOBCLKD_DISABLED   (1 << 11) /* RWI-V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN(n)   (1 << (15 - (n))) /* R-IVF */
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(n)   (0 << (15 - (n))) /* R-I-V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(n)   (1 << (15 - (n))) /* R---V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN0   PS3_AUDIO_AO_3WMCTRL_ASORUN(0)
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN0_STOPPED   PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(0)
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN0_RUNNING   PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(0)
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN1   PS3_AUDIO_AO_3WMCTRL_ASORUN(1)
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN1_STOPPED   PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(1)
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN1_RUNNING   PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(1)
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN2   PS3_AUDIO_AO_3WMCTRL_ASORUN(2)
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN2_STOPPED   PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(2)
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN2_RUNNING   PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(2)
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN3   PS3_AUDIO_AO_3WMCTRL_ASORUN(3)
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN3_STOPPED   PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(3)
 
#define PS3_AUDIO_AO_3WMCTRL_ASORUN3_RUNNING   PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(3)
 
#define PS3_AUDIO_AO_3WMCTRL_ASOSR_MASK   (0xf << 20) /* RWIVF */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOSR_DIV2   (0x1 << 20) /* RWI-V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOSR_DIV4   (0x2 << 20) /* RW--V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOSR_DIV8   (0x4 << 20) /* RW--V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOSR_DIV12   (0x6 << 20) /* RW--V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOMCKSEL   (1 << 24) /* RWIVF */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOMCKSEL_CLK0   (0 << 24) /* RWI-V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOMCKSEL_CLK1   (1 << 24) /* RW--V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOEN(n)   (1 << (31 - (n))) /* RWIVF */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(n)   (0 << (31 - (n))) /* RWI-V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(n)   (1 << (31 - (n))) /* RW--V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOEN0   PS3_AUDIO_AO_3WMCTRL_ASOEN(0) /* RWIVF */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOEN0_DISABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(0) /* RWI-V */
 
#define PS3_AUDIO_AO_3WMCTRL_ASOEN0_ENABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(0) /* RW--V */
 
#define PS3_AUDIO_A1_3WMCTRL_ASOEN0   PS3_AUDIO_AO_3WMCTRL_ASOEN(1) /* RWIVF */
 
#define PS3_AUDIO_A1_3WMCTRL_ASOEN0_DISABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(1) /* RWI-V */
 
#define PS3_AUDIO_A1_3WMCTRL_ASOEN0_ENABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(1) /* RW--V */
 
#define PS3_AUDIO_A2_3WMCTRL_ASOEN0   PS3_AUDIO_AO_3WMCTRL_ASOEN(2) /* RWIVF */
 
#define PS3_AUDIO_A2_3WMCTRL_ASOEN0_DISABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(2) /* RWI-V */
 
#define PS3_AUDIO_A2_3WMCTRL_ASOEN0_ENABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(2) /* RW--V */
 
#define PS3_AUDIO_A3_3WMCTRL_ASOEN0   PS3_AUDIO_AO_3WMCTRL_ASOEN(3) /* RWIVF */
 
#define PS3_AUDIO_A3_3WMCTRL_ASOEN0_DISABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(3) /* RWI-V */
 
#define PS3_AUDIO_A3_3WMCTRL_ASOEN0_ENABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(3) /* RW--V */
 
#define PS3_AUDIO_AO_3WCTRL_ASODB_MASK   (0x3 << 8) /* RWIVF */
 
#define PS3_AUDIO_AO_3WCTRL_ASODB_16BIT   (0x0 << 8) /* RWI-V */
 
#define PS3_AUDIO_AO_3WCTRL_ASODB_RESVD   (0x1 << 8) /* RWI-V */
 
#define PS3_AUDIO_AO_3WCTRL_ASODB_20BIT   (0x2 << 8) /* RW--V */
 
#define PS3_AUDIO_AO_3WCTRL_ASODB_24BIT   (0x3 << 8) /* RW--V */
 
#define PS3_AUDIO_AO_3WCTRL_ASODF   (1 << 11) /* RWIVF */
 
#define PS3_AUDIO_AO_3WCTRL_ASODF_LSB   (0 << 11) /* RWI-V */
 
#define PS3_AUDIO_AO_3WCTRL_ASODF_MSB   (1 << 11) /* RW--V */
 
#define PS3_AUDIO_AO_3WCTRL_ASOBRST   (1 << 16) /* CWIVF */
 
#define PS3_AUDIO_AO_3WCTRL_ASOBRST_IDLE   (0 << 16) /* -WI-V */
 
#define PS3_AUDIO_AO_3WCTRL_ASOBRST_RESET   (1 << 16) /* -W--T */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOBRST   (1 << 0) /* CWIVF */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOBRST_IDLE   (0 << 0) /* -WI-V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOBRST_RESET   (1 << 0) /* -W--T */
 
#define PS3_AUDIO_AO_SPDCTRL_SPODB_MASK   (0x3 << 8) /* RWIVF */
 
#define PS3_AUDIO_AO_SPDCTRL_SPODB_16BIT   (0x0 << 8) /* RWI-V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPODB_RESVD   (0x1 << 8) /* RW--V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPODB_20BIT   (0x2 << 8) /* RW--V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPODB_24BIT   (0x3 << 8) /* RW--V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPODF   (1 << 11) /* RWIVF */
 
#define PS3_AUDIO_AO_SPDCTRL_SPODF_LSB   (0 << 11) /* RWI-V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPODF_MSB   (1 << 11) /* RW--V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOSS_MASK   (0x3 << 16) /* RWIVF */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOSS_3WEN   (0x0 << 16) /* RWI-V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOSS_SPDIF   (0x1 << 16) /* RW--V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOSR   (0xf << 20) /* RWIVF */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOSR_DIV2   (0x1 << 20) /* RWI-V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOSR_DIV4   (0x2 << 20) /* RW--V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOSR_DIV8   (0x4 << 20) /* RW--V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOSR_DIV12   (0x6 << 20) /* RW--V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOMCKSEL   (1 << 24) /* RWIVF */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOMCKSEL_CLK0   (0 << 24) /* RWI-V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOMCKSEL_CLK1   (1 << 24) /* RW--V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPORUN   (1 << 27) /* R-IVF */
 
#define PS3_AUDIO_AO_SPDCTRL_SPORUN_STOPPED   (0 << 27) /* R-I-V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPORUN_RUNNING   (1 << 27) /* R---V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOEN   (1 << 31) /* RWIVF */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOEN_DISABLED   (0 << 31) /* RWI-V */
 
#define PS3_AUDIO_AO_SPDCTRL_SPOEN_ENABLED   (1 << 31) /* RW--V */
 
#define PS3_AUDIO_KICK_REQUEST   (1 << 0) /* RWIVF */
 
#define PS3_AUDIO_KICK_REQUEST_IDLE   (0 << 0) /* RWI-V */
 
#define PS3_AUDIO_KICK_REQUEST_ACTIVE   (1 << 0) /* -W--T */
 
#define PS3_AUDIO_KICK_EVENT_MASK   (0x1f << 16) /* RWIVF */
 
#define PS3_AUDIO_KICK_EVENT_ALWAYS   (0x00 << 16) /* RWI-V */
 
#define PS3_AUDIO_KICK_EVENT_SERIALOUT0_EMPTY   (0x01 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_SERIALOUT0_UNDERFLOW   (0x02 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_SERIALOUT1_EMPTY   (0x03 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_SERIALOUT1_UNDERFLOW   (0x04 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_SERIALOUT2_EMPTY   (0x05 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_SERIALOUT2_UNDERFLOW   (0x06 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_SERIALOUT3_EMPTY   (0x07 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_SERIALOUT3_UNDERFLOW   (0x08 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_SPDIF0_BLOCKTRANSFERCOMPLETE   (0x09 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_SPDIF0_UNDERFLOW   (0x0A << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_SPDIF0_EMPTY   (0x0B << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_SPDIF1_BLOCKTRANSFERCOMPLETE   (0x0C << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_SPDIF1_UNDERFLOW   (0x0D << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_SPDIF1_EMPTY   (0x0E << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA(n)   ((0x13 + (n)) << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA0   (0x13 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA1   (0x14 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA2   (0x15 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA3   (0x16 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA4   (0x17 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA5   (0x18 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA6   (0x19 << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA7   (0x1A << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA8   (0x1B << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA9   (0x1C << 16) /* RW--V */
 
#define PS3_AUDIO_KICK_STATUS_MASK   (0x7 << 24) /* R-IVF */
 
#define PS3_AUDIO_KICK_STATUS_DONE   (0x0 << 24) /* R-I-V */
 
#define PS3_AUDIO_KICK_STATUS_EVENT   (0x1 << 24) /* R---V */
 
#define PS3_AUDIO_KICK_STATUS_PENDING   (0x2 << 24) /* R---V */
 
#define PS3_AUDIO_KICK_STATUS_DMA   (0x3 << 24) /* R---V */
 
#define PS3_AUDIO_KICK_STATUS_NOTIFY   (0x4 << 24) /* R---V */
 
#define PS3_AUDIO_KICK_STATUS_CLEAR   (0x5 << 24) /* R---V */
 
#define PS3_AUDIO_KICK_STATUS_ERROR   (0x6 << 24) /* R---V */
 
#define PS3_AUDIO_SOURCE_START_MASK   (0x01FFFFFF << 7) /* RWIUF */
 
#define PS3_AUDIO_SOURCE_TARGET_MASK   (3 << 0) /* RWIVF */
 
#define PS3_AUDIO_SOURCE_TARGET_SYSTEM_MEMORY   (2 << 0) /* RW--V */
 
#define PS3_AUDIO_DEST_START_MASK   (0x01FFFFFF << 7) /* RWIUF */
 
#define PS3_AUDIO_DEST_TARGET_MASK   (3 << 0) /* RWIVF */
 
#define PS3_AUDIO_DEST_TARGET_AUDIOFIFO   (1 << 0) /* RW--V */
 
#define PS3_AUDIO_DMASIZE_BLOCKS_MASK   (0x7f << 0) /* RWIUF */
 
#define PS3_AUDIO_AO_3W_LDATA(n)   (0x1000 + (0x100 * (n)))
 
#define PS3_AUDIO_AO_3W_RDATA(n)   (0x1080 + (0x100 * (n)))
 
#define PS3_AUDIO_AO_SPD_DATA(n)   (0x2000 + (0x400 * (n)))
 

Macro Definition Documentation

#define PS3_AUDIO_A1_3WMCTRL_ASOEN0   PS3_AUDIO_AO_3WMCTRL_ASOEN(1) /* RWIVF */

Definition at line 517 of file snd_ps3_reg.h.

#define PS3_AUDIO_A1_3WMCTRL_ASOEN0_DISABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(1) /* RWI-V */

Definition at line 519 of file snd_ps3_reg.h.

#define PS3_AUDIO_A1_3WMCTRL_ASOEN0_ENABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(1) /* RW--V */

Definition at line 521 of file snd_ps3_reg.h.

#define PS3_AUDIO_A2_3WMCTRL_ASOEN0   PS3_AUDIO_AO_3WMCTRL_ASOEN(2) /* RWIVF */

Definition at line 523 of file snd_ps3_reg.h.

#define PS3_AUDIO_A2_3WMCTRL_ASOEN0_DISABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(2) /* RWI-V */

Definition at line 525 of file snd_ps3_reg.h.

#define PS3_AUDIO_A2_3WMCTRL_ASOEN0_ENABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(2) /* RW--V */

Definition at line 527 of file snd_ps3_reg.h.

#define PS3_AUDIO_A3_3WMCTRL_ASOEN0   PS3_AUDIO_AO_3WMCTRL_ASOEN(3) /* RWIVF */

Definition at line 529 of file snd_ps3_reg.h.

#define PS3_AUDIO_A3_3WMCTRL_ASOEN0_DISABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(3) /* RWI-V */

Definition at line 531 of file snd_ps3_reg.h.

#define PS3_AUDIO_A3_3WMCTRL_ASOEN0_ENABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(3) /* RW--V */

Definition at line 533 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3W_LDATA (   n)    (0x1000 + (0x100 * (n)))

Definition at line 842 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3W_RDATA (   n)    (0x1080 + (0x100 * (n)))

Definition at line 843 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WCTRL (   n)    (0x00006200 + 0x200 * (n))

Definition at line 57 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WCTRL_ASOBRST   (1 << 16) /* CWIVF */

Definition at line 575 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WCTRL_ASOBRST_IDLE   (0 << 16) /* -WI-V */

Definition at line 576 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WCTRL_ASOBRST_RESET   (1 << 16) /* -W--T */

Definition at line 577 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WCTRL_ASODB_16BIT   (0x0 << 8) /* RWI-V */

Definition at line 556 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WCTRL_ASODB_20BIT   (0x2 << 8) /* RW--V */

Definition at line 558 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WCTRL_ASODB_24BIT   (0x3 << 8) /* RW--V */

Definition at line 559 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WCTRL_ASODB_MASK   (0x3 << 8) /* RWIVF */

Definition at line 555 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WCTRL_ASODB_RESVD   (0x1 << 8) /* RWI-V */

Definition at line 557 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WCTRL_ASODF   (1 << 11) /* RWIVF */

Definition at line 567 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WCTRL_ASODF_LSB   (0 << 11) /* RWI-V */

Definition at line 568 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WCTRL_ASODF_MSB   (1 << 11) /* RW--V */

Definition at line 569 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL   (0x00006004)

Definition at line 55 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOBCLKD   (1 << 11) /* RWIVF */

Definition at line 433 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOBCLKD_DISABLED   (1 << 11) /* RWI-V */

Definition at line 435 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOBCLKD_ENABLED   (0 << 11) /* RW--V */

Definition at line 434 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOEN (   n)    (1 << (31 - (n))) /* RWIVF */

Definition at line 507 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOEN0   PS3_AUDIO_AO_3WMCTRL_ASOEN(0) /* RWIVF */

Definition at line 511 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOEN0_DISABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(0) /* RWI-V */

Definition at line 513 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOEN0_ENABLED   PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(0) /* RW--V */

Definition at line 515 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED (   n)    (0 << (31 - (n))) /* RWI-V */

Definition at line 508 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED (   n)    (1 << (31 - (n))) /* RW--V */

Definition at line 509 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOLRCKD   (1 << 10) /* RWIVF */

Definition at line 427 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOLRCKD_DISABLED   (1 << 10) /* RWI-V */

Definition at line 429 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOLRCKD_ENABLED   (0 << 10) /* RW--V */

Definition at line 428 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOMCKSEL   (1 << 24) /* RWIVF */

Definition at line 491 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOMCKSEL_CLK0   (0 << 24) /* RWI-V */

Definition at line 492 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOMCKSEL_CLK1   (1 << 24) /* RW--V */

Definition at line 493 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOPLRCK   (1 << 8) /* RWIVF */

Definition at line 422 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOPLRCK_DEFAULT   (1 << 8) /* RW--V */

Definition at line 423 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN (   n)    (1 << (15 - (n))) /* R-IVF */

Definition at line 445 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN0   PS3_AUDIO_AO_3WMCTRL_ASORUN(0)

Definition at line 448 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN0_RUNNING   PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(0)

Definition at line 452 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN0_STOPPED   PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(0)

Definition at line 450 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN1   PS3_AUDIO_AO_3WMCTRL_ASORUN(1)

Definition at line 454 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN1_RUNNING   PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(1)

Definition at line 458 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN1_STOPPED   PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(1)

Definition at line 456 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN2   PS3_AUDIO_AO_3WMCTRL_ASORUN(2)

Definition at line 460 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN2_RUNNING   PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(2)

Definition at line 464 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN2_STOPPED   PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(2)

Definition at line 462 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN3   PS3_AUDIO_AO_3WMCTRL_ASORUN(3)

Definition at line 466 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN3_RUNNING   PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(3)

Definition at line 470 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN3_STOPPED   PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(3)

Definition at line 468 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING (   n)    (1 << (15 - (n))) /* R---V */

Definition at line 447 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED (   n)    (0 << (15 - (n))) /* R-I-V */

Definition at line 446 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOSR_DIV12   (0x6 << 20) /* RW--V */

Definition at line 484 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOSR_DIV2   (0x1 << 20) /* RWI-V */

Definition at line 481 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOSR_DIV4   (0x2 << 20) /* RW--V */

Definition at line 482 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOSR_DIV8   (0x4 << 20) /* RW--V */

Definition at line 483 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_3WMCTRL_ASOSR_MASK   (0xf << 20) /* RWIVF */

Definition at line 480 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL   (0x00006000)

Definition at line 54 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MCLKC0_DISABLED   (0x0 << 14) /* RWI-V */

Definition at line 373 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MCLKC0_ENABLED   (0x1 << 14) /* RW--V */

Definition at line 374 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MCLKC0_MASK   (0x3 << 14) /* RWIVF */

Definition at line 372 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MCLKC0_RESVD2   (0x2 << 14) /* RW--V */

Definition at line 375 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MCLKC0_RESVD3   (0x3 << 14) /* RW--V */

Definition at line 376 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MCLKC1_DISABLED   (0x0 << 12) /* RWI-V */

Definition at line 358 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MCLKC1_ENABLED   (0x1 << 12) /* RW--V */

Definition at line 359 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MCLKC1_MASK   (0x3 << 12) /* RWIVF */

Definition at line 357 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MCLKC1_RESVD2   (0x2 << 12) /* RW--V */

Definition at line 360 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MCLKC1_RESVD3   (0x3 << 12) /* RW--V */

Definition at line 361 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MR0_DEFAULT   (0x0 << 20) /* RWI-V */

Definition at line 390 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MR0_MASK   (0xf << 20) /* RWIVF */

Definition at line 389 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MR1_DEFAULT   (0x0 << 16) /* RWI-V */

Definition at line 383 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_MR1_MASK   (0xf << 16)

Definition at line 382 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_SCKSEL0_DEFAULT   (0x2 << 28) /* RWI-V */

Definition at line 401 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_SCKSEL0_MASK   (0x7 << 28) /* RWIVF */

Definition at line 400 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_SCKSEL1_DEFAULT   (0x2 << 24) /* RWI-V */

Definition at line 398 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_MCTRL_SCKSEL1_MASK   (0x7 << 24) /* RWIVF */

Definition at line 397 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPD_DATA (   n)    (0x2000 + (0x400 * (n)))

Definition at line 845 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPD_REGBASE (   n)    (0x00007200 + 0x200 * (n))

Definition at line 65 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCS (   n,
  y 
)    (PS3_AUDIO_AO_SPD_REGBASE(n) + 0x34 + 0x04 * (y))

Definition at line 71 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL (   n)    (PS3_AUDIO_AO_SPD_REGBASE(n) + 0x00)

Definition at line 67 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOBRST   (1 << 0) /* CWIVF */

Definition at line 592 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOBRST_IDLE   (0 << 0) /* -WI-V */

Definition at line 593 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOBRST_RESET   (1 << 0) /* -W--T */

Definition at line 594 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPODB_16BIT   (0x0 << 8) /* RWI-V */

Definition at line 605 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPODB_20BIT   (0x2 << 8) /* RW--V */

Definition at line 607 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPODB_24BIT   (0x3 << 8) /* RW--V */

Definition at line 608 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPODB_MASK   (0x3 << 8) /* RWIVF */

Definition at line 604 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPODB_RESVD   (0x1 << 8) /* RW--V */

Definition at line 606 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPODF   (1 << 11) /* RWIVF */

Definition at line 617 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPODF_LSB   (0 << 11) /* RWI-V */

Definition at line 618 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPODF_MSB   (1 << 11) /* RW--V */

Definition at line 619 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOEN   (1 << 31) /* RWIVF */

Definition at line 667 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOEN_DISABLED   (0 << 31) /* RWI-V */

Definition at line 668 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOEN_ENABLED   (1 << 31) /* RW--V */

Definition at line 669 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOMCKSEL   (1 << 24) /* RWIVF */

Definition at line 647 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOMCKSEL_CLK0   (0 << 24) /* RWI-V */

Definition at line 648 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOMCKSEL_CLK1   (1 << 24) /* RW--V */

Definition at line 649 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPORUN   (1 << 27) /* R-IVF */

Definition at line 658 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPORUN_RUNNING   (1 << 27) /* R---V */

Definition at line 660 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPORUN_STOPPED   (0 << 27) /* R-I-V */

Definition at line 659 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOSR   (0xf << 20) /* RWIVF */

Definition at line 637 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOSR_DIV12   (0x6 << 20) /* RW--V */

Definition at line 641 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOSR_DIV2   (0x1 << 20) /* RWI-V */

Definition at line 638 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOSR_DIV4   (0x2 << 20) /* RW--V */

Definition at line 639 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOSR_DIV8   (0x4 << 20) /* RW--V */

Definition at line 640 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOSS_3WEN   (0x0 << 16) /* RWI-V */

Definition at line 629 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOSS_MASK   (0x3 << 16) /* RWIVF */

Definition at line 628 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDCTRL_SPOSS_SPDIF   (0x1 << 16) /* RW--V */

Definition at line 630 of file snd_ps3_reg.h.

#define PS3_AUDIO_AO_SPDUB (   n,
  x 
)    (PS3_AUDIO_AO_SPD_REGBASE(n) + 0x04 + 0x04 * (x))

Definition at line 69 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_AOBP   (0x00004008)

Definition at line 45 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_AOBP_ASO0BRN_MASK   (0x7 << 12) /* R-IUF */

Definition at line 212 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_AOBP_ASO0BWN_MASK   (0x7 << 28) /* R-IUF */

Definition at line 223 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_AOBP_ASO1BRN_MASK   (0x7 << 8) /* R-IUF */

Definition at line 211 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_AOBP_ASO1BWN_MASK   (0x7 << 24) /* R-IUF */

Definition at line 222 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_AOBP_ASO2BRN_MASK   (0x7 << 4) /* R-IUF */

Definition at line 210 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_AOBP_ASO2BWN_MASK   (0x7 << 20) /* R-IUF */

Definition at line 221 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_AOBP_ASO3BRN_MASK   (0x7 << 0) /* R-IUF */

Definition at line 209 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_AOBP_ASO3BWN_MASK   (0x7 << 16) /* R-IUF */

Definition at line 220 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_AOBP_ASOBRN_MASK (   n)    (0x7 << 4 * (3 - (n))) /* R-IUF */

Definition at line 207 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_AOBP_ASOBWN_MASK (   n)    (0x7 << 4 * (7 - (n))) /* R-IUF */

Definition at line 218 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IC   (0x00004010)

Definition at line 46 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IC_AASOIMD_EVERY1   (0x0 << 12) /* RWI-V */

Definition at line 247 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IC_AASOIMD_EVERY2   (0x1 << 12) /* RW--V */

Definition at line 248 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IC_AASOIMD_EVERY4   (0x2 << 12) /* RW--V */

Definition at line 249 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IC_AASOIMD_MASK   (0x3 << 12) /* RWIVF */

Definition at line 246 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IC_SPO0IMD_EVERY1   (0x0 << 20) /* RWI-V */

Definition at line 262 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IC_SPO0IMD_EVERY2   (0x1 << 20) /* RW--V */

Definition at line 263 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IC_SPO0IMD_EVERY4   (0x2 << 20) /* RW--V */

Definition at line 264 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IC_SPO0IMD_MASK   (0x3 << 20) /* RWIVF */

Definition at line 261 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IC_SPO1IMD_EVERY1   (0x0 << 16) /* RWI-V */

Definition at line 257 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IC_SPO1IMD_EVERY2   (0x1 << 16) /* RW--V */

Definition at line 258 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IC_SPO1IMD_EVERY4   (0x2 << 16) /* RW--V */

Definition at line 259 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IC_SPO1IMD_MASK   (0x3 << 16) /* RWIVF */

Definition at line 256 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE   (0x00004014)

Definition at line 47 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_ASO0BEIE   (1 << 19) /* RWIVF */

Definition at line 309 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_ASO0BUIE   (1 << 3) /* RWIVF */

Definition at line 289 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_ASO1BEIE   (1 << 18) /* RWIVF */

Definition at line 308 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_ASO1BUIE   (1 << 2) /* RWIVF */

Definition at line 288 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_ASO2BEIE   (1 << 17) /* RWIVF */

Definition at line 307 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_ASO2BUIE   (1 << 1) /* RWIVF */

Definition at line 287 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_ASO3BEIE   (1 << 16) /* RWIVF */

Definition at line 306 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_ASO3BUIE   (1 << 0) /* RWIVF */

Definition at line 286 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_ASOBEIE (   n)    (1 << (19 - (n))) /* RWIVF */

Definition at line 305 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_ASOBUIE (   n)    (1 << (3 - (n))) /* RWIVF */

Definition at line 285 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_SPO0BEIE   (1 << 23) /* RWIVF */

Definition at line 315 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_SPO0BTCIE   (1 << 11) /* RWIVF */

Definition at line 301 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_SPO0BUIE   (1 << 7) /* RWIVF */

Definition at line 295 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_SPO1BEIE   (1 << 22) /* RWIVF */

Definition at line 314 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_SPO1BTCIE   (1 << 10) /* RWIVF */

Definition at line 300 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_SPO1BUIE   (1 << 6) /* RWIVF */

Definition at line 294 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_SPOBEIE (   n)    (1 << (23 - (n))) /* RWIVF */

Definition at line 313 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_SPOBTCIE (   n)    (1 << (11 - (n))) /* RWIVF */

Definition at line 299 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IE_SPOBUIE (   n)    (1 << (7 - (n))) /* RWIVF */

Definition at line 293 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_IS   (0x00004018)

Definition at line 48 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_ISBP   (0x00004004)

Definition at line 44 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_ISBP_SPO0BRN_MASK   (0x7 << 4) /* R-IUF */

Definition at line 181 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_ISBP_SPO0BWN_MASK   (0x7 << 20) /* R-IUF */

Definition at line 189 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_ISBP_SPO1BRN_MASK   (0x7 << 0) /* R-IUF */

Definition at line 180 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_ISBP_SPO1BWN_MASK   (0x7 << 16) /* R-IUF */

Definition at line 188 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_ISBP_SPOBRN_MASK (   n)    (0x7 << 4 * (1 - (n))) /* R-IUF */

Definition at line 179 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_ISBP_SPOBWN_MASK (   n)    (0x7 << 4 * (5 - (n))) /* R-IUF */

Definition at line 187 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_MCTRL   (0x00004000)

Definition at line 43 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_MCTRL_AAOMT   (1 << 15) /* RWIVF */

Definition at line 161 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_MCTRL_AASOMT   (1 << 13) /* RWIVF */

Definition at line 155 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_MCTRL_ASO0MT   (1 << 3) /* RWIVF */

Definition at line 147 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_MCTRL_ASO1MT   (1 << 2) /* RWIVF */

Definition at line 146 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_MCTRL_ASO2MT   (1 << 1) /* RWIVF */

Definition at line 145 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_MCTRL_ASO3MT   (1 << 0) /* RWIVF */

Definition at line 144 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_MCTRL_ASOMT (   n)    (1 << (3 - (n))) /* RWIVF */

Definition at line 143 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_MCTRL_ASPOMT   (1 << 14) /* RWIVF */

Definition at line 158 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_MCTRL_SPO0MT   (1 << 5) /* RWIVF */

Definition at line 152 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_MCTRL_SPO1MT   (1 << 4) /* RWIVF */

Definition at line 151 of file snd_ps3_reg.h.

#define PS3_AUDIO_AX_MCTRL_SPOMT (   n)    (1 << (5 - (n))) /* RWIVF */

Definition at line 150 of file snd_ps3_reg.h.

#define PS3_AUDIO_CONFIG   (0x00000200)

Definition at line 27 of file snd_ps3_reg.h.

#define PS3_AUDIO_CONFIG_CLEAR   (1 << 8) /* RWIVF */

Definition at line 131 of file snd_ps3_reg.h.

#define PS3_AUDIO_DEST (   n)    (PS3_AUDIO_DMAC_REGBASE(n) + 0x08)

Definition at line 37 of file snd_ps3_reg.h.

#define PS3_AUDIO_DEST_START_MASK   (0x01FFFFFF << 7) /* RWIUF */

Definition at line 815 of file snd_ps3_reg.h.

#define PS3_AUDIO_DEST_TARGET_AUDIOFIFO   (1 << 0) /* RW--V */

Definition at line 823 of file snd_ps3_reg.h.

#define PS3_AUDIO_DEST_TARGET_MASK   (3 << 0) /* RWIVF */

Definition at line 822 of file snd_ps3_reg.h.

#define PS3_AUDIO_DMAC_REGBASE (   x)    (0x0000210 + 0x20 * (x))

Definition at line 33 of file snd_ps3_reg.h.

#define PS3_AUDIO_DMASIZE (   n)    (PS3_AUDIO_DMAC_REGBASE(n) + 0x0C)

Definition at line 38 of file snd_ps3_reg.h.

#define PS3_AUDIO_DMASIZE_BLOCKS_MASK   (0x7f << 0) /* RWIUF */

Definition at line 837 of file snd_ps3_reg.h.

#define PS3_AUDIO_INTR_0   (0x00000100)

Definition at line 25 of file snd_ps3_reg.h.

#define PS3_AUDIO_INTR_0_CHAN (   n)    (1 << ((n) * 2))

Definition at line 89 of file snd_ps3_reg.h.

#define PS3_AUDIO_INTR_0_CHAN0   PS3_AUDIO_INTR_0_CHAN(0)

Definition at line 99 of file snd_ps3_reg.h.

#define PS3_AUDIO_INTR_0_CHAN1   PS3_AUDIO_INTR_0_CHAN(1)

Definition at line 98 of file snd_ps3_reg.h.

#define PS3_AUDIO_INTR_0_CHAN2   PS3_AUDIO_INTR_0_CHAN(2)

Definition at line 97 of file snd_ps3_reg.h.

#define PS3_AUDIO_INTR_0_CHAN3   PS3_AUDIO_INTR_0_CHAN(3)

Definition at line 96 of file snd_ps3_reg.h.

#define PS3_AUDIO_INTR_0_CHAN4   PS3_AUDIO_INTR_0_CHAN(4)

Definition at line 95 of file snd_ps3_reg.h.

#define PS3_AUDIO_INTR_0_CHAN5   PS3_AUDIO_INTR_0_CHAN(5)

Definition at line 94 of file snd_ps3_reg.h.

#define PS3_AUDIO_INTR_0_CHAN6   PS3_AUDIO_INTR_0_CHAN(6)

Definition at line 93 of file snd_ps3_reg.h.

#define PS3_AUDIO_INTR_0_CHAN7   PS3_AUDIO_INTR_0_CHAN(7)

Definition at line 92 of file snd_ps3_reg.h.

#define PS3_AUDIO_INTR_0_CHAN8   PS3_AUDIO_INTR_0_CHAN(8)

Definition at line 91 of file snd_ps3_reg.h.

#define PS3_AUDIO_INTR_0_CHAN9   PS3_AUDIO_INTR_0_CHAN(9)

Definition at line 90 of file snd_ps3_reg.h.

#define PS3_AUDIO_INTR_EN_0   (0x00000140)

Definition at line 26 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK (   n)    (PS3_AUDIO_DMAC_REGBASE(n) + 0x00)

Definition at line 35 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_ALWAYS   (0x00 << 16) /* RWI-V */

Definition at line 723 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA (   n)    ((0x13 + (n)) << 16) /* RW--V */

Definition at line 741 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA0   (0x13 << 16) /* RW--V */

Definition at line 743 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA1   (0x14 << 16) /* RW--V */

Definition at line 744 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA2   (0x15 << 16) /* RW--V */

Definition at line 745 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA3   (0x16 << 16) /* RW--V */

Definition at line 746 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA4   (0x17 << 16) /* RW--V */

Definition at line 747 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA5   (0x18 << 16) /* RW--V */

Definition at line 748 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA6   (0x19 << 16) /* RW--V */

Definition at line 749 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA7   (0x1A << 16) /* RW--V */

Definition at line 750 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA8   (0x1B << 16) /* RW--V */

Definition at line 751 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_AUDIO_DMA9   (0x1C << 16) /* RW--V */

Definition at line 752 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_MASK   (0x1f << 16) /* RWIVF */

Definition at line 722 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SERIALOUT0_EMPTY   (0x01 << 16) /* RW--V */

Definition at line 724 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SERIALOUT0_UNDERFLOW   (0x02 << 16) /* RW--V */

Definition at line 725 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SERIALOUT1_EMPTY   (0x03 << 16) /* RW--V */

Definition at line 726 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SERIALOUT1_UNDERFLOW   (0x04 << 16) /* RW--V */

Definition at line 727 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SERIALOUT2_EMPTY   (0x05 << 16) /* RW--V */

Definition at line 728 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SERIALOUT2_UNDERFLOW   (0x06 << 16) /* RW--V */

Definition at line 729 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SERIALOUT3_EMPTY   (0x07 << 16) /* RW--V */

Definition at line 730 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SERIALOUT3_UNDERFLOW   (0x08 << 16) /* RW--V */

Definition at line 731 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SPDIF0_BLOCKTRANSFERCOMPLETE   (0x09 << 16) /* RW--V */

Definition at line 732 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SPDIF0_EMPTY   (0x0B << 16) /* RW--V */

Definition at line 735 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SPDIF0_UNDERFLOW   (0x0A << 16) /* RW--V */

Definition at line 734 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SPDIF1_BLOCKTRANSFERCOMPLETE   (0x0C << 16) /* RW--V */

Definition at line 736 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SPDIF1_EMPTY   (0x0E << 16) /* RW--V */

Definition at line 739 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_EVENT_SPDIF1_UNDERFLOW   (0x0D << 16) /* RW--V */

Definition at line 738 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_REQUEST   (1 << 0) /* RWIVF */

Definition at line 714 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_REQUEST_ACTIVE   (1 << 0) /* -W--T */

Definition at line 716 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_REQUEST_IDLE   (0 << 0) /* RWI-V */

Definition at line 715 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_STATUS_CLEAR   (0x5 << 24) /* R---V */

Definition at line 773 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_STATUS_DMA   (0x3 << 24) /* R---V */

Definition at line 771 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_STATUS_DONE   (0x0 << 24) /* R-I-V */

Definition at line 768 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_STATUS_ERROR   (0x6 << 24) /* R---V */

Definition at line 774 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_STATUS_EVENT   (0x1 << 24) /* R---V */

Definition at line 769 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_STATUS_MASK   (0x7 << 24) /* R-IVF */

Definition at line 767 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_STATUS_NOTIFY   (0x4 << 24) /* R---V */

Definition at line 772 of file snd_ps3_reg.h.

#define PS3_AUDIO_KICK_STATUS_PENDING   (0x2 << 24) /* R---V */

Definition at line 770 of file snd_ps3_reg.h.

#define PS3_AUDIO_SOURCE (   n)    (PS3_AUDIO_DMAC_REGBASE(n) + 0x04)

Definition at line 36 of file snd_ps3_reg.h.

#define PS3_AUDIO_SOURCE_START_MASK   (0x01FFFFFF << 7) /* RWIUF */

Definition at line 791 of file snd_ps3_reg.h.

#define PS3_AUDIO_SOURCE_TARGET_MASK   (3 << 0) /* RWIVF */

Definition at line 797 of file snd_ps3_reg.h.

#define PS3_AUDIO_SOURCE_TARGET_SYSTEM_MEMORY   (2 << 0) /* RW--V */

Definition at line 798 of file snd_ps3_reg.h.