changeset 300:74ebb63948d2

dsample-fw-disasm: a few tpudrv10 l1dmacro functions
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 05 Oct 2019 08:29:39 +0000
parents 1a8300df2a02
children 5f9932613f99
files dsample-fw-disasm
diffstat 1 files changed, 257 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dsample-fw-disasm	Sat Oct 05 07:56:47 2019 +0000
+++ b/dsample-fw-disasm	Sat Oct 05 08:29:39 2019 +0000
@@ -3950,6 +3950,96 @@
   812980:	b008		add	sp, #32	; 0x20
   812982:	bd00		pop	{pc}
 
+$l1dmacro_agc:
+  8129b4:	b083		sub	sp, #12	; 0xc
+  8129b6:	466b		mov	r3, sp
+  8129b8:	70da		strb	r2, [r3, #3]
+  8129ba:	466a		mov	r2, sp
+  8129bc:	7091		strb	r1, [r2, #2]
+  8129be:	4669		mov	r1, sp
+  8129c0:	8008		strh	r0, [r1, #0]
+  8129c2:	9800		ldr	r0, [sp, #0]
+  8129c4:	0200		lsl	r0, r0, #8
+  8129c6:	1600		asr	r0, r0, #24
+  8129c8:	0600		lsl	r0, r0, #24
+  8129ca:	1600		asr	r0, r0, #24
+  8129cc:	3806		sub	r0, #6
+  8129ce:	0fc1		lsr	r1, r0, #31
+  8129d0:	1808		add	r0, r1, r0
+  8129d2:	1040		asr	r0, r0, #1
+  8129d4:	9002		str	r0, [sp, #8]
+  8129d6:	9802		ldr	r0, [sp, #8]
+  8129d8:	281b		cmp	r0, #27	; 0x1b
+  8129da:	db01		blt	0x8129e0
+  8129dc:	201a		mov	r0, #26	; 0x1a
+  8129de:	9002		str	r0, [sp, #8]
+  8129e0:	9802		ldr	r0, [sp, #8]
+  8129e2:	2800		cmp	r0, #0
+  8129e4:	d501		bpl	0x8129ea
+  8129e6:	2000		mov	r0, #0
+  8129e8:	9002		str	r0, [sp, #8]
+  8129ea:	49f5		ldr	r1, =0x83c0a4	; via 0x812dc0
+  8129ec:	6808		ldr	r0, [r1, #0]
+  8129ee:	1c82		add	r2, r0, #2
+  8129f0:	600a		str	r2, [r1, #0]
+  8129f2:	49ef		ldr	r1, =0x3313	; via 0x812db0
+  8129f4:	8001		strh	r1, [r0, #0]
+  8129f6:	49f0		ldr	r1, =0x83a064	; via 0x812db8
+  8129f8:	9802		ldr	r0, [sp, #8]
+  8129fa:	0040		lsl	r0, r0, #1
+  8129fc:	5a08		ldrh	r0, [r1, r0]
+  8129fe:	02c1		lsl	r1, r0, #11
+  812a00:	48ec		ldr	r0, =0x3b9	; via 0x812db4
+  812a02:	4308		orr	r0, r1
+  812a04:	49ef		ldr	r1, =0x83c09c	; via 0x812dc4
+  812a06:	6008		str	r0, [r1, #0]
+  812a08:	48ed		ldr	r0, =0x83c0a4	; via 0x812dc0
+  812a0a:	6801		ldr	r1, [r0, #0]
+  812a0c:	1c8a		add	r2, r1, #2
+  812a0e:	6002		str	r2, [r0, #0]
+  812a10:	48ed		ldr	r0, =0x8004	; via 0x812dc8
+  812a12:	4aec		ldr	r2, =0x83c09c	; via 0x812dc4
+  812a14:	6812		ldr	r2, [r2, #0]
+  812a16:	0a12		lsr	r2, r2, #8
+  812a18:	0612		lsl	r2, r2, #24
+  812a1a:	0e12		lsr	r2, r2, #24
+  812a1c:	0152		lsl	r2, r2, #5
+  812a1e:	4310		orr	r0, r2
+  812a20:	8008		strh	r0, [r1, #0]
+  812a22:	48e7		ldr	r0, =0x83c0a4	; via 0x812dc0
+  812a24:	6802		ldr	r2, [r0, #0]
+  812a26:	1c91		add	r1, r2, #2
+  812a28:	6001		str	r1, [r0, #0]
+  812a2a:	48e8		ldr	r0, =0x8003	; via 0x812dcc
+  812a2c:	49e5		ldr	r1, =0x83c09c	; via 0x812dc4
+  812a2e:	6809		ldr	r1, [r1, #0]
+  812a30:	0609		lsl	r1, r1, #24
+  812a32:	0e09		lsr	r1, r1, #24
+  812a34:	0149		lsl	r1, r1, #5
+  812a36:	4308		orr	r0, r1
+  812a38:	8010		strh	r0, [r2, #0]
+  812a3a:	48e1		ldr	r0, =0x83c0a4	; via 0x812dc0
+  812a3c:	6801		ldr	r1, [r0, #0]
+  812a3e:	1c8a		add	r2, r1, #2
+  812a40:	6002		str	r2, [r0, #0]
+  812a42:	4808		ldr	r0, =0x89e0	; via 0x812a64
+  812a44:	8008		strh	r0, [r1, #0]
+  812a46:	48de		ldr	r0, =0x83c0a4	; via 0x812dc0
+  812a48:	6801		ldr	r1, [r0, #0]
+  812a4a:	1c8a		add	r2, r1, #2
+  812a4c:	6002		str	r2, [r0, #0]
+  812a4e:	48e0		ldr	r0, =0x8041	; via 0x812dd0
+  812a50:	8008		strh	r0, [r1, #0]
+  812a52:	49da		ldr	r1, =0x83c098	; via 0x812dbc
+  812a54:	4668		mov	r0, sp
+  812a56:	78c0		ldrb	r0, [r0, #3]
+  812a58:	07c0		lsl	r0, r0, #31
+  812a5a:	0fc0		lsr	r0, r0, #31
+  812a5c:	03c0		lsl	r0, r0, #15
+  812a5e:	8008		strh	r0, [r1, #0]
+  812a60:	b003		add	sp, #12	; 0xc
+  812a62:	4770		bx	lr
+
 $arfcn_to_rf_index:
   812a68:	b081		sub	sp, #4
   812a6a:	4669		mov	r1, sp
@@ -3994,6 +4084,173 @@
   812ab8:	b001		add	sp, #4
   812aba:	4770		bx	lr
 
+$l1dmacro_rx_synth:
+  812abc:	b500		push	{lr}
+  812abe:	b082		sub	sp, #8
+  812ac0:	4669		mov	r1, sp
+  812ac2:	8008		strh	r0, [r1, #0]
+  812ac4:	49c7		ldr	r1, =0x83cdf8	; via 0x812de4
+  812ac6:	2000		mov	r0, #0
+  812ac8:	5e08		ldrsh	r0, [r1, r0]
+  812aca:	9001		str	r0, [sp, #4]
+  812acc:	49bc		ldr	r1, =0x83c0a4	; via 0x812dc0
+  812ace:	6808		ldr	r0, [r1, #0]
+  812ad0:	1c82		add	r2, r0, #2
+  812ad2:	600a		str	r2, [r1, #0]
+  812ad4:	2101		mov	r1, #1
+  812ad6:	0349		lsl	r1, r1, #13
+  812ad8:	9a01		ldr	r2, [sp, #4]
+  812ada:	4311		orr	r1, r2
+  812adc:	8001		strh	r1, [r0, #0]
+  812ade:	9801		ldr	r0, [sp, #4]
+  812ae0:	4669		mov	r1, sp
+  812ae2:	8809		ldrh	r1, [r1, #0]
+  812ae4:	2201		mov	r2, #1
+  812ae6:	f7ff fd51	bl	0x81258c
+  812aea:	9001		str	r0, [sp, #4]
+  812aec:	b002		add	sp, #8
+  812aee:	bd00		pop	{pc}
+
+  812af0:	b500		push	{lr}
+  812af2:	b082		sub	sp, #8
+  812af4:	4669		mov	r1, sp
+  812af6:	8008		strh	r0, [r1, #0]
+  812af8:	49bb		ldr	r1, =0x83ce04	; via 0x812de8
+  812afa:	2000		mov	r0, #0
+  812afc:	5e08		ldrsh	r0, [r1, r0]
+  812afe:	9001		str	r0, [sp, #4]
+  812b00:	49af		ldr	r1, =0x83c0a4	; via 0x812dc0
+  812b02:	6808		ldr	r0, [r1, #0]
+  812b04:	1c82		add	r2, r0, #2
+  812b06:	600a		str	r2, [r1, #0]
+  812b08:	2101		mov	r1, #1
+  812b0a:	0349		lsl	r1, r1, #13
+  812b0c:	9a01		ldr	r2, [sp, #4]
+  812b0e:	4311		orr	r1, r2
+  812b10:	8001		strh	r1, [r0, #0]
+  812b12:	9801		ldr	r0, [sp, #4]
+  812b14:	4669		mov	r1, sp
+  812b16:	8809		ldrh	r1, [r1, #0]
+  812b18:	2200		mov	r2, #0
+  812b1a:	f7ff fd37	bl	0x81258c
+  812b1e:	9001		str	r0, [sp, #4]
+  812b20:	b002		add	sp, #8
+  812b22:	bd00		pop	{pc}
+
+  812b24:	b081		sub	sp, #4
+  812b26:	466a		mov	r2, sp
+  812b28:	7091		strb	r1, [r2, #2]
+  812b2a:	4669		mov	r1, sp
+  812b2c:	8008		strh	r0, [r1, #0]
+  812b2e:	b001		add	sp, #4
+  812b30:	4770		bx	lr
+  812b32:	46c0		nop			(mov r8, r8)
+
+$l1dmacro_rx_ms:
+  813110:	b500		push	{lr}
+  813112:	b081		sub	sp, #4
+  813114:	4669		mov	r1, sp
+  813116:	8008		strh	r0, [r1, #0]
+  813118:	f7ff fd1e	bl	0x812b58
+  81311c:	20ff		mov	r0, #255	; 0xff
+  81311e:	3069		add	r0, #105	; 0x69
+  813120:	f7ff fde4	bl	0x812cec
+  813124:	b001		add	sp, #4
+  813126:	bd00		pop	{pc}
+
+$l1dmacro_rx_fb:
+  81313c:	b500		push	{lr}
+  81313e:	b081		sub	sp, #4
+  813140:	4669		mov	r1, sp
+  813142:	8008		strh	r0, [r1, #0]
+  813144:	f7ff fd08	bl	0x812b58
+  813148:	4821		ldr	r0, =0x83c0a4	; via 0x8131d0
+  81314a:	6801		ldr	r1, [r0, #0]
+  81314c:	1c8a		add	r2, r1, #2
+  81314e:	6002		str	r2, [r0, #0]
+  813150:	2001		mov	r0, #1
+  813152:	0340		lsl	r0, r0, #13
+  813154:	8008		strh	r0, [r1, #0]
+  813156:	491e		ldr	r1, =0x83c0a4	; via 0x8131d0
+  813158:	6808		ldr	r0, [r1, #0]
+  81315a:	1c82		add	r2, r0, #2
+  81315c:	600a		str	r2, [r1, #0]
+  81315e:	2101		mov	r1, #1
+  813160:	0349		lsl	r1, r1, #13
+  813162:	8001		strh	r1, [r0, #0]
+  813164:	481a		ldr	r0, =0x83c0a4	; via 0x8131d0
+  813166:	6801		ldr	r1, [r0, #0]
+  813168:	1c8a		add	r2, r1, #2
+  81316a:	6002		str	r2, [r0, #0]
+  81316c:	2001		mov	r0, #1
+  81316e:	0340		lsl	r0, r0, #13
+  813170:	8008		strh	r0, [r1, #0]
+  813172:	4917		ldr	r1, =0x83c0a4	; via 0x8131d0
+  813174:	6808		ldr	r0, [r1, #0]
+  813176:	1c82		add	r2, r0, #2
+  813178:	600a		str	r2, [r1, #0]
+  81317a:	2101		mov	r1, #1
+  81317c:	0349		lsl	r1, r1, #13
+  81317e:	8001		strh	r1, [r0, #0]
+  813180:	4913		ldr	r1, =0x83c0a4	; via 0x8131d0
+  813182:	6808		ldr	r0, [r1, #0]
+  813184:	1c82		add	r2, r0, #2
+  813186:	600a		str	r2, [r1, #0]
+  813188:	2101		mov	r1, #1
+  81318a:	0349		lsl	r1, r1, #13
+  81318c:	8001		strh	r1, [r0, #0]
+  81318e:	4910		ldr	r1, =0x83c0a4	; via 0x8131d0
+  813190:	6808		ldr	r0, [r1, #0]
+  813192:	1c82		add	r2, r0, #2
+  813194:	600a		str	r2, [r1, #0]
+  813196:	2101		mov	r1, #1
+  813198:	0349		lsl	r1, r1, #13
+  81319a:	8001		strh	r1, [r0, #0]
+  81319c:	490c		ldr	r1, =0x83c0a4	; via 0x8131d0
+  81319e:	6808		ldr	r0, [r1, #0]
+  8131a0:	1c82		add	r2, r0, #2
+  8131a2:	600a		str	r2, [r1, #0]
+  8131a4:	2101		mov	r1, #1
+  8131a6:	0349		lsl	r1, r1, #13
+  8131a8:	8001		strh	r1, [r0, #0]
+  8131aa:	4809		ldr	r0, =0x83c0a4	; via 0x8131d0
+  8131ac:	6801		ldr	r1, [r0, #0]
+  8131ae:	1c8a		add	r2, r1, #2
+  8131b0:	6002		str	r2, [r0, #0]
+  8131b2:	2001		mov	r0, #1
+  8131b4:	0340		lsl	r0, r0, #13
+  8131b6:	8008		strh	r0, [r1, #0]
+  8131b8:	4805		ldr	r0, =0x83c0a4	; via 0x8131d0
+  8131ba:	6801		ldr	r1, [r0, #0]
+  8131bc:	1c8a		add	r2, r1, #2
+  8131be:	6002		str	r2, [r0, #0]
+  8131c0:	2001		mov	r0, #1
+  8131c2:	0340		lsl	r0, r0, #13
+  8131c4:	8008		strh	r0, [r1, #0]
+  8131c6:	49f5		ldr	r1, =0x83c0a4	; via 0x81359c
+  8131c8:	6808		ldr	r0, [r1, #0]
+  8131ca:	1c82		add	r2, r0, #2
+  8131cc:	600a		str	r2, [r1, #0]
+  8131ce:	e001		b	0x8131d4
+
+  8131d0:	0083c0a4
+
+  8131d4:	2101		mov	r1, #1
+  8131d6:	0349		lsl	r1, r1, #13
+  8131d8:	8001		strh	r1, [r0, #0]
+  8131da:	48f0		ldr	r0, =0x83c0a4	; via 0x81359c
+  8131dc:	6801		ldr	r1, [r0, #0]
+  8131de:	1c8a		add	r2, r1, #2
+  8131e0:	6002		str	r2, [r0, #0]
+  8131e2:	2001		mov	r0, #1
+  8131e4:	0340		lsl	r0, r0, #13
+  8131e6:	8008		strh	r0, [r1, #0]
+  8131e8:	2085		mov	r0, #133	; 0x85
+  8131ea:	0100		lsl	r0, r0, #4
+  8131ec:	f7ff fd7e	bl	0x812cec
+  8131f0:	b001		add	sp, #4
+  8131f2:	bd00		pop	{pc}
+
 $l1dmacro_init_hw:
   81375c:	b500		push	{lr}
   81375e:	b081		sub	sp, #4