Go to the documentation of this file.
25 #define PS3_AUDIO_INTR_0 (0x00000100)
26 #define PS3_AUDIO_INTR_EN_0 (0x00000140)
27 #define PS3_AUDIO_CONFIG (0x00000200)
33 #define PS3_AUDIO_DMAC_REGBASE(x) (0x0000210 + 0x20 * (x))
35 #define PS3_AUDIO_KICK(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x00)
36 #define PS3_AUDIO_SOURCE(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x04)
37 #define PS3_AUDIO_DEST(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x08)
38 #define PS3_AUDIO_DMASIZE(n) (PS3_AUDIO_DMAC_REGBASE(n) + 0x0C)
43 #define PS3_AUDIO_AX_MCTRL (0x00004000)
44 #define PS3_AUDIO_AX_ISBP (0x00004004)
45 #define PS3_AUDIO_AX_AOBP (0x00004008)
46 #define PS3_AUDIO_AX_IC (0x00004010)
47 #define PS3_AUDIO_AX_IE (0x00004014)
48 #define PS3_AUDIO_AX_IS (0x00004018)
54 #define PS3_AUDIO_AO_MCTRL (0x00006000)
55 #define PS3_AUDIO_AO_3WMCTRL (0x00006004)
57 #define PS3_AUDIO_AO_3WCTRL(n) (0x00006200 + 0x200 * (n))
65 #define PS3_AUDIO_AO_SPD_REGBASE(n) (0x00007200 + 0x200 * (n))
67 #define PS3_AUDIO_AO_SPDCTRL(n) \
68 (PS3_AUDIO_AO_SPD_REGBASE(n) + 0x00)
69 #define PS3_AUDIO_AO_SPDUB(n, x) \
70 (PS3_AUDIO_AO_SPD_REGBASE(n) + 0x04 + 0x04 * (x))
71 #define PS3_AUDIO_AO_SPDCS(n, y) \
72 (PS3_AUDIO_AO_SPD_REGBASE(n) + 0x34 + 0x04 * (y))
89 #define PS3_AUDIO_INTR_0_CHAN(n) (1 << ((n) * 2))
90 #define PS3_AUDIO_INTR_0_CHAN9 PS3_AUDIO_INTR_0_CHAN(9)
91 #define PS3_AUDIO_INTR_0_CHAN8 PS3_AUDIO_INTR_0_CHAN(8)
92 #define PS3_AUDIO_INTR_0_CHAN7 PS3_AUDIO_INTR_0_CHAN(7)
93 #define PS3_AUDIO_INTR_0_CHAN6 PS3_AUDIO_INTR_0_CHAN(6)
94 #define PS3_AUDIO_INTR_0_CHAN5 PS3_AUDIO_INTR_0_CHAN(5)
95 #define PS3_AUDIO_INTR_0_CHAN4 PS3_AUDIO_INTR_0_CHAN(4)
96 #define PS3_AUDIO_INTR_0_CHAN3 PS3_AUDIO_INTR_0_CHAN(3)
97 #define PS3_AUDIO_INTR_0_CHAN2 PS3_AUDIO_INTR_0_CHAN(2)
98 #define PS3_AUDIO_INTR_0_CHAN1 PS3_AUDIO_INTR_0_CHAN(1)
99 #define PS3_AUDIO_INTR_0_CHAN0 PS3_AUDIO_INTR_0_CHAN(0)
131 #define PS3_AUDIO_CONFIG_CLEAR (1 << 8)
143 #define PS3_AUDIO_AX_MCTRL_ASOMT(n) (1 << (3 - (n)))
144 #define PS3_AUDIO_AX_MCTRL_ASO3MT (1 << 0)
145 #define PS3_AUDIO_AX_MCTRL_ASO2MT (1 << 1)
146 #define PS3_AUDIO_AX_MCTRL_ASO1MT (1 << 2)
147 #define PS3_AUDIO_AX_MCTRL_ASO0MT (1 << 3)
150 #define PS3_AUDIO_AX_MCTRL_SPOMT(n) (1 << (5 - (n)))
151 #define PS3_AUDIO_AX_MCTRL_SPO1MT (1 << 4)
152 #define PS3_AUDIO_AX_MCTRL_SPO0MT (1 << 5)
155 #define PS3_AUDIO_AX_MCTRL_AASOMT (1 << 13)
158 #define PS3_AUDIO_AX_MCTRL_ASPOMT (1 << 14)
161 #define PS3_AUDIO_AX_MCTRL_AAOMT (1 << 15)
179 #define PS3_AUDIO_AX_ISBP_SPOBRN_MASK(n) (0x7 << 4 * (1 - (n)))
180 #define PS3_AUDIO_AX_ISBP_SPO1BRN_MASK (0x7 << 0)
181 #define PS3_AUDIO_AX_ISBP_SPO0BRN_MASK (0x7 << 4)
187 #define PS3_AUDIO_AX_ISBP_SPOBWN_MASK(n) (0x7 << 4 * (5 - (n)))
188 #define PS3_AUDIO_AX_ISBP_SPO1BWN_MASK (0x7 << 16)
189 #define PS3_AUDIO_AX_ISBP_SPO0BWN_MASK (0x7 << 20)
207 #define PS3_AUDIO_AX_AOBP_ASOBRN_MASK(n) (0x7 << 4 * (3 - (n)))
209 #define PS3_AUDIO_AX_AOBP_ASO3BRN_MASK (0x7 << 0)
210 #define PS3_AUDIO_AX_AOBP_ASO2BRN_MASK (0x7 << 4)
211 #define PS3_AUDIO_AX_AOBP_ASO1BRN_MASK (0x7 << 8)
212 #define PS3_AUDIO_AX_AOBP_ASO0BRN_MASK (0x7 << 12)
218 #define PS3_AUDIO_AX_AOBP_ASOBWN_MASK(n) (0x7 << 4 * (7 - (n)))
220 #define PS3_AUDIO_AX_AOBP_ASO3BWN_MASK (0x7 << 16)
221 #define PS3_AUDIO_AX_AOBP_ASO2BWN_MASK (0x7 << 20)
222 #define PS3_AUDIO_AX_AOBP_ASO1BWN_MASK (0x7 << 24)
223 #define PS3_AUDIO_AX_AOBP_ASO0BWN_MASK (0x7 << 28)
246 #define PS3_AUDIO_AX_IC_AASOIMD_MASK (0x3 << 12)
247 #define PS3_AUDIO_AX_IC_AASOIMD_EVERY1 (0x0 << 12)
248 #define PS3_AUDIO_AX_IC_AASOIMD_EVERY2 (0x1 << 12)
249 #define PS3_AUDIO_AX_IC_AASOIMD_EVERY4 (0x2 << 12)
256 #define PS3_AUDIO_AX_IC_SPO1IMD_MASK (0x3 << 16)
257 #define PS3_AUDIO_AX_IC_SPO1IMD_EVERY1 (0x0 << 16)
258 #define PS3_AUDIO_AX_IC_SPO1IMD_EVERY2 (0x1 << 16)
259 #define PS3_AUDIO_AX_IC_SPO1IMD_EVERY4 (0x2 << 16)
261 #define PS3_AUDIO_AX_IC_SPO0IMD_MASK (0x3 << 20)
262 #define PS3_AUDIO_AX_IC_SPO0IMD_EVERY1 (0x0 << 20)
263 #define PS3_AUDIO_AX_IC_SPO0IMD_EVERY2 (0x1 << 20)
264 #define PS3_AUDIO_AX_IC_SPO0IMD_EVERY4 (0x2 << 20)
285 #define PS3_AUDIO_AX_IE_ASOBUIE(n) (1 << (3 - (n)))
286 #define PS3_AUDIO_AX_IE_ASO3BUIE (1 << 0)
287 #define PS3_AUDIO_AX_IE_ASO2BUIE (1 << 1)
288 #define PS3_AUDIO_AX_IE_ASO1BUIE (1 << 2)
289 #define PS3_AUDIO_AX_IE_ASO0BUIE (1 << 3)
293 #define PS3_AUDIO_AX_IE_SPOBUIE(n) (1 << (7 - (n)))
294 #define PS3_AUDIO_AX_IE_SPO1BUIE (1 << 6)
295 #define PS3_AUDIO_AX_IE_SPO0BUIE (1 << 7)
299 #define PS3_AUDIO_AX_IE_SPOBTCIE(n) (1 << (11 - (n)))
300 #define PS3_AUDIO_AX_IE_SPO1BTCIE (1 << 10)
301 #define PS3_AUDIO_AX_IE_SPO0BTCIE (1 << 11)
305 #define PS3_AUDIO_AX_IE_ASOBEIE(n) (1 << (19 - (n)))
306 #define PS3_AUDIO_AX_IE_ASO3BEIE (1 << 16)
307 #define PS3_AUDIO_AX_IE_ASO2BEIE (1 << 17)
308 #define PS3_AUDIO_AX_IE_ASO1BEIE (1 << 18)
309 #define PS3_AUDIO_AX_IE_ASO0BEIE (1 << 19)
313 #define PS3_AUDIO_AX_IE_SPOBEIE(n) (1 << (23 - (n)))
314 #define PS3_AUDIO_AX_IE_SPO1BEIE (1 << 22)
315 #define PS3_AUDIO_AX_IE_SPO0BEIE (1 << 23)
357 #define PS3_AUDIO_AO_MCTRL_MCLKC1_MASK (0x3 << 12)
358 #define PS3_AUDIO_AO_MCTRL_MCLKC1_DISABLED (0x0 << 12)
359 #define PS3_AUDIO_AO_MCTRL_MCLKC1_ENABLED (0x1 << 12)
360 #define PS3_AUDIO_AO_MCTRL_MCLKC1_RESVD2 (0x2 << 12)
361 #define PS3_AUDIO_AO_MCTRL_MCLKC1_RESVD3 (0x3 << 12)
372 #define PS3_AUDIO_AO_MCTRL_MCLKC0_MASK (0x3 << 14)
373 #define PS3_AUDIO_AO_MCTRL_MCLKC0_DISABLED (0x0 << 14)
374 #define PS3_AUDIO_AO_MCTRL_MCLKC0_ENABLED (0x1 << 14)
375 #define PS3_AUDIO_AO_MCTRL_MCLKC0_RESVD2 (0x2 << 14)
376 #define PS3_AUDIO_AO_MCTRL_MCLKC0_RESVD3 (0x3 << 14)
382 #define PS3_AUDIO_AO_MCTRL_MR1_MASK (0xf << 16)
383 #define PS3_AUDIO_AO_MCTRL_MR1_DEFAULT (0x0 << 16)
389 #define PS3_AUDIO_AO_MCTRL_MR0_MASK (0xf << 20)
390 #define PS3_AUDIO_AO_MCTRL_MR0_DEFAULT (0x0 << 20)
397 #define PS3_AUDIO_AO_MCTRL_SCKSEL1_MASK (0x7 << 24)
398 #define PS3_AUDIO_AO_MCTRL_SCKSEL1_DEFAULT (0x2 << 24)
400 #define PS3_AUDIO_AO_MCTRL_SCKSEL0_MASK (0x7 << 28)
401 #define PS3_AUDIO_AO_MCTRL_SCKSEL0_DEFAULT (0x2 << 28)
422 #define PS3_AUDIO_AO_3WMCTRL_ASOPLRCK (1 << 8)
423 #define PS3_AUDIO_AO_3WMCTRL_ASOPLRCK_DEFAULT (1 << 8)
427 #define PS3_AUDIO_AO_3WMCTRL_ASOLRCKD (1 << 10)
428 #define PS3_AUDIO_AO_3WMCTRL_ASOLRCKD_ENABLED (0 << 10)
429 #define PS3_AUDIO_AO_3WMCTRL_ASOLRCKD_DISABLED (1 << 10)
433 #define PS3_AUDIO_AO_3WMCTRL_ASOBCLKD (1 << 11)
434 #define PS3_AUDIO_AO_3WMCTRL_ASOBCLKD_ENABLED (0 << 11)
435 #define PS3_AUDIO_AO_3WMCTRL_ASOBCLKD_DISABLED (1 << 11)
445 #define PS3_AUDIO_AO_3WMCTRL_ASORUN(n) (1 << (15 - (n)))
446 #define PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(n) (0 << (15 - (n)))
447 #define PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(n) (1 << (15 - (n)))
448 #define PS3_AUDIO_AO_3WMCTRL_ASORUN0 \
449 PS3_AUDIO_AO_3WMCTRL_ASORUN(0)
450 #define PS3_AUDIO_AO_3WMCTRL_ASORUN0_STOPPED \
451 PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(0)
452 #define PS3_AUDIO_AO_3WMCTRL_ASORUN0_RUNNING \
453 PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(0)
454 #define PS3_AUDIO_AO_3WMCTRL_ASORUN1 \
455 PS3_AUDIO_AO_3WMCTRL_ASORUN(1)
456 #define PS3_AUDIO_AO_3WMCTRL_ASORUN1_STOPPED \
457 PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(1)
458 #define PS3_AUDIO_AO_3WMCTRL_ASORUN1_RUNNING \
459 PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(1)
460 #define PS3_AUDIO_AO_3WMCTRL_ASORUN2 \
461 PS3_AUDIO_AO_3WMCTRL_ASORUN(2)
462 #define PS3_AUDIO_AO_3WMCTRL_ASORUN2_STOPPED \
463 PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(2)
464 #define PS3_AUDIO_AO_3WMCTRL_ASORUN2_RUNNING \
465 PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(2)
466 #define PS3_AUDIO_AO_3WMCTRL_ASORUN3 \
467 PS3_AUDIO_AO_3WMCTRL_ASORUN(3)
468 #define PS3_AUDIO_AO_3WMCTRL_ASORUN3_STOPPED \
469 PS3_AUDIO_AO_3WMCTRL_ASORUN_STOPPED(3)
470 #define PS3_AUDIO_AO_3WMCTRL_ASORUN3_RUNNING \
471 PS3_AUDIO_AO_3WMCTRL_ASORUN_RUNNING(3)
480 #define PS3_AUDIO_AO_3WMCTRL_ASOSR_MASK (0xf << 20)
481 #define PS3_AUDIO_AO_3WMCTRL_ASOSR_DIV2 (0x1 << 20)
482 #define PS3_AUDIO_AO_3WMCTRL_ASOSR_DIV4 (0x2 << 20)
483 #define PS3_AUDIO_AO_3WMCTRL_ASOSR_DIV8 (0x4 << 20)
484 #define PS3_AUDIO_AO_3WMCTRL_ASOSR_DIV12 (0x6 << 20)
491 #define PS3_AUDIO_AO_3WMCTRL_ASOMCKSEL (1 << 24)
492 #define PS3_AUDIO_AO_3WMCTRL_ASOMCKSEL_CLK0 (0 << 24)
493 #define PS3_AUDIO_AO_3WMCTRL_ASOMCKSEL_CLK1 (1 << 24)
507 #define PS3_AUDIO_AO_3WMCTRL_ASOEN(n) (1 << (31 - (n)))
508 #define PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(n) (0 << (31 - (n)))
509 #define PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(n) (1 << (31 - (n)))
511 #define PS3_AUDIO_AO_3WMCTRL_ASOEN0 \
512 PS3_AUDIO_AO_3WMCTRL_ASOEN(0)
513 #define PS3_AUDIO_AO_3WMCTRL_ASOEN0_DISABLED \
514 PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(0)
515 #define PS3_AUDIO_AO_3WMCTRL_ASOEN0_ENABLED \
516 PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(0)
517 #define PS3_AUDIO_A1_3WMCTRL_ASOEN0 \
518 PS3_AUDIO_AO_3WMCTRL_ASOEN(1)
519 #define PS3_AUDIO_A1_3WMCTRL_ASOEN0_DISABLED \
520 PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(1)
521 #define PS3_AUDIO_A1_3WMCTRL_ASOEN0_ENABLED \
522 PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(1)
523 #define PS3_AUDIO_A2_3WMCTRL_ASOEN0 \
524 PS3_AUDIO_AO_3WMCTRL_ASOEN(2)
525 #define PS3_AUDIO_A2_3WMCTRL_ASOEN0_DISABLED \
526 PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(2)
527 #define PS3_AUDIO_A2_3WMCTRL_ASOEN0_ENABLED \
528 PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(2)
529 #define PS3_AUDIO_A3_3WMCTRL_ASOEN0 \
530 PS3_AUDIO_AO_3WMCTRL_ASOEN(3)
531 #define PS3_AUDIO_A3_3WMCTRL_ASOEN0_DISABLED \
532 PS3_AUDIO_AO_3WMCTRL_ASOEN_DISABLED(3)
533 #define PS3_AUDIO_A3_3WMCTRL_ASOEN0_ENABLED \
534 PS3_AUDIO_AO_3WMCTRL_ASOEN_ENABLED(3)
555 #define PS3_AUDIO_AO_3WCTRL_ASODB_MASK (0x3 << 8)
556 #define PS3_AUDIO_AO_3WCTRL_ASODB_16BIT (0x0 << 8)
557 #define PS3_AUDIO_AO_3WCTRL_ASODB_RESVD (0x1 << 8)
558 #define PS3_AUDIO_AO_3WCTRL_ASODB_20BIT (0x2 << 8)
559 #define PS3_AUDIO_AO_3WCTRL_ASODB_24BIT (0x3 << 8)
567 #define PS3_AUDIO_AO_3WCTRL_ASODF (1 << 11)
568 #define PS3_AUDIO_AO_3WCTRL_ASODF_LSB (0 << 11)
569 #define PS3_AUDIO_AO_3WCTRL_ASODF_MSB (1 << 11)
575 #define PS3_AUDIO_AO_3WCTRL_ASOBRST (1 << 16)
576 #define PS3_AUDIO_AO_3WCTRL_ASOBRST_IDLE (0 << 16)
577 #define PS3_AUDIO_AO_3WCTRL_ASOBRST_RESET (1 << 16)
592 #define PS3_AUDIO_AO_SPDCTRL_SPOBRST (1 << 0)
593 #define PS3_AUDIO_AO_SPDCTRL_SPOBRST_IDLE (0 << 0)
594 #define PS3_AUDIO_AO_SPDCTRL_SPOBRST_RESET (1 << 0)
604 #define PS3_AUDIO_AO_SPDCTRL_SPODB_MASK (0x3 << 8)
605 #define PS3_AUDIO_AO_SPDCTRL_SPODB_16BIT (0x0 << 8)
606 #define PS3_AUDIO_AO_SPDCTRL_SPODB_RESVD (0x1 << 8)
607 #define PS3_AUDIO_AO_SPDCTRL_SPODB_20BIT (0x2 << 8)
608 #define PS3_AUDIO_AO_SPDCTRL_SPODB_24BIT (0x3 << 8)
617 #define PS3_AUDIO_AO_SPDCTRL_SPODF (1 << 11)
618 #define PS3_AUDIO_AO_SPDCTRL_SPODF_LSB (0 << 11)
619 #define PS3_AUDIO_AO_SPDCTRL_SPODF_MSB (1 << 11)
628 #define PS3_AUDIO_AO_SPDCTRL_SPOSS_MASK (0x3 << 16)
629 #define PS3_AUDIO_AO_SPDCTRL_SPOSS_3WEN (0x0 << 16)
630 #define PS3_AUDIO_AO_SPDCTRL_SPOSS_SPDIF (0x1 << 16)
637 #define PS3_AUDIO_AO_SPDCTRL_SPOSR (0xf << 20)
638 #define PS3_AUDIO_AO_SPDCTRL_SPOSR_DIV2 (0x1 << 20)
639 #define PS3_AUDIO_AO_SPDCTRL_SPOSR_DIV4 (0x2 << 20)
640 #define PS3_AUDIO_AO_SPDCTRL_SPOSR_DIV8 (0x4 << 20)
641 #define PS3_AUDIO_AO_SPDCTRL_SPOSR_DIV12 (0x6 << 20)
647 #define PS3_AUDIO_AO_SPDCTRL_SPOMCKSEL (1 << 24)
648 #define PS3_AUDIO_AO_SPDCTRL_SPOMCKSEL_CLK0 (0 << 24)
649 #define PS3_AUDIO_AO_SPDCTRL_SPOMCKSEL_CLK1 (1 << 24)
658 #define PS3_AUDIO_AO_SPDCTRL_SPORUN (1 << 27)
659 #define PS3_AUDIO_AO_SPDCTRL_SPORUN_STOPPED (0 << 27)
660 #define PS3_AUDIO_AO_SPDCTRL_SPORUN_RUNNING (1 << 27)
667 #define PS3_AUDIO_AO_SPDCTRL_SPOEN (1 << 31)
668 #define PS3_AUDIO_AO_SPDCTRL_SPOEN_DISABLED (0 << 31)
669 #define PS3_AUDIO_AO_SPDCTRL_SPOEN_ENABLED (1 << 31)
714 #define PS3_AUDIO_KICK_REQUEST (1 << 0)
715 #define PS3_AUDIO_KICK_REQUEST_IDLE (0 << 0)
716 #define PS3_AUDIO_KICK_REQUEST_ACTIVE (1 << 0)
722 #define PS3_AUDIO_KICK_EVENT_MASK (0x1f << 16)
723 #define PS3_AUDIO_KICK_EVENT_ALWAYS (0x00 << 16)
724 #define PS3_AUDIO_KICK_EVENT_SERIALOUT0_EMPTY (0x01 << 16)
725 #define PS3_AUDIO_KICK_EVENT_SERIALOUT0_UNDERFLOW (0x02 << 16)
726 #define PS3_AUDIO_KICK_EVENT_SERIALOUT1_EMPTY (0x03 << 16)
727 #define PS3_AUDIO_KICK_EVENT_SERIALOUT1_UNDERFLOW (0x04 << 16)
728 #define PS3_AUDIO_KICK_EVENT_SERIALOUT2_EMPTY (0x05 << 16)
729 #define PS3_AUDIO_KICK_EVENT_SERIALOUT2_UNDERFLOW (0x06 << 16)
730 #define PS3_AUDIO_KICK_EVENT_SERIALOUT3_EMPTY (0x07 << 16)
731 #define PS3_AUDIO_KICK_EVENT_SERIALOUT3_UNDERFLOW (0x08 << 16)
732 #define PS3_AUDIO_KICK_EVENT_SPDIF0_BLOCKTRANSFERCOMPLETE \
734 #define PS3_AUDIO_KICK_EVENT_SPDIF0_UNDERFLOW (0x0A << 16)
735 #define PS3_AUDIO_KICK_EVENT_SPDIF0_EMPTY (0x0B << 16)
736 #define PS3_AUDIO_KICK_EVENT_SPDIF1_BLOCKTRANSFERCOMPLETE \
738 #define PS3_AUDIO_KICK_EVENT_SPDIF1_UNDERFLOW (0x0D << 16)
739 #define PS3_AUDIO_KICK_EVENT_SPDIF1_EMPTY (0x0E << 16)
741 #define PS3_AUDIO_KICK_EVENT_AUDIO_DMA(n) \
743 #define PS3_AUDIO_KICK_EVENT_AUDIO_DMA0 (0x13 << 16)
744 #define PS3_AUDIO_KICK_EVENT_AUDIO_DMA1 (0x14 << 16)
745 #define PS3_AUDIO_KICK_EVENT_AUDIO_DMA2 (0x15 << 16)
746 #define PS3_AUDIO_KICK_EVENT_AUDIO_DMA3 (0x16 << 16)
747 #define PS3_AUDIO_KICK_EVENT_AUDIO_DMA4 (0x17 << 16)
748 #define PS3_AUDIO_KICK_EVENT_AUDIO_DMA5 (0x18 << 16)
749 #define PS3_AUDIO_KICK_EVENT_AUDIO_DMA6 (0x19 << 16)
750 #define PS3_AUDIO_KICK_EVENT_AUDIO_DMA7 (0x1A << 16)
751 #define PS3_AUDIO_KICK_EVENT_AUDIO_DMA8 (0x1B << 16)
752 #define PS3_AUDIO_KICK_EVENT_AUDIO_DMA9 (0x1C << 16)
767 #define PS3_AUDIO_KICK_STATUS_MASK (0x7 << 24)
768 #define PS3_AUDIO_KICK_STATUS_DONE (0x0 << 24)
769 #define PS3_AUDIO_KICK_STATUS_EVENT (0x1 << 24)
770 #define PS3_AUDIO_KICK_STATUS_PENDING (0x2 << 24)
771 #define PS3_AUDIO_KICK_STATUS_DMA (0x3 << 24)
772 #define PS3_AUDIO_KICK_STATUS_NOTIFY (0x4 << 24)
773 #define PS3_AUDIO_KICK_STATUS_CLEAR (0x5 << 24)
774 #define PS3_AUDIO_KICK_STATUS_ERROR (0x6 << 24)
791 #define PS3_AUDIO_SOURCE_START_MASK (0x01FFFFFF << 7)
797 #define PS3_AUDIO_SOURCE_TARGET_MASK (3 << 0)
798 #define PS3_AUDIO_SOURCE_TARGET_SYSTEM_MEMORY (2 << 0)
815 #define PS3_AUDIO_DEST_START_MASK (0x01FFFFFF << 7)
822 #define PS3_AUDIO_DEST_TARGET_MASK (3 << 0)
823 #define PS3_AUDIO_DEST_TARGET_AUDIOFIFO (1 << 0)
837 #define PS3_AUDIO_DMASIZE_BLOCKS_MASK (0x7f << 0)
842 #define PS3_AUDIO_AO_3W_LDATA(n) (0x1000 + (0x100 * (n)))
843 #define PS3_AUDIO_AO_3W_RDATA(n) (0x1080 + (0x100 * (n)))
845 #define PS3_AUDIO_AO_SPD_DATA(n) (0x2000 + (0x400 * (n)))