Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
4417be55
Commit
4417be55
authored
Aug 17, 2014
by
Martin Peres
Committed by
Ben Skeggs
Sep 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/pwr/fuc: make $r1-$r10 registers callee-saved in kernel.fuc
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
b9fcf971
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
749 additions
and
736 deletions
+749
-736
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/kernel.fuc
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/kernel.fuc
+13
-0
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nv108.fuc.h
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nv108.fuc.h
+185
-185
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nva3.fuc.h
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nva3.fuc.h
+184
-184
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nvc0.fuc.h
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nvc0.fuc.h
+184
-184
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nvd0.fuc.h
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nvd0.fuc.h
+183
-183
No files found.
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/kernel.fuc
View file @
4417be55
...
...
@@ -98,12 +98,16 @@ wr32:
// $r14 - ns
// $r0 - zero
nsec:
push $r9
push $r8
nv_iord($r8, NV_PPWR_TIMER_LOW)
nsec_loop:
nv_iord($r9, NV_PPWR_TIMER_LOW)
sub b32 $r9 $r8
cmp b32 $r9 $r14
bra l #nsec_loop
pop $r8
pop $r9
ret
// busy-wait for a period of time
...
...
@@ -115,6 +119,8 @@ nsec:
// $r11 - timeout (ns)
// $r0 - zero
wait:
push $r9
push $r8
nv_iord($r8, NV_PPWR_TIMER_LOW)
wait_loop:
nv_rd32($r10, $r14)
...
...
@@ -126,6 +132,8 @@ wait:
cmp b32 $r9 $r11
bra l #wait_loop
wait_done:
pop $r8
pop $r9
ret
// $r15 - current (kern)
...
...
@@ -460,6 +468,9 @@ send:
// $r14 - process
// $r0 - zero
recv:
push $r9
push $r8
ld b32 $r8 D[$r14 + #proc_qget]
ld b32 $r9 D[$r14 + #proc_qput]
bclr $flags $p1
...
...
@@ -492,6 +503,8 @@ recv:
bset $flags $p1
pop $r15
recv_done:
pop $r8
pop $r9
ret
init:
...
...
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nv108.fuc.h
View file @
4417be55
...
...
@@ -24,8 +24,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000
,
/* 0x0058: proc_list_head */
0x54534f48
,
0x000004
3b
,
0x00000
3ec
,
0x000004
53
,
0x00000
404
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -46,8 +46,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000
,
0x00000000
,
0x584d454d
,
0x000005
26
,
0x000005
18
,
0x000005
3e
,
0x000005
30
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -68,8 +68,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000
,
0x00000000
,
0x46524550
,
0x000005
2a
,
0x000005
28
,
0x000005
42
,
0x000005
40
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -90,8 +90,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000
,
0x00000000
,
0x5f433249
,
0x000009
2e
,
0x000007
d5
,
0x000009
46
,
0x000007
ed
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -112,8 +112,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000
,
0x00000000
,
0x54534554
,
0x000009
4f
,
0x000009
30
,
0x000009
67
,
0x000009
48
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -134,8 +134,8 @@ uint32_t nv108_pwr_data[] = {
0x00000000
,
0x00000000
,
0x454c4449
,
0x000009
5a
,
0x000009
58
,
0x000009
72
,
0x000009
70
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -229,20 +229,20 @@ uint32_t nv108_pwr_data[] = {
/* 0x0370: memx_func_head */
0x00010000
,
0x00000000
,
0x000004
6b
,
0x000004
83
,
/* 0x037c: memx_func_next */
0x00000001
,
0x00000000
,
0x000004
89
,
0x000004
a1
,
0x00000002
,
0x00000002
,
0x000004
a1
,
0x000004
b9
,
0x00040003
,
0x00000000
,
0x000004
be
,
0x000004
d6
,
0x00010004
,
0x00000000
,
0x000004
d8
,
0x000004
f0
,
/* 0x03ac: memx_func_tail */
/* 0x03ac: memx_data_head */
0x00000000
,
...
...
@@ -784,7 +784,7 @@ uint32_t nv108_pwr_data[] = {
};
uint32_t
nv108_pwr_code
[]
=
{
0x03
04
0ef5
,
0x03
1c
0ef5
,
/* 0x0004: rd32 */
0xf607a040
,
0x04bd000e
,
...
...
@@ -812,15 +812,18 @@ uint32_t nv108_pwr_code[] = {
0x7000d4f1
,
0xf8f61bf4
,
/* 0x005d: nsec */
0xcf2c0800
,
/* 0x0062: nsec_loop */
0xf990f900
,
0xcf2c0880
,
/* 0x0066: nsec_loop */
0x2c090088
,
0xbb0099cf
,
0x9ea60298
,
0xf8f61ef4
,
/* 0x0071: wait */
0xcf2c0800
,
/* 0x0076: wait_loop */
0xfcf61ef4
,
0xf890fc80
,
/* 0x0079: wait */
0xf990f900
,
0xcf2c0880
,
/* 0x0082: wait_loop */
0xeeb20088
,
0x0000047e
,
0xadfddab2
,
...
...
@@ -828,28 +831,29 @@ uint32_t nv108_pwr_code[] = {
0x2c09100b
,
0xbb0099cf
,
0x9ba60298
,
/* 0x0093: wait_done */
0xf8e61ef4
,
/* 0x0095: intr_watchdog */
/* 0x009f: wait_done */
0xfce61ef4
,
0xf890fc80
,
/* 0x00a5: intr_watchdog */
0x03e99800
,
0xf40096b0
,
0x0a98280b
,
0x029abb9a
,
0x0d0e1cf4
,
0x02
5
17e01
,
0x02
6
17e01
,
0xf494bd00
,
/* 0x00
b
2: intr_watchdog_next_time */
/* 0x00
c
2: intr_watchdog_next_time */
0x0a98140e
,
0x00a6b09b
,
0xa6080bf4
,
0x061cf49a
,
/* 0x00
c
0: intr_watchdog_next_time_set */
/* 0x00
c
3: intr_watchdog_next_proc */
/* 0x00
d
0: intr_watchdog_next_time_set */
/* 0x00
d
3: intr_watchdog_next_proc */
0xb59b09b5
,
0xe0b603e9
,
0x68e6b158
,
0xc81bf402
,
/* 0x00
d
2: intr */
/* 0x00
e
2: intr */
0x00f900f8
,
0x80f904bd
,
0xa0f990f9
,
...
...
@@ -865,13 +869,13 @@ uint32_t nv108_pwr_code[] = {
0xc40088cf
,
0x0bf40289
,
0x9b00b51f
,
0x
9
57e580e
,
0x
a
57e580e
,
0x09980000
,
0x0096b09b
,
0x000d0bf4
,
0x0009f634
,
0x09b504bd
,
/* 0x01
2
5: intr_skip_watchdog */
/* 0x01
3
5: intr_skip_watchdog */
0x0089e49a
,
0x360bf408
,
0xcf068849
,
...
...
@@ -881,20 +885,20 @@ uint32_t nv108_pwr_code[] = {
0xc0f900cc
,
0xf14f484e
,
0x0d5453e3
,
0x02
b
27e00
,
0x02
c
27e00
,
0x40c0fc00
,
0x0cf604c0
,
/* 0x01
5
7: intr_subintr_skip_fifo */
/* 0x01
6
7: intr_subintr_skip_fifo */
0x4004bd00
,
0x09f60688
,
/* 0x01
5
f: intr_skip_subintr */
/* 0x01
6
f: intr_skip_subintr */
0xc404bd00
,
0x0bf42089
,
0xbfa4f107
,
/* 0x01
6
9: intr_skip_pause */
/* 0x01
7
9: intr_skip_pause */
0x4089c4ff
,
0xf1070bf4
,
/* 0x01
7
3: intr_skip_user0 */
/* 0x01
8
3: intr_skip_user0 */
0x00ffbfa4
,
0x0008f604
,
0x80fc04bd
,
...
...
@@ -904,35 +908,35 @@ uint32_t nv108_pwr_code[] = {
0xfca0fcb0
,
0xfc80fc90
,
0x0032f400
,
/* 0x01
9
6: ticks_from_ns */
/* 0x01
a
6: ticks_from_ns */
0xc0f901f8
,
0xd7f1b0f9
,
0xd3f00144
,
0x
5f
21f500
,
0x
77
21f500
,
0xe8ccec03
,
0x00b4b003
,
0xec120bf4
,
0xf103e8ee
,
0xf00144d7
,
0x21f500d3
,
/* 0x01
b
e: ticks_from_ns_quit */
0xceb203
5f
,
/* 0x01
c
e: ticks_from_ns_quit */
0xceb203
77
,
0xc0fcb0fc
,
/* 0x01
c
6: ticks_from_us */
/* 0x01
d
6: ticks_from_us */
0xc0f900f8
,
0xd7f1b0f9
,
0xd3f00144
,
0x
5f
21f500
,
0x
77
21f500
,
0xb0ceb203
,
0x0bf400b4
,
/* 0x01
d
f: ticks_from_us_quit */
/* 0x01
e
f: ticks_from_us_quit */
0xfce4bd05
,
0xf8c0fcb0
,
/* 0x01
e
5: ticks_to_us */
/* 0x01
f
5: ticks_to_us */
0x44d7f100
,
0x00d3f001
,
0xf8ecedff
,
/* 0x0
1f
1: timer */
/* 0x0
20
1: timer */
0xf990f900
,
0x1032f480
,
0xb003f898
,
...
...
@@ -950,17 +954,17 @@ uint32_t nv108_pwr_code[] = {
0xa60088cf
,
0x080bf4e0
,
0x1cf4e8a6
,
/* 0x02
3
5: timer_reset */
/* 0x02
4
5: timer_reset */
0xf634000d
,
0x04bd000e
,
/* 0x02
3
f: timer_enable */
/* 0x02
4
f: timer_enable */
0x089a0eb5
,
0xf6380001
,
0x04bd0008
,
/* 0x02
4
8: timer_done */
/* 0x02
5
8: timer_done */
0xfc1031f4
,
0xf890fc80
,
/* 0x02
5
1: send_proc */
/* 0x02
6
1: send_proc */
0xf980f900
,
0x05e89890
,
0xf004e998
,
...
...
@@ -975,25 +979,26 @@ uint32_t nv108_pwr_code[] = {
0x90b6038b
,
0x0794f001
,
0xf404e9b5
,
/* 0x02
8
a: send_done */
/* 0x02
9
a: send_done */
0x90fc0231
,
0x00f880fc
,
/* 0x02
9
0: find */
/* 0x02
a
0: find */
0x580880f9
,
/* 0x02
9
7: find_loop */
/* 0x02
a
7: find_loop */
0x980131f4
,
0xaea6008a
,
0xb6100bf4
,
0x86b15880
,
0x1bf40268
,
0x0132f4f1
,
/* 0x02
a
c: find_done */
/* 0x02
b
c: find_done */
0x80fc8eb2
,
/* 0x02
b
2: send */
0x
9
07e00f8
,
/* 0x02
c
2: send */
0x
a
07e00f8
,
0x01f40002
,
/* 0x02bb: recv */
0x9800f89b
,
/* 0x02cb: recv */
0xf900f89b
,
0x9880f990
,
0xe99805e8
,
0x0132f404
,
0x0bf489a6
,
...
...
@@ -1011,9 +1016,10 @@ uint32_t nv108_pwr_code[] = {
0xa5f900ee
,
0xf8fef0fc
,
0x0131f400
,
/* 0x0302: recv_done */
0x00f8f0fc
,
/* 0x0304: init */
/* 0x0316: recv_done */
0x80fcf0fc
,
0x00f890fc
,
/* 0x031c: init */
0xcf010841
,
0x11e70011
,
0x14b60109
,
...
...
@@ -1027,17 +1033,17 @@ uint32_t nv108_pwr_code[] = {
0x080015f1
,
0x01f61000
,
0x4104bd00
,
0x13f000
d
2
,
0x13f000
e
2
,
0x0010fe00
,
0x011031f4
,
0xf6380001
,
0x04bd0001
,
/* 0x03
4e
: init_proc */
/* 0x03
66
: init_proc */
0xf198580f
,
0x0016b001
,
0xf9fa0bf4
,
0x58f0b615
,
/* 0x03
5f
: mulu32_32_64 */
/* 0x03
77
: mulu32_32_64 */
0xf9f20ef4
,
0xf920f910
,
0x9540f930
,
...
...
@@ -1058,7 +1064,7 @@ uint32_t nv108_pwr_code[] = {
0x00b3bb30
,
0x30fc40fc
,
0x10fc20fc
,
/* 0x03
ae
: host_send */
/* 0x03
c6
: host_send */
0xb04100f8
,
0x0011cf04
,
0xcf04a042
,
...
...
@@ -1069,18 +1075,18 @@ uint32_t nv108_pwr_code[] = {
0x03eb9802
,
0x9802ec98
,
0xee9801ed
,
0x02
b
27e00
,
0x02
c
27e00
,
0x0110b600
,
0x400f1ec4
,
0x0ef604b0
,
0xf404bd00
,
/* 0x0
3ea
: host_send_done */
/* 0x0
402
: host_send_done */
0x00f8c70e
,
/* 0x0
3ec
: host_recv */
/* 0x0
404
: host_recv */
0xf14e4941
,
0xa6525413
,
0xb90bf4e1
,
/* 0x0
3f8
: host_recv_wait */
/* 0x0
410
: host_recv_wait */
0xcf04cc41
,
0xc8420011
,
0x0022cf04
,
...
...
@@ -1097,7 +1103,7 @@ uint32_t nv108_pwr_code[] = {
0x04bd0002
,
0x00004002
,
0xbd0002f6
,
/* 0x04
3b
: host_init */
/* 0x04
53
: host_init */
0x4100f804
,
0x14b60080
,
0x7015f110
,
...
...
@@ -1110,25 +1116,25 @@ uint32_t nv108_pwr_code[] = {
0x0104bd00
,
0x04c44001
,
0xbd0001f6
,
/* 0x04
6b
: memx_func_enter */
/* 0x04
83
: memx_func_enter */
0x0600f804
,
0x07e04004
,
0xbd0006f6
,
/* 0x04
75
: memx_func_enter_wait */
/* 0x04
8d
: memx_func_enter_wait */
0x07c04604
,
0xf00066cf
,
0x0bf40464
,
0x001698f7
,
0xf80410b6
,
/* 0x04
89
: memx_func_leave */
/* 0x04
a1
: memx_func_leave */
0x40040600
,
0x06f607e4
,
/* 0x04
93
: memx_func_leave_wait */
/* 0x04
ab
: memx_func_leave_wait */
0x4604bd00
,
0x66cf07c0
,
0x0464f000
,
0xf8f71bf4
,
/* 0x04
a1
: memx_func_wr32 */
/* 0x04
b9
: memx_func_wr32 */
0x00169800
,
0xb6011598
,
0x60f90810
,
...
...
@@ -1136,126 +1142,126 @@ uint32_t nv108_pwr_code[] = {
0x2e7ee0fc
,
0x42b60000
,
0xe81bf402
,
/* 0x04
be
: memx_func_wait */
/* 0x04
d6
: memx_func_wait */
0x2c0800f8
,
0x980088cf
,
0x1d98001e
,
0x021c9801
,
0xb6031b98
,
0x7
1
7e1010
,
0x7
9
7e1010
,
0x00f80000
,
/* 0x04
d8
: memx_func_delay */
/* 0x04
f0
: memx_func_delay */
0xb6001e98
,
0x5d7e0410
,
0x00f80000
,
/* 0x04
e4
: memx_exec */
/* 0x04
fc
: memx_exec */
0xd0f9e0f9
,
0xb2b2c1b2
,
/* 0x0
4ec
: memx_exec_next */
/* 0x0
504
: memx_exec_next */
0xb6001398
,
0x34950410
,
0x0c30f010
,
0xf9de3598
,
0xf412a655
,
0xd0fced1e
,
0x
b
27ee0fc
,
0x
c
27ee0fc
,
0x00f80002
,
/* 0x05
0c
: memx_info */
/* 0x05
24
: memx_info */
0x4b03ac4c
,
0x
b
27e0800
,
0x
c
27e0800
,
0x00f80002
,
/* 0x05
18
: memx_recv */
/* 0x05
30
: memx_recv */
0xf401d6b0
,
0xd6b0c90b
,
0xeb0bf400
,
/* 0x05
26
: memx_init */
/* 0x05
3e
: memx_init */
0x00f800f8
,
/* 0x05
28
: perf_recv */
/* 0x05
2a
: perf_init */
/* 0x05
40
: perf_recv */
/* 0x05
42
: perf_init */
0x00f800f8
,
/* 0x05
2c
: i2c_drive_scl */
/* 0x05
44
: i2c_drive_scl */
0xf40036b0
,
0xe0400d0b
,
0x0001f607
,
0x00f804bd
,
/* 0x05
3c
: i2c_drive_scl_lo */
/* 0x05
54
: i2c_drive_scl_lo */
0xf607e440
,
0x04bd0001
,
/* 0x05
46
: i2c_drive_sda */
/* 0x05
5e
: i2c_drive_sda */
0x36b000f8
,
0x0d0bf400
,
0xf607e040
,
0x04bd0002
,
/* 0x05
56
: i2c_drive_sda_lo */
/* 0x05
6e
: i2c_drive_sda_lo */
0xe44000f8
,
0x0002f607
,
0x00f804bd
,
/* 0x05
60
: i2c_sense_scl */
/* 0x05
78
: i2c_sense_scl */
0x430132f4
,
0x33cf07c4
,
0x0431fd00
,
0xf4060bf4
,
/* 0x05
72
: i2c_sense_scl_done */
/* 0x05
8a
: i2c_sense_scl_done */
0x00f80131
,
/* 0x05
74
: i2c_sense_sda */
/* 0x05
8c
: i2c_sense_sda */
0x430132f4
,
0x33cf07c4
,
0x0432fd00
,
0xf4060bf4
,
/* 0x05
86
: i2c_sense_sda_done */
/* 0x05
9e
: i2c_sense_sda_done */
0x00f80131
,
/* 0x05
88
: i2c_raise_scl */
/* 0x05
a0
: i2c_raise_scl */
0x984440f9
,
0x7e010308
,
/* 0x05
93
: i2c_raise_scl_wait */
0x4e0005
2c
,
/* 0x05
ab
: i2c_raise_scl_wait */
0x4e0005
44
,
0x5d7e03e8
,
0x
60
7e0000
,
0x
78
7e0000
,
0x01f40005
,
0x0142b609
,
/* 0x05
a7
: i2c_raise_scl_done */
/* 0x05
bf
: i2c_raise_scl_done */
0xfcef1bf4
,
/* 0x05
ab
: i2c_start */
/* 0x05
c3
: i2c_start */
0x7e00f840
,
0xf40005
60
,
0x
74
7e0d11
,
0xf40005
78
,
0x
8c
7e0d11
,
0x11f40005
,
0x2e0ef406
,
/* 0x05
bc
: i2c_start_rep */
0x
2c
7e0003
,
/* 0x05
d4
: i2c_start_rep */
0x
44
7e0003
,
0x01030005
,
0x0005
46
7e
,
0x0005
5e
7e
,
0xb60076bb
,
0x50f90465
,
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x05
88
7e50
,
0x05
a0
7e50
,
0x0464b600
,
/* 0x05
e7
: i2c_start_send */
/* 0x05
ff
: i2c_start_send */
0x031d11f4
,
0x05
46
7e00
,
0x05
5e
7e00
,
0x13884e00
,
0x00005d7e
,
0x
2c
7e0003
,
0x
44
7e0003
,
0x884e0005
,
0x005d7e13
,
/* 0x06
01
: i2c_start_out */
/* 0x06
03
: i2c_stop */
/* 0x06
19
: i2c_start_out */
/* 0x06
1b
: i2c_stop */
0x0300f800
,
0x05
2c
7e00
,
0x05
44
7e00
,
0x7e000300
,
0x4e0005
46
,
0x4e0005
5e
,
0x5d7e03e8
,
0x01030000
,
0x0005
2c
7e
,
0x0005
44
7e
,
0x7e13884e
,
0x0300005d
,
0x05
46
7e01
,
0x05
5e
7e01
,
0x13884e00
,
0x00005d7e
,
/* 0x06
32
: i2c_bitw */
0x
46
7e00f8
,
/* 0x06
4a
: i2c_bitw */
0x
5e
7e00f8
,
0xe84e0005
,
0x005d7e03
,
0x0076bb00
,
...
...
@@ -1263,18 +1269,18 @@ uint32_t nv108_pwr_code[] = {
0x04659450
,
0xbd0256bb
,
0x0475fd50
,
0x
88
7e50fc
,
0x
a0
7e50fc
,
0x64b60005
,
0x1711f404
,
0x7e13884e
,
0x0300005d
,
0x05
2c
7e00
,
0x05
44
7e00
,
0x13884e00
,
0x00005d7e
,
/* 0x06
70
: i2c_bitw_out */
/* 0x06
72
: i2c_bitr */
/* 0x06
88
: i2c_bitw_out */
/* 0x06
8a
: i2c_bitr */
0x010300f8
,
0x0005
46
7e
,
0x0005
5e
7e
,
0x7e03e84e
,
0xbb00005d
,
0x65b60076
,
...
...
@@ -1282,18 +1288,18 @@ uint32_t nv108_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x0005
88
7e
,
0x0005
a0
7e
,
0xf40464b6
,
0x
74
7e1a11
,
0x
8c
7e1a11
,
0x00030005
,
0x0005
2c
7e
,
0x0005
44
7e
,
0x7e13884e
,
0xf000005d
,
0x31f4013c
,
/* 0x06
b5
: i2c_bitr_done */
/* 0x06
b7
: i2c_get_byte */
/* 0x06
cd
: i2c_bitr_done */
/* 0x06
cf
: i2c_get_byte */
0x0500f801
,
/* 0x06
bb
: i2c_get_byte_next */
/* 0x06
d3
: i2c_get_byte_next */
0xb6080400
,
0x76bb0154
,
0x0465b600
,
...
...
@@ -1301,7 +1307,7 @@ uint32_t nv108_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0x7e50fc04
,
0xb60006
72
,
0xb60006
8a
,
0x11f40464
,
0x0553fd2a
,
0xf40142b6
,
...
...
@@ -1311,12 +1317,12 @@ uint32_t nv108_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x06
32
7e50
,
0x06
4a
7e50
,
0x0464b600
,
/* 0x07
04
: i2c_get_byte_done */
/* 0x07
06
: i2c_put_byte */
/* 0x07
1c
: i2c_get_byte_done */
/* 0x07
1e
: i2c_put_byte */
0x080400f8
,
/* 0x07
08
: i2c_put_byte_next */
/* 0x07
20
: i2c_put_byte_next */
0xff0142b6
,
0x76bb3854
,
0x0465b600
,
...
...
@@ -1324,7 +1330,7 @@ uint32_t nv108_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0x7e50fc04
,
0xb60006
32
,
0xb60006
4a
,
0x11f40464
,
0x0046b034
,
0xbbd81bf4
,
...
...
@@ -1333,20 +1339,20 @@ uint32_t nv108_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x0006
72
7e
,
0x0006
8a
7e
,
0xf40464b6
,
0x76bb0f11
,
0x0136b000
,
0xf4061bf4
,
/* 0x07
5e
: i2c_put_byte_done */
/* 0x07
76
: i2c_put_byte_done */
0x00f80132
,
/* 0x07
60
: i2c_addr */
/* 0x07
78
: i2c_addr */
0xb60076bb
,
0x50f90465
,
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x05
ab
7e50
,
0x05
c3
7e50
,
0x0464b600
,
0xe72911f4
,
0xb6012ec3
,
...
...
@@ -1356,25 +1362,25 @@ uint32_t nv108_pwr_code[] = {
0x04659450
,
0xbd0256bb
,
0x0475fd50
,
0x
06
7e50fc
,
0x
1e
7e50fc
,
0x64b60007
,
/* 0x07
a5
: i2c_addr_done */
/* 0x07
a7
: i2c_acquire_addr */
/* 0x07
bd
: i2c_addr_done */
/* 0x07
bf
: i2c_acquire_addr */
0xc700f804
,
0xe4b6f8ce
,
0x14e0b705
,
/* 0x07
b3
: i2c_acquire */
/* 0x07
cb
: i2c_acquire */
0x7e00f8d0
,
0x7e0007
a7
,
0x7e0007
bf
,
0xf0000004
,
0x2e7e03d9
,
0x00f80000
,
/* 0x07
c4
: i2c_release */
0x0007
a7
7e
,
/* 0x07
dc
: i2c_release */
0x0007
bf
7e
,
0x0000047e
,
0x7e03daf0
,
0xf800002e
,
/* 0x07
d5
: i2c_recv */
/* 0x07
ed
: i2c_recv */
0x0132f400
,
0xb6f8c1c7
,
0x16b00214
,
...
...
@@ -1393,7 +1399,7 @@ uint32_t nv108_pwr_code[] = {
0x04659450
,
0xbd0256bb
,
0x0475fd50
,
0x
b3
7e50fc
,
0x
cb
7e50fc
,
0x64b60007
,
0xb0d0fc04
,
0x1bf500d6
,
...
...
@@ -1403,7 +1409,7 @@ uint32_t nv108_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x07
60
7e50
,
0x07
78
7e50
,
0x0464b600
,
0x00cc11f5
,
0xbbe0c5c7
,
...
...
@@ -1412,7 +1418,7 @@ uint32_t nv108_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x0007
06
7e
,
0x0007
1e
7e
,
0xf50464b6
,
0x0500a911
,
0x0076bb01
,
...
...
@@ -1420,7 +1426,7 @@ uint32_t nv108_pwr_code[] = {
0x04659450
,
0xbd0256bb
,
0x0475fd50
,
0x
60
7e50fc
,
0x
78
7e50fc
,
0x64b60007
,
0x8711f504
,
0x0076bb00
,
...
...
@@ -1428,7 +1434,7 @@ uint32_t nv108_pwr_code[] = {
0x04659450
,
0xbd0256bb
,
0x0475fd50
,
0x
b7
7e50fc
,
0x
cf
7e50fc
,
0x64b60006
,
0x6711f404
,
0xbbe05bcb
,
...
...
@@ -1437,65 +1443,65 @@ uint32_t nv108_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x0006
03
7e
,
0x0006
1b
7e
,
0xb20464b6
,
0xf474bd5b
,
/* 0x08
da
: i2c_recv_not_rd08 */
/* 0x08
f2
: i2c_recv_not_rd08 */
0xd6b0410e
,
0x3b1bf401
,
0x
60
7e0005
,
0x
78
7e0005
,
0x11f40007
,
0xe0c5c732
,
0x0007
06
7e
,
0x0007
1e
7e
,
0x052811f4
,
0x07
60
7e00
,
0x07
78
7e00
,
0x1f11f400
,
0x7ee0b5c7
,
0xf40007
06
,
0x
03
7e1511
,
0xf40007
1e
,
0x
1b
7e1511
,
0x74bd0006
,
0xf408c5c7
,
0x32f4091b
,
0x030ef402
,
/* 0x09
18
: i2c_recv_not_wr08 */
/* 0x09
18
: i2c_recv_done */
/* 0x09
30
: i2c_recv_not_wr08 */
/* 0x09
30
: i2c_recv_done */
0x7ef8cec7
,
0xfc0007
c4
,
0xfc0007
dc
,
0xf4d0fce0
,
0x7cb20912
,
0x0002
b
27e
,
/* 0x09
2c
: i2c_recv_exit */
/* 0x09
2e
: i2c_init */
0x0002
c
27e
,
/* 0x09
44
: i2c_recv_exit */
/* 0x09
46
: i2c_init */
0x00f800f8
,
/* 0x09
30
: test_recv */
/* 0x09
48
: test_recv */
0xcf045841
,
0x10b60011
,
0x04584001
,
0xbd0001f6
,
0x00e7f104
,
0x4fe3f1d9
,
0x0
1f
17e13
,
/* 0x09
4f
: test_init */
0x0
20
17e13
,
/* 0x09
67
: test_init */
0x4e00f800
,
0x
f
17e0800
,
0x00f8000
1
,
/* 0x09
58
: idle_recv */
/* 0x09
5a
: idle */
0x
0
17e0800
,
0x00f8000
2
,
/* 0x09
70
: idle_recv */
/* 0x09
72
: idle */
0x31f400f8
,
0x04544100
,
0xb60011cf
,
0x54400110
,
0x0001f604
,
/* 0x09
6e
: idle_loop */
/* 0x09
86
: idle_loop */
0x580104bd
,
/* 0x09
73
: idle_proc */
/* 0x09
73
: idle_proc_exec */
/* 0x09
8b
: idle_proc */
/* 0x09
8b
: idle_proc_exec */
0xf90232f4
,
0x7e1eb210
,
0xfc0002
b
b
,
0xfc0002
c
b
,
0x0911f410
,
0xf40231f4
,
/* 0x09
86
: idle_proc_next */
/* 0x09
9e
: idle_proc_next */
0x10b6f00e
,
0xf41fa658
,
0x02f4e81b
,
...
...
@@ -1521,10 +1527,4 @@ uint32_t nv108_pwr_code[] = {
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
};
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nva3.fuc.h
View file @
4417be55
...
...
@@ -24,8 +24,8 @@ uint32_t nva3_pwr_data[] = {
0x00000000
,
/* 0x0058: proc_list_head */
0x54534f48
,
0x00000
4fa
,
0x000004
97
,
0x00000
512
,
0x000004
af
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -46,8 +46,8 @@ uint32_t nva3_pwr_data[] = {
0x00000000
,
0x00000000
,
0x584d454d
,
0x000006
0c
,
0x00000
5fe
,
0x000006
24
,
0x00000
616
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -68,8 +68,8 @@ uint32_t nva3_pwr_data[] = {
0x00000000
,
0x00000000
,
0x46524550
,
0x000006
10
,
0x000006
0e
,
0x000006
28
,
0x000006
26
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -90,8 +90,8 @@ uint32_t nva3_pwr_data[] = {
0x00000000
,
0x00000000
,
0x5f433249
,
0x00000a
40
,
0x000008
e3
,
0x00000a
58
,
0x000008
fb
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -112,8 +112,8 @@ uint32_t nva3_pwr_data[] = {
0x00000000
,
0x00000000
,
0x54534554
,
0x00000a
69
,
0x00000a
42
,
0x00000a
81
,
0x00000a
5a
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -134,8 +134,8 @@ uint32_t nva3_pwr_data[] = {
0x00000000
,
0x00000000
,
0x454c4449
,
0x00000a
75
,
0x00000a
73
,
0x00000a
8d
,
0x00000a
8b
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -229,20 +229,20 @@ uint32_t nva3_pwr_data[] = {
/* 0x0370: memx_func_head */
0x00010000
,
0x00000000
,
0x000005
39
,
0x000005
51
,
/* 0x037c: memx_func_next */
0x00000001
,
0x00000000
,
0x000005
60
,
0x000005
78
,
0x00000002
,
0x00000002
,
0x000005
81
,
0x000005
99
,
0x00040003
,
0x00000000
,
0x000005
9d
,
0x000005
b5
,
0x00010004
,
0x00000000
,
0x000005
ba
,
0x000005
d2
,
/* 0x03ac: memx_func_tail */
/* 0x03ac: memx_data_head */
0x00000000
,
...
...
@@ -849,7 +849,7 @@ uint32_t nva3_pwr_data[] = {
};
uint32_t
nva3_pwr_code
[]
=
{
0x03
86
0ef5
,
0x03
9e
0ef5
,
/* 0x0004: rd32 */
0x07a007f1
,
0xd00604b6
,
...
...
@@ -885,19 +885,22 @@ uint32_t nva3_pwr_code[] = {
0xd4f100dd
,
0x1bf47000
,
/* 0x007f: nsec */
0xf000f8f2
,
0xf900f8f2
,
0xf080f990
,
0x84b62c87
,
0x0088cf06
,
/* 0x008
8
: nsec_loop */
/* 0x008
c
: nsec_loop */
0xb62c97f0
,
0x99cf0694
,
0x0298bb00
,
0xf4069eb8
,
0x00f8f11e
,
/* 0x009c: wait */
0x80fcf11e
,
0x00f890fc
,
/* 0x00a4: wait */
0x80f990f9
,
0xb62c87f0
,
0x88cf0684
,
/* 0x00
a5
: wait_loop */
/* 0x00
b1
: wait_loop */
0x02eeb900
,
0xb90421f4
,
0xadfd02da
,
...
...
@@ -907,28 +910,29 @@ uint32_t nva3_pwr_code[] = {
0x0099cf06
,
0xb80298bb
,
0x1ef4069b
,
/* 0x00c9: wait_done */
/* 0x00cb: intr_watchdog */
0x9800f8df
,
/* 0x00d5: wait_done */
0xfc80fcdf
,
/* 0x00db: intr_watchdog */
0x9800f890
,
0x96b003e9
,
0x2a0bf400
,
0xbb9a0a98
,
0x1cf4029a
,
0x01d7f00f
,
0x02
c
d21f5
,
0x02
d
d21f5
,
0x0ef494bd
,
/* 0x00
e
9: intr_watchdog_next_time */
/* 0x00
f
9: intr_watchdog_next_time */
0x9b0a9815
,
0xf400a6b0
,
0x9ab8090b
,
0x061cf406
,
/* 0x0
0f
8: intr_watchdog_next_time_set */
/* 0x0
0f
b: intr_watchdog_next_proc */
/* 0x0
10
8: intr_watchdog_next_time_set */
/* 0x0
10
b: intr_watchdog_next_proc */
0x809b0980
,
0xe0b603e9
,
0x68e6b158
,
0xc61bf402
,
/* 0x01
0
a: intr */
/* 0x01
1
a: intr */
0x00f900f8
,
0x80f904bd
,
0xa0f990f9
,
...
...
@@ -948,13 +952,13 @@ uint32_t nva3_pwr_code[] = {
0xf40289c4
,
0x0080230b
,
0x58e7f09b
,
0x98
c
b21f4
,
0x98
d
b21f4
,
0x96b09b09
,
0x110bf400
,
0xb63407f0
,
0x09d00604
,
0x8004bd00
,
/* 0x01
6
e: intr_skip_watchdog */
/* 0x01
7
e: intr_skip_watchdog */
0x89e49a09
,
0x0bf40800
,
0x8897f148
,
...
...
@@ -967,22 +971,22 @@ uint32_t nva3_pwr_code[] = {
0x48e7f1c0
,
0x53e3f14f
,
0x00d7f054
,
0x03
3
221f5
,
0x03
4
221f5
,
0x07f1c0fc
,
0x04b604c0
,
0x000cd006
,
/* 0x01
a
e: intr_subintr_skip_fifo */
/* 0x01
b
e: intr_subintr_skip_fifo */
0x07f104bd
,
0x04b60688
,
0x0009d006
,
/* 0x01
b
a: intr_skip_subintr */
/* 0x01
c
a: intr_skip_subintr */
0x89c404bd
,
0x070bf420
,
0xffbfa4f1
,
/* 0x01
c
4: intr_skip_pause */
/* 0x01
d
4: intr_skip_pause */
0xf44089c4
,
0xa4f1070b
,
/* 0x01
c
e: intr_skip_user0 */
/* 0x01
d
e: intr_skip_user0 */
0x07f0ffbf
,
0x0604b604
,
0xbd0008d0
,
...
...
@@ -993,35 +997,35 @@ uint32_t nva3_pwr_code[] = {
0x90fca0fc
,
0x00fc80fc
,
0xf80032f4
,
/* 0x0
1f
5: ticks_from_ns */
/* 0x0
20
5: ticks_from_ns */
0xf9c0f901
,
0xcbd7f1b0
,
0x00d3f000
,
0x0
3fb
21f5
,
0x0
413
21f5
,
0x03e8ccec
,
0xf400b4b0
,
0xeeec120b
,
0xd7f103e8
,
0xd3f000cb
,
0x
fb
21f500
,
/* 0x02
1
d: ticks_from_ns_quit */
0x02ceb90
3
,
0x
13
21f500
,
/* 0x02
2
d: ticks_from_ns_quit */
0x02ceb90
4
,
0xc0fcb0fc
,
/* 0x02
2
6: ticks_from_us */
/* 0x02
3
6: ticks_from_us */
0xc0f900f8
,
0xd7f1b0f9
,
0xd3f000cb
,
0x
fb
21f500
,
0x02ceb90
3
,
0x
13
21f500
,
0x02ceb90
4
,
0xf400b4b0
,
0xe4bd050b
,
/* 0x02
4
0: ticks_from_us_quit */
/* 0x02
5
0: ticks_from_us_quit */
0xc0fcb0fc
,
/* 0x02
4
6: ticks_to_us */
/* 0x02
5
6: ticks_to_us */
0xd7f100f8
,
0xd3f000cb
,
0xecedff00
,
/* 0x02
5
2: timer */
/* 0x02
6
2: timer */
0x90f900f8
,
0x32f480f9
,
0x03f89810
,
...
...
@@ -1044,19 +1048,19 @@ uint32_t nva3_pwr_code[] = {
0xf406e0b8
,
0xe8b8090b
,
0x111cf406
,
/* 0x02
a
8: timer_reset */
/* 0x02
b
8: timer_reset */
0xb63407f0
,
0x0ed00604
,
0x8004bd00
,
/* 0x02
b
6: timer_enable */
/* 0x02
c
6: timer_enable */
0x87f09a0e
,
0x3807f001
,
0xd00604b6
,
0x04bd0008
,
/* 0x02
c
4: timer_done */
/* 0x02
d
4: timer_done */
0xfc1031f4
,
0xf890fc80
,
/* 0x02
c
d: send_proc */
/* 0x02
d
d: send_proc */
0xf980f900
,
0x05e89890
,
0xf004e998
,
...
...
@@ -1071,26 +1075,27 @@ uint32_t nva3_pwr_code[] = {
0xb6038b80
,
0x94f00190
,
0x04e98007
,
/* 0x03
0
7: send_done */
/* 0x03
1
7: send_done */
0xfc0231f4
,
0xf880fc90
,
/* 0x03
0
d: find */
/* 0x03
1
d: find */
0xf080f900
,
0x31f45887
,
/* 0x03
1
5: find_loop */
/* 0x03
2
5: find_loop */
0x008a9801
,
0xf406aeb8
,
0x80b6100b
,
0x6886b158
,
0xf01bf402
,
/* 0x03
2
b: find_done */
/* 0x03
3
b: find_done */
0xb90132f4
,
0x80fc028e
,
/* 0x03
3
2: send */
/* 0x03
4
2: send */
0x21f500f8
,
0x01f4030d
,
/* 0x033b: recv */
0x9800f897
,
0x01f4031d
,
/* 0x034b: recv */
0xf900f897
,
0x9880f990
,
0xe99805e8
,
0x0132f404
,
0xf40689b8
,
...
...
@@ -1109,8 +1114,9 @@ uint32_t nva3_pwr_code[] = {
0xf0fca5f9
,
0xf400f8fe
,
0xf0fc0131
,
/* 0x0384: recv_done */
/* 0x0386: init */
/* 0x0398: recv_done */
0x90fc80fc
,
/* 0x039e: init */
0x17f100f8
,
0x14b60108
,
0x0011cf06
,
...
...
@@ -1129,19 +1135,19 @@ uint32_t nva3_pwr_code[] = {
0x1007f008
,
0xd00604b6
,
0x04bd0001
,
0x01
0
a17f1
,
0x01
1
a17f1
,
0xfe0013f0
,
0x31f40010
,
0x0117f010
,
0xb63807f0
,
0x01d00604
,
0xf004bd00
,
/* 0x0
3ea
: init_proc */
/* 0x0
402
: init_proc */
0xf19858f7
,
0x0016b001
,
0xf9fa0bf4
,
0x58f0b615
,
/* 0x0
3fb
: mulu32_32_64 */
/* 0x0
413
: mulu32_32_64 */
0xf9f20ef4
,
0xf920f910
,
0x9540f930
,
...
...
@@ -1163,7 +1169,7 @@ uint32_t nva3_pwr_code[] = {
0x40fc00b3
,
0x20fc30fc
,
0x00f810fc
,
/* 0x04
4c
: host_send */
/* 0x04
64
: host_send */
0x04b017f1
,
0xcf0614b6
,
0x27f10011
,
...
...
@@ -1176,19 +1182,19 @@ uint32_t nva3_pwr_code[] = {
0x9803eb98
,
0xed9802ec
,
0x00ee9801
,
0x03
3
221f5
,
0x03
4
221f5
,
0xc40110b6
,
0x07f10f1e
,
0x04b604b0
,
0x000ed006
,
0x0ef404bd
,
/* 0x04
95
: host_send_done */
/* 0x04
97
: host_recv */
/* 0x04
ad
: host_send_done */
/* 0x04
af
: host_recv */
0xf100f8ba
,
0xf14e4917
,
0xb8525413
,
0x0bf406e1
,
/* 0x04
a5
: host_recv_wait */
/* 0x04
bd
: host_recv_wait */
0xcc17f1aa
,
0x0614b604
,
0xf10011cf
,
...
...
@@ -1210,7 +1216,7 @@ uint32_t nva3_pwr_code[] = {
0x0007f040
,
0xd00604b6
,
0x04bd0002
,
/* 0x0
4fa
: host_init */
/* 0x0
512
: host_init */
0x17f100f8
,
0x14b60080
,
0x7015f110
,
...
...
@@ -1227,29 +1233,29 @@ uint32_t nva3_pwr_code[] = {
0xb604c407
,
0x01d00604
,
0xf804bd00
,
/* 0x05
39
: memx_func_enter */
/* 0x05
51
: memx_func_enter */
0x0467f000
,
0x07e007f1
,
0xd00604b6
,
0x04bd0006
,
/* 0x05
48
: memx_func_enter_wait */
/* 0x05
60
: memx_func_enter_wait */
0x07c067f1
,
0xcf0664b6
,
0x64f00066
,
0xf30bf404
,
0xb6001698
,
0x00f80410
,
/* 0x05
60
: memx_func_leave */
/* 0x05
78
: memx_func_leave */
0xf10467f0
,
0xb607e407
,
0x06d00604
,
/* 0x05
6f
: memx_func_leave_wait */
/* 0x05
87
: memx_func_leave_wait */
0xf104bd00
,
0xb607c067
,
0x66cf0664
,
0x0464f000
,
0xf8f31bf4
,
/* 0x05
81
: memx_func_wr32 */
/* 0x05
99
: memx_func_wr32 */
0x00169800
,
0xb6011598
,
0x60f90810
,
...
...
@@ -1257,22 +1263,22 @@ uint32_t nva3_pwr_code[] = {
0x21f4e0fc
,
0x0242b63f
,
0xf8e91bf4
,
/* 0x05
9d
: memx_func_wait */
/* 0x05
b5
: memx_func_wait */
0x2c87f000
,
0xcf0684b6
,
0x1e980088
,
0x011d9800
,
0x98021c98
,
0x10b6031b
,
0x
9c
21f410
,
/* 0x05
ba
: memx_func_delay */
0x
a4
21f410
,
/* 0x05
d2
: memx_func_delay */
0x1e9800f8
,
0x0410b600
,
0xf87f21f4
,
/* 0x05
c5
: memx_exec */
/* 0x05
dd
: memx_exec */
0xf9e0f900
,
0x02c1b9d0
,
/* 0x05
cf
: memx_exec_next */
/* 0x05
e7
: memx_exec_next */
0x9802b2b9
,
0x10b60013
,
0x10349504
,
...
...
@@ -1281,113 +1287,113 @@ uint32_t nva3_pwr_code[] = {
0xf40612b8
,
0xd0fcec1e
,
0x21f5e0fc
,
0x00f803
3
2
,
/* 0x0
5f0
: memx_info */
0x00f803
4
2
,
/* 0x0
608
: memx_info */
0x03acc7f1
,
0x0800b7f1
,
0x03
3
221f5
,
/* 0x0
5fe
: memx_recv */
0x03
4
221f5
,
/* 0x0
616
: memx_recv */
0xd6b000f8
,
0xc40bf401
,
0xf400d6b0
,
0x00f8e90b
,
/* 0x06
0c
: memx_init */
/* 0x06
0e
: perf_recv */
/* 0x06
24
: memx_init */
/* 0x06
26
: perf_recv */
0x00f800f8
,
/* 0x06
10
: perf_init */
/* 0x06
12
: i2c_drive_scl */
/* 0x06
28
: perf_init */
/* 0x06
2a
: i2c_drive_scl */
0x36b000f8
,
0x110bf400
,
0x07e007f1
,
0xd00604b6
,
0x04bd0001
,
/* 0x06
26
: i2c_drive_scl_lo */
/* 0x06
3e
: i2c_drive_scl_lo */
0x07f100f8
,
0x04b607e4
,
0x0001d006
,
0x00f804bd
,
/* 0x06
34
: i2c_drive_sda */
/* 0x06
4c
: i2c_drive_sda */
0xf40036b0
,
0x07f1110b
,
0x04b607e0
,
0x0002d006
,
0x00f804bd
,
/* 0x06
48
: i2c_drive_sda_lo */
/* 0x06
60
: i2c_drive_sda_lo */
0x07e407f1
,
0xd00604b6
,
0x04bd0002
,
/* 0x06
56
: i2c_sense_scl */
/* 0x06
6e
: i2c_sense_scl */
0x32f400f8
,
0xc437f101
,
0x0634b607
,
0xfd0033cf
,
0x0bf40431
,
0x0131f406
,
/* 0x06
6c
: i2c_sense_scl_done */
/* 0x06
6e
: i2c_sense_sda */
/* 0x06
84
: i2c_sense_scl_done */
/* 0x06
86
: i2c_sense_sda */
0x32f400f8
,
0xc437f101
,
0x0634b607
,
0xfd0033cf
,
0x0bf40432
,
0x0131f406
,
/* 0x06
84
: i2c_sense_sda_done */
/* 0x06
86
: i2c_raise_scl */
/* 0x06
9c
: i2c_sense_sda_done */
/* 0x06
9e
: i2c_raise_scl */
0x40f900f8
,
0x089847f1
,
0xf50137f0
,
/* 0x06
93
: i2c_raise_scl_wait */
0xf106
12
21
,
/* 0x06
ab
: i2c_raise_scl_wait */
0xf106
2a
21
,
0xf403e8e7
,
0x21f57f21
,
0x01f406
56
,
0x01f406
6e
,
0x0142b609
,
/* 0x06
a7
: i2c_raise_scl_done */
/* 0x06
bf
: i2c_raise_scl_done */
0xfcef1bf4
,
/* 0x06
ab
: i2c_start */
/* 0x06
c3
: i2c_start */
0xf500f840
,
0xf406
56
21
,
0xf406
6e
21
,
0x21f50d11
,
0x11f406
6e
,
0x11f406
86
,
0x300ef406
,
/* 0x06
bc
: i2c_start_rep */
/* 0x06
d4
: i2c_start_rep */
0xf50037f0
,
0xf006
12
21
,
0xf006
2a
21
,
0x21f50137
,
0x76bb06
34
,
0x76bb06
4c
,
0x0465b600
,
0x659450f9
,
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb606
86
21
,
0xb606
9e
21
,
0x11f40464
,
/* 0x0
6e9
: i2c_start_send */
/* 0x0
701
: i2c_start_send */
0x0037f01f
,
0x06
34
21f5
,
0x06
4c
21f5
,
0x1388e7f1
,
0xf07f21f4
,
0x21f50037
,
0xe7f106
12
,
0xe7f106
2a
,
0x21f41388
,
/* 0x07
05
: i2c_start_out */
/* 0x07
07
: i2c_stop */
/* 0x07
1d
: i2c_start_out */
/* 0x07
1f
: i2c_stop */
0xf000f87f
,
0x21f50037
,
0x37f006
12
,
0x
34
21f500
,
0x37f006
2a
,
0x
4c
21f500
,
0xe8e7f106
,
0x7f21f403
,
0xf50137f0
,
0xf106
12
21
,
0xf106
2a
21
,
0xf41388e7
,
0x37f07f21
,
0x
34
21f501
,
0x
4c
21f501
,
0x88e7f106
,
0x7f21f413
,
/* 0x07
3a
: i2c_bitw */
/* 0x07
52
: i2c_bitw */
0x21f500f8
,
0xe7f106
34
,
0xe7f106
4c
,
0x21f403e8
,
0x0076bb7f
,
0xf90465b6
,
...
...
@@ -1395,18 +1401,18 @@ uint32_t nva3_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b606
86
,
0x64b606
9e
,
0x1811f404
,
0x1388e7f1
,
0xf07f21f4
,
0x21f50037
,
0xe7f106
12
,
0xe7f106
2a
,
0x21f41388
,
/* 0x07
79
: i2c_bitw_out */
/* 0x07
7b
: i2c_bitr */
/* 0x07
91
: i2c_bitw_out */
/* 0x07
93
: i2c_bitr */
0xf000f87f
,
0x21f50137
,
0xe7f106
34
,
0xe7f106
4c
,
0x21f403e8
,
0x0076bb7f
,
0xf90465b6
,
...
...
@@ -1414,26 +1420,26 @@ uint32_t nva3_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b606
86
,
0x64b606
9e
,
0x1b11f404
,
0x06
6e
21f5
,
0x06
86
21f5
,
0xf50037f0
,
0xf106
12
21
,
0xf106
2a
21
,
0xf41388e7
,
0x3cf07f21
,
0x0131f401
,
/* 0x07
c0
: i2c_bitr_done */
/* 0x07
c2
: i2c_get_byte */
/* 0x07
d8
: i2c_bitr_done */
/* 0x07
da
: i2c_get_byte */
0x57f000f8
,
0x0847f000
,
/* 0x07
c8
: i2c_get_byte_next */
/* 0x07
e0
: i2c_get_byte_next */
0xbb0154b6
,
0x65b60076
,
0x9450f904
,
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x07
7b
21f5
,
0x07
93
21f5
,
0xf40464b6
,
0x53fd2b11
,
0x0142b605
,
...
...
@@ -1444,11 +1450,11 @@ uint32_t nva3_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb607
3a
21
,
/* 0x08
12
: i2c_get_byte_done */
0xb607
52
21
,
/* 0x08
2a
: i2c_get_byte_done */
0x00f80464
,
/* 0x08
14
: i2c_put_byte */
/* 0x08
17
: i2c_put_byte_next */
/* 0x08
2c
: i2c_put_byte */
/* 0x08
2f
: i2c_put_byte_next */
0xb60847f0
,
0x54ff0142
,
0x0076bb38
,
...
...
@@ -1457,7 +1463,7 @@ uint32_t nva3_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b607
3a
,
0x64b607
52
,
0x3411f404
,
0xf40046b0
,
0x76bbd81b
,
...
...
@@ -1466,20 +1472,20 @@ uint32_t nva3_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb607
7b
21
,
0xb607
93
21
,
0x11f40464
,
0x0076bb0f
,
0xf40136b0
,
0x32f4061b
,
/* 0x08
6d
: i2c_put_byte_done */
/* 0x08
6f
: i2c_addr */
/* 0x08
85
: i2c_put_byte_done */
/* 0x08
87
: i2c_addr */
0xbb00f801
,
0x65b60076
,
0x9450f904
,
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x06
ab
21f5
,
0x06
c3
21f5
,
0xf40464b6
,
0xc3e72911
,
0x34b6012e
,
...
...
@@ -1489,24 +1495,24 @@ uint32_t nva3_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
14
21f550
,
0x
2c
21f550
,
0x0464b608
,
/* 0x08
b4
: i2c_addr_done */
/* 0x08
b6
: i2c_acquire_addr */
/* 0x08
cc
: i2c_addr_done */
/* 0x08
ce
: i2c_acquire_addr */
0xcec700f8
,
0x02e4b6f8
,
0x0bfce0b7
,
0xf800ee98
,
/* 0x08
c5
: i2c_acquire */
0x
b6
21f500
,
/* 0x08
dd
: i2c_acquire */
0x
ce
21f500
,
0x0421f408
,
0xf403d9f0
,
0x00f83f21
,
/* 0x08
d4
: i2c_release */
0x08
b6
21f5
,
/* 0x08
ec
: i2c_release */
0x08
ce
21f5
,
0xf00421f4
,
0x21f403da
,
/* 0x08
e3
: i2c_recv */
/* 0x08
fb
: i2c_recv */
0xf400f83f
,
0xc1c70132
,
0x0214b6f8
,
...
...
@@ -1526,7 +1532,7 @@ uint32_t nva3_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b608
c5
,
0x64b608
dd
,
0xb0d0fc04
,
0x1bf500d6
,
0x57f000b3
,
...
...
@@ -1536,7 +1542,7 @@ uint32_t nva3_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b608
6f
,
0x64b608
87
,
0xd011f504
,
0xe0c5c700
,
0xb60076bb
,
...
...
@@ -1544,7 +1550,7 @@ uint32_t nva3_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
14
21f550
,
0x
2c
21f550
,
0x0464b608
,
0x00ad11f5
,
0xbb0157f0
,
...
...
@@ -1553,7 +1559,7 @@ uint32_t nva3_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x08
6f
21f5
,
0x08
87
21f5
,
0xf50464b6
,
0xbb008a11
,
0x65b60076
,
...
...
@@ -1561,7 +1567,7 @@ uint32_t nva3_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x07
c2
21f5
,
0x07
da
21f5
,
0xf40464b6
,
0x5bcb6a11
,
0x0076bbe0
,
...
...
@@ -1570,37 +1576,37 @@ uint32_t nva3_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b607
07
,
0x64b607
1f
,
0x025bb904
,
0x0ef474bd
,
/* 0x0
9e9
: i2c_recv_not_rd08 */
/* 0x0
a01
: i2c_recv_not_rd08 */
0x01d6b043
,
0xf03d1bf4
,
0x21f50057
,
0x11f408
6f
,
0x11f408
87
,
0xe0c5c733
,
0x08
14
21f5
,
0x08
2c
21f5
,
0xf02911f4
,
0x21f50057
,
0x11f408
6f
,
0x11f408
87
,
0xe0b5c71f
,
0x08
14
21f5
,
0x08
2c
21f5
,
0xf51511f4
,
0xbd07
07
21
,
0xbd07
1f
21
,
0x08c5c774
,
0xf4091bf4
,
0x0ef40232
,
/* 0x0a
29
: i2c_recv_not_wr08 */
/* 0x0a
29
: i2c_recv_done */
/* 0x0a
41
: i2c_recv_not_wr08 */
/* 0x0a
41
: i2c_recv_done */
0xf8cec703
,
0x08
d4
21f5
,
0x08
ec
21f5
,
0xd0fce0fc
,
0xb90a12f4
,
0x21f5027c
,
/* 0x0a
3e
: i2c_recv_exit */
0x00f803
3
2
,
/* 0x0a
40
: i2c_init */
/* 0x0a
42
: test_recv */
/* 0x0a
56
: i2c_recv_exit */
0x00f803
4
2
,
/* 0x0a
58
: i2c_init */
/* 0x0a
5a
: test_recv */
0x17f100f8
,
0x14b605d8
,
0x0011cf06
,
...
...
@@ -1610,13 +1616,13 @@ uint32_t nva3_pwr_code[] = {
0xf104bd00
,
0xf1d900e7
,
0xf5134fe3
,
0xf802
5
221
,
/* 0x0a
69
: test_init */
0xf802
6
221
,
/* 0x0a
81
: test_init */
0x00e7f100
,
0x
5
221f508
,
/* 0x0a
73
: idle_recv */
0x
6
221f508
,
/* 0x0a
8b
: idle_recv */
0xf800f802
,
/* 0x0a
75
: idle */
/* 0x0a
8d
: idle */
0x0031f400
,
0x05d417f1
,
0xcf0614b6
,
...
...
@@ -1624,16 +1630,16 @@ uint32_t nva3_pwr_code[] = {
0xd407f101
,
0x0604b605
,
0xbd0001d0
,
/* 0x0a
91
: idle_loop */
/* 0x0a
a9
: idle_loop */
0x5817f004
,
/* 0x0a
97
: idle_proc */
/* 0x0a
97
: idle_proc_exec */
/* 0x0a
af
: idle_proc */
/* 0x0a
af
: idle_proc_exec */
0xf90232f4
,
0x021eb910
,
0x03
3
b21f5
,
0x03
4
b21f5
,
0x11f410fc
,
0x0231f409
,
/* 0x0a
ab
: idle_proc_next */
/* 0x0a
c3
: idle_proc_next */
0xb6ef0ef4
,
0x1fb85810
,
0xe61bf406
,
...
...
@@ -1650,10 +1656,4 @@ uint32_t nva3_pwr_code[] = {
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
};
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nvc0.fuc.h
View file @
4417be55
...
...
@@ -24,8 +24,8 @@ uint32_t nvc0_pwr_data[] = {
0x00000000
,
/* 0x0058: proc_list_head */
0x54534f48
,
0x00000
4fa
,
0x000004
97
,
0x00000
512
,
0x000004
af
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -46,8 +46,8 @@ uint32_t nvc0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x584d454d
,
0x000006
0c
,
0x00000
5fe
,
0x000006
24
,
0x00000
616
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -68,8 +68,8 @@ uint32_t nvc0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x46524550
,
0x000006
10
,
0x000006
0e
,
0x000006
28
,
0x000006
26
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -90,8 +90,8 @@ uint32_t nvc0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x5f433249
,
0x00000a
40
,
0x000008
e3
,
0x00000a
58
,
0x000008
fb
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -112,8 +112,8 @@ uint32_t nvc0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x54534554
,
0x00000a
69
,
0x00000a
42
,
0x00000a
81
,
0x00000a
5a
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -134,8 +134,8 @@ uint32_t nvc0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x454c4449
,
0x00000a
75
,
0x00000a
73
,
0x00000a
8d
,
0x00000a
8b
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -229,20 +229,20 @@ uint32_t nvc0_pwr_data[] = {
/* 0x0370: memx_func_head */
0x00010000
,
0x00000000
,
0x000005
39
,
0x000005
51
,
/* 0x037c: memx_func_next */
0x00000001
,
0x00000000
,
0x000005
60
,
0x000005
78
,
0x00000002
,
0x00000002
,
0x000005
81
,
0x000005
99
,
0x00040003
,
0x00000000
,
0x000005
9d
,
0x000005
b5
,
0x00010004
,
0x00000000
,
0x000005
ba
,
0x000005
d2
,
/* 0x03ac: memx_func_tail */
/* 0x03ac: memx_data_head */
0x00000000
,
...
...
@@ -849,7 +849,7 @@ uint32_t nvc0_pwr_data[] = {
};
uint32_t
nvc0_pwr_code
[]
=
{
0x03
86
0ef5
,
0x03
9e
0ef5
,
/* 0x0004: rd32 */
0x07a007f1
,
0xd00604b6
,
...
...
@@ -885,19 +885,22 @@ uint32_t nvc0_pwr_code[] = {
0xd4f100dd
,
0x1bf47000
,
/* 0x007f: nsec */
0xf000f8f2
,
0xf900f8f2
,
0xf080f990
,
0x84b62c87
,
0x0088cf06
,
/* 0x008
8
: nsec_loop */
/* 0x008
c
: nsec_loop */
0xb62c97f0
,
0x99cf0694
,
0x0298bb00
,
0xf4069eb8
,
0x00f8f11e
,
/* 0x009c: wait */
0x80fcf11e
,
0x00f890fc
,
/* 0x00a4: wait */
0x80f990f9
,
0xb62c87f0
,
0x88cf0684
,
/* 0x00
a5
: wait_loop */
/* 0x00
b1
: wait_loop */
0x02eeb900
,
0xb90421f4
,
0xadfd02da
,
...
...
@@ -907,28 +910,29 @@ uint32_t nvc0_pwr_code[] = {
0x0099cf06
,
0xb80298bb
,
0x1ef4069b
,
/* 0x00c9: wait_done */
/* 0x00cb: intr_watchdog */
0x9800f8df
,
/* 0x00d5: wait_done */
0xfc80fcdf
,
/* 0x00db: intr_watchdog */
0x9800f890
,
0x96b003e9
,
0x2a0bf400
,
0xbb9a0a98
,
0x1cf4029a
,
0x01d7f00f
,
0x02
c
d21f5
,
0x02
d
d21f5
,
0x0ef494bd
,
/* 0x00
e
9: intr_watchdog_next_time */
/* 0x00
f
9: intr_watchdog_next_time */
0x9b0a9815
,
0xf400a6b0
,
0x9ab8090b
,
0x061cf406
,
/* 0x0
0f
8: intr_watchdog_next_time_set */
/* 0x0
0f
b: intr_watchdog_next_proc */
/* 0x0
10
8: intr_watchdog_next_time_set */
/* 0x0
10
b: intr_watchdog_next_proc */
0x809b0980
,
0xe0b603e9
,
0x68e6b158
,
0xc61bf402
,
/* 0x01
0
a: intr */
/* 0x01
1
a: intr */
0x00f900f8
,
0x80f904bd
,
0xa0f990f9
,
...
...
@@ -948,13 +952,13 @@ uint32_t nvc0_pwr_code[] = {
0xf40289c4
,
0x0080230b
,
0x58e7f09b
,
0x98
c
b21f4
,
0x98
d
b21f4
,
0x96b09b09
,
0x110bf400
,
0xb63407f0
,
0x09d00604
,
0x8004bd00
,
/* 0x01
6
e: intr_skip_watchdog */
/* 0x01
7
e: intr_skip_watchdog */
0x89e49a09
,
0x0bf40800
,
0x8897f148
,
...
...
@@ -967,22 +971,22 @@ uint32_t nvc0_pwr_code[] = {
0x48e7f1c0
,
0x53e3f14f
,
0x00d7f054
,
0x03
3
221f5
,
0x03
4
221f5
,
0x07f1c0fc
,
0x04b604c0
,
0x000cd006
,
/* 0x01
a
e: intr_subintr_skip_fifo */
/* 0x01
b
e: intr_subintr_skip_fifo */
0x07f104bd
,
0x04b60688
,
0x0009d006
,
/* 0x01
b
a: intr_skip_subintr */
/* 0x01
c
a: intr_skip_subintr */
0x89c404bd
,
0x070bf420
,
0xffbfa4f1
,
/* 0x01
c
4: intr_skip_pause */
/* 0x01
d
4: intr_skip_pause */
0xf44089c4
,
0xa4f1070b
,
/* 0x01
c
e: intr_skip_user0 */
/* 0x01
d
e: intr_skip_user0 */
0x07f0ffbf
,
0x0604b604
,
0xbd0008d0
,
...
...
@@ -993,35 +997,35 @@ uint32_t nvc0_pwr_code[] = {
0x90fca0fc
,
0x00fc80fc
,
0xf80032f4
,
/* 0x0
1f
5: ticks_from_ns */
/* 0x0
20
5: ticks_from_ns */
0xf9c0f901
,
0xcbd7f1b0
,
0x00d3f000
,
0x0
3fb
21f5
,
0x0
413
21f5
,
0x03e8ccec
,
0xf400b4b0
,
0xeeec120b
,
0xd7f103e8
,
0xd3f000cb
,
0x
fb
21f500
,
/* 0x02
1
d: ticks_from_ns_quit */
0x02ceb90
3
,
0x
13
21f500
,
/* 0x02
2
d: ticks_from_ns_quit */
0x02ceb90
4
,
0xc0fcb0fc
,
/* 0x02
2
6: ticks_from_us */
/* 0x02
3
6: ticks_from_us */
0xc0f900f8
,
0xd7f1b0f9
,
0xd3f000cb
,
0x
fb
21f500
,
0x02ceb90
3
,
0x
13
21f500
,
0x02ceb90
4
,
0xf400b4b0
,
0xe4bd050b
,
/* 0x02
4
0: ticks_from_us_quit */
/* 0x02
5
0: ticks_from_us_quit */
0xc0fcb0fc
,
/* 0x02
4
6: ticks_to_us */
/* 0x02
5
6: ticks_to_us */
0xd7f100f8
,
0xd3f000cb
,
0xecedff00
,
/* 0x02
5
2: timer */
/* 0x02
6
2: timer */
0x90f900f8
,
0x32f480f9
,
0x03f89810
,
...
...
@@ -1044,19 +1048,19 @@ uint32_t nvc0_pwr_code[] = {
0xf406e0b8
,
0xe8b8090b
,
0x111cf406
,
/* 0x02
a
8: timer_reset */
/* 0x02
b
8: timer_reset */
0xb63407f0
,
0x0ed00604
,
0x8004bd00
,
/* 0x02
b
6: timer_enable */
/* 0x02
c
6: timer_enable */
0x87f09a0e
,
0x3807f001
,
0xd00604b6
,
0x04bd0008
,
/* 0x02
c
4: timer_done */
/* 0x02
d
4: timer_done */
0xfc1031f4
,
0xf890fc80
,
/* 0x02
c
d: send_proc */
/* 0x02
d
d: send_proc */
0xf980f900
,
0x05e89890
,
0xf004e998
,
...
...
@@ -1071,26 +1075,27 @@ uint32_t nvc0_pwr_code[] = {
0xb6038b80
,
0x94f00190
,
0x04e98007
,
/* 0x03
0
7: send_done */
/* 0x03
1
7: send_done */
0xfc0231f4
,
0xf880fc90
,
/* 0x03
0
d: find */
/* 0x03
1
d: find */
0xf080f900
,
0x31f45887
,
/* 0x03
1
5: find_loop */
/* 0x03
2
5: find_loop */
0x008a9801
,
0xf406aeb8
,
0x80b6100b
,
0x6886b158
,
0xf01bf402
,
/* 0x03
2
b: find_done */
/* 0x03
3
b: find_done */
0xb90132f4
,
0x80fc028e
,
/* 0x03
3
2: send */
/* 0x03
4
2: send */
0x21f500f8
,
0x01f4030d
,
/* 0x033b: recv */
0x9800f897
,
0x01f4031d
,
/* 0x034b: recv */
0xf900f897
,
0x9880f990
,
0xe99805e8
,
0x0132f404
,
0xf40689b8
,
...
...
@@ -1109,8 +1114,9 @@ uint32_t nvc0_pwr_code[] = {
0xf0fca5f9
,
0xf400f8fe
,
0xf0fc0131
,
/* 0x0384: recv_done */
/* 0x0386: init */
/* 0x0398: recv_done */
0x90fc80fc
,
/* 0x039e: init */
0x17f100f8
,
0x14b60108
,
0x0011cf06
,
...
...
@@ -1129,19 +1135,19 @@ uint32_t nvc0_pwr_code[] = {
0x1007f008
,
0xd00604b6
,
0x04bd0001
,
0x01
0
a17f1
,
0x01
1
a17f1
,
0xfe0013f0
,
0x31f40010
,
0x0117f010
,
0xb63807f0
,
0x01d00604
,
0xf004bd00
,
/* 0x0
3ea
: init_proc */
/* 0x0
402
: init_proc */
0xf19858f7
,
0x0016b001
,
0xf9fa0bf4
,
0x58f0b615
,
/* 0x0
3fb
: mulu32_32_64 */
/* 0x0
413
: mulu32_32_64 */
0xf9f20ef4
,
0xf920f910
,
0x9540f930
,
...
...
@@ -1163,7 +1169,7 @@ uint32_t nvc0_pwr_code[] = {
0x40fc00b3
,
0x20fc30fc
,
0x00f810fc
,
/* 0x04
4c
: host_send */
/* 0x04
64
: host_send */
0x04b017f1
,
0xcf0614b6
,
0x27f10011
,
...
...
@@ -1176,19 +1182,19 @@ uint32_t nvc0_pwr_code[] = {
0x9803eb98
,
0xed9802ec
,
0x00ee9801
,
0x03
3
221f5
,
0x03
4
221f5
,
0xc40110b6
,
0x07f10f1e
,
0x04b604b0
,
0x000ed006
,
0x0ef404bd
,
/* 0x04
95
: host_send_done */
/* 0x04
97
: host_recv */
/* 0x04
ad
: host_send_done */
/* 0x04
af
: host_recv */
0xf100f8ba
,
0xf14e4917
,
0xb8525413
,
0x0bf406e1
,
/* 0x04
a5
: host_recv_wait */
/* 0x04
bd
: host_recv_wait */
0xcc17f1aa
,
0x0614b604
,
0xf10011cf
,
...
...
@@ -1210,7 +1216,7 @@ uint32_t nvc0_pwr_code[] = {
0x0007f040
,
0xd00604b6
,
0x04bd0002
,
/* 0x0
4fa
: host_init */
/* 0x0
512
: host_init */
0x17f100f8
,
0x14b60080
,
0x7015f110
,
...
...
@@ -1227,29 +1233,29 @@ uint32_t nvc0_pwr_code[] = {
0xb604c407
,
0x01d00604
,
0xf804bd00
,
/* 0x05
39
: memx_func_enter */
/* 0x05
51
: memx_func_enter */
0x0467f000
,
0x07e007f1
,
0xd00604b6
,
0x04bd0006
,
/* 0x05
48
: memx_func_enter_wait */
/* 0x05
60
: memx_func_enter_wait */
0x07c067f1
,
0xcf0664b6
,
0x64f00066
,
0xf30bf404
,
0xb6001698
,
0x00f80410
,
/* 0x05
60
: memx_func_leave */
/* 0x05
78
: memx_func_leave */
0xf10467f0
,
0xb607e407
,
0x06d00604
,
/* 0x05
6f
: memx_func_leave_wait */
/* 0x05
87
: memx_func_leave_wait */
0xf104bd00
,
0xb607c067
,
0x66cf0664
,
0x0464f000
,
0xf8f31bf4
,
/* 0x05
81
: memx_func_wr32 */
/* 0x05
99
: memx_func_wr32 */
0x00169800
,
0xb6011598
,
0x60f90810
,
...
...
@@ -1257,22 +1263,22 @@ uint32_t nvc0_pwr_code[] = {
0x21f4e0fc
,
0x0242b63f
,
0xf8e91bf4
,
/* 0x05
9d
: memx_func_wait */
/* 0x05
b5
: memx_func_wait */
0x2c87f000
,
0xcf0684b6
,
0x1e980088
,
0x011d9800
,
0x98021c98
,
0x10b6031b
,
0x
9c
21f410
,
/* 0x05
ba
: memx_func_delay */
0x
a4
21f410
,
/* 0x05
d2
: memx_func_delay */
0x1e9800f8
,
0x0410b600
,
0xf87f21f4
,
/* 0x05
c5
: memx_exec */
/* 0x05
dd
: memx_exec */
0xf9e0f900
,
0x02c1b9d0
,
/* 0x05
cf
: memx_exec_next */
/* 0x05
e7
: memx_exec_next */
0x9802b2b9
,
0x10b60013
,
0x10349504
,
...
...
@@ -1281,113 +1287,113 @@ uint32_t nvc0_pwr_code[] = {
0xf40612b8
,
0xd0fcec1e
,
0x21f5e0fc
,
0x00f803
3
2
,
/* 0x0
5f0
: memx_info */
0x00f803
4
2
,
/* 0x0
608
: memx_info */
0x03acc7f1
,
0x0800b7f1
,
0x03
3
221f5
,
/* 0x0
5fe
: memx_recv */
0x03
4
221f5
,
/* 0x0
616
: memx_recv */
0xd6b000f8
,
0xc40bf401
,
0xf400d6b0
,
0x00f8e90b
,
/* 0x06
0c
: memx_init */
/* 0x06
0e
: perf_recv */
/* 0x06
24
: memx_init */
/* 0x06
26
: perf_recv */
0x00f800f8
,
/* 0x06
10
: perf_init */
/* 0x06
12
: i2c_drive_scl */
/* 0x06
28
: perf_init */
/* 0x06
2a
: i2c_drive_scl */
0x36b000f8
,
0x110bf400
,
0x07e007f1
,
0xd00604b6
,
0x04bd0001
,
/* 0x06
26
: i2c_drive_scl_lo */
/* 0x06
3e
: i2c_drive_scl_lo */
0x07f100f8
,
0x04b607e4
,
0x0001d006
,
0x00f804bd
,
/* 0x06
34
: i2c_drive_sda */
/* 0x06
4c
: i2c_drive_sda */
0xf40036b0
,
0x07f1110b
,
0x04b607e0
,
0x0002d006
,
0x00f804bd
,
/* 0x06
48
: i2c_drive_sda_lo */
/* 0x06
60
: i2c_drive_sda_lo */
0x07e407f1
,
0xd00604b6
,
0x04bd0002
,
/* 0x06
56
: i2c_sense_scl */
/* 0x06
6e
: i2c_sense_scl */
0x32f400f8
,
0xc437f101
,
0x0634b607
,
0xfd0033cf
,
0x0bf40431
,
0x0131f406
,
/* 0x06
6c
: i2c_sense_scl_done */
/* 0x06
6e
: i2c_sense_sda */
/* 0x06
84
: i2c_sense_scl_done */
/* 0x06
86
: i2c_sense_sda */
0x32f400f8
,
0xc437f101
,
0x0634b607
,
0xfd0033cf
,
0x0bf40432
,
0x0131f406
,
/* 0x06
84
: i2c_sense_sda_done */
/* 0x06
86
: i2c_raise_scl */
/* 0x06
9c
: i2c_sense_sda_done */
/* 0x06
9e
: i2c_raise_scl */
0x40f900f8
,
0x089847f1
,
0xf50137f0
,
/* 0x06
93
: i2c_raise_scl_wait */
0xf106
12
21
,
/* 0x06
ab
: i2c_raise_scl_wait */
0xf106
2a
21
,
0xf403e8e7
,
0x21f57f21
,
0x01f406
56
,
0x01f406
6e
,
0x0142b609
,
/* 0x06
a7
: i2c_raise_scl_done */
/* 0x06
bf
: i2c_raise_scl_done */
0xfcef1bf4
,
/* 0x06
ab
: i2c_start */
/* 0x06
c3
: i2c_start */
0xf500f840
,
0xf406
56
21
,
0xf406
6e
21
,
0x21f50d11
,
0x11f406
6e
,
0x11f406
86
,
0x300ef406
,
/* 0x06
bc
: i2c_start_rep */
/* 0x06
d4
: i2c_start_rep */
0xf50037f0
,
0xf006
12
21
,
0xf006
2a
21
,
0x21f50137
,
0x76bb06
34
,
0x76bb06
4c
,
0x0465b600
,
0x659450f9
,
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb606
86
21
,
0xb606
9e
21
,
0x11f40464
,
/* 0x0
6e9
: i2c_start_send */
/* 0x0
701
: i2c_start_send */
0x0037f01f
,
0x06
34
21f5
,
0x06
4c
21f5
,
0x1388e7f1
,
0xf07f21f4
,
0x21f50037
,
0xe7f106
12
,
0xe7f106
2a
,
0x21f41388
,
/* 0x07
05
: i2c_start_out */
/* 0x07
07
: i2c_stop */
/* 0x07
1d
: i2c_start_out */
/* 0x07
1f
: i2c_stop */
0xf000f87f
,
0x21f50037
,
0x37f006
12
,
0x
34
21f500
,
0x37f006
2a
,
0x
4c
21f500
,
0xe8e7f106
,
0x7f21f403
,
0xf50137f0
,
0xf106
12
21
,
0xf106
2a
21
,
0xf41388e7
,
0x37f07f21
,
0x
34
21f501
,
0x
4c
21f501
,
0x88e7f106
,
0x7f21f413
,
/* 0x07
3a
: i2c_bitw */
/* 0x07
52
: i2c_bitw */
0x21f500f8
,
0xe7f106
34
,
0xe7f106
4c
,
0x21f403e8
,
0x0076bb7f
,
0xf90465b6
,
...
...
@@ -1395,18 +1401,18 @@ uint32_t nvc0_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b606
86
,
0x64b606
9e
,
0x1811f404
,
0x1388e7f1
,
0xf07f21f4
,
0x21f50037
,
0xe7f106
12
,
0xe7f106
2a
,
0x21f41388
,
/* 0x07
79
: i2c_bitw_out */
/* 0x07
7b
: i2c_bitr */
/* 0x07
91
: i2c_bitw_out */
/* 0x07
93
: i2c_bitr */
0xf000f87f
,
0x21f50137
,
0xe7f106
34
,
0xe7f106
4c
,
0x21f403e8
,
0x0076bb7f
,
0xf90465b6
,
...
...
@@ -1414,26 +1420,26 @@ uint32_t nvc0_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b606
86
,
0x64b606
9e
,
0x1b11f404
,
0x06
6e
21f5
,
0x06
86
21f5
,
0xf50037f0
,
0xf106
12
21
,
0xf106
2a
21
,
0xf41388e7
,
0x3cf07f21
,
0x0131f401
,
/* 0x07
c0
: i2c_bitr_done */
/* 0x07
c2
: i2c_get_byte */
/* 0x07
d8
: i2c_bitr_done */
/* 0x07
da
: i2c_get_byte */
0x57f000f8
,
0x0847f000
,
/* 0x07
c8
: i2c_get_byte_next */
/* 0x07
e0
: i2c_get_byte_next */
0xbb0154b6
,
0x65b60076
,
0x9450f904
,
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x07
7b
21f5
,
0x07
93
21f5
,
0xf40464b6
,
0x53fd2b11
,
0x0142b605
,
...
...
@@ -1444,11 +1450,11 @@ uint32_t nvc0_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb607
3a
21
,
/* 0x08
12
: i2c_get_byte_done */
0xb607
52
21
,
/* 0x08
2a
: i2c_get_byte_done */
0x00f80464
,
/* 0x08
14
: i2c_put_byte */
/* 0x08
17
: i2c_put_byte_next */
/* 0x08
2c
: i2c_put_byte */
/* 0x08
2f
: i2c_put_byte_next */
0xb60847f0
,
0x54ff0142
,
0x0076bb38
,
...
...
@@ -1457,7 +1463,7 @@ uint32_t nvc0_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b607
3a
,
0x64b607
52
,
0x3411f404
,
0xf40046b0
,
0x76bbd81b
,
...
...
@@ -1466,20 +1472,20 @@ uint32_t nvc0_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb607
7b
21
,
0xb607
93
21
,
0x11f40464
,
0x0076bb0f
,
0xf40136b0
,
0x32f4061b
,
/* 0x08
6d
: i2c_put_byte_done */
/* 0x08
6f
: i2c_addr */
/* 0x08
85
: i2c_put_byte_done */
/* 0x08
87
: i2c_addr */
0xbb00f801
,
0x65b60076
,
0x9450f904
,
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x06
ab
21f5
,
0x06
c3
21f5
,
0xf40464b6
,
0xc3e72911
,
0x34b6012e
,
...
...
@@ -1489,24 +1495,24 @@ uint32_t nvc0_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
14
21f550
,
0x
2c
21f550
,
0x0464b608
,
/* 0x08
b4
: i2c_addr_done */
/* 0x08
b6
: i2c_acquire_addr */
/* 0x08
cc
: i2c_addr_done */
/* 0x08
ce
: i2c_acquire_addr */
0xcec700f8
,
0x02e4b6f8
,
0x0bfce0b7
,
0xf800ee98
,
/* 0x08
c5
: i2c_acquire */
0x
b6
21f500
,
/* 0x08
dd
: i2c_acquire */
0x
ce
21f500
,
0x0421f408
,
0xf403d9f0
,
0x00f83f21
,
/* 0x08
d4
: i2c_release */
0x08
b6
21f5
,
/* 0x08
ec
: i2c_release */
0x08
ce
21f5
,
0xf00421f4
,
0x21f403da
,
/* 0x08
e3
: i2c_recv */
/* 0x08
fb
: i2c_recv */
0xf400f83f
,
0xc1c70132
,
0x0214b6f8
,
...
...
@@ -1526,7 +1532,7 @@ uint32_t nvc0_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b608
c5
,
0x64b608
dd
,
0xb0d0fc04
,
0x1bf500d6
,
0x57f000b3
,
...
...
@@ -1536,7 +1542,7 @@ uint32_t nvc0_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b608
6f
,
0x64b608
87
,
0xd011f504
,
0xe0c5c700
,
0xb60076bb
,
...
...
@@ -1544,7 +1550,7 @@ uint32_t nvc0_pwr_code[] = {
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
14
21f550
,
0x
2c
21f550
,
0x0464b608
,
0x00ad11f5
,
0xbb0157f0
,
...
...
@@ -1553,7 +1559,7 @@ uint32_t nvc0_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x08
6f
21f5
,
0x08
87
21f5
,
0xf50464b6
,
0xbb008a11
,
0x65b60076
,
...
...
@@ -1561,7 +1567,7 @@ uint32_t nvc0_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x07
c2
21f5
,
0x07
da
21f5
,
0xf40464b6
,
0x5bcb6a11
,
0x0076bbe0
,
...
...
@@ -1570,37 +1576,37 @@ uint32_t nvc0_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b607
07
,
0x64b607
1f
,
0x025bb904
,
0x0ef474bd
,
/* 0x0
9e9
: i2c_recv_not_rd08 */
/* 0x0
a01
: i2c_recv_not_rd08 */
0x01d6b043
,
0xf03d1bf4
,
0x21f50057
,
0x11f408
6f
,
0x11f408
87
,
0xe0c5c733
,
0x08
14
21f5
,
0x08
2c
21f5
,
0xf02911f4
,
0x21f50057
,
0x11f408
6f
,
0x11f408
87
,
0xe0b5c71f
,
0x08
14
21f5
,
0x08
2c
21f5
,
0xf51511f4
,
0xbd07
07
21
,
0xbd07
1f
21
,
0x08c5c774
,
0xf4091bf4
,
0x0ef40232
,
/* 0x0a
29
: i2c_recv_not_wr08 */
/* 0x0a
29
: i2c_recv_done */
/* 0x0a
41
: i2c_recv_not_wr08 */
/* 0x0a
41
: i2c_recv_done */
0xf8cec703
,
0x08
d4
21f5
,
0x08
ec
21f5
,
0xd0fce0fc
,
0xb90a12f4
,
0x21f5027c
,
/* 0x0a
3e
: i2c_recv_exit */
0x00f803
3
2
,
/* 0x0a
40
: i2c_init */
/* 0x0a
42
: test_recv */
/* 0x0a
56
: i2c_recv_exit */
0x00f803
4
2
,
/* 0x0a
58
: i2c_init */
/* 0x0a
5a
: test_recv */
0x17f100f8
,
0x14b605d8
,
0x0011cf06
,
...
...
@@ -1610,13 +1616,13 @@ uint32_t nvc0_pwr_code[] = {
0xf104bd00
,
0xf1d900e7
,
0xf5134fe3
,
0xf802
5
221
,
/* 0x0a
69
: test_init */
0xf802
6
221
,
/* 0x0a
81
: test_init */
0x00e7f100
,
0x
5
221f508
,
/* 0x0a
73
: idle_recv */
0x
6
221f508
,
/* 0x0a
8b
: idle_recv */
0xf800f802
,
/* 0x0a
75
: idle */
/* 0x0a
8d
: idle */
0x0031f400
,
0x05d417f1
,
0xcf0614b6
,
...
...
@@ -1624,16 +1630,16 @@ uint32_t nvc0_pwr_code[] = {
0xd407f101
,
0x0604b605
,
0xbd0001d0
,
/* 0x0a
91
: idle_loop */
/* 0x0a
a9
: idle_loop */
0x5817f004
,
/* 0x0a
97
: idle_proc */
/* 0x0a
97
: idle_proc_exec */
/* 0x0a
af
: idle_proc */
/* 0x0a
af
: idle_proc_exec */
0xf90232f4
,
0x021eb910
,
0x03
3
b21f5
,
0x03
4
b21f5
,
0x11f410fc
,
0x0231f409
,
/* 0x0a
ab
: idle_proc_next */
/* 0x0a
c3
: idle_proc_next */
0xb6ef0ef4
,
0x1fb85810
,
0xe61bf406
,
...
...
@@ -1650,10 +1656,4 @@ uint32_t nvc0_pwr_code[] = {
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
};
drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/nvd0.fuc.h
View file @
4417be55
...
...
@@ -24,8 +24,8 @@ uint32_t nvd0_pwr_data[] = {
0x00000000
,
/* 0x0058: proc_list_head */
0x54534f48
,
0x000004
85
,
0x000004
2e
,
0x000004
9d
,
0x000004
46
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -46,8 +46,8 @@ uint32_t nvd0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x584d454d
,
0x000005
7f
,
0x000005
71
,
0x000005
97
,
0x000005
89
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -68,8 +68,8 @@ uint32_t nvd0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x46524550
,
0x000005
83
,
0x000005
81
,
0x000005
9b
,
0x000005
99
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -90,8 +90,8 @@ uint32_t nvd0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x5f433249
,
0x000009
9e
,
0x000008
41
,
0x000009
b6
,
0x000008
59
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -112,8 +112,8 @@ uint32_t nvd0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x54534554
,
0x000009
c1
,
0x000009
a0
,
0x000009
d9
,
0x000009
b8
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -134,8 +134,8 @@ uint32_t nvd0_pwr_data[] = {
0x00000000
,
0x00000000
,
0x454c4449
,
0x000009
cd
,
0x000009
cb
,
0x000009
e5
,
0x000009
e3
,
0x00000000
,
0x00000000
,
0x00000000
,
...
...
@@ -229,20 +229,20 @@ uint32_t nvd0_pwr_data[] = {
/* 0x0370: memx_func_head */
0x00010000
,
0x00000000
,
0x000004
bb
,
0x000004
d3
,
/* 0x037c: memx_func_next */
0x00000001
,
0x00000000
,
0x000004
dc
,
0x000004
f4
,
0x00000002
,
0x00000002
,
0x00000
4f7
,
0x00000
50f
,
0x00040003
,
0x00000000
,
0x000005
13
,
0x000005
2b
,
0x00010004
,
0x00000000
,
0x000005
2d
,
0x000005
45
,
/* 0x03ac: memx_func_tail */
/* 0x03ac: memx_data_head */
0x00000000
,
...
...
@@ -784,7 +784,7 @@ uint32_t nvd0_pwr_data[] = {
};
uint32_t
nvd0_pwr_code
[]
=
{
0x03
35
0ef5
,
0x03
4d
0ef5
,
/* 0x0004: rd32 */
0x07a007f1
,
0xbd000ed0
,
...
...
@@ -814,17 +814,20 @@ uint32_t nvd0_pwr_code[] = {
0xd4f100dd
,
0x1bf47000
,
/* 0x0067: nsec */
0xf000f8f5
,
0xf900f8f5
,
0xf080f990
,
0x88cf2c87
,
/* 0x00
6d
: nsec_loop */
/* 0x00
71
: nsec_loop */
0x2c97f000
,
0xbb0099cf
,
0x9eb80298
,
0xf41ef406
,
/* 0x007e: wait */
0x87f000f8
,
0x90fc80fc
,
/* 0x0086: wait */
0x90f900f8
,
0x87f080f9
,
0x0088cf2c
,
/* 0x00
84
: wait_loop */
/* 0x00
90
: wait_loop */
0xf402eeb9
,
0xdab90421
,
0x04adfd02
,
...
...
@@ -833,28 +836,29 @@ uint32_t nvd0_pwr_code[] = {
0x0099cf2c
,
0xb80298bb
,
0x1ef4069b
,
/* 0x00a5: wait_done */
/* 0x00a7: intr_watchdog */
0x9800f8e2
,
/* 0x00b1: wait_done */
0xfc80fce2
,
/* 0x00b7: intr_watchdog */
0x9800f890
,
0x96b003e9
,
0x2a0bf400
,
0xbb9a0a98
,
0x1cf4029a
,
0x01d7f00f
,
0x02
7
c21f5
,
0x02
8
c21f5
,
0x0ef494bd
,
/* 0x00
c
5: intr_watchdog_next_time */
/* 0x00
d
5: intr_watchdog_next_time */
0x9b0a9815
,
0xf400a6b0
,
0x9ab8090b
,
0x061cf406
,
/* 0x00
d
4: intr_watchdog_next_time_set */
/* 0x00
d
7: intr_watchdog_next_proc */
/* 0x00
e
4: intr_watchdog_next_time_set */
/* 0x00
e
7: intr_watchdog_next_proc */
0x809b0980
,
0xe0b603e9
,
0x68e6b158
,
0xc61bf402
,
/* 0x00
e
6: intr */
/* 0x00
f
6: intr */
0x00f900f8
,
0x80f904bd
,
0xa0f990f9
,
...
...
@@ -872,12 +876,12 @@ uint32_t nvd0_pwr_code[] = {
0x0bf40289
,
0x9b008020
,
0xf458e7f0
,
0x0998
a
721
,
0x0998
b
721
,
0x0096b09b
,
0xf00e0bf4
,
0x09d03407
,
0x8004bd00
,
/* 0x01
3
e: intr_skip_watchdog */
/* 0x01
4
e: intr_skip_watchdog */
0x89e49a09
,
0x0bf40800
,
0x8897f13c
,
...
...
@@ -889,20 +893,20 @@ uint32_t nvd0_pwr_code[] = {
0xf14f48e7
,
0xf05453e3
,
0x21f500d7
,
0xc0fc02
e
1
,
0xc0fc02
f
1
,
0x04c007f1
,
0xbd000cd0
,
/* 0x01
7
5: intr_subintr_skip_fifo */
/* 0x01
8
5: intr_subintr_skip_fifo */
0x8807f104
,
0x0009d006
,
/* 0x01
7
e: intr_skip_subintr */
/* 0x01
8
e: intr_skip_subintr */
0x89c404bd
,
0x070bf420
,
0xffbfa4f1
,
/* 0x01
8
8: intr_skip_pause */
/* 0x01
9
8: intr_skip_pause */
0xf44089c4
,
0xa4f1070b
,
/* 0x01
9
2: intr_skip_user0 */
/* 0x01
a
2: intr_skip_user0 */
0x07f0ffbf
,
0x0008d004
,
0x80fc04bd
,
...
...
@@ -912,35 +916,35 @@ uint32_t nvd0_pwr_code[] = {
0xfca0fcb0
,
0xfc80fc90
,
0x0032f400
,
/* 0x01
b
6: ticks_from_ns */
/* 0x01
c
6: ticks_from_ns */
0xc0f901f8
,
0xd7f1b0f9
,
0xd3f00144
,
0x
9b
21f500
,
0x
b3
21f500
,
0xe8ccec03
,
0x00b4b003
,
0xec120bf4
,
0xf103e8ee
,
0xf00144d7
,
0x21f500d3
,
/* 0x01
d
e: ticks_from_ns_quit */
0xceb903
9b
,
/* 0x01
e
e: ticks_from_ns_quit */
0xceb903
b3
,
0xfcb0fc02
,
/* 0x01
e
7: ticks_from_us */
/* 0x01
f
7: ticks_from_us */
0xf900f8c0
,
0xf1b0f9c0
,
0xf00144d7
,
0x21f500d3
,
0xceb903
9b
,
0xceb903
b3
,
0x00b4b002
,
0xbd050bf4
,
/* 0x02
0
1: ticks_from_us_quit */
/* 0x02
1
1: ticks_from_us_quit */
0xfcb0fce4
,
/* 0x02
0
7: ticks_to_us */
/* 0x02
1
7: ticks_to_us */
0xf100f8c0
,
0xf00144d7
,
0xedff00d3
,
/* 0x02
1
3: timer */
/* 0x02
2
3: timer */
0xf900f8ec
,
0xf480f990
,
0xf8981032
,
...
...
@@ -960,18 +964,18 @@ uint32_t nvd0_pwr_code[] = {
0x06e0b800
,
0xb8090bf4
,
0x1cf406e8
,
/* 0x02
5
d: timer_reset */
/* 0x02
6
d: timer_reset */
0x3407f00e
,
0xbd000ed0
,
0x9a0e8004
,
/* 0x02
6
8: timer_enable */
/* 0x02
7
8: timer_enable */
0xf00187f0
,
0x08d03807
,
/* 0x02
7
3: timer_done */
/* 0x02
8
3: timer_done */
0xf404bd00
,
0x80fc1031
,
0x00f890fc
,
/* 0x02
7
c: send_proc */
/* 0x02
8
c: send_proc */
0x90f980f9
,
0x9805e898
,
0x86f004e9
,
...
...
@@ -986,26 +990,27 @@ uint32_t nvd0_pwr_code[] = {
0x90b6038b
,
0x0794f001
,
0xf404e980
,
/* 0x02
b
6: send_done */
/* 0x02
c
6: send_done */
0x90fc0231
,
0x00f880fc
,
/* 0x02
b
c: find */
/* 0x02
c
c: find */
0x87f080f9
,
0x0131f458
,
/* 0x02
c
4: find_loop */
/* 0x02
d
4: find_loop */
0xb8008a98
,
0x0bf406ae
,
0x5880b610
,
0x026886b1
,
0xf4f01bf4
,
/* 0x02
d
a: find_done */
/* 0x02
e
a: find_done */
0x8eb90132
,
0xf880fc02
,
/* 0x02
e
1: send */
0x
b
c21f500
,
/* 0x02
f
1: send */
0x
c
c21f500
,
0x9701f402
,
/* 0x02ea: recv */
0xe89800f8
,
/* 0x02fa: recv */
0x90f900f8
,
0xe89880f9
,
0x04e99805
,
0xb80132f4
,
0x0bf40689
,
...
...
@@ -1023,9 +1028,10 @@ uint32_t nvd0_pwr_code[] = {
0xf900ee98
,
0xfef0fca5
,
0x31f400f8
,
/* 0x0333: recv_done */
0xf8f0fc01
,
/* 0x0335: init */
/* 0x0347: recv_done */
0xfcf0fc01
,
0xf890fc80
,
/* 0x034d: init */
0x0817f100
,
0x0011cf01
,
0x010911e7
,
...
...
@@ -1041,18 +1047,18 @@ uint32_t nvd0_pwr_code[] = {
0xf0080015
,
0x01d01007
,
0xf104bd00
,
0xf000
e
617
,
0xf000
f
617
,
0x10fe0013
,
0x1031f400
,
0xf00117f0
,
0x01d03807
,
0xf004bd00
,
/* 0x03
8a
: init_proc */
/* 0x03
a2
: init_proc */
0xf19858f7
,
0x0016b001
,
0xf9fa0bf4
,
0x58f0b615
,
/* 0x03
9b
: mulu32_32_64 */
/* 0x03
b3
: mulu32_32_64 */
0xf9f20ef4
,
0xf920f910
,
0x9540f930
,
...
...
@@ -1074,7 +1080,7 @@ uint32_t nvd0_pwr_code[] = {
0x40fc00b3
,
0x20fc30fc
,
0x00f810fc
,
/* 0x0
3ec
: host_send */
/* 0x0
404
: host_send */
0x04b017f1
,
0xf10011cf
,
0xcf04a027
,
...
...
@@ -1086,18 +1092,18 @@ uint32_t nvd0_pwr_code[] = {
0x02ec9803
,
0x9801ed98
,
0x21f500ee
,
0x10b602
e
1
,
0x10b602
f
1
,
0x0f1ec401
,
0x04b007f1
,
0xbd000ed0
,
0xc30ef404
,
/* 0x04
2c
: host_send_done */
/* 0x04
2e
: host_recv */
/* 0x04
44
: host_send_done */
/* 0x04
46
: host_recv */
0x17f100f8
,
0x13f14e49
,
0xe1b85254
,
0xb30bf406
,
/* 0x04
3c
: host_recv_wait */
/* 0x04
54
: host_recv_wait */
0x04cc17f1
,
0xf10011cf
,
0xcf04c827
,
...
...
@@ -1116,7 +1122,7 @@ uint32_t nvd0_pwr_code[] = {
0xf04027f0
,
0x02d00007
,
0xf804bd00
,
/* 0x04
85
: host_init */
/* 0x04
9d
: host_init */
0x8017f100
,
0x1014b600
,
0x027015f1
,
...
...
@@ -1130,26 +1136,26 @@ uint32_t nvd0_pwr_code[] = {
0x0117f004
,
0x04c407f1
,
0xbd0001d0
,
/* 0x04
bb
: memx_func_enter */
/* 0x04
d3
: memx_func_enter */
0xf000f804
,
0x07f10467
,
0x06d007e0
,
/* 0x04
c7
: memx_func_enter_wait */
/* 0x04
df
: memx_func_enter_wait */
0xf104bd00
,
0xcf07c067
,
0x64f00066
,
0xf60bf404
,
0xb6001698
,
0x00f80410
,
/* 0x04
dc
: memx_func_leave */
/* 0x04
f4
: memx_func_leave */
0xf10467f0
,
0xd007e407
,
0x04bd0006
,
/* 0x0
4e8
: memx_func_leave_wait */
/* 0x0
500
: memx_func_leave_wait */
0x07c067f1
,
0xf00066cf
,
0x1bf40464
,
/* 0x0
4f7
: memx_func_wr32 */
/* 0x0
50f
: memx_func_wr32 */
0x9800f8f6
,
0x15980016
,
0x0810b601
,
...
...
@@ -1157,22 +1163,22 @@ uint32_t nvd0_pwr_code[] = {
0xe0fcd0fc
,
0xb63321f4
,
0x1bf40242
,
/* 0x05
13
: memx_func_wait */
/* 0x05
2b
: memx_func_wait */
0xf000f8e9
,
0x88cf2c87
,
0x001e9800
,
0x98011d98
,
0x1b98021c
,
0x1010b603
,
0xf8
7e
21f4
,
/* 0x05
2d
: memx_func_delay */
0xf8
86
21f4
,
/* 0x05
45
: memx_func_delay */
0x001e9800
,
0xf40410b6
,
0x00f86721
,
/* 0x05
38
: memx_exec */
/* 0x05
50
: memx_exec */
0xd0f9e0f9
,
0xb902c1b9
,
/* 0x05
42
: memx_exec_next */
/* 0x05
5a
: memx_exec_next */
0x139802b2
,
0x0410b600
,
0xf0103495
,
...
...
@@ -1180,109 +1186,109 @@ uint32_t nvd0_pwr_code[] = {
0xb855f9de
,
0x1ef40612
,
0xfcd0fcec
,
0x
e
121f5e0
,
/* 0x05
63
: memx_info */
0x
f
121f5e0
,
/* 0x05
7b
: memx_info */
0xf100f802
,
0xf103acc7
,
0xf50800b7
,
0xf802
e
121
,
/* 0x05
71
: memx_recv */
0xf802
f
121
,
/* 0x05
89
: memx_recv */
0x01d6b000
,
0xb0c40bf4
,
0x0bf400d6
,
/* 0x05
7f
: memx_init */
/* 0x05
97
: memx_init */
0xf800f8e9
,
/* 0x05
81
: perf_recv */
/* 0x05
83
: perf_init */
/* 0x05
99
: perf_recv */
/* 0x05
9b
: perf_init */
0xf800f800
,
/* 0x05
85
: i2c_drive_scl */
/* 0x05
9d
: i2c_drive_scl */
0x0036b000
,
0xf10e0bf4
,
0xd007e007
,
0x04bd0001
,
/* 0x05
96
: i2c_drive_scl_lo */
/* 0x05
ae
: i2c_drive_scl_lo */
0x07f100f8
,
0x01d007e4
,
0xf804bd00
,
/* 0x05
a1
: i2c_drive_sda */
/* 0x05
b9
: i2c_drive_sda */
0x0036b000
,
0xf10e0bf4
,
0xd007e007
,
0x04bd0002
,
/* 0x05
b2
: i2c_drive_sda_lo */
/* 0x05
ca
: i2c_drive_sda_lo */
0x07f100f8
,
0x02d007e4
,
0xf804bd00
,
/* 0x05
bd
: i2c_sense_scl */
/* 0x05
d5
: i2c_sense_scl */
0x0132f400
,
0x07c437f1
,
0xfd0033cf
,
0x0bf40431
,
0x0131f406
,
/* 0x05
d0
: i2c_sense_scl_done */
/* 0x05
d2
: i2c_sense_sda */
/* 0x05
e8
: i2c_sense_scl_done */
/* 0x05
ea
: i2c_sense_sda */
0x32f400f8
,
0xc437f101
,
0x0033cf07
,
0xf40432fd
,
0x31f4060b
,
/* 0x05
e5
: i2c_sense_sda_done */
/* 0x05
e7
: i2c_raise_scl */
/* 0x05
fd
: i2c_sense_sda_done */
/* 0x05
ff
: i2c_raise_scl */
0xf900f801
,
0x9847f140
,
0x0137f008
,
0x05
85
21f5
,
/* 0x0
5f4
: i2c_raise_scl_wait */
0x05
9d
21f5
,
/* 0x0
60c
: i2c_raise_scl_wait */
0x03e8e7f1
,
0xf56721f4
,
0xf405
bd
21
,
0xf405
d5
21
,
0x42b60901
,
0xef1bf401
,
/* 0x06
08
: i2c_raise_scl_done */
/* 0x06
20
: i2c_raise_scl_done */
0x00f840fc
,
/* 0x06
0c
: i2c_start */
0x05
bd
21f5
,
/* 0x06
24
: i2c_start */
0x05
d5
21f5
,
0xf50d11f4
,
0xf405
d2
21
,
0xf405
ea
21
,
0x0ef40611
,
/* 0x06
1d
: i2c_start_rep */
/* 0x06
35
: i2c_start_rep */
0x0037f030
,
0x05
85
21f5
,
0x05
9d
21f5
,
0xf50137f0
,
0xbb05
a1
21
,
0xbb05
b9
21
,
0x65b60076
,
0x9450f904
,
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x05
e7
21f5
,
0x05
ff
21f5
,
0xf40464b6
,
/* 0x06
4a
: i2c_start_send */
/* 0x06
62
: i2c_start_send */
0x37f01f11
,
0x
a1
21f500
,
0x
b9
21f500
,
0x88e7f105
,
0x6721f413
,
0xf50037f0
,
0xf105
85
21
,
0xf105
9d
21
,
0xf41388e7
,
/* 0x06
66
: i2c_start_out */
/* 0x06
7e
: i2c_start_out */
0x00f86721
,
/* 0x06
68
: i2c_stop */
/* 0x06
80
: i2c_stop */
0xf50037f0
,
0xf005
85
21
,
0xf005
9d
21
,
0x21f50037
,
0xe7f105
a1
,
0xe7f105
b9
,
0x21f403e8
,
0x0137f067
,
0x05
85
21f5
,
0x05
9d
21f5
,
0x1388e7f1
,
0xf06721f4
,
0x21f50137
,
0xe7f105
a1
,
0xe7f105
b9
,
0x21f41388
,
/* 0x06
9b
: i2c_bitw */
/* 0x06
b3
: i2c_bitw */
0xf500f867
,
0xf105
a1
21
,
0xf105
b9
21
,
0xf403e8e7
,
0x76bb6721
,
0x0465b600
,
...
...
@@ -1290,18 +1296,18 @@ uint32_t nvd0_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb605
e7
21
,
0xb605
ff
21
,
0x11f40464
,
0x88e7f118
,
0x6721f413
,
0xf50037f0
,
0xf105
85
21
,
0xf105
9d
21
,
0xf41388e7
,
/* 0x06
da
: i2c_bitw_out */
/* 0x06
f2
: i2c_bitw_out */
0x00f86721
,
/* 0x06
dc
: i2c_bitr */
/* 0x06
f4
: i2c_bitr */
0xf50137f0
,
0xf105
a1
21
,
0xf105
b9
21
,
0xf403e8e7
,
0x76bb6721
,
0x0465b600
,
...
...
@@ -1309,26 +1315,26 @@ uint32_t nvd0_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb605
e7
21
,
0xb605
ff
21
,
0x11f40464
,
0x
d2
21f51b
,
0x
ea
21f51b
,
0x0037f005
,
0x05
85
21f5
,
0x05
9d
21f5
,
0x1388e7f1
,
0xf06721f4
,
0x31f4013c
,
/* 0x07
21
: i2c_bitr_done */
/* 0x07
23
: i2c_get_byte */
/* 0x07
39
: i2c_bitr_done */
/* 0x07
3b
: i2c_get_byte */
0xf000f801
,
0x47f00057
,
/* 0x07
29
: i2c_get_byte_next */
/* 0x07
41
: i2c_get_byte_next */
0x0154b608
,
0xb60076bb
,
0x50f90465
,
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
dc
21f550
,
0x
f4
21f550
,
0x0464b606
,
0xfd2b11f4
,
0x42b60553
,
...
...
@@ -1339,12 +1345,12 @@ uint32_t nvd0_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x06
9b
21f5
,
/* 0x07
73
: i2c_get_byte_done */
0x06
b3
21f5
,
/* 0x07
8b
: i2c_get_byte_done */
0xf80464b6
,
/* 0x07
75
: i2c_put_byte */
/* 0x07
8d
: i2c_put_byte */
0x0847f000
,
/* 0x07
78
: i2c_put_byte_next */
/* 0x07
90
: i2c_put_byte_next */
0xff0142b6
,
0x76bb3854
,
0x0465b600
,
...
...
@@ -1352,7 +1358,7 @@ uint32_t nvd0_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb606
9b
21
,
0xb606
b3
21
,
0x11f40464
,
0x0046b034
,
0xbbd81bf4
,
...
...
@@ -1361,20 +1367,20 @@ uint32_t nvd0_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x06
dc
21f5
,
0x06
f4
21f5
,
0xf40464b6
,
0x76bb0f11
,
0x0136b000
,
0xf4061bf4
,
/* 0x07
ce
: i2c_put_byte_done */
/* 0x07
e6
: i2c_put_byte_done */
0x00f80132
,
/* 0x07
d0
: i2c_addr */
/* 0x07
e8
: i2c_addr */
0xb60076bb
,
0x50f90465
,
0xbb046594
,
0x50bd0256
,
0xfc0475fd
,
0x
0c
21f550
,
0x
24
21f550
,
0x0464b606
,
0xe72911f4
,
0xb6012ec3
,
...
...
@@ -1385,23 +1391,23 @@ uint32_t nvd0_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b607
75
,
/* 0x08
15
: i2c_addr_done */
/* 0x08
17
: i2c_acquire_addr */
0x64b607
8d
,
/* 0x08
2d
: i2c_addr_done */
/* 0x08
2f
: i2c_acquire_addr */
0xc700f804
,
0xe4b6f8ce
,
0x14e0b705
,
/* 0x08
23
: i2c_acquire */
/* 0x08
3b
: i2c_acquire */
0xf500f8d0
,
0xf408
17
21
,
0xf408
2f
21
,
0xd9f00421
,
0x3321f403
,
/* 0x08
32
: i2c_release */
/* 0x08
4a
: i2c_release */
0x21f500f8
,
0x21f408
17
,
0x21f408
2f
,
0x03daf004
,
0xf83321f4
,
/* 0x08
41
: i2c_recv */
/* 0x08
59
: i2c_recv */
0x0132f400
,
0xb6f8c1c7
,
0x16b00214
,
...
...
@@ -1420,7 +1426,7 @@ uint32_t nvd0_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x08
23
21f5
,
0x08
3b
21f5
,
0xfc0464b6
,
0x00d6b0d0
,
0x00b31bf5
,
...
...
@@ -1430,7 +1436,7 @@ uint32_t nvd0_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x07
d0
21f5
,
0x07
e8
21f5
,
0xf50464b6
,
0xc700d011
,
0x76bbe0c5
,
...
...
@@ -1439,7 +1445,7 @@ uint32_t nvd0_pwr_code[] = {
0x0256bb04
,
0x75fd50bd
,
0xf550fc04
,
0xb607
75
21
,
0xb607
8d
21
,
0x11f50464
,
0x57f000ad
,
0x0076bb01
,
...
...
@@ -1448,7 +1454,7 @@ uint32_t nvd0_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b607
d0
,
0x64b607
e8
,
0x8a11f504
,
0x0076bb00
,
0xf90465b6
,
...
...
@@ -1456,7 +1462,7 @@ uint32_t nvd0_pwr_code[] = {
0xbd0256bb
,
0x0475fd50
,
0x21f550fc
,
0x64b607
23
,
0x64b607
3b
,
0x6a11f404
,
0xbbe05bcb
,
0x65b60076
,
...
...
@@ -1464,38 +1470,38 @@ uint32_t nvd0_pwr_code[] = {
0x56bb0465
,
0xfd50bd02
,
0x50fc0475
,
0x06
68
21f5
,
0x06
80
21f5
,
0xb90464b6
,
0x74bd025b
,
/* 0x09
47
: i2c_recv_not_rd08 */
/* 0x09
5f
: i2c_recv_not_rd08 */
0xb0430ef4
,
0x1bf401d6
,
0x0057f03d
,
0x07
d0
21f5
,
0x07
e8
21f5
,
0xc73311f4
,
0x21f5e0c5
,
0x11f407
75
,
0x11f407
8d
,
0x0057f029
,
0x07
d0
21f5
,
0x07
e8
21f5
,
0xc71f11f4
,
0x21f5e0b5
,
0x11f407
75
,
0x
68
21f515
,
0x11f407
8d
,
0x
80
21f515
,
0xc774bd06
,
0x1bf408c5
,
0x0232f409
,
/* 0x09
87
: i2c_recv_not_wr08 */
/* 0x09
87
: i2c_recv_done */
/* 0x09
9f
: i2c_recv_not_wr08 */
/* 0x09
9f
: i2c_recv_done */
0xc7030ef4
,
0x21f5f8ce
,
0xe0fc08
32
,
0xe0fc08
4a
,
0x12f4d0fc
,
0x027cb90a
,
0x02
e
121f5
,
/* 0x09
9c
: i2c_recv_exit */
/* 0x09
9e
: i2c_init */
0x02
f
121f5
,
/* 0x09
b4
: i2c_recv_exit */
/* 0x09
b6
: i2c_init */
0x00f800f8
,
/* 0x09
a0
: test_recv */
/* 0x09
b8
: test_recv */
0x05d817f1
,
0xb60011cf
,
0x07f10110
,
...
...
@@ -1503,29 +1509,29 @@ uint32_t nvd0_pwr_code[] = {
0xf104bd00
,
0xf1d900e7
,
0xf5134fe3
,
0xf802
1
321
,
/* 0x09
c1
: test_init */
0xf802
2
321
,
/* 0x09
d9
: test_init */
0x00e7f100
,
0x
1
321f508
,
/* 0x09
cb
: idle_recv */
0x
2
321f508
,
/* 0x09
e3
: idle_recv */
0xf800f802
,
/* 0x09
cd
: idle */
/* 0x09
e5
: idle */
0x0031f400
,
0x05d417f1
,
0xb60011cf
,
0x07f10110
,
0x01d005d4
,
/* 0x09
e3
: idle_loop */
/* 0x09
fb
: idle_loop */
0xf004bd00
,
0x32f45817
,
/* 0x0
9e9
: idle_proc */
/* 0x0
9e9
: idle_proc_exec */
/* 0x0
a01
: idle_proc */
/* 0x0
a01
: idle_proc_exec */
0xb910f902
,
0x21f5021e
,
0x10fc02
e
a
,
0x10fc02
f
a
,
0xf40911f4
,
0x0ef40231
,
/* 0x0
9fd
: idle_proc_next */
/* 0x0
a15
: idle_proc_next */
0x5810b6ef
,
0xf4061fb8
,
0x02f4e61b
,
...
...
@@ -1585,10 +1591,4 @@ uint32_t nvd0_pwr_code[] = {
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment