x86
stringlengths 335
88.6k
| arm
stringlengths 349
86.1k
|
---|---|
.file "extr_ecard.c_ecard_match_device.c"
.intel_syntax noprefix
.text
.p2align 4
.type ecard_match_device, @function
ecard_match_device:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR [rdi]
cmp eax, 65535
je .L5
mov edx, DWORD PTR [rsi]
jmp .L4
.p2align 4,,10
.p2align 3
.L3:
mov eax, DWORD PTR 16[rdi]
add rdi, 16
cmp eax, 65535
je .L5
.L4:
cmp edx, eax
jne .L3
mov rax, QWORD PTR 8[rdi]
cmp QWORD PTR 8[rsi], rax
jne .L3
mov rax, rdi
ret
.p2align 4,,10
.p2align 3
.L5:
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size ecard_match_device, .-ecard_match_device
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_ecard_match_device.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ecard_match_device, %function
ecard_match_device:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r2, [r0]
ldr ip, .L13
cmp r2, ip
beq .L5
push {r4, lr}
mov r3, r0
ldr lr, [r1]
b .L4
.L3:
ldr r2, [r3, #8]!
cmp r2, ip
beq .L12
.L4:
cmp lr, r2
mov r0, r3
bne .L3
ldr r4, [r1, #4]
ldr r2, [r3, #4]
cmp r4, r2
popeq {r4, pc}
ldr r2, [r3, #8]!
cmp r2, ip
bne .L4
.L12:
mov r0, #0
pop {r4, pc}
.L5:
mov r0, #0
bx lr
.L14:
.align 2
.L13:
.word 65535
.size ecard_match_device, .-ecard_match_device
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ecard.c_ecard_proc_init.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "bus/ecard"
.LC1:
.string "devices"
.text
.p2align 4
.type ecard_proc_init, @function
ecard_proc_init:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor esi, esi
lea rdi, .LC0[rip]
call proc_mkdir@PLT
mov ecx, DWORD PTR ecard_devices_proc_show[rip]
xor esi, esi
lea rdi, .LC1[rip]
mov DWORD PTR proc_bus_ecard_dir[rip], eax
mov edx, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp proc_create_single@PLT
.cfi_endproc
.LFE0:
.size ecard_proc_init, .-ecard_proc_init
.globl proc_bus_ecard_dir
.bss
.align 4
.type proc_bus_ecard_dir, @object
.size proc_bus_ecard_dir, 4
proc_bus_ecard_dir:
.zero 4
.globl ecard_devices_proc_show
.align 4
.type ecard_devices_proc_show, @object
.size ecard_devices_proc_show, 4
ecard_devices_proc_show:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_ecard_proc_init.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "bus/ecard\000"
.align 2
.LC1:
.ascii "devices\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ecard_proc_init, %function
ecard_proc_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #0
push {r4, lr}
ldr r0, .L4
bl proc_mkdir
pop {r4, lr}
mov r2, r0
ldr r3, .L4+4
ldr ip, .L4+8
mov r1, #0
ldr r3, [r3]
ldr r0, .L4+12
str r2, [ip]
b proc_create_single
.L5:
.align 2
.L4:
.word .LC0
.word ecard_devices_proc_show
.word proc_bus_ecard_dir
.word .LC1
.size ecard_proc_init, .-ecard_proc_init
.comm proc_bus_ecard_dir,4,4
.comm ecard_devices_proc_show,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ecard.c_ecard_readbytes.c"
.intel_syntax noprefix
.text
.p2align 4
.type ecard_readbytes, @function
ecard_readbytes:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 56
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
mov eax, DWORD PTR ecard_task_readbytes[rip]
mov QWORD PTR 16[rsp], rdi
mov rdi, rsp
mov QWORD PTR 24[rsp], rsi
mov DWORD PTR [rsp], edx
mov DWORD PTR 4[rsp], ecx
mov DWORD PTR 8[rsp], r8d
mov DWORD PTR 32[rsp], eax
call ecard_call@PLT
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L5
add rsp, 56
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size ecard_readbytes, .-ecard_readbytes
.globl ecard_task_readbytes
.bss
.align 4
.type ecard_task_readbytes, @object
.size ecard_task_readbytes, 4
ecard_task_readbytes:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_ecard_readbytes.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ecard_readbytes, %function
ecard_readbytes:
@ args = 4, pretend = 0, frame = 32
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr lr, .L6
sub sp, sp, #36
stmib sp, {r2, r3}
ldr ip, [sp, #40]
ldr r3, .L6+4
ldr lr, [lr]
str r0, [sp, #16]
str r1, [sp, #20]
add r0, sp, #4
ldr r3, [r3]
str r3, [sp, #28]
mov r3,#0
str lr, [sp, #24]
str ip, [sp, #12]
bl ecard_call
ldr r3, .L6+4
ldr r2, [r3]
ldr r3, [sp, #28]
eors r2, r3, r2
mov r3, #0
bne .L5
add sp, sp, #36
@ sp needed
ldr pc, [sp], #4
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word ecard_task_readbytes
.word .LC0
.size ecard_readbytes, .-ecard_readbytes
.comm ecard_task_readbytes,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ecard.c_ecard_register_driver.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ecard_register_driver
.type ecard_register_driver, @function
ecard_register_driver:
.LFB0:
.cfi_startproc
endbr64
lea rax, ecard_bus_type[rip]
mov QWORD PTR [rdi], rax
jmp driver_register@PLT
.cfi_endproc
.LFE0:
.size ecard_register_driver, .-ecard_register_driver
.globl ecard_bus_type
.bss
.align 4
.type ecard_bus_type, @object
.size ecard_bus_type, 4
ecard_bus_type:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_ecard_register_driver.c"
.text
.align 2
.global ecard_register_driver
.syntax unified
.arm
.fpu softvfp
.type ecard_register_driver, %function
ecard_register_driver:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
str r3, [r0]
b driver_register
.L4:
.align 2
.L3:
.word ecard_bus_type
.size ecard_register_driver, .-ecard_register_driver
.comm ecard_bus_type,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ecard.c_ecard_release_resources.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ecard_release_resources
.type ecard_release_resources, @function
ecard_release_resources:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR ECARD_NUM_RESOURCES[rip]
test eax, eax
jle .L10
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
xor ebx, ebx
jmp .L4
.p2align 4,,10
.p2align 3
.L3:
add ebx, 1
cmp DWORD PTR ECARD_NUM_RESOURCES[rip], ebx
jle .L14
.L4:
mov esi, ebx
mov rdi, rbp
call ecard_resource_end@PLT
test rax, rax
je .L3
mov esi, ebx
mov rdi, rbp
call ecard_resource_len@PLT
mov esi, ebx
mov rdi, rbp
add ebx, 1
mov r12d, eax
call ecard_resource_start@PLT
mov esi, r12d
mov edi, eax
call release_mem_region@PLT
cmp DWORD PTR ECARD_NUM_RESOURCES[rip], ebx
jg .L4
.L14:
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
ret
.cfi_endproc
.LFE0:
.size ecard_release_resources, .-ecard_release_resources
.globl ECARD_NUM_RESOURCES
.bss
.align 4
.type ECARD_NUM_RESOURCES, @object
.size ECARD_NUM_RESOURCES, 4
ECARD_NUM_RESOURCES:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_ecard_release_resources.c"
.text
.align 2
.global ecard_release_resources
.syntax unified
.arm
.fpu softvfp
.type ecard_release_resources, %function
ecard_release_resources:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r7, .L11
ldr r3, [r7]
cmp r3, #0
pople {r4, r5, r6, r7, r8, pc}
mov r5, r0
mov r4, #0
b .L4
.L3:
ldr r3, [r7]
add r4, r4, #1
cmp r3, r4
pople {r4, r5, r6, r7, r8, pc}
.L4:
mov r1, r4
mov r0, r5
bl ecard_resource_end
cmp r0, #0
beq .L3
mov r1, r4
mov r0, r5
bl ecard_resource_start
mov r1, r4
mov r6, r0
mov r0, r5
bl ecard_resource_len
mov r1, r0
mov r0, r6
bl release_mem_region
b .L3
.L12:
.align 2
.L11:
.word ECARD_NUM_RESOURCES
.size ecard_release_resources, .-ecard_release_resources
.comm ECARD_NUM_RESOURCES,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ecard.c_ecard_remove_driver.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ecard_remove_driver
.type ecard_remove_driver, @function
ecard_remove_driver:
.LFB0:
.cfi_startproc
endbr64
jmp driver_unregister@PLT
.cfi_endproc
.LFE0:
.size ecard_remove_driver, .-ecard_remove_driver
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_ecard_remove_driver.c"
.text
.align 2
.global ecard_remove_driver
.syntax unified
.arm
.fpu softvfp
.type ecard_remove_driver, %function
ecard_remove_driver:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b driver_unregister
.size ecard_remove_driver, .-ecard_remove_driver
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ecard.c_ecard_request_resources.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ecard_request_resources
.type ecard_request_resources, @function
ecard_request_resources:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR ECARD_NUM_RESOURCES[rip]
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
test eax, eax
jle .L2
mov rbp, rdi
xor ebx, ebx
jmp .L6
.p2align 4,,10
.p2align 3
.L3:
add ebx, 1
cmp DWORD PTR ECARD_NUM_RESOURCES[rip], ebx
jle .L2
.L6:
mov esi, ebx
mov rdi, rbp
call ecard_resource_end@PLT
test rax, rax
je .L3
mov rax, QWORD PTR 0[rbp]
mov esi, ebx
mov rdi, rbp
mov r13d, DWORD PTR [rax]
call ecard_resource_len@PLT
mov esi, ebx
mov rdi, rbp
mov r12d, eax
call ecard_resource_start@PLT
mov edx, r13d
mov esi, r12d
mov edi, eax
call request_mem_region@PLT
test eax, eax
jne .L3
mov eax, DWORD PTR EBUSY[rip]
mov r13d, eax
neg r13d
test eax, eax
je .L2
lea r12d, -1[rbx]
test ebx, ebx
jne .L4
.L1:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
mov eax, r13d
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L22:
.cfi_restore_state
mov esi, r12d
mov rdi, rbp
call ecard_resource_len@PLT
mov esi, r12d
mov rdi, rbp
mov r14d, eax
call ecard_resource_start@PLT
mov esi, r14d
mov edi, eax
call release_mem_region@PLT
.L7:
sub r12d, 1
jb .L1
.L4:
mov esi, r12d
mov rdi, rbp
call ecard_resource_end@PLT
test rax, rax
je .L7
jmp .L22
.p2align 4,,10
.p2align 3
.L2:
xor r13d, r13d
pop rbx
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
mov eax, r13d
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size ecard_request_resources, .-ecard_request_resources
.globl ECARD_NUM_RESOURCES
.bss
.align 4
.type ECARD_NUM_RESOURCES, @object
.size ECARD_NUM_RESOURCES, 4
ECARD_NUM_RESOURCES:
.zero 4
.globl EBUSY
.align 4
.type EBUSY, @object
.size EBUSY, 4
EBUSY:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_ecard_request_resources.c"
.text
.align 2
.global ecard_request_resources
.syntax unified
.arm
.fpu softvfp
.type ecard_request_resources, %function
ecard_request_resources:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r7, .L22
ldr r3, [r7]
cmp r3, #0
ble .L2
mov r5, r0
mov r4, #0
b .L6
.L3:
ldr r3, [r7]
add r4, r4, #1
cmp r3, r4
ble .L2
.L6:
mov r1, r4
mov r0, r5
bl ecard_resource_end
cmp r0, #0
beq .L3
mov r1, r4
mov r0, r5
bl ecard_resource_start
mov r1, r4
mov r6, r0
mov r0, r5
bl ecard_resource_len
ldr r3, [r5]
mov r1, r0
ldr r2, [r3]
mov r0, r6
bl request_mem_region
cmp r0, #0
bne .L3
ldr r3, .L22+4
ldr r7, [r3]
cmp r7, #0
rsb r7, r7, #0
beq .L2
cmp r4, #0
sub r4, r4, #1
bne .L4
b .L1
.L7:
subs r4, r4, #1
bcc .L1
.L4:
mov r1, r4
mov r0, r5
bl ecard_resource_end
cmp r0, #0
beq .L7
mov r1, r4
mov r0, r5
bl ecard_resource_start
mov r1, r4
mov r6, r0
mov r0, r5
bl ecard_resource_len
mov r1, r0
mov r0, r6
bl release_mem_region
b .L7
.L2:
mov r7, #0
.L1:
mov r0, r7
pop {r4, r5, r6, r7, r8, pc}
.L23:
.align 2
.L22:
.word ECARD_NUM_RESOURCES
.word EBUSY
.size ecard_request_resources, .-ecard_request_resources
.comm ECARD_NUM_RESOURCES,4,4
.comm EBUSY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ecard.c_ecard_setirq.c"
.intel_syntax noprefix
.text
.p2align 4
.globl ecard_setirq
.type ecard_setirq, @function
ecard_setirq:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
mov QWORD PTR 8[rdi], rdx
call barrier@PLT
mov QWORD PTR [rbx], rbp
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size ecard_setirq, .-ecard_setirq
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_ecard_setirq.c"
.text
.align 2
.global ecard_setirq
.syntax unified
.arm
.fpu softvfp
.type ecard_setirq, %function
ecard_setirq:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r5, r1
str r2, [r0, #4]
bl barrier
str r5, [r4]
pop {r4, r5, r6, pc}
.size ecard_setirq, .-ecard_setirq
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ecard.c_ecard_task.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "kecardd: unable to alloc mm\n"
.text
.p2align 4
.type ecard_task, @function
ecard_task:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call ecard_init_mm@PLT
test rax, rax
jne .L12
.L2:
lea rbp, ecard_req[rip]
.p2align 4,,10
.p2align 3
.L3:
mov edi, DWORD PTR ecard_wait[rip]
xor esi, esi
cmp QWORD PTR ecard_req[rip], 0
setne sil
call wait_event_interruptible@PLT
xor esi, esi
mov rdi, rbp
call xchg@PLT
mov rbx, rax
test rax, rax
je .L3
mov rdi, rax
call [QWORD PTR 8[rbx]]
mov edi, DWORD PTR [rbx]
call complete@PLT
jmp .L3
.L12:
lea rdi, .LC0[rip]
call panic@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size ecard_task, .-ecard_task
.globl ecard_wait
.bss
.align 4
.type ecard_wait, @object
.size ecard_wait, 4
ecard_wait:
.zero 4
.globl ecard_req
.align 8
.type ecard_req, @object
.size ecard_req, 8
ecard_req:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_ecard_task.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "kecardd: unable to alloc mm\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ecard_task, %function
ecard_task:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
bl ecard_init_mm
cmp r0, #0
bne .L12
.L2:
ldr r5, .L13
ldr r7, .L13+4
mov r6, r5
.L3:
ldr r1, [r5]
ldr r0, [r7]
subs r1, r1, #0
movne r1, #1
bl wait_event_interruptible
mov r1, #0
mov r0, r6
bl xchg
subs r4, r0, #0
beq .L3
ldr r3, [r4, #4]
blx r3
ldr r0, [r4]
bl complete
b .L3
.L12:
ldr r0, .L13+8
bl panic
b .L2
.L14:
.align 2
.L13:
.word ecard_req
.word ecard_wait
.word .LC0
.size ecard_task, .-ecard_task
.comm ecard_wait,4,4
.comm ecard_req,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ecard.c_ecard_task_reset.c"
.intel_syntax noprefix
.text
.p2align 4
.type ecard_task_reset, @function
ecard_task_reset:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
cmp DWORD PTR [rax], 8
mov rdx, QWORD PTR 8[rax]
je .L6
cmp QWORD PTR 16[rax], 0
jne .L7
mov rcx, QWORD PTR ECARD_RES_IOCSYNC[rip]
mov esi, DWORD PTR 4[rax]
lea rdx, [rdx+rcx*4]
mov edi, DWORD PTR [rdx]
jmp ecard_loader_reset@PLT
.p2align 4,,10
.p2align 3
.L7:
mov rcx, QWORD PTR ECARD_RES_EASI[rip]
mov esi, DWORD PTR 4[rax]
lea rdx, [rdx+rcx*4]
mov edi, DWORD PTR [rdx]
jmp ecard_loader_reset@PLT
.p2align 4,,10
.p2align 3
.L6:
mov rcx, QWORD PTR ECARD_RES_MEMC[rip]
mov esi, DWORD PTR 4[rax]
lea rdx, [rdx+rcx*4]
mov edi, DWORD PTR [rdx]
jmp ecard_loader_reset@PLT
.cfi_endproc
.LFE0:
.size ecard_task_reset, .-ecard_task_reset
.globl ECARD_RES_MEMC
.bss
.align 8
.type ECARD_RES_MEMC, @object
.size ECARD_RES_MEMC, 8
ECARD_RES_MEMC:
.zero 8
.globl ECARD_RES_IOCSYNC
.align 8
.type ECARD_RES_IOCSYNC, @object
.size ECARD_RES_IOCSYNC, 8
ECARD_RES_IOCSYNC:
.zero 8
.globl ECARD_RES_EASI
.align 8
.type ECARD_RES_EASI, @object
.size ECARD_RES_EASI, 8
ECARD_RES_EASI:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_ecard_task_reset.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ecard_task_reset, %function
ecard_task_reset:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, [r0]
ldr r1, [r3]
ldr r2, [r3, #8]
cmp r1, #8
beq .L6
ldr r1, [r3, #12]
cmp r1, #0
ldrne r1, .L7
ldreq r1, .L7+4
ldr r1, [r1]
add r2, r2, r1, lsl #2
ldr r0, [r2]
ldr r1, [r3, #4]
b ecard_loader_reset
.L6:
ldr r1, .L7+8
ldr r1, [r1]
add r2, r2, r1, lsl #2
ldr r0, [r2]
ldr r1, [r3, #4]
b ecard_loader_reset
.L8:
.align 2
.L7:
.word ECARD_RES_EASI
.word ECARD_RES_IOCSYNC
.word ECARD_RES_MEMC
.size ecard_task_reset, .-ecard_task_reset
.comm ECARD_RES_MEMC,4,4
.comm ECARD_RES_IOCSYNC,4,4
.comm ECARD_RES_EASI,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ecard.c_resource_show.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%08x %08x %08lx\n"
.text
.p2align 4
.type resource_show, @function
resource_show:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12, rdx
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
call ECARD_DEV@PLT
mov edx, DWORD PTR ECARD_NUM_RESOURCES[rip]
test edx, edx
jle .L4
mov r14, rax
mov r13, r12
lea rbp, .LC0[rip]
xor ebx, ebx
.p2align 4,,10
.p2align 3
.L3:
mov rax, QWORD PTR [r14]
lea rdx, [rbx+rbx*2]
mov rdi, r13
mov rsi, rbp
add rbx, 1
lea rax, [rax+rdx*4]
mov ecx, DWORD PTR 4[rax]
mov r8d, DWORD PTR 8[rax]
mov edx, DWORD PTR [rax]
call sprintf@PLT
cdqe
add r13, rax
cmp DWORD PTR ECARD_NUM_RESOURCES[rip], ebx
jg .L3
mov eax, r13d
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
sub eax, r12d
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
pop rbx
.cfi_def_cfa_offset 40
xor eax, eax
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size resource_show, .-resource_show
.globl ECARD_NUM_RESOURCES
.bss
.align 4
.type ECARD_NUM_RESOURCES, @object
.size ECARD_NUM_RESOURCES, 4
ECARD_NUM_RESOURCES:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_resource_show.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%08x %08x %08lx\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type resource_show, %function
resource_show:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, lr}
ldr r7, .L8
sub sp, sp, #12
mov r8, r2
bl ECARD_DEV
ldr r3, [r7]
cmp r3, #0
ble .L4
mov r6, r0
mov r5, r8
mov r4, #0
ldr r9, .L8+4
.L3:
ldr r3, [r6]
add lr, r4, r4, lsl #1
add ip, r3, lr, lsl #2
ldr r1, [ip, #8]
ldr r2, [r3, lr, lsl #2]
mov r0, r5
ldr r3, [ip, #4]
str r1, [sp]
mov r1, r9
bl sprintf
ldr r3, [r7]
add r4, r4, #1
cmp r3, r4
add r5, r5, r0
bgt .L3
sub r0, r5, r8
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, pc}
.L4:
mov r0, #0
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, pc}
.L9:
.align 2
.L8:
.word ECARD_NUM_RESOURCES
.word .LC0
.size resource_show, .-resource_show
.comm ECARD_NUM_RESOURCES,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ecard.c_slot_to_ecard.c"
.intel_syntax noprefix
.text
.p2align 4
.type slot_to_ecard, @function
slot_to_ecard:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
cmp DWORD PTR MAX_ECARDS[rip], edi
jbe .L1
mov rax, QWORD PTR slot_to_expcard[rip]
mov edi, edi
mov rax, QWORD PTR [rax+rdi*8]
.L1:
ret
.cfi_endproc
.LFE0:
.size slot_to_ecard, .-slot_to_ecard
.globl slot_to_expcard
.bss
.align 8
.type slot_to_expcard, @object
.size slot_to_expcard, 8
slot_to_expcard:
.zero 8
.globl MAX_ECARDS
.align 4
.type MAX_ECARDS, @object
.size MAX_ECARDS, 4
MAX_ECARDS:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_slot_to_ecard.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type slot_to_ecard, %function
slot_to_ecard:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L5
ldr r3, [r3]
cmp r3, r0
ldrhi r3, .L5+4
ldrhi r3, [r3]
ldrhi r0, [r3, r0, lsl #2]
movls r0, #0
bx lr
.L6:
.align 2
.L5:
.word MAX_ECARDS
.word slot_to_expcard
.size slot_to_ecard, .-slot_to_ecard
.comm slot_to_expcard,4,4
.comm MAX_ECARDS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ecard.c_type_show.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "EASI"
.LC1:
.string "IOC"
.LC2:
.string "%s\n"
.text
.p2align 4
.type type_show, @function
type_show:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdx
call ECARD_DEV@PLT
lea rdx, .LC0[rip]
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
cmp QWORD PTR [rax], 0
lea rax, .LC1[rip]
lea rsi, .LC2[rip]
cmove rdx, rax
jmp sprintf@PLT
.cfi_endproc
.LFE0:
.size type_show, .-type_show
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_type_show.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "EASI\000"
.align 2
.LC1:
.ascii "IOC\000"
.align 2
.LC2:
.ascii "%s\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type type_show, %function
type_show:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r2
bl ECARD_DEV
ldr r1, [r0]
ldr r3, .L6
cmp r1, #0
mov r0, r4
pop {r4, lr}
ldr r2, .L6+4
ldr r1, .L6+8
moveq r2, r3
b sprintf
.L7:
.align 2
.L6:
.word .LC1
.word .LC0
.word .LC2
.size type_show, .-type_show
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_ecard.c_vendor_show.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%u\n"
.text
.p2align 4
.type vendor_show, @function
vendor_show:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdx
call ECARD_DEV@PLT
mov rdi, rbp
lea rsi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 8
mov edx, DWORD PTR [rax]
jmp sprintf@PLT
.cfi_endproc
.LFE0:
.size vendor_show, .-vendor_show
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_ecard.c_vendor_show.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%u\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type vendor_show, %function
vendor_show:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r2
bl ECARD_DEV
mov r3, r0
ldr r1, .L4
mov r0, r4
pop {r4, lr}
ldr r2, [r3]
b sprintf
.L5:
.align 2
.L4:
.word .LC0
.size vendor_show, .-vendor_show
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_riscpc.c_rpc_restart.c"
.intel_syntax noprefix
.text
.p2align 4
.type rpc_restart, @function
rpc_restart:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, DWORD PTR IOMD_ROMCR0[rip]
xor edi, edi
call iomd_writeb@PLT
xor edi, edi
add rsp, 8
.cfi_def_cfa_offset 8
jmp soft_restart@PLT
.cfi_endproc
.LFE0:
.size rpc_restart, .-rpc_restart
.globl IOMD_ROMCR0
.bss
.align 4
.type IOMD_ROMCR0, @object
.size IOMD_ROMCR0, 4
IOMD_ROMCR0:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_riscpc.c_rpc_restart.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rpc_restart, %function
rpc_restart:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r3, .L4
mov r0, #0
ldr r1, [r3]
bl iomd_writeb
pop {r4, lr}
mov r0, #0
b soft_restart
.L5:
.align 2
.L4:
.word IOMD_ROMCR0
.size rpc_restart, .-rpc_restart
.comm IOMD_ROMCR0,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_time.c_ioc_timer_read.c"
.intel_syntax noprefix
.text
.p2align 4
.type ioc_timer_read, @function
ioc_timer_read:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
xor r14d, r14d
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
mov rdi, r14
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
call local_irq_save@PLT
mov esi, DWORD PTR IOC_T0LATCH[rip]
xor edi, edi
call ioc_writeb@PLT
xor eax, eax
call barrier@PLT
mov edi, DWORD PTR IOC_T0CNTL[rip]
call ioc_readb@PLT
mov edi, DWORD PTR IOC_T0CNTH[rip]
mov ebx, eax
call ioc_readb@PLT
sal eax, 8
mov ebp, eax
xor eax, eax
call barrier@PLT
mov edi, DWORD PTR IOC_IRQREQA[rip]
or ebp, ebx
call ioc_readb@PLT
mov r13d, eax
xor eax, eax
call barrier@PLT
mov esi, DWORD PTR IOC_T0LATCH[rip]
xor edi, edi
call ioc_writeb@PLT
xor eax, eax
call barrier@PLT
mov edi, DWORD PTR IOC_T0CNTL[rip]
call ioc_readb@PLT
mov edi, DWORD PTR IOC_T0CNTH[rip]
mov r12d, eax
call ioc_readb@PLT
mov rdi, r14
sal eax, 8
mov ebx, eax
or ebx, r12d
mov r12, QWORD PTR RPC_LATCH[rip]
add r12, QWORD PTR ioc_time[rip]
mov eax, ebx
sub r12, rax
call local_irq_restore@PLT
cmp ebp, ebx
jbe .L2
and r13d, 32
je .L1
add r12, QWORD PTR RPC_LATCH[rip]
.L1:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
mov rax, r12
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
jnb .L1
add r12, QWORD PTR RPC_LATCH[rip]
jmp .L1
.cfi_endproc
.LFE0:
.size ioc_timer_read, .-ioc_timer_read
.globl ioc_time
.bss
.align 8
.type ioc_time, @object
.size ioc_time, 8
ioc_time:
.zero 8
.globl RPC_LATCH
.align 8
.type RPC_LATCH, @object
.size RPC_LATCH, 8
RPC_LATCH:
.zero 8
.globl IOC_T0LATCH
.align 4
.type IOC_T0LATCH, @object
.size IOC_T0LATCH, 4
IOC_T0LATCH:
.zero 4
.globl IOC_T0CNTL
.align 4
.type IOC_T0CNTL, @object
.size IOC_T0CNTL, 4
IOC_T0CNTL:
.zero 4
.globl IOC_T0CNTH
.align 4
.type IOC_T0CNTH, @object
.size IOC_T0CNTH, 4
IOC_T0CNTH:
.zero 4
.globl IOC_IRQREQA
.align 4
.type IOC_IRQREQA, @object
.size IOC_IRQREQA, 4
IOC_IRQREQA:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_time.c_ioc_timer_read.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ioc_timer_read, %function
ioc_timer_read:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r9, #0
ldr r5, .L10
ldr r4, .L10+4
mov r0, r9
bl local_irq_save
ldr r1, [r5]
mov r0, r9
bl ioc_writeb
bl barrier
ldr r0, [r4]
bl ioc_readb
ldr r10, .L10+8
mov r8, r0
ldr r0, [r10]
bl ioc_readb
orr r8, r8, r0, lsl #8
bl barrier
ldr r3, .L10+12
ldr r7, .L10+16
ldr r0, [r3]
bl ioc_readb
mov r6, r0
bl barrier
ldr r1, [r5]
mov r0, r9
bl ioc_writeb
bl barrier
ldr r0, [r4]
bl ioc_readb
mov r5, r0
ldr r0, [r10]
bl ioc_readb
ldr r2, .L10+20
ldr r3, [r7]
ldr r4, [r2]
orr r5, r5, r0, lsl #8
mov r0, r9
add r4, r4, r3
bl local_irq_restore
cmp r8, r5
sub r4, r4, r5
bls .L2
tst r6, #32
ldrne r3, [r7]
addne r4, r4, r3
.L1:
mov r0, r4
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
ldrcc r3, [r7]
addcc r4, r4, r3
b .L1
.L11:
.align 2
.L10:
.word IOC_T0LATCH
.word IOC_T0CNTL
.word IOC_T0CNTH
.word IOC_IRQREQA
.word RPC_LATCH
.word ioc_time
.size ioc_timer_read, .-ioc_timer_read
.comm ioc_time,4,4
.comm RPC_LATCH,4,4
.comm IOC_T0LATCH,4,4
.comm IOC_T0CNTL,4,4
.comm IOC_T0CNTH,4,4
.comm IOC_IRQREQA,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_bast-irq.c_bast_irq_pc104_demux.c"
.intel_syntax noprefix
.text
.p2align 4
.type bast_irq_pc104_demux, @function
bast_irq_pc104_demux:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
mov edi, DWORD PTR BAST_VA_PC104_IRQREQ[rip]
call __raw_readb@PLT
and eax, 15
sete dil
mov ebx, eax
movzx edi, dil
call unlikely@PLT
test rax, rax
jne .L2
xor ebp, ebp
test ebx, ebx
jne .L3
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L14:
.cfi_restore_state
mov rax, QWORD PTR bast_pc104_irqs[rip]
mov edi, DWORD PTR [rax+rbp]
call generic_handle_irq@PLT
.L5:
add rbp, 4
shr ebx
je .L1
.L3:
test bl, 1
je .L5
jmp .L14
.p2align 4,,10
.p2align 3
.L2:
mov rax, QWORD PTR irq_desc[rip]
movsx rdx, DWORD PTR BAST_IRQ_ISA[rip]
lea rdi, [rax+rdx*8]
mov rax, QWORD PTR [rdi]
mov rax, QWORD PTR [rax]
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp rax
.cfi_endproc
.LFE0:
.size bast_irq_pc104_demux, .-bast_irq_pc104_demux
.globl irq_desc
.bss
.align 8
.type irq_desc, @object
.size irq_desc, 8
irq_desc:
.zero 8
.globl bast_pc104_irqs
.align 8
.type bast_pc104_irqs, @object
.size bast_pc104_irqs, 8
bast_pc104_irqs:
.zero 8
.globl BAST_VA_PC104_IRQREQ
.align 4
.type BAST_VA_PC104_IRQREQ, @object
.size BAST_VA_PC104_IRQREQ, 4
BAST_VA_PC104_IRQREQ:
.zero 4
.globl BAST_IRQ_ISA
.align 4
.type BAST_IRQ_ISA, @object
.size BAST_IRQ_ISA, 4
BAST_IRQ_ISA:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_bast-irq.c_bast_irq_pc104_demux.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type bast_irq_pc104_demux, %function
bast_irq_pc104_demux:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L13
push {r4, r5, r6, lr}
ldr r0, [r3]
bl __raw_readb
ands r4, r0, #15
moveq r0, #1
movne r0, #0
bl unlikely
subs r5, r0, #0
bne .L2
cmp r4, #0
popeq {r4, r5, r6, pc}
ldr r6, .L13+4
b .L3
.L5:
lsrs r4, r4, #1
add r5, r5, #1
popeq {r4, r5, r6, pc}
.L3:
tst r4, #1
beq .L5
ldr r3, [r6]
ldr r0, [r3, r5, lsl #2]
bl generic_handle_irq
b .L5
.L2:
ldr r2, .L13+8
ldr r3, .L13+12
ldr r0, [r2]
ldr r3, [r3]
pop {r4, r5, r6, lr}
ldr r2, [r3, r0, lsl #2]
add r0, r3, r0, lsl #2
ldr r3, [r2]
bx r3
.L14:
.align 2
.L13:
.word BAST_VA_PC104_IRQREQ
.word bast_pc104_irqs
.word BAST_IRQ_ISA
.word irq_desc
.size bast_irq_pc104_demux, .-bast_irq_pc104_demux
.comm irq_desc,4,4
.comm bast_pc104_irqs,4,4
.comm BAST_VA_PC104_IRQREQ,4,4
.comm BAST_IRQ_ISA,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_bast-irq.c_bast_pc104_mask.c"
.intel_syntax noprefix
.text
.p2align 4
.type bast_pc104_mask, @function
bast_pc104_mask:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, DWORD PTR BAST_VA_PC104_IRQMASK[rip]
call __raw_readb@PLT
mov rcx, QWORD PTR [rbx]
pop rbx
.cfi_def_cfa_offset 8
mov rdx, QWORD PTR bast_pc104_irqmasks[rip]
mov esi, DWORD PTR BAST_VA_PC104_IRQMASK[rip]
mov rdi, QWORD PTR [rdx+rcx*8]
not rdi
and rdi, rax
jmp __raw_writeb@PLT
.cfi_endproc
.LFE0:
.size bast_pc104_mask, .-bast_pc104_mask
.globl bast_pc104_irqmasks
.bss
.align 8
.type bast_pc104_irqmasks, @object
.size bast_pc104_irqmasks, 8
bast_pc104_irqmasks:
.zero 8
.globl BAST_VA_PC104_IRQMASK
.align 4
.type BAST_VA_PC104_IRQMASK, @object
.size BAST_VA_PC104_IRQMASK, 4
BAST_VA_PC104_IRQMASK:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_bast-irq.c_bast_pc104_mask.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type bast_pc104_mask, %function
bast_pc104_mask:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
ldr r5, .L4
ldr r0, [r5]
bl __raw_readb
ldr r3, .L4+4
ldr r2, [r4]
ldr r3, [r3]
ldr r1, [r5]
ldr r3, [r3, r2, lsl #2]
pop {r4, r5, r6, lr}
bic r0, r0, r3
b __raw_writeb
.L5:
.align 2
.L4:
.word BAST_VA_PC104_IRQMASK
.word bast_pc104_irqmasks
.size bast_pc104_mask, .-bast_pc104_mask
.comm bast_pc104_irqmasks,4,4
.comm BAST_VA_PC104_IRQMASK,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_bast-irq.c_bast_pc104_maskack.c"
.intel_syntax noprefix
.text
.p2align 4
.type bast_pc104_maskack, @function
bast_pc104_maskack:
.LFB0:
.cfi_startproc
endbr64
movsx rdx, DWORD PTR BAST_IRQ_ISA[rip]
mov rax, QWORD PTR irq_desc[rip]
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
lea rbp, [rax+rdx*8]
call bast_pc104_mask@PLT
mov rax, QWORD PTR 0[rbp]
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
mov rax, QWORD PTR [rax]
jmp rax
.cfi_endproc
.LFE0:
.size bast_pc104_maskack, .-bast_pc104_maskack
.globl irq_desc
.bss
.align 8
.type irq_desc, @object
.size irq_desc, 8
irq_desc:
.zero 8
.globl BAST_IRQ_ISA
.align 4
.type BAST_IRQ_ISA, @object
.size BAST_IRQ_ISA, 4
BAST_IRQ_ISA:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_bast-irq.c_bast_pc104_maskack.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type bast_pc104_maskack, %function
bast_pc104_maskack:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
ldr r2, .L4+4
push {r4, r5, r6, lr}
ldr r4, [r2]
ldr r5, [r3]
bl bast_pc104_mask
ldr r3, [r4, r5, lsl #2]
add r0, r4, r5, lsl #2
ldr r3, [r3]
pop {r4, r5, r6, lr}
bx r3
.L5:
.align 2
.L4:
.word BAST_IRQ_ISA
.word irq_desc
.size bast_pc104_maskack, .-bast_pc104_maskack
.comm irq_desc,4,4
.comm BAST_IRQ_ISA,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_bast-irq.c_bast_pc104_unmask.c"
.intel_syntax noprefix
.text
.p2align 4
.type bast_pc104_unmask, @function
bast_pc104_unmask:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, DWORD PTR BAST_VA_PC104_IRQMASK[rip]
call __raw_readb@PLT
mov rcx, QWORD PTR [rbx]
pop rbx
.cfi_def_cfa_offset 8
mov rdx, QWORD PTR bast_pc104_irqmasks[rip]
mov esi, DWORD PTR BAST_VA_PC104_IRQMASK[rip]
or rax, QWORD PTR [rdx+rcx*8]
mov rdi, rax
jmp __raw_writeb@PLT
.cfi_endproc
.LFE0:
.size bast_pc104_unmask, .-bast_pc104_unmask
.globl bast_pc104_irqmasks
.bss
.align 8
.type bast_pc104_irqmasks, @object
.size bast_pc104_irqmasks, 8
bast_pc104_irqmasks:
.zero 8
.globl BAST_VA_PC104_IRQMASK
.align 4
.type BAST_VA_PC104_IRQMASK, @object
.size BAST_VA_PC104_IRQMASK, 4
BAST_VA_PC104_IRQMASK:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_bast-irq.c_bast_pc104_unmask.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type bast_pc104_unmask, %function
bast_pc104_unmask:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
ldr r5, .L4
ldr r0, [r5]
bl __raw_readb
ldr r3, .L4+4
ldr r2, [r4]
ldr r3, [r3]
ldr r1, [r5]
ldr r3, [r3, r2, lsl #2]
pop {r4, r5, r6, lr}
orr r0, r0, r3
b __raw_writeb
.L5:
.align 2
.L4:
.word BAST_VA_PC104_IRQMASK
.word bast_pc104_irqmasks
.size bast_pc104_unmask, .-bast_pc104_unmask
.comm bast_pc104_irqmasks,4,4
.comm BAST_VA_PC104_IRQMASK,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_common.c_s3c24xx_default_idle.c"
.intel_syntax noprefix
.text
.p2align 4
.type s3c24xx_default_idle, @function
s3c24xx_default_idle:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov ebx, 50
sub rsp, 8
.cfi_def_cfa_offset 32
mov ebp, DWORD PTR S3C2410_CLKCON[rip]
mov edi, ebp
call __raw_readl@PLT
or rax, QWORD PTR S3C2410_CLKCON_IDLE[rip]
mov esi, ebp
mov rdi, rax
call __raw_writel@PLT
.p2align 4,,10
.p2align 3
.L2:
mov edi, DWORD PTR S3C2410_CLKCON[rip]
call __raw_readl@PLT
sub ebx, 1
jne .L2
mov ebp, DWORD PTR S3C2410_CLKCON[rip]
mov edi, ebp
call __raw_readl@PLT
mov rdi, QWORD PTR S3C2410_CLKCON_IDLE[rip]
add rsp, 8
.cfi_def_cfa_offset 24
mov esi, ebp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
not rdi
and rdi, rax
jmp __raw_writel@PLT
.cfi_endproc
.LFE0:
.size s3c24xx_default_idle, .-s3c24xx_default_idle
.globl S3C2410_CLKCON_IDLE
.bss
.align 8
.type S3C2410_CLKCON_IDLE, @object
.size S3C2410_CLKCON_IDLE, 8
S3C2410_CLKCON_IDLE:
.zero 8
.globl S3C2410_CLKCON
.align 4
.type S3C2410_CLKCON, @object
.size S3C2410_CLKCON, 4
S3C2410_CLKCON:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_common.c_s3c24xx_default_idle.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type s3c24xx_default_idle, %function
s3c24xx_default_idle:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, .L6
ldr r6, .L6+4
ldr r0, [r5]
bl __raw_readl
ldr r3, [r6]
ldr r1, [r5]
orr r0, r0, r3
bl __raw_writel
mov r4, #50
.L2:
ldr r0, [r5]
bl __raw_readl
subs r4, r4, #1
bne .L2
ldr r0, [r5]
bl __raw_readl
ldr r3, [r6]
ldr r1, [r5]
bic r0, r0, r3
pop {r4, r5, r6, lr}
b __raw_writel
.L7:
.align 2
.L6:
.word S3C2410_CLKCON
.word S3C2410_CLKCON_IDLE
.size s3c24xx_default_idle, .-s3c24xx_default_idle
.comm S3C2410_CLKCON_IDLE,4,4
.comm S3C2410_CLKCON,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_common.c_s3c24xx_read_idcode_v4.c"
.intel_syntax noprefix
.text
.p2align 4
.type s3c24xx_read_idcode_v4, @function
s3c24xx_read_idcode_v4:
.LFB0:
.cfi_startproc
endbr64
mov edi, DWORD PTR S3C2410_GSTATUS1[rip]
jmp __raw_readl@PLT
.cfi_endproc
.LFE0:
.size s3c24xx_read_idcode_v4, .-s3c24xx_read_idcode_v4
.globl S3C2410_GSTATUS1
.bss
.align 4
.type S3C2410_GSTATUS1, @object
.size S3C2410_GSTATUS1, 4
S3C2410_GSTATUS1:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_common.c_s3c24xx_read_idcode_v4.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type s3c24xx_read_idcode_v4, %function
s3c24xx_read_idcode_v4:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
b __raw_readl
.L4:
.align 2
.L3:
.word S3C2410_GSTATUS1
.size s3c24xx_read_idcode_v4, .-s3c24xx_read_idcode_v4
.comm S3C2410_GSTATUS1,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_common.c_s3c24xx_read_idcode_v5.c"
.intel_syntax noprefix
.text
.p2align 4
.type s3c24xx_read_idcode_v5, @function
s3c24xx_read_idcode_v5:
.LFB0:
.cfi_startproc
endbr64
mov eax, 1
ret
.cfi_endproc
.LFE0:
.size s3c24xx_read_idcode_v5, .-s3c24xx_read_idcode_v5
.globl S3C24XX_GSTATUS1
.bss
.align 4
.type S3C24XX_GSTATUS1, @object
.size S3C24XX_GSTATUS1, 4
S3C24XX_GSTATUS1:
.zero 4
.globl S3C2412_GSTATUS1
.align 4
.type S3C2412_GSTATUS1, @object
.size S3C2412_GSTATUS1, 4
S3C2412_GSTATUS1:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_common.c_s3c24xx_read_idcode_v5.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type s3c24xx_read_idcode_v5, %function
s3c24xx_read_idcode_v5:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r0, #1
bx lr
.size s3c24xx_read_idcode_v5, .-s3c24xx_read_idcode_v5
.comm S3C24XX_GSTATUS1,4,4
.comm S3C2412_GSTATUS1,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpufreq-utils.c_s3c2410_set_fvco.c"
.intel_syntax noprefix
.text
.p2align 4
.globl s3c2410_set_fvco
.type s3c2410_set_fvco, @function
s3c2410_set_fvco:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, DWORD PTR 4[rdi]
call IS_ERR@PLT
test eax, eax
je .L5
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov edi, DWORD PTR 4[rbx]
mov esi, DWORD PTR [rbx]
pop rbx
.cfi_def_cfa_offset 8
jmp clk_set_rate@PLT
.cfi_endproc
.LFE0:
.size s3c2410_set_fvco, .-s3c2410_set_fvco
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_cpufreq-utils.c_s3c2410_set_fvco.c"
.text
.align 2
.global s3c2410_set_fvco
.syntax unified
.arm
.fpu softvfp
.type s3c2410_set_fvco, %function
s3c2410_set_fvco:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0, #4]
bl IS_ERR
cmp r0, #0
popne {r4, pc}
ldr r1, [r4]
ldr r0, [r4, #4]
pop {r4, lr}
b clk_set_rate
.size s3c2410_set_fvco, .-s3c2410_set_fvco
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_fb-core.h_s3c_fb_setname.c"
.intel_syntax noprefix
.text
.p2align 4
.type s3c_fb_setname, @function
s3c_fb_setname:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size s3c_fb_setname, .-s3c_fb_setname
.globl s3c_device_fb
.bss
.align 8
.type s3c_device_fb, @object
.size s3c_device_fb, 8
s3c_device_fb:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_fb-core.h_s3c_fb_setname.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type s3c_fb_setname, %function
s3c_fb_setname:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size s3c_fb_setname, .-s3c_fb_setname
.comm s3c_device_fb,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_h1940-bluetooth.c_h1940bt_enable.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940bt_enable, @function
h1940bt_enable:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
test edi, edi
je .L2
mov edi, DWORD PTR H1940_LATCH_BLUETOOTH_POWER[rip]
mov esi, 1
call gpio_set_value@PLT
mov edi, 10
call mdelay@PLT
mov edi, 1
call S3C2410_GPH@PLT
mov esi, 1
mov edi, eax
call gpio_set_value@PLT
mov edi, 10
call mdelay@PLT
mov edi, 1
call S3C2410_GPH@PLT
xor esi, esi
mov edi, eax
call gpio_set_value@PLT
mov esi, DWORD PTR GPIO_LED_BLINK[rip]
xor ecx, ecx
xor edx, edx
xor edi, edi
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp h1940_led_blink_set@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov edi, 1
call S3C2410_GPH@PLT
mov esi, 1
mov edi, eax
call gpio_set_value@PLT
mov edi, 10
call mdelay@PLT
mov edi, 1
call S3C2410_GPH@PLT
xor esi, esi
mov edi, eax
call gpio_set_value@PLT
mov edi, 10
call mdelay@PLT
mov edi, DWORD PTR H1940_LATCH_BLUETOOTH_POWER[rip]
xor esi, esi
call gpio_set_value@PLT
mov esi, DWORD PTR GPIO_LED_NO_BLINK_LOW[rip]
xor ecx, ecx
xor edx, edx
xor edi, edi
add rsp, 8
.cfi_def_cfa_offset 8
jmp h1940_led_blink_set@PLT
.cfi_endproc
.LFE0:
.size h1940bt_enable, .-h1940bt_enable
.globl H1940_LATCH_BLUETOOTH_POWER
.bss
.align 4
.type H1940_LATCH_BLUETOOTH_POWER, @object
.size H1940_LATCH_BLUETOOTH_POWER, 4
H1940_LATCH_BLUETOOTH_POWER:
.zero 4
.globl GPIO_LED_NO_BLINK_LOW
.align 4
.type GPIO_LED_NO_BLINK_LOW, @object
.size GPIO_LED_NO_BLINK_LOW, 4
GPIO_LED_NO_BLINK_LOW:
.zero 4
.globl GPIO_LED_BLINK
.align 4
.type GPIO_LED_BLINK, @object
.size GPIO_LED_BLINK, 4
GPIO_LED_BLINK:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_h1940-bluetooth.c_h1940bt_enable.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940bt_enable, %function
h1940bt_enable:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r0, #0
beq .L2
ldr r3, .L5
mov r1, #1
ldr r0, [r3]
bl gpio_set_value
mov r0, #10
bl mdelay
mov r0, #1
bl S3C2410_GPH
mov r1, #1
bl gpio_set_value
mov r0, #10
bl mdelay
mov r0, #1
bl S3C2410_GPH
mov r1, #0
bl gpio_set_value
pop {r4, lr}
mov r3, #0
ldr r1, .L5+4
mov r2, r3
mov r0, r3
ldr r1, [r1]
b h1940_led_blink_set
.L2:
mov r0, #1
bl S3C2410_GPH
mov r1, #1
bl gpio_set_value
mov r0, #10
bl mdelay
mov r0, #1
bl S3C2410_GPH
mov r1, r4
bl gpio_set_value
mov r0, #10
bl mdelay
ldr r3, .L5
mov r1, r4
ldr r0, [r3]
bl gpio_set_value
ldr r2, .L5+8
mov r3, r4
mov r0, r4
ldr r1, [r2]
mov r2, r4
pop {r4, lr}
b h1940_led_blink_set
.L6:
.align 2
.L5:
.word H1940_LATCH_BLUETOOTH_POWER
.word GPIO_LED_BLINK
.word GPIO_LED_NO_BLINK_LOW
.size h1940bt_enable, .-h1940bt_enable
.comm H1940_LATCH_BLUETOOTH_POWER,4,4
.comm GPIO_LED_NO_BLINK_LOW,4,4
.comm GPIO_LED_BLINK,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_h1940-bluetooth.c_h1940bt_probe.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "could not get GPH1\n"
.LC1:
.string "could not get BT_POWER\n"
.text
.p2align 4
.type h1940bt_probe, @function
h1940bt_probe:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
call dev_name@PLT
mov edi, 1
mov r12d, eax
call S3C2410_GPH@PLT
mov esi, r12d
mov edi, eax
call gpio_request@PLT
test eax, eax
jne .L9
mov rdi, rbp
call dev_name@PLT
mov edi, DWORD PTR H1940_LATCH_BLUETOOTH_POWER[rip]
mov esi, eax
call gpio_request@PLT
mov r12d, eax
test eax, eax
jne .L10
mov r12d, DWORD PTR S3C2410_GPH0_nCTS0[rip]
xor edi, edi
call S3C2410_GPH@PLT
mov edi, eax
mov esi, r12d
call s3c_gpio_cfgpin@PLT
mov r12d, DWORD PTR S3C_GPIO_PULL_NONE[rip]
xor edi, edi
call S3C2410_GPH@PLT
mov edi, eax
mov esi, r12d
call s3c_gpio_setpull@PLT
mov r12d, DWORD PTR S3C2410_GPIO_OUTPUT[rip]
mov edi, 1
call S3C2410_GPH@PLT
mov edi, eax
mov esi, r12d
call s3c_gpio_cfgpin@PLT
mov r12d, DWORD PTR S3C_GPIO_PULL_NONE[rip]
mov edi, 1
call S3C2410_GPH@PLT
mov edi, eax
mov esi, r12d
call s3c_gpio_setpull@PLT
mov r12d, DWORD PTR S3C2410_GPH2_TXD0[rip]
mov edi, 2
call S3C2410_GPH@PLT
mov edi, eax
mov esi, r12d
call s3c_gpio_cfgpin@PLT
mov r12d, DWORD PTR S3C_GPIO_PULL_NONE[rip]
mov edi, 2
call S3C2410_GPH@PLT
mov edi, eax
mov esi, r12d
call s3c_gpio_setpull@PLT
mov r12d, DWORD PTR S3C2410_GPH3_RXD0[rip]
mov edi, 3
call S3C2410_GPH@PLT
mov edi, eax
mov esi, r12d
call s3c_gpio_cfgpin@PLT
mov r12d, DWORD PTR S3C_GPIO_PULL_NONE[rip]
mov edi, 3
call S3C2410_GPH@PLT
mov edi, eax
mov esi, r12d
call s3c_gpio_setpull@PLT
mov edx, DWORD PTR RFKILL_TYPE_BLUETOOTH[rip]
xor r8d, r8d
mov edi, DWORD PTR DRV_NAME[rip]
lea rcx, h1940bt_rfkill_ops[rip]
mov rsi, rbp
call rfkill_alloc@PLT
mov r12d, DWORD PTR ENOMEM[rip]
mov r13, rax
neg r12d
test rax, rax
je .L1
mov rdi, rax
call rfkill_register@PLT
mov r12d, eax
test eax, eax
jne .L11
mov rsi, r13
mov rdi, rbp
call platform_set_drvdata@PLT
mov eax, r12d
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
mov edi, 1
call S3C2410_GPH@PLT
mov edi, eax
call gpio_free@PLT
lea rsi, .LC1[rip]
mov rdi, rbp
call dev_err@PLT
.L1:
mov eax, r12d
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
mov r12d, eax
mov rdi, rbp
lea rsi, .LC0[rip]
call dev_err@PLT
mov eax, r12d
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
mov rdi, r13
call rfkill_destroy@PLT
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size h1940bt_probe, .-h1940bt_probe
.globl h1940bt_rfkill_ops
.bss
.align 4
.type h1940bt_rfkill_ops, @object
.size h1940bt_rfkill_ops, 4
h1940bt_rfkill_ops:
.zero 4
.globl S3C_GPIO_PULL_NONE
.align 4
.type S3C_GPIO_PULL_NONE, @object
.size S3C_GPIO_PULL_NONE, 4
S3C_GPIO_PULL_NONE:
.zero 4
.globl S3C2410_GPIO_OUTPUT
.align 4
.type S3C2410_GPIO_OUTPUT, @object
.size S3C2410_GPIO_OUTPUT, 4
S3C2410_GPIO_OUTPUT:
.zero 4
.globl S3C2410_GPH3_RXD0
.align 4
.type S3C2410_GPH3_RXD0, @object
.size S3C2410_GPH3_RXD0, 4
S3C2410_GPH3_RXD0:
.zero 4
.globl S3C2410_GPH2_TXD0
.align 4
.type S3C2410_GPH2_TXD0, @object
.size S3C2410_GPH2_TXD0, 4
S3C2410_GPH2_TXD0:
.zero 4
.globl S3C2410_GPH0_nCTS0
.align 4
.type S3C2410_GPH0_nCTS0, @object
.size S3C2410_GPH0_nCTS0, 4
S3C2410_GPH0_nCTS0:
.zero 4
.globl RFKILL_TYPE_BLUETOOTH
.align 4
.type RFKILL_TYPE_BLUETOOTH, @object
.size RFKILL_TYPE_BLUETOOTH, 4
RFKILL_TYPE_BLUETOOTH:
.zero 4
.globl H1940_LATCH_BLUETOOTH_POWER
.align 4
.type H1940_LATCH_BLUETOOTH_POWER, @object
.size H1940_LATCH_BLUETOOTH_POWER, 4
H1940_LATCH_BLUETOOTH_POWER:
.zero 4
.globl ENOMEM
.align 4
.type ENOMEM, @object
.size ENOMEM, 4
ENOMEM:
.zero 4
.globl DRV_NAME
.align 4
.type DRV_NAME, @object
.size DRV_NAME, 4
DRV_NAME:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_h1940-bluetooth.c_h1940bt_probe.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "could not get GPH1\012\000"
.align 2
.LC1:
.ascii "could not get BT_POWER\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940bt_probe, %function
h1940bt_probe:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
sub sp, sp, #8
mov r0, #1
bl S3C2410_GPH
mov r4, r0
mov r0, r5
bl dev_name
mov r1, r0
mov r0, r4
bl gpio_request
subs r4, r0, #0
bne .L9
ldr r3, .L13
mov r0, r5
ldr r4, [r3]
bl dev_name
mov r1, r0
mov r0, r4
bl gpio_request
subs r4, r0, #0
bne .L10
bl S3C2410_GPH
ldr r3, .L13+4
ldr r6, .L13+8
ldr r1, [r3]
bl s3c_gpio_cfgpin
mov r0, r4
bl S3C2410_GPH
ldr r1, [r6]
bl s3c_gpio_setpull
mov r0, #1
bl S3C2410_GPH
ldr r3, .L13+12
ldr r1, [r3]
bl s3c_gpio_cfgpin
mov r0, #1
bl S3C2410_GPH
ldr r1, [r6]
bl s3c_gpio_setpull
mov r0, #2
bl S3C2410_GPH
ldr r3, .L13+16
ldr r1, [r3]
bl s3c_gpio_cfgpin
mov r0, #2
bl S3C2410_GPH
ldr r1, [r6]
bl s3c_gpio_setpull
mov r0, #3
bl S3C2410_GPH
ldr r3, .L13+20
ldr r1, [r3]
bl s3c_gpio_cfgpin
mov r0, #3
bl S3C2410_GPH
ldr r1, [r6]
bl s3c_gpio_setpull
ldr r3, .L13+24
ldr r2, .L13+28
str r4, [sp]
ldr r0, [r3]
mov r1, r5
ldr r2, [r2]
ldr r3, .L13+32
bl rfkill_alloc
subs r6, r0, #0
beq .L11
bl rfkill_register
subs r4, r0, #0
bne .L12
mov r1, r6
mov r0, r5
bl platform_set_drvdata
mov r0, r4
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L10:
mov r0, #1
bl S3C2410_GPH
bl gpio_free
mov r0, r5
ldr r1, .L13+36
bl dev_err
mov r0, r4
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L9:
mov r0, r5
ldr r1, .L13+40
bl dev_err
mov r0, r4
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L12:
mov r0, r6
bl rfkill_destroy
mov r0, r4
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L11:
ldr r3, .L13+44
ldr r4, [r3]
rsb r4, r4, #0
mov r0, r4
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L14:
.align 2
.L13:
.word H1940_LATCH_BLUETOOTH_POWER
.word S3C2410_GPH0_nCTS0
.word S3C_GPIO_PULL_NONE
.word S3C2410_GPIO_OUTPUT
.word S3C2410_GPH2_TXD0
.word S3C2410_GPH3_RXD0
.word DRV_NAME
.word RFKILL_TYPE_BLUETOOTH
.word h1940bt_rfkill_ops
.word .LC1
.word .LC0
.word ENOMEM
.size h1940bt_probe, .-h1940bt_probe
.comm h1940bt_rfkill_ops,4,4
.comm S3C_GPIO_PULL_NONE,4,4
.comm S3C2410_GPIO_OUTPUT,4,4
.comm S3C2410_GPH3_RXD0,4,4
.comm S3C2410_GPH2_TXD0,4,4
.comm S3C2410_GPH0_nCTS0,4,4
.comm RFKILL_TYPE_BLUETOOTH,4,4
.comm H1940_LATCH_BLUETOOTH_POWER,4,4
.comm ENOMEM,4,4
.comm DRV_NAME,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_h1940-bluetooth.c_h1940bt_remove.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940bt_remove, @function
h1940bt_remove:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call platform_get_drvdata@PLT
xor esi, esi
mov rdi, r12
mov rbp, rax
call platform_set_drvdata@PLT
mov edi, 1
call S3C2410_GPH@PLT
mov edi, eax
call gpio_free@PLT
test rbp, rbp
je .L2
mov rdi, rbp
call rfkill_unregister@PLT
mov rdi, rbp
call rfkill_destroy@PLT
.L2:
xor edi, edi
call h1940bt_enable@PLT
add rsp, 8
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size h1940bt_remove, .-h1940bt_remove
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_h1940-bluetooth.c_h1940bt_remove.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940bt_remove, %function
h1940bt_remove:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
bl platform_get_drvdata
mov r4, r0
mov r1, #0
mov r0, r5
bl platform_set_drvdata
mov r0, #1
bl S3C2410_GPH
bl gpio_free
cmp r4, #0
beq .L2
mov r0, r4
bl rfkill_unregister
mov r0, r4
bl rfkill_destroy
.L2:
mov r0, #0
bl h1940bt_enable
mov r0, #0
pop {r4, r5, r6, pc}
.size h1940bt_remove, .-h1940bt_remove
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_h1940-bluetooth.c_h1940bt_set_block.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940bt_set_block, @function
h1940bt_set_block:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor edi, edi
test esi, esi
sete dil
call h1940bt_enable@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size h1940bt_set_block, .-h1940bt_set_block
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_h1940-bluetooth.c_h1940bt_set_block.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940bt_set_block, %function
h1940bt_set_block:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
clz r0, r1
push {r4, lr}
lsr r0, r0, #5
bl h1940bt_enable
mov r0, #0
pop {r4, pc}
.size h1940bt_set_block, .-h1940bt_set_block
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_iotiming-s3c2410.c_get_0124.c"
.intel_syntax noprefix
.text
.p2align 4
.type get_0124, @function
get_0124:
.LFB0:
.cfi_startproc
endbr64
mov rax, rsi
mov edx, 4
and eax, 3
cmp rax, 3
cmove rax, rdx
imul eax, edi
ret
.cfi_endproc
.LFE0:
.size get_0124, .-get_0124
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_iotiming-s3c2410.c_get_0124.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type get_0124, %function
get_0124:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
and r1, r1, #3
cmp r1, #3
moveq r1, #4
mul r0, r1, r0
bx lr
.size get_0124, .-get_0124
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_iotiming-s3c2410.c_get_tacc.c"
.intel_syntax noprefix
.text
.p2align 4
.type get_tacc, @function
get_tacc:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR tacc_tab[rip]
and esi, 7
mov edx, DWORD PTR [rax+rsi*8]
imul edx, edi
mov eax, edx
ret
.cfi_endproc
.LFE0:
.size get_tacc, .-get_tacc
.globl tacc_tab
.bss
.align 8
.type tacc_tab, @object
.size tacc_tab, 8
tacc_tab:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_iotiming-s3c2410.c_get_tacc.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type get_tacc, %function
get_tacc:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
and r1, r1, #7
ldr r3, [r3]
ldr r3, [r3, r1, lsl #2]
mul r0, r3, r0
bx lr
.L4:
.align 2
.L3:
.word tacc_tab
.size get_tacc, .-get_tacc
.comm tacc_tab,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_iotiming-s3c2410.c_s3c2410_iotiming_getbank.c"
.intel_syntax noprefix
.text
.p2align 4
.globl s3c2410_iotiming_getbank
.type s3c2410_iotiming_getbank, @function
s3c2410_iotiming_getbank:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov rcx, QWORD PTR S3C2410_BANKCON_Tcah_SHIFT[rip]
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbp, QWORD PTR [rsi]
mov rbx, rsi
mov r12, QWORD PTR [rdi]
mov rsi, rbp
shr rsi, cl
mov rdi, r12
call get_0124@PLT
mov rcx, QWORD PTR S3C2410_BANKCON_Tcoh_SHIFT[rip]
mov rsi, rbp
mov rdi, r12
mov QWORD PTR 40[rbx], rax
shr rsi, cl
call get_0124@PLT
mov rcx, QWORD PTR S3C2410_BANKCON_Tcos_SHIFT[rip]
mov rsi, rbp
mov rdi, r12
mov QWORD PTR 32[rbx], rax
shr rsi, cl
call get_0124@PLT
mov rcx, QWORD PTR S3C2410_BANKCON_Tacs_SHIFT[rip]
mov rsi, rbp
mov rdi, r12
mov QWORD PTR 24[rbx], rax
shr rsi, cl
call get_0124@PLT
mov rcx, QWORD PTR S3C2410_BANKCON_Tacc_SHIFT[rip]
mov rsi, rbp
mov rdi, r12
mov QWORD PTR 16[rbx], rax
shr rsi, cl
call get_tacc@PLT
mov DWORD PTR 8[rbx], eax
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size s3c2410_iotiming_getbank, .-s3c2410_iotiming_getbank
.globl S3C2410_BANKCON_Tcos_SHIFT
.bss
.align 8
.type S3C2410_BANKCON_Tcos_SHIFT, @object
.size S3C2410_BANKCON_Tcos_SHIFT, 8
S3C2410_BANKCON_Tcos_SHIFT:
.zero 8
.globl S3C2410_BANKCON_Tcoh_SHIFT
.align 8
.type S3C2410_BANKCON_Tcoh_SHIFT, @object
.size S3C2410_BANKCON_Tcoh_SHIFT, 8
S3C2410_BANKCON_Tcoh_SHIFT:
.zero 8
.globl S3C2410_BANKCON_Tcah_SHIFT
.align 8
.type S3C2410_BANKCON_Tcah_SHIFT, @object
.size S3C2410_BANKCON_Tcah_SHIFT, 8
S3C2410_BANKCON_Tcah_SHIFT:
.zero 8
.globl S3C2410_BANKCON_Tacs_SHIFT
.align 8
.type S3C2410_BANKCON_Tacs_SHIFT, @object
.size S3C2410_BANKCON_Tacs_SHIFT, 8
S3C2410_BANKCON_Tacs_SHIFT:
.zero 8
.globl S3C2410_BANKCON_Tacc_SHIFT
.align 8
.type S3C2410_BANKCON_Tacc_SHIFT, @object
.size S3C2410_BANKCON_Tacc_SHIFT, 8
S3C2410_BANKCON_Tacc_SHIFT:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_iotiming-s3c2410.c_s3c2410_iotiming_getbank.c"
.text
.align 2
.global s3c2410_iotiming_getbank
.syntax unified
.arm
.fpu softvfp
.type s3c2410_iotiming_getbank, %function
s3c2410_iotiming_getbank:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, r5, r6, lr}
ldr r5, [r1]
mov r4, r1
ldr r6, [r0]
ldr r1, [r3]
mov r0, r6
lsr r1, r5, r1
bl get_0124
ldr r3, .L4+4
str r0, [r4, #20]
ldr r1, [r3]
mov r0, r6
lsr r1, r5, r1
bl get_0124
ldr r3, .L4+8
str r0, [r4, #16]
ldr r1, [r3]
mov r0, r6
lsr r1, r5, r1
bl get_0124
ldr r3, .L4+12
str r0, [r4, #12]
ldr r1, [r3]
mov r0, r6
lsr r1, r5, r1
bl get_0124
ldr r3, .L4+16
str r0, [r4, #8]
ldr r1, [r3]
mov r0, r6
lsr r1, r5, r1
bl get_tacc
str r0, [r4, #4]
pop {r4, r5, r6, pc}
.L5:
.align 2
.L4:
.word S3C2410_BANKCON_Tcah_SHIFT
.word S3C2410_BANKCON_Tcoh_SHIFT
.word S3C2410_BANKCON_Tcos_SHIFT
.word S3C2410_BANKCON_Tacs_SHIFT
.word S3C2410_BANKCON_Tacc_SHIFT
.size s3c2410_iotiming_getbank, .-s3c2410_iotiming_getbank
.comm S3C2410_BANKCON_Tcos_SHIFT,4,4
.comm S3C2410_BANKCON_Tcoh_SHIFT,4,4
.comm S3C2410_BANKCON_Tcah_SHIFT,4,4
.comm S3C2410_BANKCON_Tacs_SHIFT,4,4
.comm S3C2410_BANKCON_Tacc_SHIFT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_iotiming-s3c2410.c_s3c2410_iotiming_set.c"
.intel_syntax noprefix
.text
.p2align 4
.globl s3c2410_iotiming_set
.type s3c2410_iotiming_set, @function
s3c2410_iotiming_set:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR MAX_BANKS[rip]
test eax, eax
jle .L10
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
xor ebx, ebx
.p2align 4,,10
.p2align 3
.L4:
mov rax, QWORD PTR [r12]
mov rbp, QWORD PTR [rax+rbx*8]
test rbp, rbp
je .L3
mov edi, ebx
call bank_reg@PLT
mov edi, DWORD PTR 0[rbp]
mov esi, eax
call __raw_writel@PLT
.L3:
add rbx, 1
cmp DWORD PTR MAX_BANKS[rip], ebx
jg .L4
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
ret
.cfi_endproc
.LFE0:
.size s3c2410_iotiming_set, .-s3c2410_iotiming_set
.globl MAX_BANKS
.bss
.align 4
.type MAX_BANKS, @object
.size MAX_BANKS, 4
MAX_BANKS:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_iotiming-s3c2410.c_s3c2410_iotiming_set.c"
.text
.align 2
.global s3c2410_iotiming_set
.syntax unified
.arm
.fpu softvfp
.type s3c2410_iotiming_set, %function
s3c2410_iotiming_set:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r7, .L11
ldr r3, [r7]
cmp r3, #0
pople {r4, r5, r6, r7, r8, pc}
mov r6, r1
mov r4, #0
.L4:
ldr r3, [r6]
ldr r3, [r3, r4, lsl #2]
cmp r3, #0
beq .L3
mov r0, r4
ldr r5, [r3]
bl bank_reg
mov r1, r0
mov r0, r5
bl __raw_writel
.L3:
ldr r3, [r7]
add r4, r4, #1
cmp r3, r4
bgt .L4
pop {r4, r5, r6, r7, r8, pc}
.L12:
.align 2
.L11:
.word MAX_BANKS
.size s3c2410_iotiming_set, .-s3c2410_iotiming_set
.comm MAX_BANKS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_iotiming-s3c2412.c_bank_is_io.c"
.intel_syntax noprefix
.text
.p2align 4
.type bank_is_io, @function
bank_is_io:
.LFB0:
.cfi_startproc
endbr64
mov eax, 1
cmp edi, 1
jbe .L1
mov ecx, edi
sar esi, cl
not esi
mov eax, esi
and eax, 1
.L1:
ret
.cfi_endproc
.LFE0:
.size bank_is_io, .-bank_is_io
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_iotiming-s3c2412.c_bank_is_io.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type bank_is_io, %function
bank_is_io:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #1
mvnhi r1, r1, asr r0
andhi r0, r1, #1
movls r0, #1
bx lr
.size bank_is_io, .-bank_is_io
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_iotiming-s3c2412.c_calc_timing.c"
.intel_syntax noprefix
.text
.p2align 4
.type calc_timing, @function
calc_timing:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdx
call to_div@PLT
cmp eax, 15
jbe .L1
mov edx, DWORD PTR EINVAL[rip]
neg edx
mov DWORD PTR [rbx], edx
.L1:
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size calc_timing, .-calc_timing
.globl EINVAL
.bss
.align 4
.type EINVAL, @object
.size EINVAL, 4
EINVAL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_iotiming-s3c2412.c_calc_timing.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type calc_timing, %function
calc_timing:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r2
bl to_div
cmp r0, #15
ldrhi r3, .L5
ldrhi r3, [r3]
rsbhi r3, r3, #0
strhi r3, [r4]
pop {r4, pc}
.L6:
.align 2
.L5:
.word EINVAL
.size calc_timing, .-calc_timing
.comm EINVAL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_iotiming-s3c2412.c_s3c2412_calc_bank.c"
.intel_syntax noprefix
.text
.p2align 4
.type s3c2412_calc_bank, @function
s3c2412_calc_bank:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rsi
sub rsp, 16
.cfi_def_cfa_offset 48
mov ebp, DWORD PTR [rdi]
mov edi, DWORD PTR 80[rsi]
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
lea r12, 4[rsp]
mov DWORD PTR 4[rsp], 0
mov rdx, r12
mov esi, ebp
call calc_timing@PLT
mov edi, DWORD PTR 64[rbx]
mov rdx, r12
mov esi, ebp
mov QWORD PTR 88[rbx], rax
call calc_timing@PLT
mov edi, DWORD PTR 48[rbx]
mov rdx, r12
mov esi, ebp
mov QWORD PTR 72[rbx], rax
call calc_timing@PLT
mov edi, DWORD PTR 32[rbx]
mov rdx, r12
mov esi, ebp
mov QWORD PTR 56[rbx], rax
call calc_timing@PLT
mov edi, DWORD PTR 16[rbx]
mov rdx, r12
mov esi, ebp
mov QWORD PTR 40[rbx], rax
call calc_timing@PLT
mov edi, DWORD PTR [rbx]
mov rdx, r12
mov esi, ebp
mov QWORD PTR 24[rbx], rax
call calc_timing@PLT
mov QWORD PTR 8[rbx], rax
mov eax, DWORD PTR 4[rsp]
mov rcx, QWORD PTR 8[rsp]
sub rcx, QWORD PTR fs:40
jne .L5
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size s3c2412_calc_bank, .-s3c2412_calc_bank
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_iotiming-s3c2412.c_s3c2412_calc_bank.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type s3c2412_calc_bank, %function
s3c2412_calc_bank:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
mov r4, r1
mov r3, #0
ldr r5, [r0]
sub sp, sp, #12
ldr ip, .L6
mov r1, r5
mov r2, sp
ldr r0, [r4, #40]
ldr ip, [ip]
str ip, [sp, #4]
mov ip,#0
str r3, [sp]
bl calc_timing
mov r1, r5
mov r2, sp
str r0, [r4, #44]
ldr r0, [r4, #32]
bl calc_timing
mov r1, r5
mov r2, sp
str r0, [r4, #36]
ldr r0, [r4, #24]
bl calc_timing
mov r1, r5
mov r2, sp
str r0, [r4, #28]
ldr r0, [r4, #16]
bl calc_timing
mov r1, r5
mov r2, sp
str r0, [r4, #20]
ldr r0, [r4, #8]
bl calc_timing
mov r1, r5
mov r2, sp
str r0, [r4, #12]
ldr r0, [r4]
bl calc_timing
ldr r2, .L6
str r0, [r4, #4]
ldr r1, [r2]
ldr r2, [sp, #4]
eors r1, r2, r1
mov r2, #0
ldr r3, [sp]
bne .L5
mov r0, r3
add sp, sp, #12
@ sp needed
pop {r4, r5, pc}
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word .LC0
.size s3c2412_calc_bank, .-s3c2412_calc_bank
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_iotiming-s3c2412.c_s3c2412_decode_timing.c"
.intel_syntax noprefix
.text
.p2align 4
.type s3c2412_decode_timing, @function
s3c2412_decode_timing:
.LFB0:
.cfi_startproc
endbr64
mov eax, esi
and eax, 15
imul eax, edi
ret
.cfi_endproc
.LFE0:
.size s3c2412_decode_timing, .-s3c2412_decode_timing
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_iotiming-s3c2412.c_s3c2412_decode_timing.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type s3c2412_decode_timing, %function
s3c2412_decode_timing:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
and r1, r1, #15
mul r0, r1, r0
bx lr
.size s3c2412_decode_timing, .-s3c2412_decode_timing
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_iotiming-s3c2412.c_s3c2412_iotiming_debugfs.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "\tRead: idcy=%d.%d wstrd=%d.%d wstwr=%d,%dwstoen=%d.%d wstwen=%d.%d wstbrd=%d.%d\n"
.text
.p2align 4
.globl s3c2412_iotiming_debugfs
.type s3c2412_iotiming_debugfs, @function
s3c2412_iotiming_debugfs:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 24
.cfi_def_cfa_offset 80
mov rbx, QWORD PTR [rdx]
mov edi, DWORD PTR [rbx]
call print_ns@PLT
mov edi, DWORD PTR 4[rbx]
mov DWORD PTR 12[rsp], eax
call print_ns@PLT
mov edi, DWORD PTR 8[rbx]
mov r15d, eax
call print_ns@PLT
mov edi, DWORD PTR 12[rbx]
mov r14d, eax
call print_ns@PLT
mov edi, DWORD PTR 16[rbx]
mov r13d, eax
call print_ns@PLT
mov edi, DWORD PTR 20[rbx]
mov r12d, eax
call print_ns@PLT
mov ecx, DWORD PTR 12[rsp]
mov r9d, r14d
mov r8d, r13d
mov rdi, rbp
mov edx, eax
lea rsi, .LC0[rip]
push rcx
.cfi_def_cfa_offset 88
mov ecx, r12d
push r15
.cfi_def_cfa_offset 96
call seq_printf@PLT
add rsp, 40
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size s3c2412_iotiming_debugfs, .-s3c2412_iotiming_debugfs
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_iotiming-s3c2412.c_s3c2412_iotiming_debugfs.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\011Read: idcy=%d.%d wstrd=%d.%d wstwr=%d,%dwstoen="
.ascii "%d.%d wstwen=%d.%d wstbrd=%d.%d\012\000"
.text
.align 2
.global s3c2412_iotiming_debugfs
.syntax unified
.arm
.fpu softvfp
.type s3c2412_iotiming_debugfs, %function
s3c2412_iotiming_debugfs:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, lr}
ldr r4, [r2]
sub sp, sp, #20
mov r5, r0
ldr r0, [r4, #20]
bl print_ns
mov r6, r0
ldr r0, [r4, #16]
bl print_ns
mov r7, r0
ldr r0, [r4, #12]
bl print_ns
mov r9, r0
ldr r0, [r4, #8]
bl print_ns
mov r8, r0
ldr r0, [r4, #4]
bl print_ns
mov r3, r0
ldr r0, [r4]
mov r4, r3
bl print_ns
mov r1, r0
mov r3, r7
str r1, [sp, #12]
mov r2, r6
mov r0, r5
ldr r1, .L4
str r9, [sp]
str r4, [sp, #8]
str r8, [sp, #4]
bl seq_printf
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, pc}
.L5:
.align 2
.L4:
.word .LC0
.size s3c2412_iotiming_debugfs, .-s3c2412_iotiming_debugfs
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_iotiming-s3c2412.c_s3c2412_iotiming_get.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "get"
.text
.p2align 4
.globl s3c2412_iotiming_get
.type s3c2412_iotiming_get, @function
s3c2412_iotiming_get:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rdi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rsi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 8
.cfi_def_cfa_offset 48
mov edi, DWORD PTR S3C2412_EBI_BANKCFG[rip]
call __raw_readl@PLT
mov edx, DWORD PTR MAX_BANKS[rip]
test edx, edx
je .L2
mov ebp, eax
xor ebx, ebx
.p2align 4,,10
.p2align 3
.L6:
mov esi, ebp
mov edi, ebx
call bank_is_io@PLT
test eax, eax
je .L3
mov esi, DWORD PTR GFP_KERNEL[rip]
mov edi, 4
call kzalloc@PLT
mov rsi, rax
test rax, rax
je .L13
mov rdx, QWORD PTR [r12]
mov eax, ebx
mov rdi, r13
mov QWORD PTR [rdx+rax*8], rsi
mov edx, ebx
call s3c2412_iotiming_getbank@PLT
.L3:
add ebx, 1
cmp DWORD PTR MAX_BANKS[rip], ebx
ja .L6
.L2:
mov rsi, r12
lea rdi, .LC0[rip]
call s3c2412_print_timing@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
xor eax, eax
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L13:
.cfi_restore_state
mov eax, DWORD PTR ENOMEM[rip]
add rsp, 8
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
neg eax
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size s3c2412_iotiming_get, .-s3c2412_iotiming_get
.globl S3C2412_EBI_BANKCFG
.bss
.align 4
.type S3C2412_EBI_BANKCFG, @object
.size S3C2412_EBI_BANKCFG, 4
S3C2412_EBI_BANKCFG:
.zero 4
.globl MAX_BANKS
.align 4
.type MAX_BANKS, @object
.size MAX_BANKS, 4
MAX_BANKS:
.zero 4
.globl GFP_KERNEL
.align 4
.type GFP_KERNEL, @object
.size GFP_KERNEL, 4
GFP_KERNEL:
.zero 4
.globl ENOMEM
.align 4
.type ENOMEM, @object
.size ENOMEM, 4
ENOMEM:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_iotiming-s3c2412.c_s3c2412_iotiming_get.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "get\000"
.text
.align 2
.global s3c2412_iotiming_get
.syntax unified
.arm
.fpu softvfp
.type s3c2412_iotiming_get, %function
s3c2412_iotiming_get:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L17
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r6, .L17+4
mov r8, r0
ldr r0, [r3]
mov r7, r1
bl __raw_readl
ldr r3, [r6]
cmp r3, #0
beq .L2
mov r5, r0
mov r4, #0
ldr r9, .L17+8
.L6:
mov r1, r5
mov r0, r4
bl bank_is_io
cmp r0, #0
beq .L3
ldr r1, [r9]
mov r0, #4
bl kzalloc
subs r1, r0, #0
beq .L16
ldr r3, [r7]
mov r2, r4
mov r0, r8
str r1, [r3, r4, lsl #2]
bl s3c2412_iotiming_getbank
.L3:
ldr r3, [r6]
add r4, r4, #1
cmp r3, r4
bhi .L6
.L2:
mov r1, r7
ldr r0, .L17+12
bl s3c2412_print_timing
mov r0, #0
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
ldr r3, .L17+16
ldr r0, [r3]
rsb r0, r0, #0
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L18:
.align 2
.L17:
.word S3C2412_EBI_BANKCFG
.word MAX_BANKS
.word GFP_KERNEL
.word .LC0
.word ENOMEM
.size s3c2412_iotiming_get, .-s3c2412_iotiming_get
.comm S3C2412_EBI_BANKCFG,4,4
.comm MAX_BANKS,4,4
.comm GFP_KERNEL,4,4
.comm ENOMEM,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_iotiming-s3c2412.c_to_div.c"
.intel_syntax noprefix
.text
.p2align 4
.type to_div, @function
to_div:
.LFB0:
.cfi_startproc
endbr64
test edi, edi
jne .L4
xor eax, eax
ret
.p2align 4,,10
.p2align 3
.L4:
jmp DIV_ROUND_UP@PLT
.cfi_endproc
.LFE0:
.size to_div, .-to_div
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_iotiming-s3c2412.c_to_div.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type to_div, %function
to_div:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #0
bxeq lr
b DIV_ROUND_UP
.size to_div, .-to_div
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_irq-pm.c_s3c24xx_irq_resume.c"
.intel_syntax noprefix
.text
.p2align 4
.type s3c24xx_irq_resume, @function
s3c24xx_irq_resume:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
xor ebx, ebx
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
mov rax, QWORD PTR save_extint[rip]
mov edx, ebx
lea esi, 0[0+rbx*4]
add rsi, QWORD PTR S3C24XX_EXTINT0[rip]
add ebx, 1
mov edi, DWORD PTR [rax+rdx*4]
call __raw_writel@PLT
.L2:
mov rdi, QWORD PTR save_extint[rip]
call ARRAY_SIZE@PLT
cmp eax, ebx
ja .L3
xor ebx, ebx
jmp .L4
.p2align 4,,10
.p2align 3
.L5:
mov rax, QWORD PTR save_eintflt[rip]
mov edx, ebx
lea esi, 0[0+rbx*4]
add rsi, QWORD PTR S3C24XX_EINFLT0[rip]
add ebx, 1
mov edi, DWORD PTR [rax+rdx*4]
call __raw_writel@PLT
.L4:
mov rdi, QWORD PTR save_eintflt[rip]
call ARRAY_SIZE@PLT
cmp eax, ebx
ja .L5
mov rdi, QWORD PTR irq_save[rip]
call ARRAY_SIZE@PLT
mov rdi, QWORD PTR irq_save[rip]
mov esi, eax
call s3c_pm_do_restore@PLT
mov rsi, QWORD PTR S3C24XX_EINTMASK[rip]
mov edi, DWORD PTR save_eintmask[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp __raw_writel@PLT
.cfi_endproc
.LFE0:
.size s3c24xx_irq_resume, .-s3c24xx_irq_resume
.globl save_extint
.bss
.align 8
.type save_extint, @object
.size save_extint, 8
save_extint:
.zero 8
.globl save_eintmask
.align 4
.type save_eintmask, @object
.size save_eintmask, 4
save_eintmask:
.zero 4
.globl save_eintflt
.align 8
.type save_eintflt, @object
.size save_eintflt, 8
save_eintflt:
.zero 8
.globl irq_save
.align 8
.type irq_save, @object
.size irq_save, 8
irq_save:
.zero 8
.globl S3C24XX_EXTINT0
.align 8
.type S3C24XX_EXTINT0, @object
.size S3C24XX_EXTINT0, 8
S3C24XX_EXTINT0:
.zero 8
.globl S3C24XX_EINTMASK
.align 8
.type S3C24XX_EINTMASK, @object
.size S3C24XX_EINTMASK, 8
S3C24XX_EINTMASK:
.zero 8
.globl S3C24XX_EINFLT0
.align 8
.type S3C24XX_EINFLT0, @object
.size S3C24XX_EINFLT0, 8
S3C24XX_EINFLT0:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_irq-pm.c_s3c24xx_irq_resume.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type s3c24xx_irq_resume, %function
s3c24xx_irq_resume:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, #0
ldr r5, .L8
ldr r6, .L8+4
b .L2
.L3:
ldr r1, [r6]
ldr r3, [r5]
add r1, r1, r4, lsl #2
ldr r0, [r3, r4, lsl #2]
bl __raw_writel
add r4, r4, #1
.L2:
ldr r0, [r5]
bl ARRAY_SIZE
cmp r0, r4
bhi .L3
mov r4, #0
ldr r5, .L8+8
ldr r6, .L8+12
b .L4
.L5:
ldr r1, [r6]
ldr r3, [r5]
add r1, r1, r4, lsl #2
ldr r0, [r3, r4, lsl #2]
bl __raw_writel
add r4, r4, #1
.L4:
ldr r0, [r5]
bl ARRAY_SIZE
cmp r0, r4
bhi .L5
ldr r3, .L8+16
ldr r4, [r3]
mov r0, r4
bl ARRAY_SIZE
mov r1, r0
mov r0, r4
bl s3c_pm_do_restore
pop {r4, r5, r6, lr}
ldr r2, .L8+20
ldr r3, .L8+24
ldr r1, [r2]
ldr r0, [r3]
b __raw_writel
.L9:
.align 2
.L8:
.word save_extint
.word S3C24XX_EXTINT0
.word save_eintflt
.word S3C24XX_EINFLT0
.word irq_save
.word S3C24XX_EINTMASK
.word save_eintmask
.size s3c24xx_irq_resume, .-s3c24xx_irq_resume
.comm save_extint,4,4
.comm save_eintmask,4,4
.comm save_eintflt,4,4
.comm irq_save,4,4
.comm S3C24XX_EXTINT0,4,4
.comm S3C24XX_EINTMASK,4,4
.comm S3C24XX_EINFLT0,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_irq-pm.c_s3c24xx_irq_suspend.c"
.intel_syntax noprefix
.text
.p2align 4
.type s3c24xx_irq_suspend, @function
s3c24xx_irq_suspend:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
xor ebx, ebx
sub rsp, 8
.cfi_def_cfa_offset 32
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
mov rax, QWORD PTR save_extint[rip]
mov edx, ebx
lea edi, 0[0+rbx*4]
add rdi, QWORD PTR S3C24XX_EXTINT0[rip]
add ebx, 1
lea rbp, [rax+rdx*8]
call __raw_readl@PLT
mov QWORD PTR 0[rbp], rax
.L2:
mov rdi, QWORD PTR save_extint[rip]
call ARRAY_SIZE@PLT
cmp eax, ebx
ja .L3
xor ebx, ebx
jmp .L4
.p2align 4,,10
.p2align 3
.L5:
mov rax, QWORD PTR save_eintflt[rip]
mov edx, ebx
lea edi, 0[0+rbx*4]
add rdi, QWORD PTR S3C24XX_EINFLT0[rip]
add ebx, 1
lea rbp, [rax+rdx*8]
call __raw_readl@PLT
mov QWORD PTR 0[rbp], rax
.L4:
mov rdi, QWORD PTR save_eintflt[rip]
call ARRAY_SIZE@PLT
cmp eax, ebx
ja .L5
mov rdi, QWORD PTR irq_save[rip]
call ARRAY_SIZE@PLT
mov rdi, QWORD PTR irq_save[rip]
mov esi, eax
call s3c_pm_do_save@PLT
mov rdi, QWORD PTR S3C24XX_EINTMASK[rip]
call __raw_readl@PLT
mov QWORD PTR save_eintmask[rip], rax
add rsp, 8
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size s3c24xx_irq_suspend, .-s3c24xx_irq_suspend
.globl save_extint
.bss
.align 8
.type save_extint, @object
.size save_extint, 8
save_extint:
.zero 8
.globl save_eintmask
.align 8
.type save_eintmask, @object
.size save_eintmask, 8
save_eintmask:
.zero 8
.globl save_eintflt
.align 8
.type save_eintflt, @object
.size save_eintflt, 8
save_eintflt:
.zero 8
.globl irq_save
.align 8
.type irq_save, @object
.size irq_save, 8
irq_save:
.zero 8
.globl S3C24XX_EXTINT0
.align 8
.type S3C24XX_EXTINT0, @object
.size S3C24XX_EXTINT0, 8
S3C24XX_EXTINT0:
.zero 8
.globl S3C24XX_EINTMASK
.align 8
.type S3C24XX_EINTMASK, @object
.size S3C24XX_EINTMASK, 8
S3C24XX_EINTMASK:
.zero 8
.globl S3C24XX_EINFLT0
.align 8
.type S3C24XX_EINFLT0, @object
.size S3C24XX_EINFLT0, 8
S3C24XX_EINFLT0:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_irq-pm.c_s3c24xx_irq_suspend.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type s3c24xx_irq_suspend, %function
s3c24xx_irq_suspend:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, #0
ldr r5, .L8
ldr r7, .L8+4
b .L2
.L3:
ldr r0, [r7]
ldr r6, [r5]
add r0, r0, r4, lsl #2
bl __raw_readl
str r0, [r6, r4, lsl #2]
add r4, r4, #1
.L2:
ldr r0, [r5]
bl ARRAY_SIZE
cmp r0, r4
bhi .L3
mov r4, #0
ldr r5, .L8+8
ldr r7, .L8+12
b .L4
.L5:
ldr r0, [r7]
ldr r6, [r5]
add r0, r0, r4, lsl #2
bl __raw_readl
str r0, [r6, r4, lsl #2]
add r4, r4, #1
.L4:
ldr r0, [r5]
bl ARRAY_SIZE
cmp r0, r4
bhi .L5
ldr r3, .L8+16
ldr r4, [r3]
mov r0, r4
bl ARRAY_SIZE
mov r1, r0
mov r0, r4
bl s3c_pm_do_save
ldr r3, .L8+20
ldr r0, [r3]
bl __raw_readl
mov r2, r0
ldr r3, .L8+24
mov r0, #0
str r2, [r3]
pop {r4, r5, r6, r7, r8, pc}
.L9:
.align 2
.L8:
.word save_extint
.word S3C24XX_EXTINT0
.word save_eintflt
.word S3C24XX_EINFLT0
.word irq_save
.word S3C24XX_EINTMASK
.word save_eintmask
.size s3c24xx_irq_suspend, .-s3c24xx_irq_suspend
.comm save_extint,4,4
.comm save_eintmask,4,4
.comm save_eintflt,4,4
.comm irq_save,4,4
.comm S3C24XX_EXTINT0,4,4
.comm S3C24XX_EINTMASK,4,4
.comm S3C24XX_EINFLT0,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_irq-pm.c_s3c_irq_wake.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "disabled"
.LC1:
.string "wake %s for hwirq %lu\n"
.LC2:
.string "enabled"
.text
.p2align 4
.globl s3c_irq_wake
.type s3c_irq_wake, @function
s3c_irq_wake:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov ecx, DWORD PTR [rdi]
mov ebx, 1
sal ebx, cl
movsx rbx, ebx
mov rax, rbx
and rax, QWORD PTR s3c_irqwake_intallow[rip]
je .L8
mov edx, ecx
test esi, esi
je .L9
lea rsi, .LC2[rip]
lea rdi, .LC1[rip]
not rbx
call pr_info@PLT
and QWORD PTR s3c_irqwake_intmask[rip], rbx
xor eax, eax
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
lea rsi, .LC0[rip]
lea rdi, .LC1[rip]
call pr_info@PLT
or QWORD PTR s3c_irqwake_intmask[rip], rbx
xor eax, eax
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov eax, DWORD PTR ENOENT[rip]
pop rbx
.cfi_def_cfa_offset 8
neg eax
ret
.cfi_endproc
.LFE0:
.size s3c_irq_wake, .-s3c_irq_wake
.globl s3c_irqwake_intmask
.bss
.align 8
.type s3c_irqwake_intmask, @object
.size s3c_irqwake_intmask, 8
s3c_irqwake_intmask:
.zero 8
.globl s3c_irqwake_intallow
.align 8
.type s3c_irqwake_intallow, @object
.size s3c_irqwake_intallow, 8
s3c_irqwake_intallow:
.zero 8
.globl ENOENT
.align 4
.type ENOENT, @object
.size ENOENT, 4
ENOENT:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_irq-pm.c_s3c_irq_wake.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "disabled\000"
.align 2
.LC1:
.ascii "wake %s for hwirq %lu\012\000"
.align 2
.LC2:
.ascii "enabled\000"
.text
.align 2
.global s3c_irq_wake
.syntax unified
.arm
.fpu softvfp
.type s3c_irq_wake, %function
s3c_irq_wake:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, #1
ldr r3, .L10
ldr r2, [r0]
ldr r3, [r3]
lsl r5, r5, r2
tst r5, r3
beq .L8
cmp r1, #0
mov r4, r1
beq .L9
ldr r1, .L10+4
ldr r0, .L10+8
bl pr_info
ldr r2, .L10+12
mov r0, #0
ldr r3, [r2]
bic r5, r3, r5
str r5, [r2]
pop {r4, r5, r6, pc}
.L9:
ldr r1, .L10+16
ldr r0, .L10+8
bl pr_info
ldr r2, .L10+12
mov r0, r4
ldr r3, [r2]
orr r5, r3, r5
str r5, [r2]
pop {r4, r5, r6, pc}
.L8:
ldr r3, .L10+20
ldr r0, [r3]
rsb r0, r0, #0
pop {r4, r5, r6, pc}
.L11:
.align 2
.L10:
.word s3c_irqwake_intallow
.word .LC2
.word .LC1
.word s3c_irqwake_intmask
.word .LC0
.word ENOENT
.size s3c_irq_wake, .-s3c_irq_wake
.comm s3c_irqwake_intmask,4,4
.comm s3c_irqwake_intallow,4,4
.comm ENOENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-anubis.c_anubis_nand_select.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "anubis_nand: selecting slot %d (set %p,%p)\n"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "anubis_nand: ctrl1 now %02x\n"
.text
.p2align 4
.type anubis_nand_select, @function
anubis_nand_select:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movsx rsi, esi
mov rdx, rdi
xor eax, eax
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
mov rcx, QWORD PTR [rdi]
lea rdi, .LC0[rip]
mov ebx, DWORD PTR [rcx+rsi*4]
and ebx, 3
mov esi, ebx
call pr_debug@PLT
mov edi, DWORD PTR ANUBIS_VA_CTRL1[rip]
call __raw_readb@PLT
mov ebp, DWORD PTR ANUBIS_CTRL1_NANDSEL[rip]
lea rdi, .LC1[rip]
not ebp
and ebp, eax
xor eax, eax
or ebp, ebx
mov esi, ebp
call pr_debug@PLT
mov esi, DWORD PTR ANUBIS_VA_CTRL1[rip]
add rsp, 8
.cfi_def_cfa_offset 24
mov edi, ebp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp __raw_writeb@PLT
.cfi_endproc
.LFE0:
.size anubis_nand_select, .-anubis_nand_select
.globl ANUBIS_VA_CTRL1
.bss
.align 4
.type ANUBIS_VA_CTRL1, @object
.size ANUBIS_VA_CTRL1, 4
ANUBIS_VA_CTRL1:
.zero 4
.globl ANUBIS_CTRL1_NANDSEL
.align 4
.type ANUBIS_CTRL1_NANDSEL, @object
.size ANUBIS_CTRL1_NANDSEL, 4
ANUBIS_CTRL1_NANDSEL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-anubis.c_anubis_nand_select.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "anubis_nand: selecting slot %d (set %p,%p)\012\000"
.align 2
.LC1:
.ascii "anubis_nand: ctrl1 now %02x\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type anubis_nand_select, %function
anubis_nand_select:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
push {r4, r5, r6, lr}
ldr r4, [r3, r1, lsl #2]
ldr r5, .L4
and r4, r4, #3
mov r2, r0
mov r1, r4
ldr r0, .L4+4
bl pr_debug
ldr r0, [r5]
bl __raw_readb
mov r1, r0
ldr r3, .L4+8
ldr r0, .L4+12
ldr r3, [r3]
bic r1, r1, r3
orr r4, r4, r1
mov r1, r4
bl pr_debug
mov r0, r4
ldr r1, [r5]
pop {r4, r5, r6, lr}
b __raw_writeb
.L5:
.align 2
.L4:
.word ANUBIS_VA_CTRL1
.word .LC0
.word ANUBIS_CTRL1_NANDSEL
.word .LC1
.size anubis_nand_select, .-anubis_nand_select
.comm ANUBIS_VA_CTRL1,4,4
.comm ANUBIS_CTRL1_NANDSEL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-bast.c_bast_nand_select.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "bast_nand: selecting slot %d (set %p,%p)\n"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "bast_nand: ctrl2 now %02x\n"
.text
.p2align 4
.type bast_nand_select, @function
bast_nand_select:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movsx rsi, esi
mov rdx, rdi
xor eax, eax
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
mov rcx, QWORD PTR [rdi]
lea rdi, .LC0[rip]
mov ebx, DWORD PTR [rcx+rsi*4]
and ebx, 3
mov esi, ebx
call pr_debug@PLT
mov edi, DWORD PTR BAST_VA_CTRL2[rip]
call __raw_readb@PLT
and eax, DWORD PTR BAST_CPLD_CTLR2_IDERST[rip]
or ebx, DWORD PTR BAST_CPLD_CTRL2_WNAND[rip]
lea rdi, .LC1[rip]
mov ebp, eax
xor eax, eax
or ebp, ebx
mov esi, ebp
call pr_debug@PLT
mov esi, DWORD PTR BAST_VA_CTRL2[rip]
add rsp, 8
.cfi_def_cfa_offset 24
mov edi, ebp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp __raw_writeb@PLT
.cfi_endproc
.LFE0:
.size bast_nand_select, .-bast_nand_select
.globl BAST_VA_CTRL2
.bss
.align 4
.type BAST_VA_CTRL2, @object
.size BAST_VA_CTRL2, 4
BAST_VA_CTRL2:
.zero 4
.globl BAST_CPLD_CTRL2_WNAND
.align 4
.type BAST_CPLD_CTRL2_WNAND, @object
.size BAST_CPLD_CTRL2_WNAND, 4
BAST_CPLD_CTRL2_WNAND:
.zero 4
.globl BAST_CPLD_CTLR2_IDERST
.align 4
.type BAST_CPLD_CTLR2_IDERST, @object
.size BAST_CPLD_CTLR2_IDERST, 4
BAST_CPLD_CTLR2_IDERST:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-bast.c_bast_nand_select.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "bast_nand: selecting slot %d (set %p,%p)\012\000"
.align 2
.LC1:
.ascii "bast_nand: ctrl2 now %02x\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type bast_nand_select, %function
bast_nand_select:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
push {r4, r5, r6, lr}
ldr r4, [r3, r1, lsl #2]
ldr r5, .L4
and r4, r4, #3
mov r2, r0
mov r1, r4
ldr r0, .L4+4
bl pr_debug
ldr r0, [r5]
bl __raw_readb
ldr r2, .L4+8
ldr r3, .L4+12
ldr r1, [r2]
ldr r3, [r3]
and r0, r0, r1
orr r4, r4, r3
orr r4, r4, r0
mov r1, r4
ldr r0, .L4+16
bl pr_debug
mov r0, r4
ldr r1, [r5]
pop {r4, r5, r6, lr}
b __raw_writeb
.L5:
.align 2
.L4:
.word BAST_VA_CTRL2
.word .LC0
.word BAST_CPLD_CTLR2_IDERST
.word BAST_CPLD_CTRL2_WNAND
.word .LC1
.size bast_nand_select, .-bast_nand_select
.comm BAST_VA_CTRL2,4,4
.comm BAST_CPLD_CTRL2_WNAND,4,4
.comm BAST_CPLD_CTLR2_IDERST,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-gta02.c_gta02_panic_blink.c"
.intel_syntax noprefix
.text
.p2align 4
.type gta02_panic_blink, @function
gta02_panic_blink:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor esi, esi
test edi, edi
mov edi, DWORD PTR GTA02_GPIO_AUX_LED[rip]
setne sil
call gpio_direction_output@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size gta02_panic_blink, .-gta02_panic_blink
.globl GTA02_GPIO_AUX_LED
.bss
.align 4
.type GTA02_GPIO_AUX_LED, @object
.size GTA02_GPIO_AUX_LED, 4
GTA02_GPIO_AUX_LED:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-gta02.c_gta02_panic_blink.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type gta02_panic_blink, %function
gta02_panic_blink:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
subs r1, r0, #0
movne r1, #1
push {r4, lr}
ldr r0, [r3]
bl gpio_direction_output
mov r0, #0
pop {r4, pc}
.L5:
.align 2
.L4:
.word GTA02_GPIO_AUX_LED
.size gta02_panic_blink, .-gta02_panic_blink
.comm GTA02_GPIO_AUX_LED,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-gta02.c_gta02_poweroff.c"
.intel_syntax noprefix
.text
.p2align 4
.type gta02_poweroff, @function
gta02_poweroff:
.LFB0:
.cfi_startproc
endbr64
mov esi, DWORD PTR PCF50633_REG_OOCSHDWN[rip]
mov edi, DWORD PTR gta02_pcf[rip]
mov ecx, 1
mov edx, 1
jmp pcf50633_reg_set_bit_mask@PLT
.cfi_endproc
.LFE0:
.size gta02_poweroff, .-gta02_poweroff
.globl gta02_pcf
.bss
.align 4
.type gta02_pcf, @object
.size gta02_pcf, 4
gta02_pcf:
.zero 4
.globl PCF50633_REG_OOCSHDWN
.align 4
.type PCF50633_REG_OOCSHDWN, @object
.size PCF50633_REG_OOCSHDWN, 4
PCF50633_REG_OOCSHDWN:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-gta02.c_gta02_poweroff.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type gta02_poweroff, %function
gta02_poweroff:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, #1
ldr r1, .L3
ldr r0, .L3+4
mov r2, r3
ldr r1, [r1]
ldr r0, [r0]
b pcf50633_reg_set_bit_mask
.L4:
.align 2
.L3:
.word PCF50633_REG_OOCSHDWN
.word gta02_pcf
.size gta02_poweroff, .-gta02_poweroff
.comm gta02_pcf,4,4
.comm PCF50633_REG_OOCSHDWN,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_backlight_exit.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940_backlight_exit, @function
h1940_backlight_exit:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor edi, edi
call S3C2410_GPB@PLT
mov esi, 1
mov edi, eax
call gpio_direction_output@PLT
mov edi, DWORD PTR H1940_LATCH_MAX1698_nSHUTDOWN[rip]
xor esi, esi
add rsp, 8
.cfi_def_cfa_offset 8
jmp gpio_set_value@PLT
.cfi_endproc
.LFE0:
.size h1940_backlight_exit, .-h1940_backlight_exit
.globl H1940_LATCH_MAX1698_nSHUTDOWN
.bss
.align 4
.type H1940_LATCH_MAX1698_nSHUTDOWN, @object
.size H1940_LATCH_MAX1698_nSHUTDOWN, 4
H1940_LATCH_MAX1698_nSHUTDOWN:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_backlight_exit.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_backlight_exit, %function
h1940_backlight_exit:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #0
bl S3C2410_GPB
mov r1, #1
bl gpio_direction_output
pop {r4, lr}
ldr r3, .L4
mov r1, #0
ldr r0, [r3]
b gpio_set_value
.L5:
.align 2
.L4:
.word H1940_LATCH_MAX1698_nSHUTDOWN
.size h1940_backlight_exit, .-h1940_backlight_exit
.comm H1940_LATCH_MAX1698_nSHUTDOWN,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_backlight_init.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Backlight"
.text
.p2align 4
.type h1940_backlight_init, @function
h1940_backlight_init:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor edi, edi
call S3C2410_GPB@PLT
lea rsi, .LC0[rip]
mov edi, eax
call gpio_request@PLT
xor edi, edi
call S3C2410_GPB@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
mov ebp, DWORD PTR S3C_GPIO_PULL_NONE[rip]
xor edi, edi
call S3C2410_GPB@PLT
mov edi, eax
mov esi, ebp
call s3c_gpio_setpull@PLT
mov ebp, DWORD PTR S3C2410_GPB0_TOUT0[rip]
xor edi, edi
call S3C2410_GPB@PLT
mov edi, eax
mov esi, ebp
call s3c_gpio_cfgpin@PLT
mov edi, DWORD PTR H1940_LATCH_MAX1698_nSHUTDOWN[rip]
mov esi, 1
call gpio_set_value@PLT
xor eax, eax
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size h1940_backlight_init, .-h1940_backlight_init
.globl S3C_GPIO_PULL_NONE
.bss
.align 4
.type S3C_GPIO_PULL_NONE, @object
.size S3C_GPIO_PULL_NONE, 4
S3C_GPIO_PULL_NONE:
.zero 4
.globl S3C2410_GPB0_TOUT0
.align 4
.type S3C2410_GPB0_TOUT0, @object
.size S3C2410_GPB0_TOUT0, 4
S3C2410_GPB0_TOUT0:
.zero 4
.globl H1940_LATCH_MAX1698_nSHUTDOWN
.align 4
.type H1940_LATCH_MAX1698_nSHUTDOWN, @object
.size H1940_LATCH_MAX1698_nSHUTDOWN, 4
H1940_LATCH_MAX1698_nSHUTDOWN:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_backlight_init.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Backlight\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_backlight_init, %function
h1940_backlight_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #0
bl S3C2410_GPB
ldr r1, .L4
bl gpio_request
mov r0, #0
bl S3C2410_GPB
mov r1, #0
bl gpio_direction_output
mov r0, #0
bl S3C2410_GPB
ldr r3, .L4+4
ldr r1, [r3]
bl s3c_gpio_setpull
mov r0, #0
bl S3C2410_GPB
ldr r3, .L4+8
ldr r1, [r3]
bl s3c_gpio_cfgpin
ldr r3, .L4+12
mov r1, #1
ldr r0, [r3]
bl gpio_set_value
mov r0, #0
pop {r4, pc}
.L5:
.align 2
.L4:
.word .LC0
.word S3C_GPIO_PULL_NONE
.word S3C2410_GPB0_TOUT0
.word H1940_LATCH_MAX1698_nSHUTDOWN
.size h1940_backlight_init, .-h1940_backlight_init
.comm S3C_GPIO_PULL_NONE,4,4
.comm S3C2410_GPB0_TOUT0,4,4
.comm H1940_LATCH_MAX1698_nSHUTDOWN,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_backlight_notify.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940_backlight_notify, @function
h1940_backlight_notify:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor edi, edi
mov r12d, esi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
test esi, esi
jne .L2
call S3C2410_GPB@PLT
mov esi, 1
mov edi, eax
call gpio_direction_output@PLT
mov edi, DWORD PTR H1940_LATCH_MAX1698_nSHUTDOWN[rip]
xor esi, esi
call gpio_set_value@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
call S3C2410_GPB@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
mov ebp, DWORD PTR S3C_GPIO_PULL_NONE[rip]
xor edi, edi
call S3C2410_GPB@PLT
mov edi, eax
mov esi, ebp
call s3c_gpio_setpull@PLT
mov ebp, DWORD PTR S3C2410_GPB0_TOUT0[rip]
xor edi, edi
call S3C2410_GPB@PLT
mov edi, eax
mov esi, ebp
call s3c_gpio_cfgpin@PLT
mov edi, DWORD PTR H1940_LATCH_MAX1698_nSHUTDOWN[rip]
mov esi, 1
call gpio_set_value@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size h1940_backlight_notify, .-h1940_backlight_notify
.globl S3C_GPIO_PULL_NONE
.bss
.align 4
.type S3C_GPIO_PULL_NONE, @object
.size S3C_GPIO_PULL_NONE, 4
S3C_GPIO_PULL_NONE:
.zero 4
.globl S3C2410_GPB0_TOUT0
.align 4
.type S3C2410_GPB0_TOUT0, @object
.size S3C2410_GPB0_TOUT0, 4
S3C2410_GPB0_TOUT0:
.zero 4
.globl H1940_LATCH_MAX1698_nSHUTDOWN
.align 4
.type H1940_LATCH_MAX1698_nSHUTDOWN, @object
.size H1940_LATCH_MAX1698_nSHUTDOWN, 4
H1940_LATCH_MAX1698_nSHUTDOWN:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_backlight_notify.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_backlight_notify, %function
h1940_backlight_notify:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r1, #0
bne .L2
mov r0, r4
bl S3C2410_GPB
mov r1, #1
bl gpio_direction_output
ldr r3, .L6
mov r1, r4
ldr r0, [r3]
bl gpio_set_value
mov r0, r4
pop {r4, pc}
.L2:
mov r0, #0
bl S3C2410_GPB
mov r1, #0
bl gpio_direction_output
mov r0, #0
bl S3C2410_GPB
ldr r3, .L6+4
ldr r1, [r3]
bl s3c_gpio_setpull
mov r0, #0
bl S3C2410_GPB
ldr r3, .L6+8
ldr r1, [r3]
bl s3c_gpio_cfgpin
ldr r3, .L6
mov r1, #1
ldr r0, [r3]
bl gpio_set_value
mov r0, r4
pop {r4, pc}
.L7:
.align 2
.L6:
.word H1940_LATCH_MAX1698_nSHUTDOWN
.word S3C_GPIO_PULL_NONE
.word S3C2410_GPB0_TOUT0
.size h1940_backlight_notify, .-h1940_backlight_notify
.comm S3C_GPIO_PULL_NONE,4,4
.comm S3C2410_GPB0_TOUT0,4,4
.comm H1940_LATCH_MAX1698_nSHUTDOWN,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_bat_exit.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940_bat_exit, @function
h1940_bat_exit:
.LFB0:
.cfi_startproc
endbr64
mov edi, DWORD PTR H1940_LATCH_SM803_ENABLE[rip]
jmp gpio_free@PLT
.cfi_endproc
.LFE0:
.size h1940_bat_exit, .-h1940_bat_exit
.globl H1940_LATCH_SM803_ENABLE
.bss
.align 4
.type H1940_LATCH_SM803_ENABLE, @object
.size H1940_LATCH_SM803_ENABLE, 4
H1940_LATCH_SM803_ENABLE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_bat_exit.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_bat_exit, %function
h1940_bat_exit:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
b gpio_free
.L4:
.align 2
.L3:
.word H1940_LATCH_SM803_ENABLE
.size h1940_bat_exit, .-h1940_bat_exit
.comm H1940_LATCH_SM803_ENABLE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_bat_init.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "h1940-charger-enable"
.text
.p2align 4
.type h1940_bat_init, @function
h1940_bat_init:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov edi, DWORD PTR H1940_LATCH_SM803_ENABLE[rip]
lea rsi, .LC0[rip]
call gpio_request@PLT
mov r12d, eax
test eax, eax
jne .L1
mov edi, DWORD PTR H1940_LATCH_SM803_ENABLE[rip]
xor esi, esi
call gpio_direction_output@PLT
.L1:
mov eax, r12d
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size h1940_bat_init, .-h1940_bat_init
.globl H1940_LATCH_SM803_ENABLE
.bss
.align 4
.type H1940_LATCH_SM803_ENABLE, @object
.size H1940_LATCH_SM803_ENABLE, 4
H1940_LATCH_SM803_ENABLE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_bat_init.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "h1940-charger-enable\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_bat_init, %function
h1940_bat_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, .L5
ldr r1, .L5+4
ldr r0, [r5]
bl gpio_request
subs r4, r0, #0
bne .L1
mov r1, r4
ldr r0, [r5]
bl gpio_direction_output
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L6:
.align 2
.L5:
.word H1940_LATCH_SM803_ENABLE
.word .LC0
.size h1940_bat_init, .-h1940_bat_init
.comm H1940_LATCH_SM803_ENABLE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_disable_charger.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940_disable_charger, @function
h1940_disable_charger:
.LFB0:
.cfi_startproc
endbr64
mov edi, DWORD PTR H1940_LATCH_SM803_ENABLE[rip]
xor esi, esi
jmp gpio_set_value@PLT
.cfi_endproc
.LFE0:
.size h1940_disable_charger, .-h1940_disable_charger
.globl H1940_LATCH_SM803_ENABLE
.bss
.align 4
.type H1940_LATCH_SM803_ENABLE, @object
.size H1940_LATCH_SM803_ENABLE, 4
H1940_LATCH_SM803_ENABLE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_disable_charger.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_disable_charger, %function
h1940_disable_charger:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
mov r1, #0
ldr r0, [r3]
b gpio_set_value
.L4:
.align 2
.L3:
.word H1940_LATCH_SM803_ENABLE
.size h1940_disable_charger, .-h1940_disable_charger
.comm H1940_LATCH_SM803_ENABLE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_enable_charger.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940_enable_charger, @function
h1940_enable_charger:
.LFB0:
.cfi_startproc
endbr64
mov edi, DWORD PTR H1940_LATCH_SM803_ENABLE[rip]
mov esi, 1
jmp gpio_set_value@PLT
.cfi_endproc
.LFE0:
.size h1940_enable_charger, .-h1940_enable_charger
.globl H1940_LATCH_SM803_ENABLE
.bss
.align 4
.type H1940_LATCH_SM803_ENABLE, @object
.size H1940_LATCH_SM803_ENABLE, 4
H1940_LATCH_SM803_ENABLE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_enable_charger.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_enable_charger, %function
h1940_enable_charger:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
mov r1, #1
ldr r0, [r3]
b gpio_set_value
.L4:
.align 2
.L3:
.word H1940_LATCH_SM803_ENABLE
.size h1940_enable_charger, .-h1940_enable_charger
.comm H1940_LATCH_SM803_ENABLE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_gpiolib_latch_get.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940_gpiolib_latch_get, @function
h1940_gpiolib_latch_get:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR latch_state[rip]
lea ecx, 16[rsi]
shr eax, cl
and eax, 1
ret
.cfi_endproc
.LFE0:
.size h1940_gpiolib_latch_get, .-h1940_gpiolib_latch_get
.globl latch_state
.bss
.align 4
.type latch_state, @object
.size latch_state, 4
latch_state:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_gpiolib_latch_get.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_gpiolib_latch_get, %function
h1940_gpiolib_latch_get:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
add r1, r1, #16
ldr r0, [r3]
lsr r0, r0, r1
and r0, r0, #1
bx lr
.L4:
.align 2
.L3:
.word latch_state
.size h1940_gpiolib_latch_get, .-h1940_gpiolib_latch_get
.comm latch_state,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_gpiolib_latch_output.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940_gpiolib_latch_output, @function
h1940_gpiolib_latch_output:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
call h1940_gpiolib_latch_set@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size h1940_gpiolib_latch_output, .-h1940_gpiolib_latch_output
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_gpiolib_latch_output.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_gpiolib_latch_output, %function
h1940_gpiolib_latch_output:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl h1940_gpiolib_latch_set
mov r0, #0
pop {r4, pc}
.size h1940_gpiolib_latch_output, .-h1940_gpiolib_latch_output
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_gpiolib_latch_set.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940_gpiolib_latch_set, @function
h1940_gpiolib_latch_set:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov edi, esi
mov ebx, edx
call h1940_gpiolib_to_latch@PLT
xor edi, edi
mov esi, eax
test ebx, ebx
jne .L2
mov edi, eax
xor esi, esi
.L2:
pop rbx
.cfi_def_cfa_offset 8
jmp h1940_latch_control@PLT
.cfi_endproc
.LFE0:
.size h1940_gpiolib_latch_set, .-h1940_gpiolib_latch_set
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_gpiolib_latch_set.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_gpiolib_latch_set, %function
h1940_gpiolib_latch_set:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, r1
mov r4, r2
bl h1940_gpiolib_to_latch
cmp r4, #0
movne r4, r0
movne r0, #0
mov r1, r4
pop {r4, lr}
b h1940_latch_control
.size h1940_gpiolib_latch_set, .-h1940_gpiolib_latch_set
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_gpiolib_to_latch.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940_gpiolib_to_latch, @function
h1940_gpiolib_to_latch:
.LFB0:
.cfi_startproc
endbr64
lea ecx, 16[rdi]
mov eax, 1
sal eax, cl
ret
.cfi_endproc
.LFE0:
.size h1940_gpiolib_to_latch, .-h1940_gpiolib_to_latch
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_gpiolib_to_latch.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_gpiolib_to_latch, %function
h1940_gpiolib_to_latch:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, #1
add r0, r0, #16
lsl r0, r3, r0
bx lr
.size h1940_gpiolib_to_latch, .-h1940_gpiolib_to_latch
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_is_ac_online.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940_is_ac_online, @function
h1940_is_ac_online:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, 2
call S3C2410_GPF@PLT
mov edi, eax
call gpio_get_value@PLT
test eax, eax
sete al
add rsp, 8
.cfi_def_cfa_offset 8
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size h1940_is_ac_online, .-h1940_is_ac_online
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_is_ac_online.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_is_ac_online, %function
h1940_is_ac_online:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #2
bl S3C2410_GPF
bl gpio_get_value
clz r0, r0
lsr r0, r0, #5
pop {r4, pc}
.size h1940_is_ac_online, .-h1940_is_ac_online
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_latch_control.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940_latch_control, @function
h1940_latch_control:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor r12d, r12d
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, esi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov ebx, edi
mov rdi, r12
not ebx
call local_irq_save@PLT
mov edi, DWORD PTR latch_state[rip]
mov esi, DWORD PTR H1940_LATCH[rip]
and edi, ebx
or edi, ebp
mov DWORD PTR latch_state[rip], edi
call __raw_writel@PLT
pop rbx
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp local_irq_restore@PLT
.cfi_endproc
.LFE0:
.size h1940_latch_control, .-h1940_latch_control
.globl latch_state
.bss
.align 4
.type latch_state, @object
.size latch_state, 4
latch_state:
.zero 4
.globl H1940_LATCH
.align 4
.type H1940_LATCH, @object
.size H1940_LATCH, 4
H1940_LATCH:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_latch_control.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_latch_control, %function
h1940_latch_control:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, #0
mov r5, r0
mov r4, r1
mov r0, r6
bl local_irq_save
ldr r2, .L4
ldr r1, .L4+4
ldr r3, [r2]
ldr r1, [r1]
bic r0, r3, r5
orr r0, r0, r4
str r0, [r2]
bl __raw_writel
mov r0, r6
pop {r4, r5, r6, lr}
b local_irq_restore
.L5:
.align 2
.L4:
.word latch_state
.word H1940_LATCH
.size h1940_latch_control, .-h1940_latch_control
.comm latch_state,4,4
.comm H1940_LATCH,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_lcd_power_set.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940_lcd_power_set, @function
h1940_lcd_power_set:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
test esi, esi
jne .L2
xor edi, edi
mov ebx, 101
call S3C2410_GPC@PLT
xor esi, esi
mov edi, eax
call gpio_set_value@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L11:
sub ebx, 1
je .L3
.L4:
mov edi, 6
call S3C2410_GPC@PLT
mov edi, eax
call gpio_get_value@PLT
test eax, eax
jne .L11
.L3:
mov edi, DWORD PTR H1940_LATCH_LCD_P2[rip]
xor esi, esi
call gpio_set_value@PLT
mov edi, DWORD PTR H1940_LATCH_LCD_P3[rip]
xor esi, esi
call gpio_set_value@PLT
mov edi, DWORD PTR H1940_LATCH_LCD_P4[rip]
xor esi, esi
call gpio_set_value@PLT
mov edi, 1
call S3C2410_GPC@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
mov edi, 4
call S3C2410_GPC@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
mov edi, DWORD PTR H1940_LATCH_LCD_P1[rip]
xor esi, esi
call gpio_set_value@PLT
mov edi, DWORD PTR H1940_LATCH_LCD_P0[rip]
xor esi, esi
call gpio_set_value@PLT
mov edi, 5
call S3C2410_GPC@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor esi, esi
pop rbx
.cfi_def_cfa_offset 16
mov edi, eax
pop rbp
.cfi_def_cfa_offset 8
jmp gpio_set_value@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov edi, DWORD PTR H1940_LATCH_LCD_P0[rip]
mov esi, 1
call gpio_set_value@PLT
mov edi, DWORD PTR H1940_LATCH_LCD_P1[rip]
mov esi, 1
call gpio_set_value@PLT
mov edi, 1
call S3C2410_GPC@PLT
mov edi, eax
call gpio_direction_input@PLT
mov edi, 4
call S3C2410_GPC@PLT
mov edi, eax
call gpio_direction_input@PLT
mov edi, 10
call mdelay@PLT
mov edi, 2
call S3C_GPIO_SFN@PLT
mov edi, 1
mov ebp, eax
call S3C2410_GPC@PLT
mov esi, ebp
mov edi, eax
call s3c_gpio_cfgpin@PLT
mov edi, 2
call S3C_GPIO_SFN@PLT
mov edi, 4
mov ebp, eax
call S3C2410_GPC@PLT
mov esi, ebp
mov edi, eax
call s3c_gpio_cfgpin@PLT
mov edi, 5
call S3C2410_GPC@PLT
mov esi, 1
mov edi, eax
call gpio_set_value@PLT
xor edi, edi
call S3C2410_GPC@PLT
mov esi, 1
mov edi, eax
call gpio_set_value@PLT
mov edi, DWORD PTR H1940_LATCH_LCD_P3[rip]
mov esi, 1
call gpio_set_value@PLT
mov edi, DWORD PTR H1940_LATCH_LCD_P2[rip]
mov esi, 1
call gpio_set_value@PLT
mov edi, DWORD PTR H1940_LATCH_LCD_P4[rip]
add rsp, 8
.cfi_def_cfa_offset 24
mov esi, 1
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp gpio_set_value@PLT
.cfi_endproc
.LFE0:
.size h1940_lcd_power_set, .-h1940_lcd_power_set
.globl H1940_LATCH_LCD_P4
.bss
.align 4
.type H1940_LATCH_LCD_P4, @object
.size H1940_LATCH_LCD_P4, 4
H1940_LATCH_LCD_P4:
.zero 4
.globl H1940_LATCH_LCD_P3
.align 4
.type H1940_LATCH_LCD_P3, @object
.size H1940_LATCH_LCD_P3, 4
H1940_LATCH_LCD_P3:
.zero 4
.globl H1940_LATCH_LCD_P2
.align 4
.type H1940_LATCH_LCD_P2, @object
.size H1940_LATCH_LCD_P2, 4
H1940_LATCH_LCD_P2:
.zero 4
.globl H1940_LATCH_LCD_P1
.align 4
.type H1940_LATCH_LCD_P1, @object
.size H1940_LATCH_LCD_P1, 4
H1940_LATCH_LCD_P1:
.zero 4
.globl H1940_LATCH_LCD_P0
.align 4
.type H1940_LATCH_LCD_P0, @object
.size H1940_LATCH_LCD_P0, 4
H1940_LATCH_LCD_P0:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_lcd_power_set.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_lcd_power_set, %function
h1940_lcd_power_set:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r1, #0
bne .L2
mov r0, r4
bl S3C2410_GPC
mov r1, r4
bl gpio_set_value
mov r4, #101
b .L4
.L11:
subs r4, r4, #1
beq .L3
.L4:
mov r0, #6
bl S3C2410_GPC
bl gpio_get_value
cmp r0, #0
bne .L11
.L3:
ldr r3, .L12
mov r1, #0
ldr r0, [r3]
bl gpio_set_value
ldr r3, .L12+4
mov r1, #0
ldr r0, [r3]
bl gpio_set_value
ldr r3, .L12+8
mov r1, #0
ldr r0, [r3]
bl gpio_set_value
mov r0, #1
bl S3C2410_GPC
mov r1, #0
bl gpio_direction_output
mov r0, #4
bl S3C2410_GPC
mov r1, #0
bl gpio_direction_output
ldr r3, .L12+12
mov r1, #0
ldr r0, [r3]
bl gpio_set_value
ldr r3, .L12+16
mov r1, #0
ldr r0, [r3]
bl gpio_set_value
mov r0, #5
bl S3C2410_GPC
pop {r4, lr}
mov r1, #0
b gpio_set_value
.L2:
ldr r3, .L12+16
mov r1, #1
ldr r0, [r3]
bl gpio_set_value
ldr r3, .L12+12
mov r1, #1
ldr r0, [r3]
bl gpio_set_value
mov r0, #1
bl S3C2410_GPC
bl gpio_direction_input
mov r0, #4
bl S3C2410_GPC
bl gpio_direction_input
mov r0, #10
bl mdelay
mov r0, #1
bl S3C2410_GPC
mov r4, r0
mov r0, #2
bl S3C_GPIO_SFN
mov r1, r0
mov r0, r4
bl s3c_gpio_cfgpin
mov r0, #4
bl S3C2410_GPC
mov r4, r0
mov r0, #2
bl S3C_GPIO_SFN
mov r1, r0
mov r0, r4
bl s3c_gpio_cfgpin
mov r0, #5
bl S3C2410_GPC
mov r1, #1
bl gpio_set_value
mov r0, #0
bl S3C2410_GPC
mov r1, #1
bl gpio_set_value
ldr r3, .L12+4
mov r1, #1
ldr r0, [r3]
bl gpio_set_value
ldr r3, .L12
mov r1, #1
ldr r0, [r3]
bl gpio_set_value
pop {r4, lr}
ldr r3, .L12+8
mov r1, #1
ldr r0, [r3]
b gpio_set_value
.L13:
.align 2
.L12:
.word H1940_LATCH_LCD_P2
.word H1940_LATCH_LCD_P3
.word H1940_LATCH_LCD_P4
.word H1940_LATCH_LCD_P1
.word H1940_LATCH_LCD_P0
.size h1940_lcd_power_set, .-h1940_lcd_power_set
.comm H1940_LATCH_LCD_P4,4,4
.comm H1940_LATCH_LCD_P3,4,4
.comm H1940_LATCH_LCD_P2,4,4
.comm H1940_LATCH_LCD_P1,4,4
.comm H1940_LATCH_LCD_P0,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_led_blink_set.c"
.intel_syntax noprefix
.text
.p2align 4
.globl h1940_led_blink_set
.type h1940_led_blink_set, @function
h1940_led_blink_set:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rcx
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov ebp, esi
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rdx
sub rsp, 24
.cfi_def_cfa_offset 80
test rdi, rdi
je .L2
call desc_to_gpio@PLT
mov r12d, eax
cmp r12d, 128
je .L4
.L35:
cmp r12d, 129
jne .L5
mov edi, 7
call S3C2410_GPA@PLT
mov edi, 1
mov r14d, eax
.L29:
call S3C2410_GPA@PLT
mov edi, 3
mov r15d, eax
call S3C2410_GPA@PLT
mov DWORD PTR 12[rsp], eax
.L6:
test rbx, rbx
je .L7
test r13, r13
je .L7
cmp QWORD PTR [rbx], 0
je .L31
.L7:
lea rdi, h1940_blink_spin[rip]
call spin_lock@PLT
cmp ebp, 131
jle .L32
cmp ebp, 132
jne .L10
mov edi, r12d
call gpio_is_valid@PLT
test eax, eax
jne .L33
.L15:
mov edi, DWORD PTR H1940_LATCH_LED_FLASH[rip]
mov esi, 1
call gpio_set_value@PLT
mov esi, 1
mov edi, r14d
call gpio_set_value@PLT
jmp .L10
.p2align 4,,10
.p2align 3
.L32:
cmp ebp, 129
jg .L34
.L10:
lea rdi, h1940_blink_spin[rip]
call spin_unlock@PLT
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
xor eax, eax
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L31:
.cfi_restore_state
cmp QWORD PTR 0[r13], 0
jne .L7
mov QWORD PTR 0[r13], 500
mov QWORD PTR [rbx], 500
jmp .L7
.p2align 4,,10
.p2align 3
.L2:
mov r12d, DWORD PTR EINVAL[rip]
neg r12d
cmp r12d, 128
jne .L35
.L4:
mov edi, 1
call S3C2410_GPA@PLT
mov edi, 7
mov r14d, eax
jmp .L29
.p2align 4,,10
.p2align 3
.L5:
mov edi, 3
call S3C2410_GPA@PLT
mov edi, 1
mov r14d, eax
call S3C2410_GPA@PLT
mov edi, 7
mov r15d, eax
call S3C2410_GPA@PLT
mov DWORD PTR 12[rsp], eax
jmp .L6
.p2align 4,,10
.p2align 3
.L34:
mov edi, r15d
call gpio_get_value@PLT
test eax, eax
je .L36
.L13:
xor esi, esi
mov edi, r14d
call gpio_set_value@PLT
mov edi, r12d
call gpio_is_valid@PLT
test eax, eax
je .L10
mov esi, ebp
mov edi, r12d
call gpio_set_value@PLT
jmp .L10
.p2align 4,,10
.p2align 3
.L33:
xor esi, esi
mov edi, r12d
call gpio_set_value@PLT
jmp .L15
.p2align 4,,10
.p2align 3
.L36:
mov edi, DWORD PTR 12[rsp]
call gpio_get_value@PLT
test eax, eax
jne .L13
mov edi, DWORD PTR H1940_LATCH_LED_FLASH[rip]
xor esi, esi
call gpio_set_value@PLT
jmp .L13
.cfi_endproc
.LFE0:
.size h1940_led_blink_set, .-h1940_led_blink_set
.globl h1940_blink_spin
.bss
.align 4
.type h1940_blink_spin, @object
.size h1940_blink_spin, 4
h1940_blink_spin:
.zero 4
.globl H1940_LATCH_LED_FLASH
.align 4
.type H1940_LATCH_LED_FLASH, @object
.size H1940_LATCH_LED_FLASH, 4
H1940_LATCH_LED_FLASH:
.zero 4
.globl EINVAL
.align 4
.type EINVAL, @object
.size EINVAL, 4
EINVAL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_led_blink_set.c"
.text
.align 2
.global h1940_led_blink_set
.syntax unified
.arm
.fpu softvfp
.type h1940_led_blink_set, %function
h1940_led_blink_set:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r0, #0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r4, r1
mov r9, r2
mov r8, r3
beq .L2
bl desc_to_gpio
mov r5, r0
cmp r5, #128
beq .L4
.L31:
cmp r5, #129
bne .L5
mov r0, #7
bl S3C2410_GPA
mov r10, r0
mov r0, #1
.L26:
bl S3C2410_GPA
mov r6, r0
mov r0, #3
bl S3C2410_GPA
mov r7, r0
.L6:
cmp r9, #0
cmpne r8, #0
beq .L7
ldr r3, [r9]
cmp r3, #0
bne .L7
ldr r3, [r8]
cmp r3, #0
moveq r3, #500
streq r3, [r8]
streq r3, [r9]
.L7:
ldr r0, .L33
bl spin_lock
cmp r4, #131
ble .L28
cmp r4, #132
bne .L10
mov r0, r5
bl gpio_is_valid
cmp r0, #0
bne .L29
.L15:
ldr r3, .L33+4
mov r1, #1
ldr r0, [r3]
bl gpio_set_value
mov r0, r10
mov r1, #1
bl gpio_set_value
b .L10
.L28:
cmp r4, #129
bgt .L30
.L10:
ldr r0, .L33
bl spin_unlock
mov r0, #0
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
ldr r3, .L33+8
ldr r5, [r3]
rsb r5, r5, #0
cmp r5, #128
bne .L31
.L4:
mov r0, #1
bl S3C2410_GPA
mov r10, r0
mov r0, #7
b .L26
.L5:
mov r0, #3
bl S3C2410_GPA
mov r10, r0
mov r0, #1
bl S3C2410_GPA
mov r6, r0
mov r0, #7
bl S3C2410_GPA
mov r7, r0
b .L6
.L30:
mov r0, r6
bl gpio_get_value
cmp r0, #0
beq .L32
.L13:
mov r1, #0
mov r0, r10
bl gpio_set_value
mov r0, r5
bl gpio_is_valid
cmp r0, #0
beq .L10
mov r1, r4
mov r0, r5
bl gpio_set_value
b .L10
.L29:
mov r0, r5
mov r1, #0
bl gpio_set_value
b .L15
.L32:
mov r0, r7
bl gpio_get_value
subs r1, r0, #0
bne .L13
ldr r3, .L33+4
ldr r0, [r3]
bl gpio_set_value
b .L13
.L34:
.align 2
.L33:
.word h1940_blink_spin
.word H1940_LATCH_LED_FLASH
.word EINVAL
.size h1940_led_blink_set, .-h1940_led_blink_set
.comm h1940_blink_spin,4,4
.comm H1940_LATCH_LED_FLASH,4,4
.comm EINVAL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_h1940_set_mmc_power.c"
.intel_syntax noprefix
.text
.p2align 4
.type h1940_set_mmc_power, @function
h1940_set_mmc_power:
.LFB0:
.cfi_startproc
endbr64
cmp dil, -127
jbe .L6
cmp dil, -126
jne .L1
mov edi, DWORD PTR H1940_LATCH_SD_POWER[rip]
xor esi, esi
jmp gpio_set_value@PLT
.p2align 4,,10
.p2align 3
.L6:
test dil, dil
js .L7
.L1:
ret
.p2align 4,,10
.p2align 3
.L7:
mov edi, DWORD PTR H1940_LATCH_SD_POWER[rip]
mov esi, 1
jmp gpio_set_value@PLT
.cfi_endproc
.LFE0:
.size h1940_set_mmc_power, .-h1940_set_mmc_power
.globl H1940_LATCH_SD_POWER
.bss
.align 4
.type H1940_LATCH_SD_POWER, @object
.size H1940_LATCH_SD_POWER, 4
H1940_LATCH_SD_POWER:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_h1940_set_mmc_power.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type h1940_set_mmc_power, %function
h1940_set_mmc_power:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #129
bls .L6
cmp r0, #130
bxne lr
ldr r3, .L7
mov r1, #0
ldr r0, [r3]
b gpio_set_value
.L6:
tst r0, #128
bxeq lr
ldr r3, .L7
mov r1, #1
ldr r0, [r3]
b gpio_set_value
.L8:
.align 2
.L7:
.word H1940_LATCH_SD_POWER
.size h1940_set_mmc_power, .-h1940_set_mmc_power
.comm H1940_LATCH_SD_POWER,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_power_supply_exit.c"
.intel_syntax noprefix
.text
.p2align 4
.type power_supply_exit, @function
power_supply_exit:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, 2
call S3C2410_GPF@PLT
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp gpio_free@PLT
.cfi_endproc
.LFE0:
.size power_supply_exit, .-power_supply_exit
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_power_supply_exit.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type power_supply_exit, %function
power_supply_exit:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #2
bl S3C2410_GPF
pop {r4, lr}
b gpio_free
.size power_supply_exit, .-power_supply_exit
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-h1940.c_power_supply_init.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "cable plugged"
.text
.p2align 4
.type power_supply_init, @function
power_supply_init:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, 2
call S3C2410_GPF@PLT
lea rsi, .LC0[rip]
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp gpio_request@PLT
.cfi_endproc
.LFE0:
.size power_supply_init, .-power_supply_init
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-h1940.c_power_supply_init.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "cable plugged\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type power_supply_init, %function
power_supply_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #2
bl S3C2410_GPF
pop {r4, lr}
ldr r1, .L4
b gpio_request
.L5:
.align 2
.L4:
.word .LC0
.size power_supply_init, .-power_supply_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-n30.c_n30_sdi_set_power.c"
.intel_syntax noprefix
.text
.p2align 4
.type n30_sdi_set_power, @function
n30_sdi_set_power:
.LFB0:
.cfi_startproc
endbr64
movzx edi, dil
sub rsp, 8
.cfi_def_cfa_offset 16
add edi, -128
cmp edi, 1
mov edi, 4
jbe .L5
call S3C2410_GPG@PLT
xor esi, esi
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
mov edi, eax
jmp gpio_set_value@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
call S3C2410_GPG@PLT
mov esi, 1
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp gpio_set_value@PLT
.cfi_endproc
.LFE0:
.size n30_sdi_set_power, .-n30_sdi_set_power
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-n30.c_n30_sdi_set_power.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type n30_sdi_set_power, %function
n30_sdi_set_power:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
sub r0, r0, #128
cmp r0, #1
push {r4, lr}
mov r0, #4
bls .L5
bl S3C2410_GPG
pop {r4, lr}
mov r1, #0
b gpio_set_value
.L5:
bl S3C2410_GPG
pop {r4, lr}
mov r1, #1
b gpio_set_value
.size n30_sdi_set_power, .-n30_sdi_set_power
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-osiris-dvs.c_is_dvs.c"
.intel_syntax noprefix
.text
.p2align 4
.type is_dvs, @function
is_dvs:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR 8[rdi]
cmp QWORD PTR [rdi], rax
sete al
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size is_dvs, .-is_dvs
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-osiris-dvs.c_is_dvs.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type is_dvs, %function
is_dvs:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, [r0]
ldr r0, [r0, #4]
sub r0, r2, r0
clz r0, r0
lsr r0, r0, #5
bx lr
.size is_dvs, .-is_dvs
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-osiris-dvs.c_osiris_dvs_probe.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "initialising\n"
.LC1:
.string "osiris-dvs"
.LC2:
.string "cannot claim gpio\n"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC3:
.string "failed to register with cpufreq\n"
.text
.p2align 4
.type osiris_dvs_probe, @function
osiris_dvs_probe:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
lea rsi, .LC0[rip]
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
call dev_info@PLT
mov edi, DWORD PTR OSIRIS_GPIO_DVS[rip]
lea rsi, .LC1[rip]
call gpio_request@PLT
test eax, eax
jne .L7
mov edi, DWORD PTR OSIRIS_GPIO_DVS[rip]
mov esi, 1
call gpio_direction_output@PLT
mov esi, DWORD PTR CPUFREQ_TRANSITION_NOTIFIER[rip]
lea rdi, osiris_dvs_nb[rip]
call cpufreq_register_notifier@PLT
mov r12d, eax
test eax, eax
jne .L8
mov edi, 1
call osiris_dvs_tps_setdvs@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov rdi, rbp
lea rsi, .LC3[rip]
call dev_err@PLT
mov edi, DWORD PTR OSIRIS_GPIO_DVS[rip]
call gpio_free@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov rdi, rbp
lea rsi, .LC2[rip]
mov r12d, eax
call dev_err@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size osiris_dvs_probe, .-osiris_dvs_probe
.globl osiris_dvs_nb
.bss
.align 4
.type osiris_dvs_nb, @object
.size osiris_dvs_nb, 4
osiris_dvs_nb:
.zero 4
.globl OSIRIS_GPIO_DVS
.align 4
.type OSIRIS_GPIO_DVS, @object
.size OSIRIS_GPIO_DVS, 4
OSIRIS_GPIO_DVS:
.zero 4
.globl CPUFREQ_TRANSITION_NOTIFIER
.align 4
.type CPUFREQ_TRANSITION_NOTIFIER, @object
.size CPUFREQ_TRANSITION_NOTIFIER, 4
CPUFREQ_TRANSITION_NOTIFIER:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-osiris-dvs.c_osiris_dvs_probe.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "initialising\012\000"
.align 2
.LC1:
.ascii "osiris-dvs\000"
.align 2
.LC2:
.ascii "cannot claim gpio\012\000"
.align 2
.LC3:
.ascii "failed to register with cpufreq\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type osiris_dvs_probe, %function
osiris_dvs_probe:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r6, .L9
ldr r1, .L9+4
mov r5, r0
bl dev_info
ldr r0, [r6]
ldr r1, .L9+8
bl gpio_request
subs r4, r0, #0
bne .L7
mov r1, #1
ldr r0, [r6]
bl gpio_direction_output
ldr r3, .L9+12
ldr r0, .L9+16
ldr r1, [r3]
bl cpufreq_register_notifier
subs r4, r0, #0
bne .L8
mov r0, #1
bl osiris_dvs_tps_setdvs
mov r0, r4
pop {r4, r5, r6, pc}
.L8:
ldr r1, .L9+20
mov r0, r5
bl dev_err
ldr r0, [r6]
bl gpio_free
mov r0, r4
pop {r4, r5, r6, pc}
.L7:
mov r0, r5
ldr r1, .L9+24
bl dev_err
mov r0, r4
pop {r4, r5, r6, pc}
.L10:
.align 2
.L9:
.word OSIRIS_GPIO_DVS
.word .LC0
.word .LC1
.word CPUFREQ_TRANSITION_NOTIFIER
.word osiris_dvs_nb
.word .LC3
.word .LC2
.size osiris_dvs_probe, .-osiris_dvs_probe
.comm osiris_dvs_nb,4,4
.comm OSIRIS_GPIO_DVS,4,4
.comm CPUFREQ_TRANSITION_NOTIFIER,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-osiris-dvs.c_osiris_dvs_remove.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "exiting\n"
.text
.p2align 4
.type osiris_dvs_remove, @function
osiris_dvs_remove:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rsi, .LC0[rip]
call dev_info@PLT
mov edi, DWORD PTR OSIRIS_GPIO_DVS[rip]
mov esi, 1
call gpio_set_value@PLT
xor edi, edi
call osiris_dvs_tps_setdvs@PLT
mov esi, DWORD PTR CPUFREQ_TRANSITION_NOTIFIER[rip]
lea rdi, osiris_dvs_nb[rip]
call cpufreq_unregister_notifier@PLT
mov edi, DWORD PTR OSIRIS_GPIO_DVS[rip]
call gpio_free@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size osiris_dvs_remove, .-osiris_dvs_remove
.globl osiris_dvs_nb
.bss
.align 4
.type osiris_dvs_nb, @object
.size osiris_dvs_nb, 4
osiris_dvs_nb:
.zero 4
.globl OSIRIS_GPIO_DVS
.align 4
.type OSIRIS_GPIO_DVS, @object
.size OSIRIS_GPIO_DVS, 4
OSIRIS_GPIO_DVS:
.zero 4
.globl CPUFREQ_TRANSITION_NOTIFIER
.align 4
.type CPUFREQ_TRANSITION_NOTIFIER, @object
.size CPUFREQ_TRANSITION_NOTIFIER, 4
CPUFREQ_TRANSITION_NOTIFIER:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-osiris-dvs.c_osiris_dvs_remove.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "exiting\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type osiris_dvs_remove, %function
osiris_dvs_remove:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, .L4
ldr r1, .L4+4
bl dev_info
mov r1, #1
ldr r0, [r4]
bl gpio_set_value
mov r0, #0
bl osiris_dvs_tps_setdvs
ldr r3, .L4+8
ldr r0, .L4+12
ldr r1, [r3]
bl cpufreq_unregister_notifier
ldr r0, [r4]
bl gpio_free
mov r0, #0
pop {r4, pc}
.L5:
.align 2
.L4:
.word OSIRIS_GPIO_DVS
.word .LC0
.word CPUFREQ_TRANSITION_NOTIFIER
.word osiris_dvs_nb
.size osiris_dvs_remove, .-osiris_dvs_remove
.comm osiris_dvs_nb,4,4
.comm OSIRIS_GPIO_DVS,4,4
.comm CPUFREQ_TRANSITION_NOTIFIER,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-osiris-dvs.c_osiris_dvs_resume.c"
.intel_syntax noprefix
.text
.p2align 4
.type osiris_dvs_resume, @function
osiris_dvs_resume:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, 1
call osiris_dvs_tps_setdvs@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size osiris_dvs_resume, .-osiris_dvs_resume
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-osiris-dvs.c_osiris_dvs_resume.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type osiris_dvs_resume, %function
osiris_dvs_resume:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #1
bl osiris_dvs_tps_setdvs
mov r0, #0
pop {r4, pc}
.size osiris_dvs_resume, .-osiris_dvs_resume
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-osiris-dvs.c_osiris_dvs_suspend.c"
.intel_syntax noprefix
.text
.p2align 4
.type osiris_dvs_suspend, @function
osiris_dvs_suspend:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR OSIRIS_GPIO_DVS[rip]
mov esi, 1
call gpio_set_value@PLT
xor edi, edi
call osiris_dvs_tps_setdvs@PLT
xor eax, eax
mov DWORD PTR cur_dvs[rip], 0
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size osiris_dvs_suspend, .-osiris_dvs_suspend
.globl cur_dvs
.bss
.align 4
.type cur_dvs, @object
.size cur_dvs, 4
cur_dvs:
.zero 4
.globl OSIRIS_GPIO_DVS
.align 4
.type OSIRIS_GPIO_DVS, @object
.size OSIRIS_GPIO_DVS, 4
OSIRIS_GPIO_DVS:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-osiris-dvs.c_osiris_dvs_suspend.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type osiris_dvs_suspend, %function
osiris_dvs_suspend:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
mov r1, #1
push {r4, lr}
ldr r0, [r3]
bl gpio_set_value
mov r0, #0
bl osiris_dvs_tps_setdvs
mov r0, #0
ldr r3, .L4+4
str r0, [r3]
pop {r4, pc}
.L5:
.align 2
.L4:
.word OSIRIS_GPIO_DVS
.word cur_dvs
.size osiris_dvs_suspend, .-osiris_dvs_suspend
.comm cur_dvs,4,4
.comm OSIRIS_GPIO_DVS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-osiris-dvs.c_osiris_dvs_tps_setdvs.c"
.intel_syntax noprefix
.text
.p2align 4
.type osiris_dvs_tps_setdvs, @function
osiris_dvs_tps_setdvs:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov eax, edi
test edi, edi
jne .L3
mov ebp, DWORD PTR TPS_VCORE_DISCH[rip]
mov edx, DWORD PTR TPS_LP_COREOFF[rip]
mov ecx, DWORD PTR TPS_LDO1_OFF[rip]
or edx, ebp
.L2:
mov ebp, DWORD PTR TPS_VCORE_1_3V[rip]
mov edi, DWORD PTR TPS_LDO2_ENABLE[rip]
mov DWORD PTR dvs_en[rip], eax
or ebp, DWORD PTR TPS_VCORE_LP_1_0V[rip]
or edi, DWORD PTR TPS_LDO1_ENABLE[rip]
or ebp, edx
or edi, ecx
call tps65010_config_vregs1@PLT
mov edi, ebp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp tps65010_config_vdcdc2@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
xor edx, edx
xor ecx, ecx
jmp .L2
.cfi_endproc
.LFE0:
.size osiris_dvs_tps_setdvs, .-osiris_dvs_tps_setdvs
.globl dvs_en
.bss
.align 4
.type dvs_en, @object
.size dvs_en, 4
dvs_en:
.zero 4
.globl TPS_VCORE_LP_1_0V
.align 4
.type TPS_VCORE_LP_1_0V, @object
.size TPS_VCORE_LP_1_0V, 4
TPS_VCORE_LP_1_0V:
.zero 4
.globl TPS_VCORE_DISCH
.align 4
.type TPS_VCORE_DISCH, @object
.size TPS_VCORE_DISCH, 4
TPS_VCORE_DISCH:
.zero 4
.globl TPS_VCORE_1_3V
.align 4
.type TPS_VCORE_1_3V, @object
.size TPS_VCORE_1_3V, 4
TPS_VCORE_1_3V:
.zero 4
.globl TPS_LP_COREOFF
.align 4
.type TPS_LP_COREOFF, @object
.size TPS_LP_COREOFF, 4
TPS_LP_COREOFF:
.zero 4
.globl TPS_LDO2_ENABLE
.align 4
.type TPS_LDO2_ENABLE, @object
.size TPS_LDO2_ENABLE, 4
TPS_LDO2_ENABLE:
.zero 4
.globl TPS_LDO1_OFF
.align 4
.type TPS_LDO1_OFF, @object
.size TPS_LDO1_OFF, 4
TPS_LDO1_OFF:
.zero 4
.globl TPS_LDO1_ENABLE
.align 4
.type TPS_LDO1_ENABLE, @object
.size TPS_LDO1_ENABLE, 4
TPS_LDO1_ENABLE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-osiris-dvs.c_osiris_dvs_tps_setdvs.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type osiris_dvs_tps_setdvs, %function
osiris_dvs_tps_setdvs:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
subs r1, r0, #0
movne r2, #0
movne r0, r2
ldreq r2, .L6
ldreq r3, .L6+4
push {r4, lr}
ldreq r4, [r2]
ldreq r2, [r3]
ldreq r3, .L6+8
orreq r2, r4, r2
ldreq r0, [r3]
ldr r4, .L6+12
ldr lr, .L6+16
ldr r3, .L6+20
ldr ip, .L6+24
ldr lr, [lr]
ldr ip, [ip]
ldr r4, [r4]
ldr r3, [r3]
orr r4, r4, lr
orr r3, r3, ip
ldr ip, .L6+28
orr r4, r4, r2
orr r0, r3, r0
str r1, [ip]
bl tps65010_config_vregs1
mov r0, r4
pop {r4, lr}
b tps65010_config_vdcdc2
.L7:
.align 2
.L6:
.word TPS_VCORE_DISCH
.word TPS_LP_COREOFF
.word TPS_LDO1_OFF
.word TPS_VCORE_1_3V
.word TPS_VCORE_LP_1_0V
.word TPS_LDO2_ENABLE
.word TPS_LDO1_ENABLE
.word dvs_en
.size osiris_dvs_tps_setdvs, .-osiris_dvs_tps_setdvs
.comm dvs_en,4,4
.comm TPS_VCORE_LP_1_0V,4,4
.comm TPS_VCORE_DISCH,4,4
.comm TPS_VCORE_1_3V,4,4
.comm TPS_LP_COREOFF,4,4
.comm TPS_LDO2_ENABLE,4,4
.comm TPS_LDO1_OFF,4,4
.comm TPS_LDO1_ENABLE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-osiris.c_osiris_nand_select.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "osiris_nand: selecting slot %d (set %p,%p)\n"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "osiris_nand: ctrl0 now %02x\n"
.text
.p2align 4
.type osiris_nand_select, @function
osiris_nand_select:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movsx rsi, esi
mov rdx, rdi
xor eax, eax
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
mov rcx, QWORD PTR [rdi]
lea rdi, .LC0[rip]
mov ebx, DWORD PTR [rcx+rsi*4]
and ebx, 3
mov esi, ebx
call pr_debug@PLT
mov edi, DWORD PTR OSIRIS_VA_CTRL0[rip]
call __raw_readb@PLT
mov ebp, DWORD PTR OSIRIS_CTRL0_NANDSEL[rip]
lea rdi, .LC1[rip]
not ebp
and ebp, eax
xor eax, eax
or ebp, ebx
mov esi, ebp
call pr_debug@PLT
mov esi, DWORD PTR OSIRIS_VA_CTRL0[rip]
add rsp, 8
.cfi_def_cfa_offset 24
mov edi, ebp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp __raw_writeb@PLT
.cfi_endproc
.LFE0:
.size osiris_nand_select, .-osiris_nand_select
.globl OSIRIS_VA_CTRL0
.bss
.align 4
.type OSIRIS_VA_CTRL0, @object
.size OSIRIS_VA_CTRL0, 4
OSIRIS_VA_CTRL0:
.zero 4
.globl OSIRIS_CTRL0_NANDSEL
.align 4
.type OSIRIS_CTRL0_NANDSEL, @object
.size OSIRIS_CTRL0_NANDSEL, 4
OSIRIS_CTRL0_NANDSEL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-osiris.c_osiris_nand_select.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "osiris_nand: selecting slot %d (set %p,%p)\012\000"
.align 2
.LC1:
.ascii "osiris_nand: ctrl0 now %02x\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type osiris_nand_select, %function
osiris_nand_select:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
push {r4, r5, r6, lr}
ldr r4, [r3, r1, lsl #2]
ldr r5, .L4
and r4, r4, #3
mov r2, r0
mov r1, r4
ldr r0, .L4+4
bl pr_debug
ldr r0, [r5]
bl __raw_readb
mov r1, r0
ldr r3, .L4+8
ldr r0, .L4+12
ldr r3, [r3]
bic r1, r1, r3
orr r4, r4, r1
mov r1, r4
bl pr_debug
mov r0, r4
ldr r1, [r5]
pop {r4, r5, r6, lr}
b __raw_writeb
.L5:
.align 2
.L4:
.word OSIRIS_VA_CTRL0
.word .LC0
.word OSIRIS_CTRL0_NANDSEL
.word .LC1
.size osiris_nand_select, .-osiris_nand_select
.comm OSIRIS_VA_CTRL0,4,4
.comm OSIRIS_CTRL0_NANDSEL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-osiris.c_osiris_tps_release.c"
.intel_syntax noprefix
.text
.p2align 4
.type osiris_tps_release, @function
osiris_tps_release:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size osiris_tps_release, .-osiris_tps_release
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-osiris.c_osiris_tps_release.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type osiris_tps_release, %function
osiris_tps_release:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size osiris_tps_release, .-osiris_tps_release
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-osiris.c_osiris_tps_remove.c"
.intel_syntax noprefix
.text
.p2align 4
.type osiris_tps_remove, @function
osiris_tps_remove:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, osiris_tps_device[rip]
call platform_device_unregister@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size osiris_tps_remove, .-osiris_tps_remove
.globl osiris_tps_device
.bss
.align 4
.type osiris_tps_device, @object
.size osiris_tps_device, 4
osiris_tps_device:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-osiris.c_osiris_tps_remove.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type osiris_tps_remove, %function
osiris_tps_remove:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl platform_device_unregister
mov r0, #0
pop {r4, pc}
.L5:
.align 2
.L4:
.word osiris_tps_device
.size osiris_tps_remove, .-osiris_tps_remove
.comm osiris_tps_device,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-osiris.c_osiris_tps_setup.c"
.intel_syntax noprefix
.text
.p2align 4
.type osiris_tps_setup, @function
osiris_tps_setup:
.LFB0:
.cfi_startproc
endbr64
mov QWORD PTR osiris_tps_device[rip], rdi
lea rdi, osiris_tps_device[rip]
jmp platform_device_register@PLT
.cfi_endproc
.LFE0:
.size osiris_tps_setup, .-osiris_tps_setup
.globl osiris_tps_device
.bss
.align 8
.type osiris_tps_device, @object
.size osiris_tps_device, 8
osiris_tps_device:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-osiris.c_osiris_tps_setup.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type osiris_tps_setup, %function
osiris_tps_setup:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, r0
ldr r0, .L3
str r3, [r0]
b platform_device_register
.L4:
.align 2
.L3:
.word osiris_tps_device
.size osiris_tps_setup, .-osiris_tps_setup
.comm osiris_tps_device,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-rx1950.c_power_supply_exit.c"
.intel_syntax noprefix
.text
.p2align 4
.type power_supply_exit, @function
power_supply_exit:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, 2
call S3C2410_GPF@PLT
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp gpio_free@PLT
.cfi_endproc
.LFE0:
.size power_supply_exit, .-power_supply_exit
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-rx1950.c_power_supply_exit.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type power_supply_exit, %function
power_supply_exit:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #2
bl S3C2410_GPF
pop {r4, lr}
b gpio_free
.size power_supply_exit, .-power_supply_exit
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-rx1950.c_power_supply_init.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "cable plugged"
.text
.p2align 4
.type power_supply_init, @function
power_supply_init:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, 2
call S3C2410_GPF@PLT
lea rsi, .LC0[rip]
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp gpio_request@PLT
.cfi_endproc
.LFE0:
.size power_supply_init, .-power_supply_init
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-rx1950.c_power_supply_init.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "cable plugged\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type power_supply_init, %function
power_supply_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #2
bl S3C2410_GPF
pop {r4, lr}
ldr r1, .L4
b gpio_request
.L5:
.align 2
.L4:
.word .LC0
.size power_supply_init, .-power_supply_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-rx1950.c_rx1950_backlight_exit.c"
.intel_syntax noprefix
.text
.p2align 4
.type rx1950_backlight_exit, @function
rx1950_backlight_exit:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor edi, edi
call rx1950_bl_power@PLT
xor edi, edi
call rx1950_lcd_power@PLT
mov edi, DWORD PTR lcd_pwm[rip]
call pwm_free@PLT
xor edi, edi
call S3C2410_GPB@PLT
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp gpio_free@PLT
.cfi_endproc
.LFE0:
.size rx1950_backlight_exit, .-rx1950_backlight_exit
.globl lcd_pwm
.bss
.align 4
.type lcd_pwm, @object
.size lcd_pwm, 4
lcd_pwm:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-rx1950.c_rx1950_backlight_exit.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rx1950_backlight_exit, %function
rx1950_backlight_exit:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #0
bl rx1950_bl_power
mov r0, #0
bl rx1950_lcd_power
ldr r3, .L4
ldr r0, [r3]
bl pwm_free
mov r0, #0
bl S3C2410_GPB
pop {r4, lr}
b gpio_free
.L5:
.align 2
.L4:
.word lcd_pwm
.size rx1950_backlight_exit, .-rx1950_backlight_exit
.comm lcd_pwm,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-rx1950.c_rx1950_backlight_init.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Backlight"
.LC1:
.string "RX1950 LCD"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC2:
.string "Unable to request PWM for LCD power!\n"
.text
.p2align 4
.type rx1950_backlight_init, @function
rx1950_backlight_init:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
xor edi, edi
call S3C2410_GPB@PLT
lea rsi, .LC0[rip]
mov edi, eax
call gpio_request@PLT
mov edi, eax
call WARN_ON@PLT
mov edi, 1
lea rsi, .LC1[rip]
call pwm_request@PLT
mov edi, eax
mov DWORD PTR lcd_pwm[rip], eax
call IS_ERR@PLT
test rax, rax
jne .L5
mov edi, DWORD PTR lcd_pwm[rip]
call pwm_apply_args@PLT
mov edi, 1
call rx1950_lcd_power@PLT
mov edi, 1
call rx1950_bl_power@PLT
xor eax, eax
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rdi, rbp
lea rsi, .LC2[rip]
call dev_err@PLT
mov edi, DWORD PTR lcd_pwm[rip]
pop rbp
.cfi_def_cfa_offset 8
jmp PTR_ERR@PLT
.cfi_endproc
.LFE0:
.size rx1950_backlight_init, .-rx1950_backlight_init
.globl lcd_pwm
.bss
.align 4
.type lcd_pwm, @object
.size lcd_pwm, 4
lcd_pwm:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-rx1950.c_rx1950_backlight_init.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Backlight\000"
.align 2
.LC1:
.ascii "RX1950 LCD\000"
.align 2
.LC2:
.ascii "Unable to request PWM for LCD power!\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rx1950_backlight_init, %function
rx1950_backlight_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
mov r0, #0
bl S3C2410_GPB
ldr r1, .L6
bl gpio_request
bl WARN_ON
ldr r1, .L6+4
mov r0, #1
bl pwm_request
ldr r6, .L6+8
str r0, [r6]
bl IS_ERR
subs r4, r0, #0
bne .L5
ldr r0, [r6]
bl pwm_apply_args
mov r0, #1
bl rx1950_lcd_power
mov r0, #1
bl rx1950_bl_power
mov r0, r4
pop {r4, r5, r6, pc}
.L5:
mov r0, r5
ldr r1, .L6+12
bl dev_err
ldr r0, [r6]
pop {r4, r5, r6, lr}
b PTR_ERR
.L7:
.align 2
.L6:
.word .LC0
.word .LC1
.word lcd_pwm
.word .LC2
.size rx1950_backlight_init, .-rx1950_backlight_init
.comm lcd_pwm,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-rx1950.c_rx1950_backlight_notify.c"
.intel_syntax noprefix
.text
.p2align 4
.type rx1950_backlight_notify, @function
rx1950_backlight_notify:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12d, esi
test esi, esi
jne .L2
xor edi, edi
call rx1950_bl_power@PLT
xor edi, edi
call rx1950_lcd_power@PLT
mov eax, r12d
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov edi, 1
call rx1950_lcd_power@PLT
mov edi, 1
call rx1950_bl_power@PLT
mov eax, r12d
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size rx1950_backlight_notify, .-rx1950_backlight_notify
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-rx1950.c_rx1950_backlight_notify.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rx1950_backlight_notify, %function
rx1950_backlight_notify:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r1, #0
bne .L2
mov r0, r4
bl rx1950_bl_power
mov r0, r4
bl rx1950_lcd_power
mov r0, r4
pop {r4, pc}
.L2:
mov r0, #1
bl rx1950_lcd_power
mov r0, #1
bl rx1950_bl_power
mov r0, r4
pop {r4, pc}
.size rx1950_backlight_notify, .-rx1950_backlight_notify
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-rx1950.c_rx1950_bat_exit.c"
.intel_syntax noprefix
.text
.p2align 4
.type rx1950_bat_exit, @function
rx1950_bat_exit:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, 2
call S3C2410_GPJ@PLT
mov edi, eax
call gpio_free@PLT
mov edi, 3
call S3C2410_GPJ@PLT
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp gpio_free@PLT
.cfi_endproc
.LFE0:
.size rx1950_bat_exit, .-rx1950_bat_exit
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-rx1950.c_rx1950_bat_exit.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rx1950_bat_exit, %function
rx1950_bat_exit:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #2
bl S3C2410_GPJ
bl gpio_free
mov r0, #3
bl S3C2410_GPJ
pop {r4, lr}
b gpio_free
.size rx1950_bat_exit, .-rx1950_bat_exit
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-rx1950.c_rx1950_bat_init.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rx1950-charger-enable-1"
.LC1:
.string "rx1950-charger-enable-2"
.text
.p2align 4
.type rx1950_bat_init, @function
rx1950_bat_init:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov edi, 2
call S3C2410_GPJ@PLT
lea rsi, .LC0[rip]
mov edi, eax
call gpio_request@PLT
mov r12d, eax
test eax, eax
je .L8
.L1:
mov eax, r12d
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov edi, 3
call S3C2410_GPJ@PLT
lea rsi, .LC1[rip]
mov edi, eax
call gpio_request@PLT
mov r12d, eax
test eax, eax
je .L1
mov edi, 2
call S3C2410_GPJ@PLT
mov edi, eax
call gpio_free@PLT
jmp .L1
.cfi_endproc
.LFE0:
.size rx1950_bat_init, .-rx1950_bat_init
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-rx1950.c_rx1950_bat_init.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rx1950-charger-enable-1\000"
.align 2
.LC1:
.ascii "rx1950-charger-enable-2\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rx1950_bat_init, %function
rx1950_bat_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #2
bl S3C2410_GPJ
ldr r1, .L9
bl gpio_request
subs r4, r0, #0
beq .L8
.L1:
mov r0, r4
pop {r4, pc}
.L8:
mov r0, #3
bl S3C2410_GPJ
ldr r1, .L9+4
bl gpio_request
subs r4, r0, #0
beq .L1
mov r0, #2
bl S3C2410_GPJ
bl gpio_free
b .L1
.L10:
.align 2
.L9:
.word .LC0
.word .LC1
.size rx1950_bat_init, .-rx1950_bat_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-rx1950.c_rx1950_bl_power.c"
.intel_syntax noprefix
.text
.p2align 4
.type rx1950_bl_power, @function
rx1950_bl_power:
.LFB0:
.cfi_startproc
endbr64
cmp DWORD PTR enabled.0[rip], edi
je .L6
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov ebx, edi
xor edi, edi
sub rsp, 8
.cfi_def_cfa_offset 32
test ebx, ebx
je .L10
call S3C2410_GPB@PLT
mov esi, 1
mov edi, eax
call gpio_direction_output@PLT
mov edi, 48000
call ndelay@PLT
mov ebp, DWORD PTR S3C2410_GPB0_TOUT0[rip]
xor edi, edi
call S3C2410_GPB@PLT
mov edi, eax
mov esi, ebp
call s3c_gpio_cfgpin@PLT
mov DWORD PTR enabled.0[rip], ebx
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
call S3C2410_GPB@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
mov DWORD PTR enabled.0[rip], ebx
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore 3
.cfi_restore 6
ret
.cfi_endproc
.LFE0:
.size rx1950_bl_power, .-rx1950_bl_power
.local enabled.0
.comm enabled.0,4,4
.globl S3C2410_GPB0_TOUT0
.bss
.align 4
.type S3C2410_GPB0_TOUT0, @object
.size S3C2410_GPB0_TOUT0, 4
S3C2410_GPB0_TOUT0:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-rx1950.c_rx1950_bl_power.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rx1950_bl_power, %function
rx1950_bl_power:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, .L8
ldr r3, [r5]
cmp r3, r0
popeq {r4, r5, r6, pc}
cmp r0, #0
mov r4, r0
beq .L7
mov r0, #0
bl S3C2410_GPB
mov r1, #1
bl gpio_direction_output
ldr r0, .L8+4
bl ndelay
mov r0, #0
bl S3C2410_GPB
ldr r3, .L8+8
ldr r1, [r3]
bl s3c_gpio_cfgpin
str r4, [r5]
pop {r4, r5, r6, pc}
.L7:
bl S3C2410_GPB
mov r1, r4
bl gpio_direction_output
str r4, [r5]
pop {r4, r5, r6, pc}
.L9:
.align 2
.L8:
.word .LANCHOR0
.word 48000
.word S3C2410_GPB0_TOUT0
.size rx1950_bl_power, .-rx1950_bl_power
.comm S3C2410_GPB0_TOUT0,4,4
.bss
.align 2
.set .LANCHOR0,. + 0
.type enabled.4213, %object
.size enabled.4213, 4
enabled.4213:
.space 4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-rx1950.c_rx1950_disable_charger.c"
.intel_syntax noprefix
.text
.p2align 4
.type rx1950_disable_charger, @function
rx1950_disable_charger:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, 2
call S3C2410_GPJ@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
mov edi, 3
call S3C2410_GPJ@PLT
xor esi, esi
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp gpio_direction_output@PLT
.cfi_endproc
.LFE0:
.size rx1950_disable_charger, .-rx1950_disable_charger
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-rx1950.c_rx1950_disable_charger.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rx1950_disable_charger, %function
rx1950_disable_charger:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #2
bl S3C2410_GPJ
mov r1, #0
bl gpio_direction_output
mov r0, #3
bl S3C2410_GPJ
pop {r4, lr}
mov r1, #0
b gpio_direction_output
.size rx1950_disable_charger, .-rx1950_disable_charger
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-rx1950.c_rx1950_enable_charger.c"
.intel_syntax noprefix
.text
.p2align 4
.type rx1950_enable_charger, @function
rx1950_enable_charger:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, 2
call S3C2410_GPJ@PLT
mov esi, 1
mov edi, eax
call gpio_direction_output@PLT
mov edi, 3
call S3C2410_GPJ@PLT
mov esi, 1
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp gpio_direction_output@PLT
.cfi_endproc
.LFE0:
.size rx1950_enable_charger, .-rx1950_enable_charger
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-rx1950.c_rx1950_enable_charger.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rx1950_enable_charger, %function
rx1950_enable_charger:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #2
bl S3C2410_GPJ
mov r1, #1
bl gpio_direction_output
mov r0, #3
bl S3C2410_GPJ
pop {r4, lr}
mov r1, #1
b gpio_direction_output
.size rx1950_enable_charger, .-rx1950_enable_charger
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-rx1950.c_rx1950_is_ac_online.c"
.intel_syntax noprefix
.text
.p2align 4
.type rx1950_is_ac_online, @function
rx1950_is_ac_online:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, 2
call S3C2410_GPF@PLT
mov edi, eax
call gpio_get_value@PLT
test eax, eax
sete al
add rsp, 8
.cfi_def_cfa_offset 8
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size rx1950_is_ac_online, .-rx1950_is_ac_online
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-rx1950.c_rx1950_is_ac_online.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rx1950_is_ac_online, %function
rx1950_is_ac_online:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #2
bl S3C2410_GPF
bl gpio_get_value
clz r0, r0
lsr r0, r0, #5
pop {r4, pc}
.size rx1950_is_ac_online, .-rx1950_is_ac_online
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-rx1950.c_rx1950_lcd_power.c"
.intel_syntax noprefix
.text
.p2align 4
.type rx1950_lcd_power, @function
rx1950_lcd_power:
.LFB0:
.cfi_startproc
endbr64
cmp DWORD PTR enabled.0[rip], edi
je .L28
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, edi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
test edi, edi
jne .L3
mov ebx, 11
.L4:
mov edi, ebx
add ebx, 1
call S3C2410_GPC@PLT
mov esi, 1
mov edi, eax
call gpio_direction_output@PLT
cmp ebx, 16
jne .L4
mov edi, 100
mov ebx, 2
call mdelay@PLT
.p2align 4,,10
.p2align 3
.L5:
mov edi, ebx
add ebx, 1
call S3C2410_GPD@PLT
mov esi, 1
mov edi, eax
call gpio_direction_output@PLT
cmp ebx, 8
jne .L5
mov ebx, 11
.L6:
mov edi, ebx
add ebx, 1
call S3C2410_GPD@PLT
mov esi, 1
mov edi, eax
call gpio_direction_output@PLT
cmp ebx, 16
jne .L6
mov edi, 100
mov ebx, 1
call mdelay@PLT
xor edi, edi
call S3C2410_GPB@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
.L7:
mov edi, ebx
add ebx, 1
call S3C2410_GPC@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
cmp ebx, 5
jne .L7
mov ebx, 11
.L8:
mov edi, ebx
add ebx, 1
call S3C2410_GPC@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
cmp ebx, 16
jne .L8
mov ebx, 11
.L9:
mov edi, ebx
add ebx, 1
call S3C2410_GPD@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
cmp ebx, 16
jne .L9
mov ebx, 2
.p2align 4,,10
.p2align 3
.L10:
mov edi, ebx
add ebx, 1
call S3C2410_GPD@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
cmp ebx, 8
jne .L10
mov edi, 6
call S3C2410_GPC@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
mov edi, 7
call S3C2410_GPC@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
mov edi, 5
call S3C2410_GPC@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
mov edi, 1
call S3C2410_GPB@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
mov edx, DWORD PTR LCD_PWM_PERIOD[rip]
mov edi, DWORD PTR lcd_pwm[rip]
xor esi, esi
call pwm_config@PLT
mov edi, DWORD PTR lcd_pwm[rip]
call pwm_disable@PLT
xor edi, edi
call S3C2410_GPC@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
mov edi, 10
call S3C2410_GPC@PLT
xor esi, esi
mov edi, eax
call gpio_direction_output@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov DWORD PTR enabled.0[rip], ebp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov edx, DWORD PTR LCD_PWM_PERIOD[rip]
mov esi, DWORD PTR LCD_PWM_DUTY[rip]
mov ebx, 1
mov edi, DWORD PTR lcd_pwm[rip]
call pwm_config@PLT
mov edi, DWORD PTR lcd_pwm[rip]
call pwm_enable@PLT
xor edi, edi
call S3C2410_GPC@PLT
mov esi, 1
mov edi, eax
call gpio_direction_output@PLT
mov edi, 5
call S3C2410_GPC@PLT
mov esi, 1
mov edi, eax
call gpio_direction_output@PLT
mov r12d, DWORD PTR S3C2410_GPB1_TOUT1[rip]
mov edi, 1
call S3C2410_GPB@PLT
mov edi, eax
mov esi, r12d
call s3c_gpio_cfgpin@PLT
mov edi, 7
call S3C2410_GPC@PLT
mov esi, 1
mov edi, eax
call gpio_direction_output@PLT
.L12:
mov edi, 2
call S3C_GPIO_SFN@PLT
mov edi, ebx
add ebx, 1
mov r12d, eax
call S3C2410_GPC@PLT
mov esi, r12d
mov edi, eax
call s3c_gpio_cfgpin@PLT
cmp ebx, 5
jne .L12
mov ebx, 11
.L13:
mov edi, 2
call S3C_GPIO_SFN@PLT
mov edi, ebx
add ebx, 1
mov r12d, eax
call S3C2410_GPC@PLT
mov esi, r12d
mov edi, eax
call s3c_gpio_cfgpin@PLT
cmp ebx, 16
jne .L13
mov ebx, 2
.p2align 4,,10
.p2align 3
.L14:
mov edi, 2
call S3C_GPIO_SFN@PLT
mov edi, ebx
add ebx, 1
mov r12d, eax
call S3C2410_GPD@PLT
mov esi, r12d
mov edi, eax
call s3c_gpio_cfgpin@PLT
cmp ebx, 8
jne .L14
mov ebx, 11
.L15:
mov edi, 2
call S3C_GPIO_SFN@PLT
mov edi, ebx
add ebx, 1
mov r12d, eax
call S3C2410_GPD@PLT
mov esi, r12d
mov edi, eax
call s3c_gpio_cfgpin@PLT
cmp ebx, 16
jne .L15
mov edi, 10
call S3C2410_GPC@PLT
mov esi, 1
mov edi, eax
call gpio_direction_output@PLT
mov edi, 6
call S3C2410_GPC@PLT
mov esi, 1
mov edi, eax
call gpio_direction_output@PLT
pop rbx
.cfi_def_cfa_offset 24
mov DWORD PTR enabled.0[rip], ebp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L28:
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
ret
.cfi_endproc
.LFE0:
.size rx1950_lcd_power, .-rx1950_lcd_power
.local enabled.0
.comm enabled.0,4,4
.globl lcd_pwm
.bss
.align 4
.type lcd_pwm, @object
.size lcd_pwm, 4
lcd_pwm:
.zero 4
.globl S3C2410_GPB1_TOUT1
.align 4
.type S3C2410_GPB1_TOUT1, @object
.size S3C2410_GPB1_TOUT1, 4
S3C2410_GPB1_TOUT1:
.zero 4
.globl LCD_PWM_PERIOD
.align 4
.type LCD_PWM_PERIOD, @object
.size LCD_PWM_PERIOD, 4
LCD_PWM_PERIOD:
.zero 4
.globl LCD_PWM_DUTY
.align 4
.type LCD_PWM_DUTY, @object
.size LCD_PWM_DUTY, 4
LCD_PWM_DUTY:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-rx1950.c_rx1950_lcd_power.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rx1950_lcd_power, %function
rx1950_lcd_power:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r6, .L29
ldr r3, [r6]
cmp r3, r0
popeq {r4, r5, r6, r7, r8, pc}
cmp r0, #0
mov r5, r0
bne .L3
mov r4, #11
.L4:
mov r0, r4
bl S3C2410_GPC
add r4, r4, #1
mov r1, #1
bl gpio_direction_output
cmp r4, #16
bne .L4
mov r0, #100
bl mdelay
mov r4, #2
.L5:
mov r0, r4
bl S3C2410_GPD
add r4, r4, #1
mov r1, #1
bl gpio_direction_output
cmp r4, #8
bne .L5
mov r4, #11
.L6:
mov r0, r4
bl S3C2410_GPD
add r4, r4, #1
mov r1, #1
bl gpio_direction_output
cmp r4, #16
bne .L6
mov r0, #100
bl mdelay
mov r0, #0
bl S3C2410_GPB
mov r1, #0
bl gpio_direction_output
mov r4, #1
.L7:
mov r0, r4
bl S3C2410_GPC
add r4, r4, #1
mov r1, #0
bl gpio_direction_output
cmp r4, #5
bne .L7
mov r4, #11
.L8:
mov r0, r4
bl S3C2410_GPC
add r4, r4, #1
mov r1, #0
bl gpio_direction_output
cmp r4, #16
bne .L8
mov r4, #11
.L9:
mov r0, r4
bl S3C2410_GPD
add r4, r4, #1
mov r1, #0
bl gpio_direction_output
cmp r4, #16
bne .L9
mov r4, #2
.L10:
mov r0, r4
bl S3C2410_GPD
add r4, r4, #1
mov r1, #0
bl gpio_direction_output
cmp r4, #8
bne .L10
mov r0, #6
bl S3C2410_GPC
mov r1, #0
bl gpio_direction_output
mov r0, #7
bl S3C2410_GPC
mov r1, #0
bl gpio_direction_output
mov r0, #5
bl S3C2410_GPC
mov r1, #0
bl gpio_direction_output
mov r0, #1
bl S3C2410_GPB
mov r1, #0
bl gpio_direction_output
ldr r4, .L29+4
ldr r3, .L29+8
mov r1, #0
ldr r2, [r3]
ldr r0, [r4]
bl pwm_config
ldr r0, [r4]
bl pwm_disable
mov r0, #0
bl S3C2410_GPC
mov r1, #0
bl gpio_direction_output
mov r0, #10
bl S3C2410_GPC
mov r1, #0
bl gpio_direction_output
str r5, [r6]
pop {r4, r5, r6, r7, r8, pc}
.L3:
ldr r3, .L29+12
ldr r4, .L29+4
ldr r2, .L29+8
ldr r1, [r3]
ldr r2, [r2]
ldr r0, [r4]
bl pwm_config
ldr r0, [r4]
mov r4, #1
bl pwm_enable
mov r0, #0
bl S3C2410_GPC
mov r1, #1
bl gpio_direction_output
mov r0, #5
bl S3C2410_GPC
mov r1, #1
bl gpio_direction_output
mov r0, #1
bl S3C2410_GPB
ldr r3, .L29+16
ldr r1, [r3]
bl s3c_gpio_cfgpin
mov r0, #7
bl S3C2410_GPC
mov r1, r4
bl gpio_direction_output
.L12:
mov r0, r4
bl S3C2410_GPC
mov r7, r0
mov r0, #2
bl S3C_GPIO_SFN
add r4, r4, #1
mov r1, r0
mov r0, r7
bl s3c_gpio_cfgpin
cmp r4, #5
bne .L12
mov r4, #11
.L13:
mov r0, r4
bl S3C2410_GPC
mov r7, r0
mov r0, #2
bl S3C_GPIO_SFN
add r4, r4, #1
mov r1, r0
mov r0, r7
bl s3c_gpio_cfgpin
cmp r4, #16
bne .L13
mov r4, #2
.L14:
mov r0, r4
bl S3C2410_GPD
mov r7, r0
mov r0, #2
bl S3C_GPIO_SFN
add r4, r4, #1
mov r1, r0
mov r0, r7
bl s3c_gpio_cfgpin
cmp r4, #8
bne .L14
mov r4, #11
.L15:
mov r0, r4
bl S3C2410_GPD
mov r7, r0
mov r0, #2
bl S3C_GPIO_SFN
add r4, r4, #1
mov r1, r0
mov r0, r7
bl s3c_gpio_cfgpin
cmp r4, #16
bne .L15
mov r0, #10
bl S3C2410_GPC
mov r1, #1
bl gpio_direction_output
mov r0, #6
bl S3C2410_GPC
mov r1, #1
bl gpio_direction_output
str r5, [r6]
pop {r4, r5, r6, r7, r8, pc}
.L30:
.align 2
.L29:
.word .LANCHOR0
.word lcd_pwm
.word LCD_PWM_PERIOD
.word LCD_PWM_DUTY
.word S3C2410_GPB1_TOUT1
.size rx1950_lcd_power, .-rx1950_lcd_power
.comm lcd_pwm,4,4
.comm S3C2410_GPB1_TOUT1,4,4
.comm LCD_PWM_PERIOD,4,4
.comm LCD_PWM_DUTY,4,4
.bss
.align 2
.set .LANCHOR0,. + 0
.type enabled.4231, %object
.size enabled.4231, 4
enabled.4231:
.space 4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-rx1950.c_rx1950_set_mmc_power.c"
.intel_syntax noprefix
.text
.p2align 4
.type rx1950_set_mmc_power, @function
rx1950_set_mmc_power:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
cmp dil, -127
jbe .L7
cmp dil, -126
jne .L1
mov edi, 1
call S3C2410_GPJ@PLT
xor esi, esi
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
mov edi, eax
jmp gpio_direction_output@PLT
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
test dil, dil
js .L8
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov edi, 1
call S3C2410_GPJ@PLT
mov esi, 1
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp gpio_direction_output@PLT
.cfi_endproc
.LFE0:
.size rx1950_set_mmc_power, .-rx1950_set_mmc_power
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-rx1950.c_rx1950_set_mmc_power.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type rx1950_set_mmc_power, %function
rx1950_set_mmc_power:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r0, #129
push {r4, lr}
bls .L7
cmp r0, #130
popne {r4, pc}
mov r0, #1
bl S3C2410_GPJ
pop {r4, lr}
mov r1, #0
b gpio_direction_output
.L7:
tst r0, #128
popeq {r4, pc}
mov r0, #1
bl S3C2410_GPJ
pop {r4, lr}
mov r1, #1
b gpio_direction_output
.size rx1950_set_mmc_power, .-rx1950_set_mmc_power
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-smdk2416.c_s3c2416_fb_gpio_setup_24bpp.c"
.intel_syntax noprefix
.text
.p2align 4
.type s3c2416_fb_gpio_setup_24bpp, @function
s3c2416_fb_gpio_setup_24bpp:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov edi, 1
call S3C2410_GPC@PLT
mov ebx, eax
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
mov edi, 2
call S3C_GPIO_SFN@PLT
mov edi, ebx
mov esi, eax
call s3c_gpio_cfgpin@PLT
mov esi, DWORD PTR S3C_GPIO_PULL_NONE[rip]
mov edi, ebx
add ebx, 1
call s3c_gpio_setpull@PLT
.L2:
mov edi, 4
call S3C2410_GPC@PLT
cmp eax, ebx
jnb .L3
mov edi, 8
call S3C2410_GPC@PLT
mov ebx, eax
jmp .L4
.p2align 4,,10
.p2align 3
.L5:
mov edi, 2
call S3C_GPIO_SFN@PLT
mov edi, ebx
mov esi, eax
call s3c_gpio_cfgpin@PLT
mov esi, DWORD PTR S3C_GPIO_PULL_NONE[rip]
mov edi, ebx
add ebx, 1
call s3c_gpio_setpull@PLT
.L4:
mov edi, 15
call S3C2410_GPC@PLT
cmp eax, ebx
jnb .L5
xor edi, edi
call S3C2410_GPD@PLT
mov ebx, eax
jmp .L6
.p2align 4,,10
.p2align 3
.L7:
mov edi, 2
call S3C_GPIO_SFN@PLT
mov edi, ebx
mov esi, eax
call s3c_gpio_cfgpin@PLT
mov esi, DWORD PTR S3C_GPIO_PULL_NONE[rip]
mov edi, ebx
add ebx, 1
call s3c_gpio_setpull@PLT
.L6:
mov edi, 15
call S3C2410_GPD@PLT
cmp eax, ebx
jnb .L7
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size s3c2416_fb_gpio_setup_24bpp, .-s3c2416_fb_gpio_setup_24bpp
.globl S3C_GPIO_PULL_NONE
.bss
.align 4
.type S3C_GPIO_PULL_NONE, @object
.size S3C_GPIO_PULL_NONE, 4
S3C_GPIO_PULL_NONE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-smdk2416.c_s3c2416_fb_gpio_setup_24bpp.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type s3c2416_fb_gpio_setup_24bpp, %function
s3c2416_fb_gpio_setup_24bpp:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r0, #1
bl S3C2410_GPC
ldr r5, .L11
mov r4, r0
b .L2
.L3:
mov r0, #2
bl S3C_GPIO_SFN
mov r1, r0
mov r0, r4
bl s3c_gpio_cfgpin
mov r0, r4
ldr r1, [r5]
bl s3c_gpio_setpull
add r4, r4, #1
.L2:
mov r0, #4
bl S3C2410_GPC
cmp r0, r4
bcs .L3
mov r0, #8
bl S3C2410_GPC
ldr r5, .L11
mov r4, r0
b .L4
.L5:
mov r0, #2
bl S3C_GPIO_SFN
mov r1, r0
mov r0, r4
bl s3c_gpio_cfgpin
mov r0, r4
ldr r1, [r5]
bl s3c_gpio_setpull
add r4, r4, #1
.L4:
mov r0, #15
bl S3C2410_GPC
cmp r0, r4
bcs .L5
mov r0, #0
bl S3C2410_GPD
mov r4, r0
ldr r5, .L11
.L6:
mov r0, #15
bl S3C2410_GPD
cmp r0, r4
popcc {r4, r5, r6, pc}
mov r0, #2
bl S3C_GPIO_SFN
mov r1, r0
mov r0, r4
bl s3c_gpio_cfgpin
mov r0, r4
ldr r1, [r5]
bl s3c_gpio_setpull
add r4, r4, #1
b .L6
.L12:
.align 2
.L11:
.word S3C_GPIO_PULL_NONE
.size s3c2416_fb_gpio_setup_24bpp, .-s3c2416_fb_gpio_setup_24bpp
.comm S3C_GPIO_PULL_NONE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-smdk2416.c_smdk2416_hsudc_gpio_init.c"
.intel_syntax noprefix
.text
.p2align 4
.type smdk2416_hsudc_gpio_init, @function
smdk2416_hsudc_gpio_init:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov edi, 14
mov ebp, DWORD PTR S3C_GPIO_PULL_UP[rip]
call S3C2410_GPH@PLT
mov esi, ebp
mov edi, eax
call s3c_gpio_setpull@PLT
mov ebp, DWORD PTR S3C_GPIO_PULL_NONE[rip]
mov edi, 2
call S3C2410_GPF@PLT
mov edi, eax
mov esi, ebp
call s3c_gpio_setpull@PLT
mov edi, 1
call S3C_GPIO_SFN@PLT
mov edi, 14
mov ebp, eax
call S3C2410_GPH@PLT
mov esi, ebp
mov edi, eax
call s3c_gpio_cfgpin@PLT
mov edi, DWORD PTR S3C2416_MISCCR_SEL_SUSPND[rip]
xor esi, esi
pop rbp
.cfi_def_cfa_offset 8
jmp s3c2410_modify_misccr@PLT
.cfi_endproc
.LFE0:
.size smdk2416_hsudc_gpio_init, .-smdk2416_hsudc_gpio_init
.globl S3C_GPIO_PULL_UP
.bss
.align 4
.type S3C_GPIO_PULL_UP, @object
.size S3C_GPIO_PULL_UP, 4
S3C_GPIO_PULL_UP:
.zero 4
.globl S3C_GPIO_PULL_NONE
.align 4
.type S3C_GPIO_PULL_NONE, @object
.size S3C_GPIO_PULL_NONE, 4
S3C_GPIO_PULL_NONE:
.zero 4
.globl S3C2416_MISCCR_SEL_SUSPND
.align 4
.type S3C2416_MISCCR_SEL_SUSPND, @object
.size S3C2416_MISCCR_SEL_SUSPND, 4
S3C2416_MISCCR_SEL_SUSPND:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-smdk2416.c_smdk2416_hsudc_gpio_init.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type smdk2416_hsudc_gpio_init, %function
smdk2416_hsudc_gpio_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #14
bl S3C2410_GPH
ldr r3, .L4
ldr r1, [r3]
bl s3c_gpio_setpull
mov r0, #2
bl S3C2410_GPF
ldr r3, .L4+4
ldr r1, [r3]
bl s3c_gpio_setpull
mov r0, #14
bl S3C2410_GPH
mov r4, r0
mov r0, #1
bl S3C_GPIO_SFN
mov r1, r0
mov r0, r4
bl s3c_gpio_cfgpin
pop {r4, lr}
ldr r3, .L4+8
mov r1, #0
ldr r0, [r3]
b s3c2410_modify_misccr
.L5:
.align 2
.L4:
.word S3C_GPIO_PULL_UP
.word S3C_GPIO_PULL_NONE
.word S3C2416_MISCCR_SEL_SUSPND
.size smdk2416_hsudc_gpio_init, .-smdk2416_hsudc_gpio_init
.comm S3C_GPIO_PULL_UP,4,4
.comm S3C_GPIO_PULL_NONE,4,4
.comm S3C2416_MISCCR_SEL_SUSPND,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-smdk2416.c_smdk2416_hsudc_gpio_uninit.c"
.intel_syntax noprefix
.text
.p2align 4
.type smdk2416_hsudc_gpio_uninit, @function
smdk2416_hsudc_gpio_uninit:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov edi, DWORD PTR S3C2416_MISCCR_SEL_SUSPND[rip]
mov esi, 1
call s3c2410_modify_misccr@PLT
mov ebp, DWORD PTR S3C_GPIO_PULL_NONE[rip]
mov edi, 14
call S3C2410_GPH@PLT
mov edi, eax
mov esi, ebp
call s3c_gpio_setpull@PLT
xor edi, edi
call S3C_GPIO_SFN@PLT
mov edi, 14
mov ebp, eax
call S3C2410_GPH@PLT
mov esi, ebp
pop rbp
.cfi_def_cfa_offset 8
mov edi, eax
jmp s3c_gpio_cfgpin@PLT
.cfi_endproc
.LFE0:
.size smdk2416_hsudc_gpio_uninit, .-smdk2416_hsudc_gpio_uninit
.globl S3C_GPIO_PULL_NONE
.bss
.align 4
.type S3C_GPIO_PULL_NONE, @object
.size S3C_GPIO_PULL_NONE, 4
S3C_GPIO_PULL_NONE:
.zero 4
.globl S3C2416_MISCCR_SEL_SUSPND
.align 4
.type S3C2416_MISCCR_SEL_SUSPND, @object
.size S3C2416_MISCCR_SEL_SUSPND, 4
S3C2416_MISCCR_SEL_SUSPND:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-smdk2416.c_smdk2416_hsudc_gpio_uninit.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type smdk2416_hsudc_gpio_uninit, %function
smdk2416_hsudc_gpio_uninit:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, lr}
mov r1, #1
ldr r0, [r3]
bl s3c2410_modify_misccr
mov r0, #14
bl S3C2410_GPH
ldr r3, .L4+4
ldr r1, [r3]
bl s3c_gpio_setpull
mov r0, #14
bl S3C2410_GPH
mov r4, r0
mov r0, #0
bl S3C_GPIO_SFN
mov r1, r0
mov r0, r4
pop {r4, lr}
b s3c_gpio_cfgpin
.L5:
.align 2
.L4:
.word S3C2416_MISCCR_SEL_SUSPND
.word S3C_GPIO_PULL_NONE
.size smdk2416_hsudc_gpio_uninit, .-smdk2416_hsudc_gpio_uninit
.comm S3C_GPIO_PULL_NONE,4,4
.comm S3C2416_MISCCR_SEL_SUSPND,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_mach-vr1000.c_vr1000_power_off.c"
.intel_syntax noprefix
.text
.p2align 4
.type vr1000_power_off, @function
vr1000_power_off:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, 9
call S3C2410_GPB@PLT
mov esi, 1
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp gpio_direction_output@PLT
.cfi_endproc
.LFE0:
.size vr1000_power_off, .-vr1000_power_off
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_mach-vr1000.c_vr1000_power_off.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type vr1000_power_off, %function
vr1000_power_off:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #9
bl S3C2410_GPB
pop {r4, lr}
mov r1, #1
b gpio_direction_output
.size vr1000_power_off, .-vr1000_power_off
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_nand-core.h_s3c_nand_setname.c"
.intel_syntax noprefix
.text
.p2align 4
.type s3c_nand_setname, @function
s3c_nand_setname:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size s3c_nand_setname, .-s3c_nand_setname
.globl s3c_device_nand
.bss
.align 8
.type s3c_device_nand, @object
.size s3c_device_nand, 8
s3c_device_nand:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_nand-core.h_s3c_nand_setname.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type s3c_nand_setname, %function
s3c_nand_setname:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size s3c_nand_setname, .-s3c_nand_setname
.comm s3c_device_nand,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pll-s3c2410.c_s3c2410_plls_add.c"
.intel_syntax noprefix
.text
.p2align 4
.type s3c2410_plls_add, @function
s3c2410_plls_add:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR pll_vals_12MHz[rip]
call ARRAY_SIZE@PLT
mov edi, DWORD PTR pll_vals_12MHz[rip]
add rsp, 8
.cfi_def_cfa_offset 8
mov esi, eax
jmp s3c_plltab_register@PLT
.cfi_endproc
.LFE0:
.size s3c2410_plls_add, .-s3c2410_plls_add
.globl pll_vals_12MHz
.bss
.align 4
.type pll_vals_12MHz, @object
.size pll_vals_12MHz, 4
pll_vals_12MHz:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pll-s3c2410.c_s3c2410_plls_add.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type s3c2410_plls_add, %function
s3c2410_plls_add:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, lr}
ldr r4, [r3]
mov r0, r4
bl ARRAY_SIZE
mov r1, r0
mov r0, r4
pop {r4, lr}
b s3c_plltab_register
.L5:
.align 2
.L4:
.word pll_vals_12MHz
.size s3c2410_plls_add, .-s3c2410_plls_add
.comm pll_vals_12MHz,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm-s3c2410.c_s3c2410_pm_add.c"
.intel_syntax noprefix
.text
.p2align 4
.type s3c2410_pm_add, @function
s3c2410_pm_add:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR s3c2410_pm_prepare[rip]
mov DWORD PTR pm_cpu_prep[rip], eax
mov eax, DWORD PTR s3c2410_cpu_suspend[rip]
mov DWORD PTR pm_cpu_sleep[rip], eax
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size s3c2410_pm_add, .-s3c2410_pm_add
.globl s3c2410_pm_prepare
.bss
.align 4
.type s3c2410_pm_prepare, @object
.size s3c2410_pm_prepare, 4
s3c2410_pm_prepare:
.zero 4
.globl s3c2410_cpu_suspend
.align 4
.type s3c2410_cpu_suspend, @object
.size s3c2410_cpu_suspend, 4
s3c2410_cpu_suspend:
.zero 4
.globl pm_cpu_sleep
.align 4
.type pm_cpu_sleep, @object
.size pm_cpu_sleep, 4
pm_cpu_sleep:
.zero 4
.globl pm_cpu_prep
.align 4
.type pm_cpu_prep, @object
.size pm_cpu_prep, 4
pm_cpu_prep:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm-s3c2410.c_s3c2410_pm_add.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type s3c2410_pm_add, %function
s3c2410_pm_add:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, .L3
ldr r3, .L3+4
ldr r0, [r2]
ldr r1, .L3+8
ldr r2, [r3]
ldr r3, .L3+12
str r0, [r1]
str r2, [r3]
mov r0, #0
bx lr
.L4:
.align 2
.L3:
.word s3c2410_pm_prepare
.word s3c2410_cpu_suspend
.word pm_cpu_prep
.word pm_cpu_sleep
.size s3c2410_pm_add, .-s3c2410_pm_add
.comm s3c2410_pm_prepare,4,4
.comm s3c2410_cpu_suspend,4,4
.comm pm_cpu_sleep,4,4
.comm pm_cpu_prep,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pm-s3c2410.c_s3c2410_pm_prepare.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "GSTATUS3 0x%08x\n"
.LC1:
.string "GSTATUS4 0x%08x\n"
.text
.p2align 4
.type s3c2410_pm_prepare, @function
s3c2410_pm_prepare:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov edi, DWORD PTR s3c_cpu_resume[rip]
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, QWORD PTR S3C2410_GSTATUS3[rip]
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
call __pa_symbol@PLT
mov rsi, rbp
mov rdi, rax
call __raw_writel@PLT
mov rdi, QWORD PTR S3C2410_GSTATUS3[rip]
call __raw_readl@PLT
lea rdi, .LC0[rip]
mov rsi, rax
call S3C_PMDBG@PLT
mov rdi, QWORD PTR S3C2410_GSTATUS4[rip]
call __raw_readl@PLT
lea rdi, .LC1[rip]
mov rsi, rax
call S3C_PMDBG@PLT
xor eax, eax
call machine_is_h1940@PLT
test rax, rax
jne .L20
.L2:
xor eax, eax
call machine_is_rx3715@PLT
test rax, rax
jne .L6
xor eax, eax
call machine_is_rx1950@PLT
test rax, rax
jne .L6
xor eax, eax
call machine_is_aml_m5900@PLT
test rax, rax
jne .L21
.L8:
xor eax, eax
call machine_is_rx1950@PLT
test rax, rax
jne .L22
.L1:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.L6:
.cfi_restore_state
mov edi, DWORD PTR H1940_SUSPEND_CHECK[rip]
xor ebp, ebp
call phys_to_virt@PLT
mov rbx, rax
lea r12, 262144[rax]
.p2align 4,,10
.p2align 3
.L5:
mov rdi, rbx
add rbx, 4
call __raw_readl@PLT
add rbp, rax
cmp rbx, r12
jne .L5
mov edi, DWORD PTR H1940_SUSPEND_CHECKSUM[rip]
call phys_to_virt@PLT
mov rdi, rbp
mov rsi, rax
call __raw_writel@PLT
xor eax, eax
call machine_is_aml_m5900@PLT
test rax, rax
je .L8
.L21:
mov ebp, DWORD PTR GPIOF_OUT_INIT_HIGH[rip]
mov edi, 2
call S3C2410_GPF@PLT
xor edx, edx
mov esi, ebp
mov edi, eax
call gpio_request_one@PLT
mov edi, 2
call S3C2410_GPF@PLT
mov edi, eax
call gpio_free@PLT
xor eax, eax
call machine_is_rx1950@PLT
test rax, rax
je .L1
.L22:
mov ebp, DWORD PTR S3C2410_GPIO_INPUT[rip]
mov edi, 13
call S3C2410_GPG@PLT
mov edi, eax
mov esi, ebp
call s3c_gpio_cfgpin@PLT
mov ebp, DWORD PTR S3C2410_GPIO_INPUT[rip]
mov edi, 14
call S3C2410_GPG@PLT
mov edi, eax
mov esi, ebp
call s3c_gpio_cfgpin@PLT
mov ebp, DWORD PTR S3C2410_GPIO_INPUT[rip]
mov edi, 15
call S3C2410_GPG@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov esi, ebp
mov edi, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp s3c_gpio_cfgpin@PLT
.L20:
.cfi_restore_state
mov edi, DWORD PTR H1940_SUSPEND_CHECK[rip]
xor ebp, ebp
call phys_to_virt@PLT
mov rbx, rax
lea r12, 262144[rax]
.p2align 4,,10
.p2align 3
.L3:
mov rdi, rbx
add rbx, 1024
call __raw_readl@PLT
add rbp, rax
cmp r12, rbx
jne .L3
mov edi, DWORD PTR H1940_SUSPEND_CHECKSUM[rip]
call phys_to_virt@PLT
mov rdi, rbp
mov rsi, rax
call __raw_writel@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size s3c2410_pm_prepare, .-s3c2410_pm_prepare
.globl s3c_cpu_resume
.bss
.align 4
.type s3c_cpu_resume, @object
.size s3c_cpu_resume, 4
s3c_cpu_resume:
.zero 4
.globl S3C2410_GSTATUS4
.align 8
.type S3C2410_GSTATUS4, @object
.size S3C2410_GSTATUS4, 8
S3C2410_GSTATUS4:
.zero 8
.globl S3C2410_GSTATUS3
.align 8
.type S3C2410_GSTATUS3, @object
.size S3C2410_GSTATUS3, 8
S3C2410_GSTATUS3:
.zero 8
.globl S3C2410_GPIO_INPUT
.align 4
.type S3C2410_GPIO_INPUT, @object
.size S3C2410_GPIO_INPUT, 4
S3C2410_GPIO_INPUT:
.zero 4
.globl H1940_SUSPEND_CHECKSUM
.align 4
.type H1940_SUSPEND_CHECKSUM, @object
.size H1940_SUSPEND_CHECKSUM, 4
H1940_SUSPEND_CHECKSUM:
.zero 4
.globl H1940_SUSPEND_CHECK
.align 4
.type H1940_SUSPEND_CHECK, @object
.size H1940_SUSPEND_CHECK, 4
H1940_SUSPEND_CHECK:
.zero 4
.globl GPIOF_OUT_INIT_HIGH
.align 4
.type GPIOF_OUT_INIT_HIGH, @object
.size GPIOF_OUT_INIT_HIGH, 4
GPIOF_OUT_INIT_HIGH:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pm-s3c2410.c_s3c2410_pm_prepare.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "GSTATUS3 0x%08x\012\000"
.align 2
.LC1:
.ascii "GSTATUS4 0x%08x\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type s3c2410_pm_prepare, %function
s3c2410_pm_prepare:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L22
push {r4, r5, r6, lr}
ldr r4, .L22+4
ldr r0, [r3]
bl __pa_symbol
ldr r1, [r4]
bl __raw_writel
ldr r0, [r4]
bl __raw_readl
mov r1, r0
ldr r0, .L22+8
bl S3C_PMDBG
ldr r3, .L22+12
ldr r0, [r3]
bl __raw_readl
mov r1, r0
ldr r0, .L22+16
bl S3C_PMDBG
bl machine_is_h1940
cmp r0, #0
bne .L20
.L2:
bl machine_is_rx3715
cmp r0, #0
bne .L6
bl machine_is_rx1950
cmp r0, #0
beq .L7
.L6:
ldr r3, .L22+20
mov r5, #0
ldr r0, [r3]
bl phys_to_virt
mov r4, r0
add r6, r0, #262144
.L5:
mov r0, r4
bl __raw_readl
add r4, r4, #4
cmp r4, r6
add r5, r5, r0
bne .L5
ldr r3, .L22+24
ldr r0, [r3]
bl phys_to_virt
mov r1, r0
mov r0, r5
bl __raw_writel
.L7:
bl machine_is_aml_m5900
cmp r0, #0
bne .L21
.L8:
bl machine_is_rx1950
cmp r0, #0
popeq {r4, r5, r6, pc}
ldr r4, .L22+28
mov r0, #13
bl S3C2410_GPG
ldr r1, [r4]
bl s3c_gpio_cfgpin
mov r0, #14
bl S3C2410_GPG
ldr r1, [r4]
bl s3c_gpio_cfgpin
mov r0, #15
bl S3C2410_GPG
ldr r1, [r4]
pop {r4, r5, r6, lr}
b s3c_gpio_cfgpin
.L21:
mov r0, #2
bl S3C2410_GPF
ldr r3, .L22+32
mov r2, #0
ldr r1, [r3]
bl gpio_request_one
mov r0, #2
bl S3C2410_GPF
bl gpio_free
b .L8
.L20:
ldr r3, .L22+20
mov r5, #0
ldr r0, [r3]
bl phys_to_virt
mov r4, r0
add r6, r0, #262144
.L3:
mov r0, r4
bl __raw_readl
add r4, r4, #1024
cmp r6, r4
add r5, r5, r0
bne .L3
ldr r3, .L22+24
ldr r0, [r3]
bl phys_to_virt
mov r1, r0
mov r0, r5
bl __raw_writel
b .L2
.L23:
.align 2
.L22:
.word s3c_cpu_resume
.word S3C2410_GSTATUS3
.word .LC0
.word S3C2410_GSTATUS4
.word .LC1
.word H1940_SUSPEND_CHECK
.word H1940_SUSPEND_CHECKSUM
.word S3C2410_GPIO_INPUT
.word GPIOF_OUT_INIT_HIGH
.size s3c2410_pm_prepare, .-s3c2410_pm_prepare
.comm s3c_cpu_resume,4,4
.comm S3C2410_GSTATUS4,4,4
.comm S3C2410_GSTATUS3,4,4
.comm S3C2410_GPIO_INPUT,4,4
.comm H1940_SUSPEND_CHECKSUM,4,4
.comm H1940_SUSPEND_CHECK,4,4
.comm GPIOF_OUT_INIT_HIGH,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
Subsets and Splits