FreeCalypso > hg > freecalypso-reveng
diff dsample-fw-disasm @ 301:5f9932613f99
dsample-fw-disasm: finished l1_drive and its l1dmacro calls
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 05 Oct 2019 19:21:06 +0000 |
parents | 74ebb63948d2 |
children | 844ebeb9a5c6 |
line wrap: on
line diff
--- a/dsample-fw-disasm Sat Oct 05 08:29:39 2019 +0000 +++ b/dsample-fw-disasm Sat Oct 05 19:21:06 2019 +0000 @@ -2551,6 +2551,483 @@ 805ad2: f00d fb33 bl 0x81313c ; $l1dmacro_rx_fb 805ad6: bd70 pop {r4, r5, r6, pc} +$l1dtpu_neig_fb26: + 805ae0: b5f0 push {r4, r5, r6, r7, lr} + 805ae2: 1c1e add r6, r3, #0 + 805ae4: 1c15 add r5, r2, #0 + 805ae6: 1c0c add r4, r1, #0 + 805ae8: 1c07 add r7, r0, #0 + 805aea: 4a09 ldr r2, =0x83cdb4 ; via 0x805b10 + 805aec: 20c1 mov r0, #193 ; 0xc1 + 805aee: 5c80 ldrb r0, [r0, r2] + 805af0: 2800 cmp r0, #0 + 805af2: d103 bne 0x805afc + 805af4: 20d5 mov r0, #213 ; 0xd5 + 805af6: 5684 ldrsb r4, [r0, r2] + 805af8: 20d6 mov r0, #214 ; 0xd6 + 805afa: 5c85 ldrb r5, [r0, r2] + 805afc: 205c mov r0, #92 ; 0x5c + 805afe: 5e80 ldrsh r0, [r0, r2] + 805b00: 1830 add r0, r6, r0 + 805b02: 0400 lsl r0, r0, #16 + 805b04: 1400 asr r0, r0, #16 + 805b06: 49ad ldr r1, =0x1388 ; via 0x805dbc + 805b08: 4288 cmp r0, r1 + 805b0a: db06 blt 0x805b1a + 805b0c: e002 b 0x805b14 + 805b0e: 46c0 nop (mov r8, r8) + + 805b10: 0083cdb4 + + 805b14: 1a40 sub r0, r0, r1 + 805b16: 0400 lsl r0, r0, #16 + 805b18: 1400 asr r0, r0, #16 + 805b1a: 215e mov r1, #94 ; 0x5e + 805b1c: 5e89 ldrsh r1, [r1, r2] + 805b1e: f00d ffa0 bl 0x813a62 ; $l1dmacro_offset + 805b22: 1c38 add r0, r7, #0 + 805b24: f00c ffca bl 0x812abc ; $l1dmacro_rx_synth + 805b28: 1c38 add r0, r7, #0 + 805b2a: 1c21 add r1, r4, #0 + 805b2c: 1c2a add r2, r5, #0 + 805b2e: f00c ff41 bl 0x8129b4 ; $l1dmacro_agc + 805b32: 1c38 add r0, r7, #0 + 805b34: f00d fb60 bl 0x8131f8 ; $l1dmacro_rx_fb26 + 805b38: 1c30 add r0, r6, #0 + 805b3a: 49a0 ldr r1, =0x1388 ; via 0x805dbc + 805b3c: f00d ff91 bl 0x813a62 ; $l1dmacro_offset + 805b40: bdf0 pop {r4, r5, r6, r7, pc} + 805b42: 46c0 nop (mov r8, r8) + +$l1dtpu_neig_sb: + 805b54: b5f0 push {r4, r5, r6, r7, lr} + 805b56: 4644 mov r4, r8 + 805b58: 464d mov r5, r9 + 805b5a: 4656 mov r6, r10 + 805b5c: 465f mov r7, r11 + 805b5e: b4f0 push {r4, r5, r6, r7} + 805b60: af09 add r7, sp, #36 ; 0x24 + 805b62: b081 sub sp, #4 + 805b64: 1c1d add r5, r3, #0 + 805b66: 1c14 add r4, r2, #0 + 805b68: 1c0e add r6, r1, #0 + 805b6a: 4680 mov r8, r0 + 805b6c: 7978 ldrb r0, [r7, #5] + 805b6e: 4682 mov r10, r0 + 805b70: 7938 ldrb r0, [r7, #4] + 805b72: 4683 mov r11, r0 + 805b74: 6838 ldr r0, [r7, #0] + 805b76: 4681 mov r9, r0 + 805b78: 49e3 ldr r1, =0x83cdb4 ; via 0x805f08 + 805b7a: 20c1 mov r0, #193 ; 0xc1 + 805b7c: 5c40 ldrb r0, [r0, r1] + 805b7e: 2800 cmp r0, #0 + 805b80: d103 bne 0x805b8a + 805b82: 20d5 mov r0, #213 ; 0xd5 + 805b84: 5646 ldrsb r6, [r0, r1] + 805b86: 20d6 mov r0, #214 ; 0xd6 + 805b88: 5c44 ldrb r4, [r0, r1] + 805b8a: 4648 mov r0, r9 + 805b8c: 1828 add r0, r5, r0 + 805b8e: 0400 lsl r0, r0, #16 + 805b90: 0c02 lsr r2, r0, #16 + 805b92: 9200 str r2, [sp, #0] + 805b94: 4b89 ldr r3, =0x1388 ; via 0x805dbc + 805b96: 9800 ldr r0, [sp, #0] + 805b98: 4298 cmp r0, r3 + 805b9a: db04 blt 0x805ba6 + 805b9c: 4887 ldr r0, =0x1388 ; via 0x805dbc + 805b9e: 1a10 sub r0, r2, r0 + 805ba0: 0400 lsl r0, r0, #16 + 805ba2: 0c00 lsr r0, r0, #16 + 805ba4: 9000 str r0, [sp, #0] + 805ba6: 9800 ldr r0, [sp, #0] + 805ba8: 2246 mov r2, #70 ; 0x46 + 805baa: 5e51 ldrsh r1, [r2, r1] + 805bac: f00d ff59 bl 0x813a62 ; $l1dmacro_offset + 805bb0: 4650 mov r0, r10 + 805bb2: 2802 cmp r0, #2 + 805bb4: d006 beq 0x805bc4 + 805bb6: 48d3 ldr r0, =0x137e ; via 0x805f04 + 805bb8: 4285 cmp r5, r0 + 805bba: d303 bcc 0x805bc4 + 805bbc: 9800 ldr r0, [sp, #0] + 805bbe: 2100 mov r1, #0 + 805bc0: f00d ff4f bl 0x813a62 ; $l1dmacro_offset + 805bc4: 4640 mov r0, r8 + 805bc6: f00c ff79 bl 0x812abc ; $l1dmacro_rx_synth + 805bca: 4640 mov r0, r8 + 805bcc: 1c31 add r1, r6, #0 + 805bce: 1c22 add r2, r4, #0 + 805bd0: f00c fef0 bl 0x8129b4 ; $l1dmacro_agc + 805bd4: 4640 mov r0, r8 + 805bd6: f00d fa8f bl 0x8130f8 ; $l1dmacro_rx_sb + 805bda: 4658 mov r0, r11 + 805bdc: 2801 cmp r0, #1 + 805bde: d103 bne 0x805be8 + 805be0: 4648 mov r0, r9 + 805be2: 4976 ldr r1, =0x1388 ; via 0x805dbc + 805be4: f00d ff3d bl 0x813a62 ; $l1dmacro_offset + 805be8: b001 add sp, #4 + 805bea: bcf0 pop {r4, r5, r6, r7} + 805bec: 46a0 mov r8, r4 + 805bee: 46a9 mov r9, r5 + 805bf0: 46b2 mov r10, r6 + 805bf2: 46bb mov r11, r7 + 805bf4: bdf0 pop {r4, r5, r6, r7, pc} + 805bf6: 46c0 nop (mov r8, r8) + +$l1dtpu_neig_sb26: + 805bfc: b5f0 push {r4, r5, r6, r7, lr} + 805bfe: 4644 mov r4, r8 + 805c00: 464d mov r5, r9 + 805c02: b430 push {r4, r5} + 805c04: 1c15 add r5, r2, #0 + 805c06: 1c0e add r6, r1, #0 + 805c08: 4681 mov r9, r0 + 805c0a: 9f08 ldr r7, [sp, #32] ; 0x20 + 805c0c: 9807 ldr r0, [sp, #28] ; 0x1c + 805c0e: 4680 mov r8, r0 + 805c10: 49bd ldr r1, =0x83cdb4 ; via 0x805f08 + 805c12: 20c1 mov r0, #193 ; 0xc1 + 805c14: 5c40 ldrb r0, [r0, r1] + 805c16: 2800 cmp r0, #0 + 805c18: d103 bne 0x805c22 + 805c1a: 20d5 mov r0, #213 ; 0xd5 + 805c1c: 5646 ldrsb r6, [r0, r1] + 805c1e: 20d6 mov r0, #214 ; 0xd6 + 805c20: 5c45 ldrb r5, [r0, r1] + 805c22: 19d8 add r0, r3, r7 + 805c24: 0400 lsl r0, r0, #16 + 805c26: 0c04 lsr r4, r0, #16 + 805c28: 4864 ldr r0, =0x1388 ; via 0x805dbc + 805c2a: 4284 cmp r4, r0 + 805c2c: db02 blt 0x805c34 + 805c2e: 1a20 sub r0, r4, r0 + 805c30: 0400 lsl r0, r0, #16 + 805c32: 0c04 lsr r4, r0, #16 + 805c34: 225e mov r2, #94 ; 0x5e + 805c36: 5e51 ldrsh r1, [r2, r1] + 805c38: 1c20 add r0, r4, #0 + 805c3a: f00d ff12 bl 0x813a62 ; $l1dmacro_offset + 805c3e: 4640 mov r0, r8 + 805c40: 2800 cmp r0, #0 + 805c42: d003 beq 0x805c4c + 805c44: 1c20 add r0, r4, #0 + 805c46: 2100 mov r1, #0 + 805c48: f00d ff0b bl 0x813a62 ; $l1dmacro_offset + 805c4c: 4648 mov r0, r9 + 805c4e: f00c ff35 bl 0x812abc ; $l1dmacro_rx_synth + 805c52: 4648 mov r0, r9 + 805c54: 1c31 add r1, r6, #0 + 805c56: 1c2a add r2, r5, #0 + 805c58: f00c feac bl 0x8129b4 ; $l1dmacro_agc + 805c5c: 4648 mov r0, r9 + 805c5e: f00d fa4b bl 0x8130f8 ; $l1dmacro_rx_sb + 805c62: 1c38 add r0, r7, #0 + 805c64: 4955 ldr r1, =0x1388 ; via 0x805dbc + 805c66: f00d fefc bl 0x813a62 ; $l1dmacro_offset + 805c6a: bc30 pop {r4, r5} + 805c6c: 46a0 mov r8, r4 + 805c6e: 46a9 mov r9, r5 + 805c70: bdf0 pop {r4, r5, r6, r7, pc} + 805c72: 46c0 nop (mov r8, r8) + +$l1dtpu_serv_rx_nb: + 805c80: b5f0 push {r4, r5, r6, r7, lr} + 805c82: 4644 mov r4, r8 + 805c84: 464d mov r5, r9 + 805c86: 4656 mov r6, r10 + 805c88: 465f mov r7, r11 + 805c8a: b4f0 push {r4, r5, r6, r7} + 805c8c: af09 add r7, sp, #36 ; 0x24 + 805c8e: 4698 mov r8, r3 + 805c90: 4691 mov r9, r2 + 805c92: 468a mov r10, r1 + 805c94: 1c05 add r5, r0, #0 + 805c96: 7978 ldrb r0, [r7, #5] + 805c98: 4683 mov r11, r0 + 805c9a: 793e ldrb r6, [r7, #4] + 805c9c: 6838 ldr r0, [r7, #0] + 805c9e: 4c9a ldr r4, =0x83cdb4 ; via 0x805f08 + 805ca0: 21c1 mov r1, #193 ; 0xc1 + 805ca2: 5d09 ldrb r1, [r1, r4] + 805ca4: 2900 cmp r1, #0 + 805ca6: d105 bne 0x805cb4 + 805ca8: 21d5 mov r1, #213 ; 0xd5 + 805caa: 5709 ldrsb r1, [r1, r4] + 805cac: 468a mov r10, r1 + 805cae: 21d6 mov r1, #214 ; 0xd6 + 805cb0: 5d09 ldrb r1, [r1, r4] + 805cb2: 4689 mov r9, r1 + 805cb4: 2e00 cmp r6, #0 + 805cb6: d105 bne 0x805cc4 + 805cb8: 2048 mov r0, #72 ; 0x48 + 805cba: 5f00 ldrsh r0, [r0, r4] + 805cbc: 4641 mov r1, r8 + 805cbe: f00d feeb bl 0x813a98 ; $l1dmacro_synchro + 805cc2: e003 b 0x805ccc + 805cc4: 2146 mov r1, #70 ; 0x46 + 805cc6: 5f09 ldrsh r1, [r1, r4] + 805cc8: f00d fecb bl 0x813a62 ; $l1dmacro_offset + 805ccc: 1c28 add r0, r5, #0 + 805cce: f00c fef5 bl 0x812abc ; $l1dmacro_rx_synth + 805cd2: 4658 mov r0, r11 + 805cd4: 2803 cmp r0, #3 + 805cd6: d101 bne 0x805cdc + 805cd8: f00d fef9 bl 0x813ace ; $l1dmacro_adc_read_rx + 805cdc: 1c28 add r0, r5, #0 + 805cde: 4651 mov r1, r10 + 805ce0: 464a mov r2, r9 + 805ce2: f00c fe67 bl 0x8129b4 ; $l1dmacro_agc + 805ce6: 20c0 mov r0, #192 ; 0xc0 + 805ce8: 5d00 ldrb r0, [r0, r4] + 805cea: 2800 cmp r0, #0 + 805cec: d009 beq 0x805d02 + 805cee: 20d0 mov r0, #208 ; 0xd0 + 805cf0: 5d00 ldrb r0, [r0, r4] + 805cf2: 2802 cmp r0, #2 + 805cf4: d105 bne 0x805d02 + 805cf6: 0628 lsl r0, r5, #24 + 805cf8: 0e01 lsr r1, r0, #24 + 805cfa: 2000 mov r0, #0 + 805cfc: f00d fac0 bl 0x813280 ; $l1dmacro_rx_cont + 805d00: e002 b 0x805d08 + 805d02: 1c28 add r0, r5, #0 + 805d04: f00d f9ec bl 0x8130e0 ; $l1dmacro_rx_nb + 805d08: 484f ldr r0, =0x83cc58 ; via 0x805e48 + 805d0a: 8800 ldrh r0, [r0, #0] + 805d0c: f7ff fd0e bl 0x80572c ; $l1ddsp_load_afc + 805d10: 2e00 cmp r6, #0 + 805d12: d003 beq 0x805d1c + 805d14: 4640 mov r0, r8 + 805d16: 4929 ldr r1, =0x1388 ; via 0x805dbc + 805d18: f00d fea3 bl 0x813a62 ; $l1dmacro_offset + 805d1c: bcf0 pop {r4, r5, r6, r7} + 805d1e: 46a0 mov r8, r4 + 805d20: 46a9 mov r9, r5 + 805d22: 46b2 mov r10, r6 + 805d24: 46bb mov r11, r7 + 805d26: bdf0 pop {r4, r5, r6, r7, pc} + +$l1dtpu_serv_tx_nb: + 805d34: b5f0 push {r4, r5, r6, r7, lr} + 805d36: 4644 mov r4, r8 + 805d38: 464d mov r5, r9 + 805d3a: b430 push {r4, r5} + 805d3c: af07 add r7, sp, #28 ; 0x1c + 805d3e: 4699 mov r9, r3 + 805d40: 1c14 add r4, r2, #0 + 805d42: 4680 mov r8, r0 + 805d44: 783e ldrb r6, [r7, #0] + 805d46: 008a lsl r2, r1, #2 + 805d48: 4870 ldr r0, =0x83ce14 ; via 0x805f0c + 805d4a: 6801 ldr r1, [r0, #0] + 805d4c: 1a60 sub r0, r4, r1 + 805d4e: 1a83 sub r3, r0, r2 + 805d50: 486f ldr r0, =0x7a1 ; via 0x805f10 + 805d52: 18c0 add r0, r0, r3 + 805d54: 1a63 sub r3, r4, r1 + 805d56: 1a9b sub r3, r3, r2 + 805d58: 4a6d ldr r2, =0x7a1 ; via 0x805f10 + 805d5a: 18d2 add r2, r2, r3 + 805d5c: 4b6d ldr r3, =0x1388 ; via 0x805f14 + 805d5e: 429a cmp r2, r3 + 805d60: d301 bcc 0x805d66 + 805d62: 486c ldr r0, =0x1388 ; via 0x805f14 + 805d64: 1a10 sub r0, r2, r0 + 805d66: 4d68 ldr r5, =0x83cdb4 ; via 0x805f08 + 805d68: 4a6b ldr r2, =0x83cc62 ; via 0x805f18 + 805d6a: 8812 ldrh r2, [r2, #0] + 805d6c: 0912 lsr r2, r2, #4 + 805d6e: d201 bcs 0x805d74 + 805d70: 496a ldr r1, =0x137e ; via 0x805f1c + 805d72: e002 b 0x805d7a + 805d74: 2252 mov r2, #82 ; 0x52 + 805d76: 5f52 ldrsh r2, [r2, r5] + 805d78: 1a51 sub r1, r2, r1 + 805d7a: f00d fe72 bl 0x813a62 ; $l1dmacro_offset + 805d7e: 4640 mov r0, r8 + 805d80: f00c feb6 bl 0x812af0 ; $l1dmacro_tx_synth + 805d84: 20c0 mov r0, #192 ; 0xc0 + 805d86: 5d40 ldrb r0, [r0, r5] + 805d88: 2800 cmp r0, #0 + 805d8a: d008 beq 0x805d9e + 805d8c: 20d0 mov r0, #208 ; 0xd0 + 805d8e: 5d40 ldrb r0, [r0, r5] + 805d90: 2803 cmp r0, #3 + 805d92: d104 bne 0x805d9e + 805d94: 4640 mov r0, r8 + 805d96: 4649 mov r1, r9 + 805d98: f00d fa7e bl 0x813298 ; $l1dmacro_tx_cont + 805d9c: e004 b 0x805da8 + 805d9e: 4640 mov r0, r8 + 805da0: 4649 mov r1, r9 + 805da2: 1c32 add r2, r6, #0 + 805da4: f00d fa40 bl 0x813228 ; $l1dmacro_tx_nb + 805da8: 1c20 add r0, r4, #0 + 805daa: 4904 ldr r1, =0x1388 ; via 0x805dbc + 805dac: f00d fe59 bl 0x813a62 ; $l1dmacro_offset + 805db0: bc30 pop {r4, r5} + 805db2: 46a0 mov r8, r4 + 805db4: 46a9 mov r9, r5 + 805db6: bdf0 pop {r4, r5, r6, r7, pc} + +$l1dtpu_neig_rx_nb: + 805dc0: b5f0 push {r4, r5, r6, r7, lr} + 805dc2: 4644 mov r4, r8 + 805dc4: 464d mov r5, r9 + 805dc6: 4656 mov r6, r10 + 805dc8: 465f mov r7, r11 + 805dca: b4f0 push {r4, r5, r6, r7} + 805dcc: af09 add r7, sp, #36 ; 0x24 + 805dce: 1c15 add r5, r2, #0 + 805dd0: 1c0e add r6, r1, #0 + 805dd2: 4681 mov r9, r0 + 805dd4: 7978 ldrb r0, [r7, #5] + 805dd6: 4682 mov r10, r0 + 805dd8: 7938 ldrb r0, [r7, #4] + 805dda: 4683 mov r11, r0 + 805ddc: 6838 ldr r0, [r7, #0] + 805dde: 4680 mov r8, r0 + 805de0: 4849 ldr r0, =0x83cdb4 ; via 0x805f08 + 805de2: 21c1 mov r1, #193 ; 0xc1 + 805de4: 5c09 ldrb r1, [r1, r0] + 805de6: 2900 cmp r1, #0 + 805de8: d103 bne 0x805df2 + 805dea: 21d5 mov r1, #213 ; 0xd5 + 805dec: 560e ldrsb r6, [r1, r0] + 805dee: 21d6 mov r1, #214 ; 0xd6 + 805df0: 5c0d ldrb r5, [r1, r0] + 805df2: 4641 mov r1, r8 + 805df4: 185c add r4, r3, r1 + 805df6: 4947 ldr r1, =0x1388 ; via 0x805f14 + 805df8: 428c cmp r4, r1 + 805dfa: d300 bcc 0x805dfe + 805dfc: 1a64 sub r4, r4, r1 + 805dfe: 2146 mov r1, #70 ; 0x46 + 805e00: 5e09 ldrsh r1, [r1, r0] + 805e02: 1c20 add r0, r4, #0 + 805e04: f00d fe2d bl 0x813a62 ; $l1dmacro_offset + 805e08: 4650 mov r0, r10 + 805e0a: 2801 cmp r0, #1 + 805e0c: d103 bne 0x805e16 + 805e0e: 1c20 add r0, r4, #0 + 805e10: 2100 mov r1, #0 + 805e12: f00d fe26 bl 0x813a62 ; $l1dmacro_offset + 805e16: 4648 mov r0, r9 + 805e18: f00c fe50 bl 0x812abc ; $l1dmacro_rx_synth + 805e1c: 4648 mov r0, r9 + 805e1e: 1c31 add r1, r6, #0 + 805e20: 1c2a add r2, r5, #0 + 805e22: f00c fdc7 bl 0x8129b4 ; $l1dmacro_agc + 805e26: 4648 mov r0, r9 + 805e28: f00d f95a bl 0x8130e0 ; $l1dmacro_rx_nb + 805e2c: 4658 mov r0, r11 + 805e2e: 2801 cmp r0, #1 + 805e30: d103 bne 0x805e3a + 805e32: 4640 mov r0, r8 + 805e34: 493a ldr r1, =0x1388 ; via 0x805f20 + 805e36: f00d fe14 bl 0x813a62 ; $l1dmacro_offset + 805e3a: bcf0 pop {r4, r5, r6, r7} + 805e3c: 46a0 mov r8, r4 + 805e3e: 46a9 mov r9, r5 + 805e40: 46b2 mov r10, r6 + 805e42: 46bb mov r11, r7 + 805e44: bdf0 pop {r4, r5, r6, r7, pc} + 805e46: 46c0 nop (mov r8, r8) + +$l1dtpu_serv_tx_ra: + 805e4c: b5f0 push {r4, r5, r6, r7, lr} + 805e4e: 1c1f add r7, r3, #0 + 805e50: 1c16 add r6, r2, #0 + 805e52: 1c0c add r4, r1, #0 + 805e54: 1c05 add r5, r0, #0 + 805e56: 482d ldr r0, =0x83ce14 ; via 0x805f0c + 805e58: 6801 ldr r1, [r0, #0] + 805e5a: 1a60 sub r0, r4, r1 + 805e5c: 4a2c ldr r2, =0x7a1 ; via 0x805f10 + 805e5e: 1810 add r0, r2, r0 + 805e60: 1a63 sub r3, r4, r1 + 805e62: 18d2 add r2, r2, r3 + 805e64: 4b2b ldr r3, =0x1388 ; via 0x805f14 + 805e66: 429a cmp r2, r3 + 805e68: d301 bcc 0x805e6e + 805e6a: 482a ldr r0, =0x1388 ; via 0x805f14 + 805e6c: 1a10 sub r0, r2, r0 + 805e6e: 4a2a ldr r2, =0x83cc62 ; via 0x805f18 + 805e70: 8812 ldrh r2, [r2, #0] + 805e72: 0912 lsr r2, r2, #4 + 805e74: d201 bcs 0x805e7a + 805e76: 4929 ldr r1, =0x137e ; via 0x805f1c + 805e78: e003 b 0x805e82 + 805e7a: 4a23 ldr r2, =0x83cdb4 ; via 0x805f08 + 805e7c: 2352 mov r3, #82 ; 0x52 + 805e7e: 5e9a ldrsh r2, [r3, r2] + 805e80: 1a51 sub r1, r2, r1 + 805e82: f00d fdee bl 0x813a62 ; $l1dmacro_offset + 805e86: 1c28 add r0, r5, #0 + 805e88: f00c fe32 bl 0x812af0 ; $l1dmacro_tx_synth + 805e8c: 1c28 add r0, r5, #0 + 805e8e: 1c31 add r1, r6, #0 + 805e90: 1c3a add r2, r7, #0 + 805e92: f00d f9df bl 0x813254 ; $l1dmacro_tx_ra + 805e96: 1c20 add r0, r4, #0 + 805e98: 4921 ldr r1, =0x1388 ; via 0x805f20 + 805e9a: f00d fde2 bl 0x813a62 ; $l1dmacro_offset + 805e9e: bdf0 pop {r4, r5, r6, r7, pc} + +$l1dtpu_end_scenario: + 805ea0: b500 push {lr} + 805ea2: f00d fdcb bl 0x813a3c ; $l1dmacro_idle + 805ea6: bd00 pop {pc} + +$l1d_reset_hw: + 805ea8: b510 push {r4, lr} + 805eaa: 1c04 add r4, r0, #0 + 805eac: 482b ldr r0, =0x83cda0 ; via 0x805f5c + 805eae: 2100 mov r1, #0 + 805eb0: 7001 strb r1, [r0, #0] + 805eb2: 7041 strb r1, [r0, #1] + 805eb4: 4a1b ldr r2, =0x83c724 ; via 0x805f24 + 805eb6: 7011 strb r1, [r2, #0] + 805eb8: 7081 strb r1, [r0, #2] + 805eba: 491b ldr r1, =0xffd001a8 ; via 0x805f28 + 805ebc: 60c1 str r1, [r0, #12] ; 0xc + 805ebe: 491b ldr r1, =0xffd00050 ; via 0x805f2c + 805ec0: 6041 str r1, [r0, #4] + 805ec2: 491b ldr r1, =0xffd00000 ; via 0x805f30 + 805ec4: 6081 str r1, [r0, #8] + 805ec6: 491b ldr r1, =0xffd00862 ; via 0x805f34 + 805ec8: 6101 str r1, [r0, #16] ; 0x10 + 805eca: 2000 mov r0, #0 + 805ecc: 4918 ldr r1, =0xffd00000 ; via 0x805f30 + 805ece: 8008 strh r0, [r1, #0] + 805ed0: 4919 ldr r1, =0xffd00004 ; via 0x805f38 + 805ed2: 8008 strh r0, [r1, #0] + 805ed4: 4919 ldr r1, =0xffd0000e ; via 0x805f3c + 805ed6: 8008 strh r0, [r1, #0] + 805ed8: 4919 ldr r1, =0xffd00008 ; via 0x805f40 + 805eda: 8008 strh r0, [r1, #0] + 805edc: 4919 ldr r1, =0xffd00012 ; via 0x805f44 + 805ede: 8008 strh r0, [r1, #0] + 805ee0: 4911 ldr r1, =0xffd001a8 ; via 0x805f28 + 805ee2: 8008 strh r0, [r1, #0] + 805ee4: 4818 ldr r0, =0x83ed90 ; via 0x805f48 + 805ee6: 4919 ldr r1, =0xffd0035c ; via 0x805f4c + 805ee8: 6081 str r1, [r0, #8] + 805eea: 4919 ldr r1, =0xffd000f0 ; via 0x805f50 + 805eec: 6001 str r1, [r0, #0] + 805eee: 4919 ldr r1, =0xffd000a0 ; via 0x805f54 + 805ef0: 6041 str r1, [r0, #4] + 805ef2: 4919 ldr r1, =0xffd00900 ; via 0x805f58 + 805ef4: 60c1 str r1, [r0, #12] ; 0xc + 805ef6: 4817 ldr r0, =0xffd000a0 ; via 0x805f54 + 805ef8: f000 f8c2 bl 0x806080 ; $l1ps_reset_db_mcu_to_dsp + 805efc: 1c20 add r0, r4, #0 + 805efe: f00d f9ef bl 0x8132e0 ; $l1dmacro_reset_hw + 805f02: bd10 pop {r4, pc} + ; apparent beginning of tpudrv10 module 811df8: b500 push {lr} @@ -4111,6 +4588,7 @@ 812aec: b002 add sp, #8 812aee: bd00 pop {pc} +$l1dmacro_tx_synth: 812af0: b500 push {lr} 812af2: b082 sub sp, #8 812af4: 4669 mov r1, sp @@ -4146,6 +4624,30 @@ 812b30: 4770 bx lr 812b32: 46c0 nop (mov r8, r8) +$l1dmacro_rx_nb: + 8130e0: b500 push {lr} + 8130e2: b081 sub sp, #4 + 8130e4: 4669 mov r1, sp + 8130e6: 8008 strh r0, [r1, #0] + 8130e8: f7ff fd36 bl 0x812b58 + 8130ec: 20b1 mov r0, #177 ; 0xb1 + 8130ee: 0080 lsl r0, r0, #2 + 8130f0: f7ff fdfc bl 0x812cec + 8130f4: b001 add sp, #4 + 8130f6: bd00 pop {pc} + +$l1dmacro_rx_sb: + 8130f8: b500 push {lr} + 8130fa: b081 sub sp, #4 + 8130fc: 4669 mov r1, sp + 8130fe: 8008 strh r0, [r1, #0] + 813100: f7ff fd2a bl 0x812b58 + 813104: 20d9 mov r0, #217 ; 0xd9 + 813106: 0080 lsl r0, r0, #2 + 813108: f7ff fdf0 bl 0x812cec + 81310c: b001 add sp, #4 + 81310e: bd00 pop {pc} + $l1dmacro_rx_ms: 813110: b500 push {lr} 813112: b081 sub sp, #4 @@ -4251,6 +4753,112 @@ 8131f0: b001 add sp, #4 8131f2: bd00 pop {pc} +$l1dmacro_rx_fb26: + 8131f8: b500 push {lr} + 8131fa: b081 sub sp, #4 + 8131fc: 4669 mov r1, sp + 8131fe: 8008 strh r0, [r1, #0] + 813200: f7ff fcaa bl 0x812b58 + 813204: 48e5 ldr r0, =0x83c0a4 ; via 0x81359c + 813206: 6801 ldr r1, [r0, #0] + 813208: 1c8a add r2, r1, #2 + 81320a: 6002 str r2, [r0, #0] + 81320c: 2001 mov r0, #1 + 81320e: 0340 lsl r0, r0, #13 + 813210: 8008 strh r0, [r1, #0] + 813212: 201b mov r0, #27 ; 0x1b + 813214: 0140 lsl r0, r0, #5 + 813216: f7ff fd69 bl 0x812cec + 81321a: b001 add sp, #4 + 81321c: bd00 pop {pc} + 81321e: 46c0 nop (mov r8, r8) + +$l1dmacro_tx_nb: + 813228: b500 push {lr} + 81322a: b081 sub sp, #4 + 81322c: 466b mov r3, sp + 81322e: 70da strb r2, [r3, #3] + 813230: 466a mov r2, sp + 813232: 7091 strb r1, [r2, #2] + 813234: 4669 mov r1, sp + 813236: 8008 strh r0, [r1, #0] + 813238: f7ff fdda bl 0x812df0 + 81323c: 4960 ldr r1, =0x83ce08 ; via 0x8133c0 + 81323e: 2000 mov r0, #0 + 813240: 5e08 ldrsh r0, [r1, r0] + 813242: 2100 mov r1, #0 + 813244: 466a mov r2, sp + 813246: 78d2 ldrb r2, [r2, #3] + 813248: f7ff fea2 bl 0x812f90 + 81324c: b001 add sp, #4 + 81324e: bd00 pop {pc} + +$l1dmacro_tx_ra: + 813254: b500 push {lr} + 813256: b081 sub sp, #4 + 813258: 466b mov r3, sp + 81325a: 70da strb r2, [r3, #3] + 81325c: 466a mov r2, sp + 81325e: 7091 strb r1, [r2, #2] + 813260: 4669 mov r1, sp + 813262: 8008 strh r0, [r1, #0] + 813264: f7ff fdc4 bl 0x812df0 + 813268: 4956 ldr r1, =0x83ce0a ; via 0x8133c4 + 81326a: 2000 mov r0, #0 + 81326c: 5e08 ldrsh r0, [r1, r0] + 81326e: 2100 mov r1, #0 + 813270: 466a mov r2, sp + 813272: 78d2 ldrb r2, [r2, #3] + 813274: f7ff fe8c bl 0x812f90 + 813278: b001 add sp, #4 + 81327a: bd00 pop {pc} + +$l1dmacro_rx_cont: + 813280: b500 push {lr} + 813282: b081 sub sp, #4 + 813284: 466a mov r2, sp + 813286: 7091 strb r1, [r2, #2] + 813288: 4669 mov r1, sp + 81328a: 8008 strh r0, [r1, #0] + 81328c: f7ff fc64 bl 0x812b58 + 813290: b001 add sp, #4 + 813292: bd00 pop {pc} + +$l1dmacro_tx_cont: + 813298: b500 push {lr} + 81329a: b081 sub sp, #4 + 81329c: 466a mov r2, sp + 81329e: 7091 strb r1, [r2, #2] + 8132a0: 4669 mov r1, sp + 8132a2: 8008 strh r0, [r1, #0] + 8132a4: f7ff fda4 bl 0x812df0 + 8132a8: b001 add sp, #4 + 8132aa: bd00 pop {pc} + +$l1dmacro_reset_hw: + 8132e0: b500 push {lr} + 8132e2: b081 sub sp, #4 + 8132e4: 9000 str r0, [sp, #0] + 8132e6: 2001 mov r0, #1 + 8132e8: f000 fade bl 0x8138a8 + 8132ec: 2000 mov r0, #0 + 8132ee: f000 fadb bl 0x8138a8 + 8132f2: 49aa ldr r1, =0x83c0a4 ; via 0x81359c + 8132f4: 48fb ldr r0, =0xffff9000 ; via 0x8136e4 + 8132f6: 6008 str r0, [r1, #0] + 8132f8: 4aa8 ldr r2, =0x83c0a4 ; via 0x81359c + 8132fa: 6811 ldr r1, [r2, #0] + 8132fc: 1c88 add r0, r1, #2 + 8132fe: 6010 str r0, [r2, #0] + 813300: 2001 mov r0, #1 + 813302: 0380 lsl r0, r0, #14 + 813304: 9a00 ldr r2, [sp, #0] + 813306: 4310 orr r0, r2 + 813308: 8008 strh r0, [r1, #0] + 81330a: b001 add sp, #4 + 81330c: bd00 pop {pc} + 81330e: 46c0 nop (mov r8, r8) + $l1dmacro_init_hw: 81375c: b500 push {lr} 81375e: b081 sub sp, #4