1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/EN7526G_3.18Kernel_SDK/linux-3.18.21/qdma_bmgr.s
2024-07-22 01:58:46 -03:00

12020 lines
192 KiB
ArmAsm
Executable File

.file 1 "qdma_bmgr.c"
.section .mdebug.abi32
.previous
.nan legacy
.gnu_attribute 4, 3
.data
.align 2
.type frag_percpu_counter_batch, @object
.size frag_percpu_counter_batch, 4
frag_percpu_counter_batch:
.word 130000
.globl qdma_operation
.align 2
.type qdma_operation, @object
.size qdma_operation, 396
qdma_operation:
.word qdma_init
.word qdma_deinit
.word qdma_tx_dma_mode
.word qdma_rx_dma_mode
.word qdma_loopback_mode
.word qdma_register_callback_function
.word qdma_unregister_callback_function
.word qdma_enable_rxpkt_int
.word qdma_disable_rxpkt_int
.word qdma_receive_packets
.word qdma_transmit_packet
.word qdma_set_tx_qos_weight
.word qdma_get_tx_qos_weight
.word qdma_set_tx_qos
.word qdma_get_tx_qos
.word qdma_set_mac_limit_threshold
.word qdma_get_mac_limit_threshold
.word qdma_set_txbuf_threshold
.word qdma_get_txbuf_threshold
.word qdma_set_prefetch_mode
.word qdma_set_pktsize_overhead_en
.word qdma_get_pktsize_overhead_en
.word qdma_set_pktsize_overhead_value
.word qdma_get_pktsize_overhead_value
.word qdma_set_lmgr_low_threshold
.word qdma_get_lmgr_low_threshold
.word qdma_get_lmgr_status
.word qdma_set_dbg_level
.word qdma_dump_dma_busy
.word qdma_dump_reg_polling
.word qdma_set_force_receive_rx_ring1
.word qdma_set_tx_drop_en
.word qdma_get_tx_drop_en
.word qdma_set_tx_ratemeter
.word qdma_get_tx_ratemeter
.word qdma_enable_tx_ratelimit
.word qdma_set_tx_ratelimit_cfg
.word qdma_get_tx_ratelimit_cfg
.word qdma_set_tx_ratelimit
.word qdma_get_tx_ratelimit
.word qdma_set_tx_dba_report
.word qdma_get_tx_dba_report
.word qdma_set_rx_protect_en
.word qdma_get_rx_protect_en
.word qdma_set_rx_low_threshold
.word qdma_get_rx_low_threshold
.word qdma_set_rx_ratelimit_en
.word qdma_set_rx_ratelimit_pkt_mode
.word qdma_get_rx_ratelimit_cfg
.word qdma_set_rx_ratelimit
.word qdma_get_rx_ratelimit
.word qdma_set_txq_dei_drop_mode
.word qdma_get_txq_dei_drop_mode
.word qdma_set_txq_cngst_mode
.word qdma_get_txq_cngst_mode
.word qdma_set_txq_dei_threshold_scale
.word qdma_get_txq_dei_threshold_scale
.word qdma_set_txq_cngst_auto_config
.word qdma_get_txq_cngst_auto_config
.word qdma_set_txq_cngst_dynamic_threshold
.word qdma_get_txq_cngst_dynamic_threshold
.word qdma_set_txq_cngst_total_threshold
.word qdma_get_txq_cngst_total_threshold
.word qdma_set_txq_cngst_channel_threshold
.word qdma_get_txq_cngst_channel_threshold
.word qdma_set_txq_cngst_queue_threshold
.word qdma_get_txq_cngst_queue_threshold
.word qdma_set_txq_peekrate_params
.word qdma_get_txq_peekrate_params
.word qdma_set_txq_cngst_static_queue_normal_threshold
.word qdma_set_txq_cngst_static_queue_dei_threshold
.word qdma_get_txq_cngst_dynamic_info
.word qdma_get_txq_cngst_static_info
.word qdma_set_txq_cngst_queue_nonblocking
.word qdma_get_txq_cngst_queue_nonblocking
.word qdma_set_txq_cngst_channel_nonblocking
.word qdma_get_txq_cngst_channel_nonblocking
.word qdma_set_virtual_channel_mode
.word qdma_get_virtual_channel_mode
.word qdma_set_virtual_channel_qos
.word qdma_get_virtual_channel_qos
.word qdma_clear_and_set_dbg_cntr_channel_group
.word qdma_clear_and_set_dbg_cntr_queue_group
.word qdma_clear_dbg_cntr_value_all
.word qdma_dump_dbg_cntr_value
.word qdma_dump_tx_qos
.word qdma_dump_virtual_channel_qos
.word qdma_dump_tx_ratelimit
.word qdma_dump_rx_ratelimit
.word qdma_dump_tx_dba_report
.word qdma_dump_txq_cngst
.word qdma_clear_cpu_counters
.word qdma_dump_cpu_counters
.word qdma_dump_register_value
.word qdma_dump_descriptor_info
.word qdma_dump_irq_info
.word qdma_dump_hwfwd_info
.word qdma_dump_info_all
.word qdma_read_vip_info
.globl gpQdmaPriv
.section .bss,"aw",@nobits
.align 2
.type gpQdmaPriv, @object
.size gpQdmaPriv, 4
gpQdmaPriv:
.space 4
.globl storm_ctrl_shrehold_lan
.data
.align 2
.type storm_ctrl_shrehold_lan, @object
.size storm_ctrl_shrehold_lan, 4
storm_ctrl_shrehold_lan:
.word 120
.globl hwfwd_payload_max_size
.section .bss
.align 2
.type hwfwd_payload_max_size, @object
.size hwfwd_payload_max_size, 4
hwfwd_payload_max_size:
.space 4
.section __ksymtab_strings,"a",@progbits
.type __kstrtab_storm_ctrl_shrehold_lan, @object
.size __kstrtab_storm_ctrl_shrehold_lan, 24
__kstrtab_storm_ctrl_shrehold_lan:
.ascii "storm_ctrl_shrehold_lan\000"
.globl __ksymtab_storm_ctrl_shrehold_lan
.section ___ksymtab+storm_ctrl_shrehold_lan,"a",@progbits
.align 2
.type __ksymtab_storm_ctrl_shrehold_lan, @object
.size __ksymtab_storm_ctrl_shrehold_lan, 8
__ksymtab_storm_ctrl_shrehold_lan:
.word storm_ctrl_shrehold_lan
.word __kstrtab_storm_ctrl_shrehold_lan
.globl qdma_lan_fwd_timer
.data
.align 2
.type qdma_lan_fwd_timer, @object
.size qdma_lan_fwd_timer, 4
qdma_lan_fwd_timer:
.word 100
.section __ksymtab_strings
.type __kstrtab_qdma_lan_fwd_timer, @object
.size __kstrtab_qdma_lan_fwd_timer, 19
__kstrtab_qdma_lan_fwd_timer:
.ascii "qdma_lan_fwd_timer\000"
.globl __ksymtab_qdma_lan_fwd_timer
.section ___ksymtab+qdma_lan_fwd_timer,"a",@progbits
.align 2
.type __ksymtab_qdma_lan_fwd_timer, @object
.size __ksymtab_qdma_lan_fwd_timer, 8
__ksymtab_qdma_lan_fwd_timer:
.word qdma_lan_fwd_timer
.word __kstrtab_qdma_lan_fwd_timer
.globl physical_size
.section .bss
.align 2
.type physical_size, @object
.size physical_size, 4
physical_size:
.space 4
.globl macType
.align 2
.type macType, @object
.size macType, 4
macType:
.space 4
.globl gQueueMask
.align 2
.type gQueueMask, @object
.size gQueueMask, 4
gQueueMask:
.space 4
.globl isNeedHWQoS
.data
.align 2
.type isNeedHWQoS, @object
.size isNeedHWQoS, 4
isNeedHWQoS:
.word 1
.globl qos_wrr_info
.section .bss
.align 2
.type qos_wrr_info, @object
.size qos_wrr_info, 20
qos_wrr_info:
.space 20
.globl max_prio
.data
.align 2
.type max_prio, @object
.size max_prio, 4
max_prio:
.word 3
.globl qos_wrr_user
.section .bss
.type qos_wrr_user, @object
.size qos_wrr_user, 1
qos_wrr_user:
.space 1
.text
.align 2
.globl qdma_kfree_skb
.set nomips16
.set nomicromips
.ent qdma_kfree_skb
.type qdma_kfree_skb, @function
qdma_kfree_skb:
.frame $sp,96,$31 # vars= 72, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-96
sw $31,92($sp)
sw $4,96($sp)
sw $5,100($sp)
sw $0,20($sp)
sw $0,24($sp)
sw $0,16($sp)
lw $2,100($sp)
ext $2,$2,3,8
andi $2,$2,0x00ff
sw $2,20($sp)
lw $2,100($sp)
ext $2,$2,0,3
andi $2,$2,0x00ff
sw $2,24($sp)
lw $2,20($sp)
sll $3,$2,2
lui $2,%hi(chnlLimit)
addiu $2,$2,%lo(chnlLimit)
addu $2,$3,$2
li $3,1 # 0x1
sw $3,28($sp)
sw $2,32($sp)
$L2:
lw $4,32($sp)
lw $3,28($sp)
lw $2,32($sp)
#APP
# 135 "./arch/mips/include/asm/atomic.h" 1
.set arch=r4000
ll $5, 0($4) # atomic_sub
subu $5, $3
sc $5, 0($4)
.set mips0
# 0 "" 2
#NO_APP
move $2,$5
sw $2,36($sp)
lw $2,36($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
bne $2,$0,$L2
lw $2,20($sp)
sll $3,$2,3
lw $2,24($sp)
addu $2,$3,$2
sll $3,$2,2
lui $2,%hi(queueLimit)
addiu $2,$2,%lo(queueLimit)
addu $2,$3,$2
li $3,1 # 0x1
sw $3,40($sp)
sw $2,44($sp)
$L3:
lw $4,44($sp)
lw $3,40($sp)
lw $2,44($sp)
#APP
# 135 "./arch/mips/include/asm/atomic.h" 1
.set arch=r4000
ll $5, 0($4) # atomic_sub
subu $5, $3
sc $5, 0($4)
.set mips0
# 0 "" 2
#NO_APP
move $2,$5
sw $2,48($sp)
lw $2,48($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
bne $2,$0,$L3
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,188($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,188($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,156($2)
beq $2,$0,$L4
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,156($2)
lw $4,96($sp)
lw $5,100($sp)
jalr $2
beq $2,$0,$L6
li $2,-1 # 0xffffffffffffffff
sw $2,16($sp)
j $L6
$L4:
lw $2,96($sp)
sw $2,52($sp)
lw $4,52($sp)
li $5,1 # 0x1
lui $2,%hi(__dev_kfree_skb_any)
addiu $2,$2,%lo(__dev_kfree_skb_any)
jalr $2
$L6:
lw $2,16($sp)
lw $31,92($sp)
addiu $sp,$sp,96
j $31
.end qdma_kfree_skb
.size qdma_kfree_skb, .-qdma_kfree_skb
.rdata
.align 2
$LC0:
.ascii "Fault: Rate Meter unit is %d, which should between 2 and"
.ascii " %d\012\000"
.text
.align 2
.globl qdmaRateMeterValueCalCulate
.set nomips16
.set nomicromips
.ent qdmaRateMeterValueCalCulate
.type qdmaRateMeterValueCalCulate, @function
qdmaRateMeterValueCalCulate:
.frame $sp,56,$31 # vars= 32, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-56
sw $31,52($sp)
sw $4,56($sp)
sw $5,60($sp)
sw $6,64($sp)
li $2,2147418112 # 0x7fff0000
ori $2,$2,0xffff
sw $2,16($sp)
sw $0,20($sp)
sw $0,24($sp)
sw $0,28($sp)
lw $2,56($sp)
slt $2,$2,2
bne $2,$0,$L9
nop
lw $2,56($sp)
slt $2,$2,65
bne $2,$0,$L10
nop
$L9:
lui $2,%hi($LC0)
addiu $4,$2,%lo($LC0)
lw $5,56($sp)
li $6,64 # 0x40
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
nop
li $2,-1 # 0xffffffffffffffff
j $L11
nop
$L10:
sw $0,20($sp)
j $L12
nop
$L16:
li $2,65536 # 0x10000
ori $3,$2,0xf400
lw $2,20($sp)
sll $3,$3,$2
lw $2,56($sp)
div $0,$3,$2
mfhi $3
mflo $2
sw $2,24($sp)
lw $2,24($sp)
blez $2,$L13
nop
lw $3,24($sp)
li $2,65536 # 0x10000
slt $2,$3,$2
beq $2,$0,$L13
nop
li $2,65536 # 0x10000
ori $3,$2,0xf400
lw $2,20($sp)
sll $3,$3,$2
lw $2,24($sp)
div $0,$3,$2
mfhi $3
mflo $2
sw $2,28($sp)
lw $2,28($sp)
sw $2,32($sp)
lw $2,32($sp)
bgez $2,$L14
nop
subu $2,$0,$2
$L14:
sw $2,36($sp)
lw $3,36($sp)
lw $2,16($sp)
sw $2,40($sp)
lw $2,40($sp)
bgez $2,$L15
nop
subu $2,$0,$2
$L15:
sw $2,44($sp)
lw $2,44($sp)
slt $2,$3,$2
beq $2,$0,$L13
nop
lw $2,28($sp)
sw $2,16($sp)
lw $2,20($sp)
andi $3,$2,0xffff
lw $2,60($sp)
sh $3,0($2)
lw $2,24($sp)
andi $3,$2,0xffff
lw $2,64($sp)
sh $3,0($2)
lw $2,16($sp)
bne $2,$0,$L13
nop
li $2,1 # 0x1
j $L11
nop
$L13:
lw $2,20($sp)
addiu $2,$2,1
sw $2,20($sp)
$L12:
lw $2,20($sp)
slt $2,$2,4
bne $2,$0,$L16
nop
move $2,$0
$L11:
lw $31,52($sp)
addiu $sp,$sp,56
j $31
nop
.set macro
.set reorder
.end qdmaRateMeterValueCalCulate
.size qdmaRateMeterValueCalCulate, .-qdmaRateMeterValueCalCulate
.align 2
.globl qdma_set_tx_delay
.set nomips16
.set nomicromips
.ent qdma_set_tx_delay
.type qdma_set_tx_delay, @function
qdma_set_tx_delay:
.frame $sp,40,$31 # vars= 40, regs= 0/0, args= 0, gp= 0
.mask 0x00000000,0
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-40
move $3,$4
move $2,$5
sb $3,40($sp)
sh $2,44($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,0($sp)
lbu $2,40($sp)
beq $2,$0,$L18
nop
lbu $2,40($sp)
andi $3,$2,0xffff
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $2,30($2)
sltu $2,$2,$3
beq $2,$0,$L19
nop
$L18:
li $2,-22 # 0xffffffffffffffea
j $L20
nop
$L19:
lw $2,0($sp)
addiu $2,$2,100
sw $2,12($sp)
lw $2,12($sp)
lw $2,0($2)
sw $2,4($sp)
lw $2,0($sp)
addiu $3,$2,100
lw $4,4($sp)
li $2,-268435456 # 0xfffffffff0000000
ori $2,$2,0xffff
and $4,$4,$2
lbu $2,40($sp)
sll $2,$2,16
move $5,$2
li $2,268369920 # 0xfff0000
and $2,$5,$2
or $2,$4,$2
sw $3,16($sp)
sw $2,20($sp)
lw $2,16($sp)
lw $3,20($sp)
sw $3,0($2)
lw $2,0($sp)
addiu $2,$2,112
sw $2,24($sp)
lw $2,24($sp)
lw $2,0($2)
sw $2,8($sp)
lw $2,0($sp)
addiu $3,$2,112
lw $4,8($sp)
li $2,-65536 # 0xffffffffffff0000
and $4,$4,$2
lhu $2,44($sp)
or $2,$4,$2
sw $3,28($sp)
sw $2,32($sp)
lw $2,28($sp)
lw $3,32($sp)
sw $3,0($2)
move $2,$0
$L20:
addiu $sp,$sp,40
j $31
nop
.set macro
.set reorder
.end qdma_set_tx_delay
.size qdma_set_tx_delay, .-qdma_set_tx_delay
.align 2
.globl qdma_set_rx_delay
.set nomips16
.set nomicromips
.ent qdma_set_rx_delay
.type qdma_set_rx_delay, @function
qdma_set_rx_delay:
.frame $sp,40,$31 # vars= 40, regs= 0/0, args= 0, gp= 0
.mask 0x00000000,0
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-40
move $3,$4
move $2,$5
sw $6,48($sp)
sb $3,40($sp)
sb $2,44($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,0($sp)
lbu $2,40($sp)
beq $2,$0,$L24
nop
lw $2,0($sp)
addiu $2,$2,92
sw $2,12($sp)
lw $2,12($sp)
lw $2,0($2)
sw $2,4($sp)
lw $2,0($sp)
addiu $3,$2,92
lw $2,48($sp)
sll $2,$2,4
li $4,65535 # 0xffff
sll $2,$4,$2
nor $2,$0,$2
move $4,$2
lw $2,4($sp)
and $2,$4,$2
lbu $4,40($sp)
sll $4,$4,8
ori $5,$4,0x8000
lbu $4,44($sp)
or $5,$5,$4
lw $4,48($sp)
sll $4,$4,4
sll $5,$5,$4
lw $4,48($sp)
sll $4,$4,4
li $6,65535 # 0xffff
sll $4,$6,$4
and $4,$5,$4
or $2,$2,$4
sw $3,16($sp)
sw $2,20($sp)
lw $2,16($sp)
lw $3,20($sp)
sw $3,0($2)
j $L26
nop
$L24:
lw $2,0($sp)
addiu $2,$2,92
sw $2,24($sp)
lw $2,24($sp)
lw $2,0($2)
sw $2,8($sp)
lw $2,0($sp)
addiu $3,$2,92
lw $2,48($sp)
sll $2,$2,4
li $4,65535 # 0xffff
sll $2,$4,$2
nor $2,$0,$2
move $4,$2
lw $2,8($sp)
and $2,$4,$2
sw $3,28($sp)
sw $2,32($sp)
lw $2,28($sp)
lw $3,32($sp)
sw $3,0($2)
$L26:
move $2,$0
addiu $sp,$sp,40
j $31
nop
.set macro
.set reorder
.end qdma_set_rx_delay
.size qdma_set_rx_delay, .-qdma_set_rx_delay
.align 2
.globl qdma_bm_tx_polling_mode
.set nomips16
.set nomicromips
.ent qdma_bm_tx_polling_mode
.type qdma_bm_tx_polling_mode, @function
qdma_bm_tx_polling_mode:
.frame $sp,32,$31 # vars= 8, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-32
sw $31,28($sp)
sw $4,32($sp)
move $2,$5
sb $2,36($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,16($sp)
lw $3,32($sp)
li $2,1 # 0x1
bne $3,$2,$L30
nop
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lbu $3,36($sp)
sb $3,141($2)
lw $4,16($sp)
li $5,529 # 0x211
lui $2,%hi(qdmaDisableInt)
addiu $2,$2,%lo(qdmaDisableInt)
jalr $2
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lbu $2,140($3)
li $4,1 # 0x1
ins $2,$4,7,1
sb $2,140($3)
j $L31
nop
$L30:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lbu $2,140($3)
ins $2,$0,7,1
sb $2,140($3)
lw $4,16($sp)
li $5,529 # 0x211
lui $2,%hi(qdmaEnableInt)
addiu $2,$2,%lo(qdmaEnableInt)
jalr $2
nop
$L31:
move $2,$0
lw $31,28($sp)
addiu $sp,$sp,32
j $31
nop
.set macro
.set reorder
.end qdma_bm_tx_polling_mode
.size qdma_bm_tx_polling_mode, .-qdma_bm_tx_polling_mode
.align 2
.globl qdma_receive_packet_mode
.set nomips16
.set nomicromips
.ent qdma_receive_packet_mode
.type qdma_receive_packet_mode, @function
qdma_receive_packet_mode:
.frame $sp,32,$31 # vars= 8, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-32
sw $31,28($sp)
sw $4,32($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,16($sp)
lw $2,32($sp)
bne $2,$0,$L34
nop
lw $4,16($sp)
li $5,170 # 0xaa
lui $2,%hi(qdmaDisableInt)
addiu $2,$2,%lo(qdmaDisableInt)
jalr $2
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lbu $2,140($3)
li $4,1 # 0x1
ins $2,$4,6,1
sb $2,140($3)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lbu $2,140($3)
ins $2,$0,5,1
sb $2,140($3)
j $L35
nop
$L34:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lbu $2,140($3)
ins $2,$0,6,1
sb $2,140($3)
lw $3,32($sp)
li $2,2 # 0x2
bne $3,$2,$L36
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lbu $2,140($3)
li $4,1 # 0x1
ins $2,$4,5,1
sb $2,140($3)
j $L37
nop
$L36:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lbu $2,140($3)
ins $2,$0,5,1
sb $2,140($3)
$L37:
lw $4,16($sp)
li $5,170 # 0xaa
lui $2,%hi(qdmaEnableInt)
addiu $2,$2,%lo(qdmaEnableInt)
jalr $2
nop
$L35:
move $2,$0
lw $31,28($sp)
addiu $sp,$sp,32
j $31
nop
.set macro
.set reorder
.end qdma_receive_packet_mode
.size qdma_receive_packet_mode, .-qdma_receive_packet_mode
.align 2
.globl qdma_recycle_packet_mode
.set nomips16
.set nomicromips
.ent qdma_recycle_packet_mode
.type qdma_recycle_packet_mode, @function
qdma_recycle_packet_mode:
.frame $sp,32,$31 # vars= 8, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-32
sw $31,28($sp)
sw $4,32($sp)
move $2,$5
sb $2,36($sp)
sw $0,16($sp)
lw $2,32($sp)
bne $2,$0,$L40
nop
lbu $2,36($sp)
beq $2,$0,$L41
nop
lbu $2,36($sp)
li $4,1 # 0x1
move $5,$2
lui $2,%hi(qdma_bm_tx_polling_mode)
addiu $2,$2,%lo(qdma_bm_tx_polling_mode)
jalr $2
nop
sw $2,16($sp)
j $L43
nop
$L41:
li $4,1 # 0x1
li $5,32 # 0x20
lui $2,%hi(qdma_bm_tx_polling_mode)
addiu $2,$2,%lo(qdma_bm_tx_polling_mode)
jalr $2
nop
sw $2,16($sp)
j $L43
nop
$L40:
move $4,$0
move $5,$0
lui $2,%hi(qdma_bm_tx_polling_mode)
addiu $2,$2,%lo(qdma_bm_tx_polling_mode)
jalr $2
nop
sw $2,16($sp)
$L43:
lw $2,16($sp)
lw $31,28($sp)
addiu $sp,$sp,32
j $31
nop
.set macro
.set reorder
.end qdma_recycle_packet_mode
.size qdma_recycle_packet_mode, .-qdma_recycle_packet_mode
.section .imem_text,"ax",@progbits
.align 2
.globl allocate_skb_buffer
.set nomips16
.set nomicromips
.ent allocate_skb_buffer
.type allocate_skb_buffer, @function
allocate_skb_buffer:
.frame $sp,72,$31 # vars= 48, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-72
sw $31,68($sp)
sw $0,16($sp)
sw $0,20($sp)
lui $2,%hi(skbmgr_alloc_skb2k)
addiu $2,$2,%lo(skbmgr_alloc_skb2k)
jalr $2
nop
sw $2,24($sp)
lw $2,24($sp)
sltu $2,$0,$2
andi $2,$2,0x00ff
beq $2,$0,$L46
nop
li $2,32 # 0x20
sw $2,52($sp)
li $2,32 # 0x20
sw $2,56($sp)
lw $3,56($sp)
lw $2,52($sp)
slt $4,$3,$2
movz $2,$3,$4
lw $3,24($sp)
sw $3,28($sp)
sw $2,32($sp)
lw $2,28($sp)
lw $3,260($2)
lw $2,32($sp)
addu $3,$3,$2
lw $2,28($sp)
sw $3,260($2)
lw $2,28($sp)
lw $3,248($2)
lw $2,32($sp)
addu $3,$3,$2
lw $2,28($sp)
sw $3,248($2)
$L46:
lw $2,24($sp)
sw $2,20($sp)
lw $2,20($sp)
bne $2,$0,$L48
nop
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,176($2)
addiu $3,$3,1
sw $3,176($2)
j $L49
nop
$L48:
lw $2,20($sp)
lw $2,248($2)
andi $2,$2,0x7
sw $2,16($sp)
lw $2,16($sp)
beq $2,$0,$L50
nop
li $3,8 # 0x8
lw $2,16($sp)
subu $2,$3,$2
lw $3,20($sp)
sw $3,36($sp)
sw $2,40($sp)
lw $2,36($sp)
lw $3,260($2)
lw $2,40($sp)
addu $3,$3,$2
lw $2,36($sp)
sw $3,260($2)
lw $2,36($sp)
lw $3,248($2)
lw $2,40($sp)
addu $3,$3,$2
lw $2,36($sp)
sw $3,248($2)
$L50:
lw $2,20($sp)
sw $2,44($sp)
li $2,2 # 0x2
sw $2,48($sp)
lw $2,44($sp)
lw $3,260($2)
lw $2,48($sp)
addu $3,$3,$2
lw $2,44($sp)
sw $3,260($2)
lw $2,44($sp)
lw $3,248($2)
lw $2,48($sp)
addu $3,$3,$2
lw $2,44($sp)
sw $3,248($2)
$L49:
lw $2,20($sp)
lw $31,68($sp)
addiu $sp,$sp,72
j $31
nop
.set macro
.set reorder
.end allocate_skb_buffer
.size allocate_skb_buffer, .-allocate_skb_buffer
.text
.align 2
.globl qdma_prepare_rx_buffer
.set nomips16
.set nomicromips
.ent qdma_prepare_rx_buffer
.type qdma_prepare_rx_buffer, @function
qdma_prepare_rx_buffer:
.frame $sp,40,$31 # vars= 16, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-40
sw $31,36($sp)
sw $4,40($sp)
sw $0,16($sp)
sw $0,20($sp)
lui $2,%hi(allocate_skb_buffer)
addiu $2,$2,%lo(allocate_skb_buffer)
jalr $2
nop
sw $2,20($sp)
lw $2,20($sp)
bne $2,$0,$L53
nop
j $L54
nop
$L53:
lw $4,20($sp)
lw $5,40($sp)
lui $2,%hi(qdma_bm_hook_receive_buffer)
addiu $2,$2,%lo(qdma_bm_hook_receive_buffer)
jalr $2
nop
sw $2,16($sp)
lw $2,16($sp)
beq $2,$0,$L55
nop
li $2,-19 # 0xffffffffffffffed
sw $2,16($sp)
j $L54
nop
$L55:
lw $2,16($sp)
j $L56
nop
$L54:
lw $2,20($sp)
beq $2,$0,$L57
nop
lw $2,20($sp)
sw $2,24($sp)
lw $4,24($sp)
li $5,1 # 0x1
lui $2,%hi(__dev_kfree_skb_any)
addiu $2,$2,%lo(__dev_kfree_skb_any)
jalr $2
nop
$L57:
lw $2,16($sp)
$L56:
lw $31,36($sp)
addiu $sp,$sp,40
j $31
nop
.set macro
.set reorder
.end qdma_prepare_rx_buffer
.size qdma_prepare_rx_buffer, .-qdma_prepare_rx_buffer
.section .imem_text
.align 2
.globl qdma_bm_receive_packets
.set nomips16
.set nomicromips
.ent qdma_bm_receive_packets
.type qdma_bm_receive_packets, @function
qdma_bm_receive_packets:
.frame $sp,168,$31 # vars= 136, regs= 1/0, args= 24, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-168
sw $31,164($sp)
sw $4,168($sp)
sw $5,172($sp)
sw $0,36($sp)
sw $0,40($sp)
lw $2,168($sp)
sw $2,24($sp)
sw $0,28($sp)
sw $0,44($sp)
sw $0,32($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,48($sp)
sw $0,52($sp)
$L88:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,172($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
beq $2,$0,$L59
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,172($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,172($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$4,$2
lw $2,0($2)
beq $3,$2,$L59
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,172($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $2,0($2)
lw $3,4($2)
li $2,-2147483648 # 0xffffffff80000000
and $2,$3,$2
bne $2,$0,$L60
$L59:
lw $2,28($sp)
j $L89
$L60:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,172($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $2,0($2)
addiu $3,$sp,124
move $4,$3
move $5,$2
li $6,32 # 0x20
lui $2,%hi(memcpy)
addiu $2,$2,%lo(memcpy)
jalr $2
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,172($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
sw $2,36($sp)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,172($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lw $2,172($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$4,$2
sw $3,0($2)
lw $2,28($sp)
addiu $2,$2,1
sw $2,28($sp)
lw $2,132($sp)
beq $2,$0,$L62
lhu $2,130($sp)
bne $2,$0,$L63
$L62:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,172($sp)
addiu $3,$3,112
sll $3,$3,1
addu $3,$2,$3
lhu $3,4($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,172($sp)
addiu $4,$4,112
sll $4,$4,1
addu $2,$2,$4
sh $3,4($2)
j $L64
$L63:
lw $3,128($sp)
li $2,1073741824 # 0x40000000
and $2,$3,$2
beq $2,$0,$L65
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,172($sp)
addiu $3,$3,112
sll $3,$3,1
addu $3,$2,$3
lhu $3,4($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,172($sp)
addiu $4,$4,112
sll $4,$4,1
addu $2,$2,$4
sh $3,4($2)
lw $2,36($sp)
lw $2,8($2)
sw $2,32($sp)
j $L66
$L65:
lw $2,132($sp)
lhu $3,130($sp)
sw $0,56($sp)
sw $2,60($sp)
sw $3,64($sp)
li $2,2 # 0x2
sw $2,68($sp)
sw $0,72($sp)
lw $2,56($sp)
sw $2,76($sp)
lw $2,76($sp)
beq $2,$0,$L67
lw $2,76($sp)
lw $2,148($2)
beq $2,$0,$L67
lw $2,76($sp)
lw $2,148($2)
j $L68
$L67:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L68:
sw $2,80($sp)
lw $2,68($sp)
sw $2,84($sp)
lw $2,84($sp)
beq $2,$0,$L69
lw $3,84($sp)
li $2,1 # 0x1
beq $3,$2,$L69
lw $3,84($sp)
li $2,2 # 0x2
bne $3,$2,$L70
$L69:
li $2,1 # 0x1
j $L72
$L70:
move $2,$0
$L72:
sltu $2,$2,1
andi $2,$2,0x00ff
sw $2,88($sp)
lw $2,88($sp)
#APP
# 29 "./arch/mips/include/asm/bug.h" 1
tne $0, $2, 12
# 0 "" 2
#NO_APP
lw $2,80($sp)
lw $2,20($2)
beq $2,$0,$L74
lw $2,80($sp)
lw $2,20($2)
lw $3,72($sp)
sw $3,16($sp)
lw $4,56($sp)
lw $5,60($sp)
lw $6,64($sp)
lw $7,68($sp)
jalr $2
$L74:
lw $2,68($sp)
lw $3,56($sp)
sw $3,92($sp)
lw $3,60($sp)
sw $3,96($sp)
lw $3,64($sp)
sw $3,100($sp)
sw $2,104($sp)
li $2,1 # 0x1
sb $2,108($sp)
lui $2,%hi(allocate_skb_buffer)
addiu $2,$2,%lo(allocate_skb_buffer)
jalr $2
sw $2,32($sp)
lw $2,32($sp)
bne $2,$0,$L75
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,172($sp)
addiu $3,$3,120
sll $3,$3,1
addu $3,$2,$3
lhu $3,8($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,172($sp)
addiu $4,$4,120
sll $4,$4,1
addu $2,$2,$4
sh $3,8($2)
lw $2,36($sp)
lw $2,8($2)
sw $2,32($sp)
j $L66
$L75:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,148($2)
sw $2,52($sp)
lw $2,52($sp)
beq $2,$0,$L76
lw $2,36($sp)
lw $3,8($2)
lhu $2,130($sp)
move $7,$2
addiu $2,$sp,124
addiu $4,$2,16
lw $2,52($sp)
li $5,16 # 0x10
move $6,$3
jalr $2
sw $2,44($sp)
lw $2,44($sp)
bgez $2,$L77
lw $3,44($sp)
li $2,-30 # 0xffffffffffffffe2
bne $3,$2,$L78
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,172($sp)
addiu $3,$3,136
sll $3,$3,1
addu $3,$2,$3
lhu $3,4($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,172($sp)
addiu $4,$4,136
sll $4,$4,1
addu $2,$2,$4
sh $3,4($2)
j $L79
$L78:
lw $3,44($sp)
li $2,-46 # 0xffffffffffffffd2
bne $3,$2,$L80
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,172($sp)
addiu $3,$3,140
sll $3,$3,1
addu $3,$2,$3
lhu $3,4($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,172($sp)
addiu $4,$4,140
sll $4,$4,1
addu $2,$2,$4
sh $3,4($2)
j $L79
$L80:
lw $3,44($sp)
li $2,-62 # 0xffffffffffffffc2
bne $3,$2,$L79
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,172($sp)
addiu $3,$3,136
sll $3,$3,1
addu $3,$2,$3
lhu $3,8($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,172($sp)
addiu $4,$4,136
sll $4,$4,1
addu $2,$2,$4
sh $3,8($2)
$L79:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,172($sp)
addiu $3,$3,112
sll $3,$3,1
addu $3,$2,$3
lhu $3,8($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,172($sp)
addiu $4,$4,112
sll $4,$4,1
addu $2,$2,$4
sh $3,8($2)
j $L66
$L77:
lw $3,44($sp)
li $2,16 # 0x10
bne $3,$2,$L82
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,172($sp)
addiu $3,$3,136
sll $3,$3,1
addu $3,$2,$3
lhu $3,4($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,172($sp)
addiu $4,$4,136
sll $4,$4,1
addu $2,$2,$4
sh $3,4($2)
j $L83
$L82:
lw $3,44($sp)
li $2,32 # 0x20
bne $3,$2,$L84
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,172($sp)
addiu $3,$3,140
sll $3,$3,1
addu $3,$2,$3
lhu $3,4($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,172($sp)
addiu $4,$4,140
sll $4,$4,1
addu $2,$2,$4
sh $3,4($2)
j $L83
$L84:
lw $3,44($sp)
li $2,48 # 0x30
bne $3,$2,$L83
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,172($sp)
addiu $3,$3,136
sll $3,$3,1
addu $3,$2,$3
lhu $3,8($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,172($sp)
addiu $4,$4,136
sll $4,$4,1
addu $2,$2,$4
sh $3,8($2)
$L83:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,172($sp)
addiu $3,$3,52
sll $3,$3,2
addu $3,$2,$3
lw $3,4($3)
addiu $3,$3,1
lw $4,172($sp)
addiu $4,$4,52
sll $4,$4,2
addu $2,$2,$4
sw $3,4($2)
j $L66
$L76:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,172($sp)
addiu $3,$3,116
sll $3,$3,1
addu $3,$2,$3
lhu $3,8($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,172($sp)
addiu $4,$4,116
sll $4,$4,1
addu $2,$2,$4
sh $3,8($2)
lw $2,36($sp)
lw $2,8($2)
sw $2,112($sp)
lw $4,112($sp)
li $5,1 # 0x1
lui $2,%hi(__dev_kfree_skb_any)
addiu $2,$2,%lo(__dev_kfree_skb_any)
jalr $2
$L66:
lw $2,172($sp)
sw $2,116($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,116($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,116($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$4,$2
lw $2,0($2)
xor $2,$3,$2
sltu $2,$0,$2
andi $2,$2,0x00ff
beq $2,$0,$L86
lw $4,32($sp)
lw $5,172($sp)
lui $2,%hi(qdma_bm_hook_receive_buffer)
addiu $2,$2,%lo(qdma_bm_hook_receive_buffer)
jalr $2
j $L87
$L86:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,172($sp)
addiu $3,$3,120
sll $3,$3,1
addu $3,$2,$3
lhu $3,4($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,172($sp)
addiu $4,$4,120
sll $4,$4,1
addu $2,$2,$4
sh $3,4($2)
lw $2,32($sp)
sw $2,120($sp)
lw $4,120($sp)
li $5,1 # 0x1
lui $2,%hi(__dev_kfree_skb_any)
addiu $2,$2,%lo(__dev_kfree_skb_any)
jalr $2
$L87:
lw $2,168($sp)
beq $2,$0,$L88
lw $2,24($sp)
addiu $2,$2,-1
sw $2,24($sp)
lw $2,24($sp)
bne $2,$0,$L88
$L64:
lw $2,28($sp)
$L89:
lw $31,164($sp)
addiu $sp,$sp,168
j $31
.end qdma_bm_receive_packets
.size qdma_bm_receive_packets, .-qdma_bm_receive_packets
.align 2
.globl qdma_bm_hook_receive_buffer
.set nomips16
.set nomicromips
.ent qdma_bm_hook_receive_buffer
.type qdma_bm_hook_receive_buffer, @function
qdma_bm_hook_receive_buffer:
.frame $sp,200,$31 # vars= 168, regs= 1/0, args= 24, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-200
sw $31,196($sp)
sw $4,200($sp)
sw $5,204($sp)
sw $0,28($sp)
sw $0,32($sp)
sw $0,36($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,40($sp)
sw $0,44($sp)
sw $0,24($sp)
sw $0,48($sp)
lw $2,200($sp)
bne $2,$0,$L91
li $2,-14 # 0xfffffffffffffff2
j $L92
$L91:
lw $2,204($sp)
sw $2,56($sp)
sw $0,60($sp)
sw $0,64($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,56($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
beq $2,$0,$L93
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,56($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
bne $2,$0,$L94
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,56($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
sw $2,60($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,56($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $3,60($sp)
sw $3,0($2)
j $L93
$L94:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,56($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,56($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$4,$2
lw $2,0($2)
beq $3,$2,$L93
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,56($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $2,12($2)
sw $2,60($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,56($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $3,60($sp)
sw $3,0($2)
$L93:
lw $2,60($sp)
sw $2,28($sp)
lw $2,28($sp)
bne $2,$0,$L96
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,204($sp)
addiu $3,$3,120
sll $3,$3,1
addu $3,$2,$3
lhu $3,4($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,204($sp)
addiu $4,$4,120
sll $4,$4,1
addu $2,$2,$4
sh $3,4($2)
li $2,-12 # 0xfffffffffffffff4
j $L92
$L96:
lw $2,200($sp)
lw $2,248($2)
andi $2,$2,0x3
bne $2,$0,$L97
lw $2,200($sp)
sw $2,68($sp)
li $2,2 # 0x2
sw $2,72($sp)
lw $2,68($sp)
lw $3,260($2)
lw $2,72($sp)
addu $3,$3,$2
lw $2,68($sp)
sw $3,260($2)
lw $2,68($sp)
lw $3,248($2)
lw $2,72($sp)
addu $3,$3,$2
lw $2,68($sp)
sw $3,248($2)
$L97:
lw $2,200($sp)
lw $2,248($2)
addiu $2,$2,-2
move $3,$2
lw $2,200($sp)
sw $2,76($sp)
lw $2,76($sp)
sw $2,80($sp)
lw $2,80($sp)
lw $2,92($2)
sltu $2,$0,$2
andi $2,$2,0x00ff
beq $2,$0,$L99
move $2,$0
j $L101
$L99:
lw $2,76($sp)
lw $2,252($2)
move $4,$2
lw $2,76($sp)
lw $2,248($2)
subu $2,$4,$2
$L101:
sw $0,84($sp)
sw $3,88($sp)
sw $2,92($sp)
li $2,2 # 0x2
sw $2,96($sp)
sw $0,100($sp)
lw $2,84($sp)
sw $2,104($sp)
lw $2,104($sp)
beq $2,$0,$L102
lw $2,104($sp)
lw $2,148($2)
beq $2,$0,$L102
lw $2,104($sp)
lw $2,148($2)
j $L103
$L102:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L103:
sw $2,108($sp)
lw $2,88($sp)
sw $2,112($sp)
lw $2,92($sp)
sw $2,116($sp)
lw $2,96($sp)
sw $2,120($sp)
lw $2,120($sp)
beq $2,$0,$L104
lw $3,120($sp)
li $2,1 # 0x1
beq $3,$2,$L104
lw $3,120($sp)
li $2,2 # 0x2
bne $3,$2,$L105
$L104:
li $2,1 # 0x1
j $L107
$L105:
move $2,$0
$L107:
sltu $2,$2,1
andi $2,$2,0x00ff
sw $2,124($sp)
lw $2,124($sp)
#APP
# 29 "./arch/mips/include/asm/bug.h" 1
tne $0, $2, 12
# 0 "" 2
#NO_APP
lw $2,108($sp)
lw $2,16($2)
lui $3,%hi(mem_map)
lw $4,%lo(mem_map)($3)
lw $3,88($sp)
sw $3,128($sp)
lw $5,128($sp)
li $3,-2147483648 # 0xffffffff80000000
addu $3,$5,$3
srl $3,$3,12
sll $3,$3,5
addu $5,$4,$3
lw $3,88($sp)
andi $6,$3,0xfff
lw $3,96($sp)
sw $3,16($sp)
lw $3,100($sp)
sw $3,20($sp)
lw $4,84($sp)
lw $7,92($sp)
jalr $2
sw $2,132($sp)
lui $2,%hi(mem_map)
lw $3,%lo(mem_map)($2)
lw $2,88($sp)
sw $2,136($sp)
lw $4,136($sp)
li $2,-2147483648 # 0xffffffff80000000
addu $2,$4,$2
srl $2,$2,12
sll $2,$2,5
addu $4,$3,$2
lw $2,88($sp)
andi $3,$2,0xfff
lw $2,96($sp)
lw $5,84($sp)
sw $5,140($sp)
sw $4,144($sp)
sw $3,148($sp)
lw $3,92($sp)
sw $3,152($sp)
sw $2,156($sp)
lw $2,132($sp)
sw $2,160($sp)
li $2,1 # 0x1
sb $2,164($sp)
lw $2,132($sp)
sw $2,36($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,204($sp)
addiu $2,$2,28
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $2,0($2)
move $3,$2
li $2,-1610678272 # 0xffffffff9fff0000
ori $2,$2,0xffff
and $2,$3,$2
sw $2,32($sp)
sw $0,24($sp)
j $L112
$L113:
lw $3,32($sp)
lw $2,24($sp)
addiu $2,$2,4
sll $2,$2,2
addu $2,$3,$2
sw $0,0($2)
lw $2,24($sp)
addiu $2,$2,1
sw $2,24($sp)
$L112:
lw $2,24($sp)
slt $2,$2,4
bne $2,$0,$L113
lw $2,32($sp)
lw $3,36($sp)
sw $3,8($2)
lw $2,28($sp)
lw $2,4($2)
andi $2,$2,0xffff
andi $2,$2,0xfff
andi $4,$2,0xffff
lw $3,32($sp)
lw $2,12($3)
ins $2,$4,0,12
sw $2,12($3)
lw $2,200($sp)
sw $2,168($sp)
lw $2,168($sp)
sw $2,172($sp)
lw $2,172($sp)
lw $2,92($2)
sltu $2,$0,$2
andi $2,$2,0x00ff
beq $2,$0,$L115
move $2,$0
j $L117
$L115:
lw $2,168($sp)
lw $2,252($2)
move $3,$2
lw $2,168($sp)
lw $2,248($2)
subu $2,$3,$2
$L117:
andi $3,$2,0xffff
lw $2,32($sp)
sh $3,6($2)
lw $3,32($sp)
lw $2,4($3)
ins $2,$0,31,1
sw $2,4($3)
lw $2,32($sp)
#APP
# 795 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set push
.set noreorder
.set arch=r4000
1: cache 21, ($2)
2: .set pop
.section __ex_table,"a"
.word 1b, 2b
.previous
# 0 "" 2
#NO_APP
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,204($sp)
addiu $2,$2,28
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,200($sp)
sw $3,8($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,204($sp)
addiu $2,$2,28
sll $2,$2,2
addu $2,$3,$2
lw $3,28($sp)
sw $3,0($2)
#APP
# 799 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set push
.set noreorder
.set mips2
sync
.set pop
# 0 "" 2
#NO_APP
lw $2,204($sp)
sll $2,$2,8
move $3,$2
lw $2,40($sp)
addu $2,$3,$2
addiu $2,$2,24
sw $2,176($sp)
lw $2,176($sp)
lw $2,0($2)
sw $2,52($sp)
lw $2,204($sp)
sll $2,$2,8
move $3,$2
lw $2,40($sp)
addu $2,$3,$2
addiu $3,$2,24
lw $4,52($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,28($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,180($sp)
sw $2,184($sp)
lw $2,180($sp)
lw $3,184($sp)
sw $3,0($2)
lw $2,48($sp)
$L92:
lw $31,196($sp)
addiu $sp,$sp,200
j $31
.end qdma_bm_hook_receive_buffer
.size qdma_bm_hook_receive_buffer, .-qdma_bm_hook_receive_buffer
.text
.align 2
.globl qdma_bm_recycle_receive_buffer
.set nomips16
.set nomicromips
.ent qdma_bm_recycle_receive_buffer
.type qdma_bm_recycle_receive_buffer, @function
qdma_bm_recycle_receive_buffer:
.frame $sp,152,$31 # vars= 120, regs= 1/0, args= 24, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-152
sw $31,148($sp)
sw $4,152($sp)
sw $0,24($sp)
sw $0,28($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,32($sp)
sw $0,36($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,152($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
beq $2,$0,$L120
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,152($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
bne $2,$0,$L121
$L120:
li $2,-14 # 0xfffffffffffffff2
j $L122
$L121:
j $L123
$L138:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,152($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
sw $2,28($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,152($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $2,0($2)
sw $2,24($sp)
lw $2,28($sp)
lw $2,8($2)
beq $2,$0,$L124
lw $2,24($sp)
lw $2,8($2)
beq $2,$0,$L124
lw $2,24($sp)
lw $2,8($2)
lw $3,28($sp)
lw $3,8($3)
sw $3,48($sp)
lw $3,48($sp)
sw $3,52($sp)
lw $3,52($sp)
lw $3,92($3)
sltu $3,$0,$3
andi $3,$3,0x00ff
beq $3,$0,$L126
move $3,$0
j $L128
$L126:
lw $3,48($sp)
lw $3,252($3)
move $4,$3
lw $3,48($sp)
lw $3,248($3)
subu $3,$4,$3
$L128:
sw $0,56($sp)
sw $2,60($sp)
sw $3,64($sp)
li $2,2 # 0x2
sw $2,68($sp)
sw $0,72($sp)
lw $2,56($sp)
sw $2,76($sp)
lw $2,76($sp)
beq $2,$0,$L129
lw $2,76($sp)
lw $2,148($2)
beq $2,$0,$L129
lw $2,76($sp)
lw $2,148($2)
j $L130
$L129:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L130:
sw $2,80($sp)
lw $2,68($sp)
sw $2,84($sp)
lw $2,84($sp)
beq $2,$0,$L131
lw $3,84($sp)
li $2,1 # 0x1
beq $3,$2,$L131
lw $3,84($sp)
li $2,2 # 0x2
bne $3,$2,$L132
$L131:
li $2,1 # 0x1
j $L134
$L132:
move $2,$0
$L134:
sltu $2,$2,1
andi $2,$2,0x00ff
sw $2,88($sp)
lw $2,88($sp)
#APP
# 29 "./arch/mips/include/asm/bug.h" 1
tne $0, $2, 12
# 0 "" 2
#NO_APP
lw $2,80($sp)
lw $2,20($2)
beq $2,$0,$L136
lw $2,80($sp)
lw $2,20($2)
lw $3,72($sp)
sw $3,16($sp)
lw $4,56($sp)
lw $5,60($sp)
lw $6,64($sp)
lw $7,68($sp)
jalr $2
$L136:
lw $2,68($sp)
lw $3,56($sp)
sw $3,92($sp)
lw $3,60($sp)
sw $3,96($sp)
lw $3,64($sp)
sw $3,100($sp)
sw $2,104($sp)
li $2,1 # 0x1
sb $2,108($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,148($2)
beq $2,$0,$L137
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,148($2)
lw $3,24($sp)
addiu $4,$3,16
lw $3,28($sp)
lw $6,8($3)
lw $3,24($sp)
lhu $3,6($3)
li $5,16 # 0x10
move $7,$3
jalr $2
j $L124
$L137:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,152($sp)
addiu $3,$3,116
sll $3,$3,1
addu $3,$2,$3
lhu $3,8($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,152($sp)
addiu $4,$4,116
sll $4,$4,1
addu $2,$2,$4
sh $3,8($2)
lw $2,28($sp)
lw $2,8($2)
sw $2,112($sp)
lw $4,112($sp)
li $5,1 # 0x1
lui $2,%hi(__dev_kfree_skb_any)
addiu $2,$2,%lo(__dev_kfree_skb_any)
jalr $2
$L124:
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,28($sp)
lw $3,12($2)
lw $2,152($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$4,$2
sw $3,0($2)
$L123:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,152($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,152($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$4,$2
lw $2,0($2)
bne $3,$2,$L138
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,152($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
sw $2,28($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,152($sp)
addiu $2,$2,28
sll $2,$2,2
addu $2,$3,$2
lw $3,28($sp)
sw $3,0($2)
lw $2,152($sp)
sll $2,$2,8
move $3,$2
lw $2,32($sp)
addu $2,$3,$2
addiu $2,$2,24
sw $2,116($sp)
lw $2,116($sp)
lw $2,0($2)
sw $2,40($sp)
lw $2,152($sp)
sll $2,$2,8
move $3,$2
lw $2,32($sp)
addu $2,$3,$2
addiu $3,$2,24
lw $4,40($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,28($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,120($sp)
sw $2,124($sp)
lw $2,120($sp)
lw $3,124($sp)
sw $3,0($2)
lw $2,152($sp)
sll $2,$2,8
move $3,$2
lw $2,32($sp)
addu $2,$3,$2
addiu $2,$2,28
sw $2,128($sp)
lw $2,128($sp)
lw $2,0($2)
sw $2,44($sp)
lw $2,152($sp)
sll $2,$2,8
move $3,$2
lw $2,32($sp)
addu $2,$3,$2
addiu $3,$2,28
lw $4,44($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,28($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,132($sp)
sw $2,136($sp)
lw $2,132($sp)
lw $3,136($sp)
sw $3,0($2)
move $2,$0
$L122:
lw $31,148($sp)
addiu $sp,$sp,152
j $31
.end qdma_bm_recycle_receive_buffer
.size qdma_bm_recycle_receive_buffer, .-qdma_bm_recycle_receive_buffer
.section .imem_text
.align 2
.globl qdma_bm_transmit_done
.set nomips16
.set nomicromips
.ent qdma_bm_transmit_done
.type qdma_bm_transmit_done, @function
qdma_bm_transmit_done:
.frame $sp,288,$31 # vars= 264, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-288
sw $31,284($sp)
sw $4,288($sp)
sw $0,40($sp)
sw $0,44($sp)
sw $0,16($sp)
sw $0,20($sp)
sw $0,48($sp)
sw $0,52($sp)
sw $0,24($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,56($sp)
sw $0,60($sp)
sw $0,64($sp)
sw $0,28($sp)
li $2,5 # 0x5
sw $2,32($sp)
sw $0,68($sp)
sw $0,72($sp)
sw $0,36($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,140($2)
li $2,-2147483648 # 0xffffffff80000000
and $2,$3,$2
beq $2,$0,$L142
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
addiu $2,$2,16
sw $2,84($sp)
lw $2,84($sp)
move $4,$2
lui $2,%hi(_raw_spin_lock_irqsave)
addiu $2,$2,%lo(_raw_spin_lock_irqsave)
jalr $2
sw $2,36($sp)
$L142:
lw $2,56($sp)
addiu $2,$2,108
sw $2,88($sp)
lw $2,88($sp)
lw $2,0($2)
sw $2,68($sp)
lw $2,68($sp)
andi $2,$2,0xfff
sw $2,64($sp)
lw $3,68($sp)
li $2,268369920 # 0xfff0000
and $2,$3,$2
srl $2,$2,16
sw $2,60($sp)
lw $2,60($sp)
bne $2,$0,$L145
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,182($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,182($2)
j $L146
$L145:
lw $2,288($sp)
beq $2,$0,$L147
lw $3,288($sp)
lw $2,60($sp)
sltu $2,$3,$2
beq $2,$0,$L147
lw $2,288($sp)
j $L148
$L147:
lw $2,60($sp)
$L148:
sw $2,60($sp)
sw $0,16($sp)
j $L149
$L172:
lw $3,16($sp)
lw $2,64($sp)
addu $2,$3,$2
andi $2,$2,0xff
sll $3,$2,2
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,56($2)
addu $2,$3,$2
sw $2,72($sp)
li $2,5 # 0x5
sw $2,32($sp)
j $L150
$L154:
lw $2,72($sp)
lw $2,0($2)
sw $2,28($sp)
lw $3,28($sp)
li $2,-1 # 0xffffffffffffffff
bne $3,$2,$L151
lw $2,32($sp)
bne $2,$0,$L150
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,172($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,172($2)
li $2,-61 # 0xffffffffffffffc3
sw $2,24($sp)
j $L152
$L151:
lw $2,72($sp)
li $3,-1 # 0xffffffffffffffff
sw $3,0($2)
j $L153
$L150:
lw $2,32($sp)
addiu $3,$2,-1
sw $3,32($sp)
bne $2,$0,$L154
$L153:
lw $2,28($sp)
andi $2,$2,0xfff
sw $2,48($sp)
lw $3,28($sp)
li $2,65536 # 0x10000
and $2,$3,$2
srl $2,$2,16
sw $2,52($sp)
lw $2,48($sp)
bltz $2,$L155
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,52($sp)
addiu $2,$2,8
sll $2,$2,1
addu $2,$3,$2
lhu $2,4($2)
move $3,$2
lw $2,48($sp)
slt $2,$2,$3
bne $2,$0,$L156
$L155:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,174($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,174($2)
li $2,-14 # 0xfffffffffffffff2
sw $2,24($sp)
j $L157
$L156:
lw $2,48($sp)
sll $3,$2,4
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,52($sp)
addiu $2,$2,10
sll $2,$2,2
addu $2,$4,$2
lw $2,0($2)
addu $2,$3,$2
sw $2,44($sp)
lw $2,44($sp)
lw $3,4($2)
lw $2,48($sp)
bne $3,$2,$L158
lw $2,44($sp)
lw $2,12($2)
beq $2,$0,$L159
$L158:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,52($sp)
addiu $3,$3,108
sll $3,$3,1
addu $3,$2,$3
lhu $3,4($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,52($sp)
addiu $4,$4,108
sll $4,$4,1
addu $2,$2,$4
sh $3,4($2)
li $2,-14 # 0xfffffffffffffff2
sw $2,24($sp)
j $L157
$L159:
lw $2,44($sp)
lw $2,0($2)
sw $2,40($sp)
lw $2,40($sp)
lw $3,4($2)
li $2,-2147483648 # 0xffffffff80000000
and $2,$3,$2
bne $2,$0,$L160
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,52($sp)
addiu $3,$3,108
sll $3,$3,1
addu $3,$2,$3
lhu $3,8($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,52($sp)
addiu $4,$4,108
sll $4,$4,1
addu $2,$2,$4
sh $3,8($2)
li $2,-14 # 0xfffffffffffffff2
sw $2,24($sp)
j $L157
$L160:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,52($sp)
addiu $3,$3,50
sll $3,$3,2
addu $3,$2,$3
lw $3,4($3)
addiu $3,$3,1
lw $4,52($sp)
addiu $4,$4,50
sll $4,$4,2
addu $2,$2,$4
sw $3,4($2)
lw $2,44($sp)
lw $3,8($2)
lw $2,40($sp)
lw $2,16($2)
sw $3,92($sp)
sw $2,96($sp)
sw $0,100($sp)
sw $0,104($sp)
sw $0,108($sp)
lw $2,96($sp)
ext $2,$2,3,8
andi $2,$2,0x00ff
sw $2,100($sp)
lw $2,96($sp)
ext $2,$2,0,3
andi $2,$2,0x00ff
sw $2,104($sp)
lw $2,100($sp)
sll $3,$2,2
lui $2,%hi(chnlLimit)
addiu $2,$2,%lo(chnlLimit)
addu $2,$3,$2
li $3,1 # 0x1
sw $3,112($sp)
sw $2,116($sp)
$L161:
lw $4,116($sp)
lw $3,112($sp)
lw $2,116($sp)
#APP
# 135 "./arch/mips/include/asm/atomic.h" 1
.set arch=r4000
ll $5, 0($4) # atomic_sub
subu $5, $3
sc $5, 0($4)
.set mips0
# 0 "" 2
#NO_APP
move $2,$5
sw $2,120($sp)
lw $2,120($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
bne $2,$0,$L161
lw $2,100($sp)
sll $3,$2,3
lw $2,104($sp)
addu $2,$3,$2
sll $3,$2,2
lui $2,%hi(queueLimit)
addiu $2,$2,%lo(queueLimit)
addu $2,$3,$2
li $3,1 # 0x1
sw $3,124($sp)
sw $2,128($sp)
$L162:
lw $4,128($sp)
lw $3,124($sp)
lw $2,128($sp)
#APP
# 135 "./arch/mips/include/asm/atomic.h" 1
.set arch=r4000
ll $5, 0($4) # atomic_sub
subu $5, $3
sc $5, 0($4)
.set mips0
# 0 "" 2
#NO_APP
move $2,$5
sw $2,132($sp)
lw $2,132($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
bne $2,$0,$L162
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,188($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,188($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,156($2)
beq $2,$0,$L163
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,156($2)
lw $4,92($sp)
lw $5,96($sp)
jalr $2
beq $2,$0,$L179
li $2,-1 # 0xffffffffffffffff
sw $2,108($sp)
j $L165
$L163:
lw $2,92($sp)
sw $2,136($sp)
lw $4,136($sp)
li $5,1 # 0x1
lui $2,%hi(__dev_kfree_skb_any)
addiu $2,$2,%lo(__dev_kfree_skb_any)
jalr $2
j $L165
$L179:
.set noreorder
nop
.set reorder
$L165:
lw $2,108($sp)
beq $2,$0,$L167
addiu $2,$sp,204
move $4,$2
lui $2,%hi(qdma_dump_irq_info)
addiu $2,$2,%lo(qdma_dump_irq_info)
jalr $2
li $2,-14 # 0xfffffffffffffff2
sw $2,24($sp)
j $L152
$L167:
lw $2,40($sp)
sw $0,16($2)
lw $2,40($sp)
sw $0,20($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,52($sp)
sll $2,$2,2
addu $2,$3,$2
addiu $2,$2,4
sw $2,140($sp)
lw $2,140($sp)
move $4,$2
lui $2,%hi(_raw_spin_lock)
addiu $2,$2,%lo(_raw_spin_lock)
jalr $2
lw $2,44($sp)
sw $2,144($sp)
lw $2,52($sp)
sw $2,148($sp)
lw $2,144($sp)
lw $2,12($2)
bne $2,$0,$L169
lw $2,144($sp)
sw $0,8($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,148($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
bne $2,$0,$L170
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,148($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $3,144($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,148($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
lw $3,144($sp)
sw $3,0($2)
j $L169
$L170:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,148($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,144($sp)
sw $3,12($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,148($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lw $2,148($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$4,$2
sw $3,0($2)
$L169:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,52($sp)
sll $2,$2,2
addu $2,$3,$2
addiu $2,$2,4
sw $2,152($sp)
lw $2,152($sp)
sw $2,156($sp)
lw $2,156($sp)
sw $2,160($sp)
lw $2,160($sp)
sw $2,164($sp)
lw $2,164($sp)
lhu $2,2($2)
addiu $2,$2,1
sw $2,168($sp)
#APP
# 137 "./arch/mips/include/asm/spinlock.h" 1
.set push
.set noreorder
.set mips2
sync
.set pop
# 0 "" 2
#NO_APP
lw $2,168($sp)
andi $3,$2,0xffff
lw $2,164($sp)
sh $3,2($2)
#APP
# 139 "./arch/mips/include/asm/spinlock.h" 1
.set push
.set noreorder
.set mips2
sync
.set pop
# 0 "" 2
#NO_APP
$L157:
lw $2,16($sp)
addiu $2,$2,1
sw $2,16($sp)
$L149:
lw $3,16($sp)
lw $2,60($sp)
sltu $2,$3,$2
bne $2,$0,$L172
$L152:
lw $2,16($sp)
beq $2,$0,$L146
sw $0,20($sp)
j $L173
$L175:
lw $2,56($sp)
addiu $2,$2,104
sw $2,172($sp)
lw $2,172($sp)
lw $2,0($2)
sw $2,76($sp)
lw $2,56($sp)
addiu $3,$2,104
lw $4,76($sp)
li $2,-256 # 0xffffffffffffff00
and $2,$4,$2
ori $2,$2,0x80
sw $3,176($sp)
sw $2,180($sp)
lw $2,176($sp)
lw $3,180($sp)
sw $3,0($2)
lw $2,20($sp)
addiu $2,$2,1
sw $2,20($sp)
$L173:
lw $2,16($sp)
sra $3,$2,7
lw $2,20($sp)
slt $2,$2,$3
bne $2,$0,$L175
lw $2,56($sp)
addiu $2,$2,104
sw $2,184($sp)
lw $2,184($sp)
lw $2,0($2)
sw $2,80($sp)
lw $2,56($sp)
addiu $3,$2,104
lw $4,80($sp)
li $2,-256 # 0xffffffffffffff00
and $4,$4,$2
lw $2,16($sp)
andi $2,$2,0x7f
or $2,$4,$2
sw $3,188($sp)
sw $2,192($sp)
lw $2,188($sp)
lw $3,192($sp)
sw $3,0($2)
$L146:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,140($2)
li $2,-2147483648 # 0xffffffff80000000
and $2,$3,$2
beq $2,$0,$L177
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
addiu $2,$2,16
sw $2,196($sp)
lw $2,36($sp)
sw $2,200($sp)
lw $2,196($sp)
move $4,$2
lw $5,200($sp)
lui $2,%hi(_raw_spin_unlock_irqrestore)
addiu $2,$2,%lo(_raw_spin_unlock_irqrestore)
jalr $2
$L177:
lw $2,24($sp)
lw $31,284($sp)
addiu $sp,$sp,288
j $31
.end qdma_bm_transmit_done
.size qdma_bm_transmit_done, .-qdma_bm_transmit_done
.align 2
.globl qdma_bm_transmit_packet
.set nomips16
.set nomicromips
.ent qdma_bm_transmit_packet
.type qdma_bm_transmit_packet, @function
qdma_bm_transmit_packet:
.frame $sp,280,$31 # vars= 248, regs= 1/0, args= 24, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-280
sw $31,276($sp)
sw $4,280($sp)
sw $5,284($sp)
sw $6,288($sp)
sw $7,292($sp)
sw $0,24($sp)
sw $0,28($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,32($sp)
addiu $2,$sp,208
sw $2,36($sp)
sw $0,40($sp)
sw $0,44($sp)
sw $0,48($sp)
sw $0,52($sp)
lw $2,36($sp)
addiu $3,$sp,288
sw $3,0($2)
lw $2,36($sp)
addiu $3,$sp,292
sw $3,4($2)
lw $2,280($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
bne $2,$0,$L181
lw $2,280($sp)
lw $2,88($2)
sltu $2,$2,1
andi $2,$2,0x00ff
beq $2,$0,$L182
$L181:
li $2,1 # 0x1
j $L183
$L182:
move $2,$0
$L183:
bne $2,$0,$L184
lw $2,280($sp)
lw $2,88($2)
sltu $2,$2,2049
xori $2,$2,0x1
andi $2,$2,0x00ff
beq $2,$0,$L185
$L184:
li $2,-14 # 0xfffffffffffffff2
j $L207
$L185:
lw $2,280($sp)
lhu $3,238($2)
li $2,29315 # 0x7283
bne $3,$2,$L187
lw $3,292($sp)
li $2,536870912 # 0x20000000
or $2,$3,$2
sw $2,292($sp)
$L187:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,284($sp)
sll $2,$2,2
addu $2,$3,$2
addiu $2,$2,4
sw $2,60($sp)
lw $2,60($sp)
move $4,$2
lui $2,%hi(_raw_spin_lock_irqsave)
addiu $2,$2,%lo(_raw_spin_lock_irqsave)
jalr $2
sw $2,48($sp)
lw $2,284($sp)
sw $2,64($sp)
sw $0,68($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,64($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
sw $2,68($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,64($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,64($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$4,$2
lw $2,0($2)
bne $3,$2,$L189
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,64($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
sw $0,0($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,64($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
sw $0,0($2)
j $L190
$L189:
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,64($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lw $2,64($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$4,$2
sw $3,0($2)
$L190:
lw $2,68($sp)
beq $2,$0,$L191
lw $2,68($sp)
sw $0,12($2)
$L191:
lw $2,68($sp)
sw $2,24($sp)
lw $2,24($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
beq $2,$0,$L193
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,284($sp)
addiu $3,$3,116
sll $3,$3,1
addu $3,$2,$3
lhu $3,4($3)
addiu $3,$3,1
andi $3,$3,0xffff
lw $4,284($sp)
addiu $4,$4,116
sll $4,$4,1
addu $2,$2,$4
sh $3,4($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,284($sp)
sll $2,$2,2
addu $2,$3,$2
addiu $2,$2,4
sw $2,72($sp)
lw $2,48($sp)
sw $2,76($sp)
lw $2,72($sp)
move $4,$2
lw $5,76($sp)
lui $2,%hi(_raw_spin_unlock_irqrestore)
addiu $2,$2,%lo(_raw_spin_unlock_irqrestore)
jalr $2
li $2,-63 # 0xffffffffffffffc1
j $L207
$L193:
lw $2,36($sp)
lw $2,0($2)
lw $2,0($2)
ext $2,$2,3,8
andi $2,$2,0x00ff
sw $2,40($sp)
lw $2,36($sp)
lw $2,0($2)
lw $2,0($2)
ext $2,$2,0,3
andi $2,$2,0x00ff
sw $2,44($sp)
lw $2,40($sp)
sll $3,$2,2
lui $2,%hi(chnlLimit)
addiu $2,$2,%lo(chnlLimit)
addu $2,$3,$2
li $3,1 # 0x1
sw $3,80($sp)
sw $2,84($sp)
$L194:
lw $4,84($sp)
lw $3,80($sp)
lw $2,84($sp)
#APP
# 134 "./arch/mips/include/asm/atomic.h" 1
.set arch=r4000
ll $5, 0($4) # atomic_add
addu $5, $3
sc $5, 0($4)
.set mips0
# 0 "" 2
#NO_APP
move $2,$5
sw $2,88($sp)
lw $2,88($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
bne $2,$0,$L194
lw $2,40($sp)
sll $3,$2,3
lw $2,44($sp)
addu $2,$3,$2
sll $3,$2,2
lui $2,%hi(queueLimit)
addiu $2,$2,%lo(queueLimit)
addu $2,$3,$2
li $3,1 # 0x1
sw $3,92($sp)
sw $2,96($sp)
$L195:
lw $4,96($sp)
lw $3,92($sp)
lw $2,96($sp)
#APP
# 134 "./arch/mips/include/asm/atomic.h" 1
.set arch=r4000
ll $5, 0($4) # atomic_add
addu $5, $3
sc $5, 0($4)
.set mips0
# 0 "" 2
#NO_APP
move $2,$5
sw $2,100($sp)
lw $2,100($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
bne $2,$0,$L195
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,284($sp)
addiu $2,$2,22
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $2,0($2)
move $3,$2
li $2,-1610678272 # 0xffffffff9fff0000
ori $2,$2,0xffff
and $2,$3,$2
sw $2,28($sp)
lw $3,288($sp)
lw $2,28($sp)
sw $3,16($2)
lw $3,292($sp)
lw $2,28($sp)
sw $3,20($2)
lw $2,24($sp)
lw $2,4($2)
andi $2,$2,0xffff
andi $2,$2,0xfff
andi $4,$2,0xffff
lw $3,28($sp)
lw $2,12($3)
ins $2,$4,0,12
sw $2,12($3)
lw $2,280($sp)
lw $3,260($2)
lw $2,280($sp)
lw $2,88($2)
sw $0,104($sp)
sw $3,108($sp)
sw $2,112($sp)
li $2,1 # 0x1
sw $2,116($sp)
sw $0,120($sp)
lw $2,104($sp)
sw $2,124($sp)
lw $2,124($sp)
beq $2,$0,$L196
lw $2,124($sp)
lw $2,148($2)
beq $2,$0,$L196
lw $2,124($sp)
lw $2,148($2)
j $L197
$L196:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L197:
sw $2,128($sp)
lw $2,108($sp)
sw $2,132($sp)
lw $2,112($sp)
sw $2,136($sp)
lw $2,116($sp)
sw $2,140($sp)
lw $2,140($sp)
beq $2,$0,$L198
lw $3,140($sp)
li $2,1 # 0x1
beq $3,$2,$L198
lw $3,140($sp)
li $2,2 # 0x2
bne $3,$2,$L199
$L198:
li $2,1 # 0x1
j $L201
$L199:
move $2,$0
$L201:
sltu $2,$2,1
andi $2,$2,0x00ff
sw $2,144($sp)
lw $2,144($sp)
#APP
# 29 "./arch/mips/include/asm/bug.h" 1
tne $0, $2, 12
# 0 "" 2
#NO_APP
lw $2,128($sp)
lw $2,16($2)
lui $3,%hi(mem_map)
lw $4,%lo(mem_map)($3)
lw $3,108($sp)
sw $3,148($sp)
lw $5,148($sp)
li $3,-2147483648 # 0xffffffff80000000
addu $3,$5,$3
srl $3,$3,12
sll $3,$3,5
addu $5,$4,$3
lw $3,108($sp)
andi $6,$3,0xfff
lw $3,116($sp)
sw $3,16($sp)
lw $3,120($sp)
sw $3,20($sp)
lw $4,104($sp)
lw $7,112($sp)
jalr $2
sw $2,152($sp)
lui $2,%hi(mem_map)
lw $3,%lo(mem_map)($2)
lw $2,108($sp)
sw $2,156($sp)
lw $4,156($sp)
li $2,-2147483648 # 0xffffffff80000000
addu $2,$4,$2
srl $2,$2,12
sll $2,$2,5
addu $4,$3,$2
lw $2,108($sp)
andi $3,$2,0xfff
lw $2,116($sp)
lw $5,104($sp)
sw $5,160($sp)
sw $4,164($sp)
sw $3,168($sp)
lw $3,112($sp)
sw $3,172($sp)
sw $2,176($sp)
lw $2,152($sp)
sw $2,180($sp)
li $2,1 # 0x1
sb $2,184($sp)
lw $3,152($sp)
lw $2,28($sp)
sw $3,8($2)
lw $2,280($sp)
lw $2,88($2)
andi $3,$2,0xffff
lw $2,28($sp)
sh $3,6($2)
lw $3,28($sp)
lw $2,4($3)
ins $2,$0,31,1
sw $2,4($3)
lw $2,28($sp)
#APP
# 1070 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set push
.set noreorder
.set arch=r4000
1: cache 21, ($2)
2: .set pop
.section __ex_table,"a"
.word 1b, 2b
.previous
# 0 "" 2
#NO_APP
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,284($sp)
addiu $2,$2,22
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,280($sp)
sw $3,8($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,284($sp)
addiu $2,$2,22
sll $2,$2,2
addu $2,$3,$2
lw $3,24($sp)
sw $3,0($2)
#APP
# 1074 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set push
.set noreorder
.set mips2
sync
.set pop
# 0 "" 2
#NO_APP
lw $2,284($sp)
sll $2,$2,8
move $3,$2
lw $2,32($sp)
addu $2,$3,$2
addiu $2,$2,16
sw $2,188($sp)
lw $2,188($sp)
lw $2,0($2)
sw $2,56($sp)
lw $2,284($sp)
sll $2,$2,8
move $3,$2
lw $2,32($sp)
addu $2,$3,$2
addiu $3,$2,16
lw $4,56($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,24($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,192($sp)
sw $2,196($sp)
lw $2,192($sp)
lw $3,196($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,284($sp)
addiu $3,$3,48
sll $3,$3,2
addu $3,$2,$3
lw $3,4($3)
addiu $3,$3,1
lw $4,284($sp)
addiu $4,$4,48
sll $4,$4,2
addu $2,$2,$4
sw $3,4($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,284($sp)
sll $2,$2,2
addu $2,$3,$2
addiu $2,$2,4
sw $2,200($sp)
lw $2,48($sp)
sw $2,204($sp)
lw $2,200($sp)
move $4,$2
lw $5,204($sp)
lui $2,%hi(_raw_spin_unlock_irqrestore)
addiu $2,$2,%lo(_raw_spin_unlock_irqrestore)
jalr $2
lw $2,52($sp)
$L207:
lw $31,276($sp)
addiu $sp,$sp,280
j $31
.end qdma_bm_transmit_packet
.size qdma_bm_transmit_packet, .-qdma_bm_transmit_packet
.align 2
.globl qdma_bm_transmit_packet_wifi_fast
.set nomips16
.set nomicromips
.ent qdma_bm_transmit_packet_wifi_fast
.type qdma_bm_transmit_packet_wifi_fast, @function
qdma_bm_transmit_packet_wifi_fast:
.frame $sp,208,$31 # vars= 176, regs= 1/0, args= 24, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-208
sw $31,204($sp)
sw $4,208($sp)
sw $5,212($sp)
sw $0,24($sp)
sw $0,28($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,32($sp)
sw $0,36($sp)
sw $0,40($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,212($sp)
sll $2,$2,2
addu $2,$3,$2
addiu $2,$2,4
sw $2,48($sp)
lw $2,48($sp)
move $4,$2
lui $2,%hi(_raw_spin_lock_irqsave)
addiu $2,$2,%lo(_raw_spin_lock_irqsave)
jalr $2
sw $2,36($sp)
lw $2,212($sp)
sw $2,52($sp)
sw $0,56($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,52($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
sw $2,56($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,52($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,52($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$4,$2
lw $2,0($2)
bne $3,$2,$L210
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,52($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
sw $0,0($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,52($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
sw $0,0($2)
j $L211
$L210:
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,52($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lw $2,52($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$4,$2
sw $3,0($2)
$L211:
lw $2,56($sp)
beq $2,$0,$L212
lw $2,56($sp)
sw $0,12($2)
$L212:
lw $2,56($sp)
sw $2,24($sp)
lw $2,24($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
beq $2,$0,$L214
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,212($sp)
sll $2,$2,2
addu $2,$3,$2
addiu $2,$2,4
sw $2,60($sp)
lw $2,36($sp)
sw $2,64($sp)
lw $2,60($sp)
move $4,$2
lw $5,64($sp)
lui $2,%hi(_raw_spin_unlock_irqrestore)
addiu $2,$2,%lo(_raw_spin_unlock_irqrestore)
jalr $2
lw $2,208($sp)
sw $2,68($sp)
lw $4,68($sp)
li $5,1 # 0x1
lui $2,%hi(__dev_kfree_skb_any)
addiu $2,$2,%lo(__dev_kfree_skb_any)
jalr $2
li $2,-63 # 0xffffffffffffffc1
j $L215
$L214:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,212($sp)
addiu $2,$2,22
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $2,0($2)
move $3,$2
li $2,-1610678272 # 0xffffffff9fff0000
ori $2,$2,0xffff
and $2,$3,$2
sw $2,28($sp)
lw $2,28($sp)
li $3,56 # 0x38
sw $3,16($2)
lw $2,28($sp)
li $3,2097152 # 0x200000
sw $3,20($2)
lw $2,208($sp)
lhu $3,238($2)
li $2,29315 # 0x7283
bne $3,$2,$L216
lw $2,28($sp)
lw $3,20($2)
li $2,536870912 # 0x20000000
or $3,$3,$2
lw $2,28($sp)
sw $3,20($2)
$L216:
lw $2,24($sp)
lw $2,4($2)
andi $2,$2,0xffff
andi $2,$2,0xfff
andi $4,$2,0xffff
lw $3,28($sp)
lw $2,12($3)
ins $2,$4,0,12
sw $2,12($3)
lw $2,208($sp)
lw $3,260($2)
lw $2,208($sp)
lw $2,88($2)
sw $0,72($sp)
sw $3,76($sp)
sw $2,80($sp)
li $2,1 # 0x1
sw $2,84($sp)
sw $0,88($sp)
lw $2,72($sp)
sw $2,92($sp)
lw $2,92($sp)
beq $2,$0,$L217
lw $2,92($sp)
lw $2,148($2)
beq $2,$0,$L217
lw $2,92($sp)
lw $2,148($2)
j $L218
$L217:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L218:
sw $2,96($sp)
lw $2,76($sp)
sw $2,100($sp)
lw $2,80($sp)
sw $2,104($sp)
lw $2,84($sp)
sw $2,108($sp)
lw $2,108($sp)
beq $2,$0,$L219
lw $3,108($sp)
li $2,1 # 0x1
beq $3,$2,$L219
lw $3,108($sp)
li $2,2 # 0x2
bne $3,$2,$L220
$L219:
li $2,1 # 0x1
j $L222
$L220:
move $2,$0
$L222:
sltu $2,$2,1
andi $2,$2,0x00ff
sw $2,112($sp)
lw $2,112($sp)
#APP
# 29 "./arch/mips/include/asm/bug.h" 1
tne $0, $2, 12
# 0 "" 2
#NO_APP
lw $2,96($sp)
lw $2,16($2)
lui $3,%hi(mem_map)
lw $4,%lo(mem_map)($3)
lw $3,76($sp)
sw $3,116($sp)
lw $5,116($sp)
li $3,-2147483648 # 0xffffffff80000000
addu $3,$5,$3
srl $3,$3,12
sll $3,$3,5
addu $5,$4,$3
lw $3,76($sp)
andi $6,$3,0xfff
lw $3,84($sp)
sw $3,16($sp)
lw $3,88($sp)
sw $3,20($sp)
lw $4,72($sp)
lw $7,80($sp)
jalr $2
sw $2,120($sp)
lui $2,%hi(mem_map)
lw $3,%lo(mem_map)($2)
lw $2,76($sp)
sw $2,124($sp)
lw $4,124($sp)
li $2,-2147483648 # 0xffffffff80000000
addu $2,$4,$2
srl $2,$2,12
sll $2,$2,5
addu $4,$3,$2
lw $2,76($sp)
andi $3,$2,0xfff
lw $2,84($sp)
lw $5,72($sp)
sw $5,128($sp)
sw $4,132($sp)
sw $3,136($sp)
lw $3,80($sp)
sw $3,140($sp)
sw $2,144($sp)
lw $2,120($sp)
sw $2,148($sp)
li $2,1 # 0x1
sb $2,152($sp)
lw $3,120($sp)
lw $2,28($sp)
sw $3,8($2)
lw $2,208($sp)
lw $2,88($2)
andi $3,$2,0xffff
lw $2,28($sp)
sh $3,6($2)
lw $3,28($sp)
lw $2,4($3)
ins $2,$0,31,1
sw $2,4($3)
lw $2,28($sp)
#APP
# 1131 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set push
.set noreorder
.set arch=r4000
1: cache 21, ($2)
2: .set pop
.section __ex_table,"a"
.word 1b, 2b
.previous
# 0 "" 2
#NO_APP
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,212($sp)
addiu $2,$2,22
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,208($sp)
sw $3,8($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,212($sp)
addiu $2,$2,22
sll $2,$2,2
addu $2,$3,$2
lw $3,24($sp)
sw $3,0($2)
#APP
# 1135 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set push
.set noreorder
.set mips2
sync
.set pop
# 0 "" 2
#NO_APP
lw $2,212($sp)
sll $2,$2,8
move $3,$2
lw $2,32($sp)
addu $2,$3,$2
addiu $2,$2,16
sw $2,156($sp)
lw $2,156($sp)
lw $2,0($2)
sw $2,44($sp)
lw $2,212($sp)
sll $2,$2,8
move $3,$2
lw $2,32($sp)
addu $2,$3,$2
addiu $3,$2,16
lw $4,44($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,24($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,160($sp)
sw $2,164($sp)
lw $2,160($sp)
lw $3,164($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,212($sp)
sll $2,$2,2
addu $2,$3,$2
addiu $2,$2,4
sw $2,168($sp)
lw $2,36($sp)
sw $2,172($sp)
lw $2,168($sp)
move $4,$2
lw $5,172($sp)
lui $2,%hi(_raw_spin_unlock_irqrestore)
addiu $2,$2,%lo(_raw_spin_unlock_irqrestore)
jalr $2
lw $2,40($sp)
$L215:
lw $31,204($sp)
addiu $sp,$sp,208
j $31
.end qdma_bm_transmit_packet_wifi_fast
.size qdma_bm_transmit_packet_wifi_fast, .-qdma_bm_transmit_packet_wifi_fast
.text
.align 2
.globl qdma_bm_recycle_transmit_buffer
.set nomips16
.set nomicromips
.ent qdma_bm_recycle_transmit_buffer
.type qdma_bm_recycle_transmit_buffer, @function
qdma_bm_recycle_transmit_buffer:
.frame $sp,264,$31 # vars= 232, regs= 1/0, args= 24, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-264
sw $31,260($sp)
sw $4,264($sp)
sw $0,28($sp)
sw $0,32($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,36($sp)
sw $0,40($sp)
sw $0,44($sp)
sw $0,24($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,264($sp)
sll $2,$2,2
addu $2,$3,$2
addiu $2,$2,4
sw $2,56($sp)
lw $2,56($sp)
move $4,$2
lui $2,%hi(_raw_spin_lock_irqsave)
addiu $2,$2,%lo(_raw_spin_lock_irqsave)
jalr $2
sw $2,44($sp)
sw $0,24($sp)
j $L230
$L251:
lw $2,24($sp)
sll $3,$2,4
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,264($sp)
addiu $2,$2,10
sll $2,$2,2
addu $2,$4,$2
lw $2,0($2)
addu $2,$3,$2
sw $2,28($sp)
lw $2,28($sp)
lw $2,12($2)
bne $2,$0,$L231
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,264($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
lw $3,0($2)
lw $2,28($sp)
beq $3,$2,$L231
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,264($sp)
addiu $2,$2,22
sll $2,$2,2
addu $2,$3,$2
lw $3,0($2)
lw $2,28($sp)
beq $3,$2,$L231
lw $2,28($sp)
lw $2,0($2)
sw $2,32($sp)
lw $2,28($sp)
lw $2,8($2)
beq $2,$0,$L232
lw $2,32($sp)
lw $2,8($2)
beq $2,$0,$L232
lw $2,32($sp)
lw $2,8($2)
lw $3,32($sp)
lhu $3,6($3)
sw $0,60($sp)
sw $2,64($sp)
sw $3,68($sp)
li $2,1 # 0x1
sw $2,72($sp)
sw $0,76($sp)
lw $2,60($sp)
sw $2,80($sp)
lw $2,80($sp)
beq $2,$0,$L233
lw $2,80($sp)
lw $2,148($2)
beq $2,$0,$L233
lw $2,80($sp)
lw $2,148($2)
j $L234
$L233:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L234:
sw $2,84($sp)
lw $2,72($sp)
sw $2,88($sp)
lw $2,88($sp)
beq $2,$0,$L235
lw $3,88($sp)
li $2,1 # 0x1
beq $3,$2,$L235
lw $3,88($sp)
li $2,2 # 0x2
bne $3,$2,$L236
$L235:
li $2,1 # 0x1
j $L238
$L236:
move $2,$0
$L238:
sltu $2,$2,1
andi $2,$2,0x00ff
sw $2,92($sp)
lw $2,92($sp)
#APP
# 29 "./arch/mips/include/asm/bug.h" 1
tne $0, $2, 12
# 0 "" 2
#NO_APP
lw $2,84($sp)
lw $2,20($2)
beq $2,$0,$L240
lw $2,84($sp)
lw $2,20($2)
lw $3,76($sp)
sw $3,16($sp)
lw $4,60($sp)
lw $5,64($sp)
lw $6,68($sp)
lw $7,72($sp)
jalr $2
$L240:
lw $2,72($sp)
lw $3,60($sp)
sw $3,96($sp)
lw $3,64($sp)
sw $3,100($sp)
lw $3,68($sp)
sw $3,104($sp)
sw $2,108($sp)
li $2,1 # 0x1
sb $2,112($sp)
lw $2,28($sp)
lw $3,8($2)
lw $2,32($sp)
lw $2,16($2)
sw $3,116($sp)
sw $2,120($sp)
sw $0,124($sp)
sw $0,128($sp)
sw $0,132($sp)
lw $2,120($sp)
ext $2,$2,3,8
andi $2,$2,0x00ff
sw $2,124($sp)
lw $2,120($sp)
ext $2,$2,0,3
andi $2,$2,0x00ff
sw $2,128($sp)
lw $2,124($sp)
sll $3,$2,2
lui $2,%hi(chnlLimit)
addiu $2,$2,%lo(chnlLimit)
addu $2,$3,$2
li $3,1 # 0x1
sw $3,136($sp)
sw $2,140($sp)
$L241:
lw $4,140($sp)
lw $3,136($sp)
lw $2,140($sp)
#APP
# 135 "./arch/mips/include/asm/atomic.h" 1
.set arch=r4000
ll $5, 0($4) # atomic_sub
subu $5, $3
sc $5, 0($4)
.set mips0
# 0 "" 2
#NO_APP
move $2,$5
sw $2,144($sp)
lw $2,144($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
bne $2,$0,$L241
lw $2,124($sp)
sll $3,$2,3
lw $2,128($sp)
addu $2,$3,$2
sll $3,$2,2
lui $2,%hi(queueLimit)
addiu $2,$2,%lo(queueLimit)
addu $2,$3,$2
li $3,1 # 0x1
sw $3,148($sp)
sw $2,152($sp)
$L242:
lw $4,152($sp)
lw $3,148($sp)
lw $2,152($sp)
#APP
# 135 "./arch/mips/include/asm/atomic.h" 1
.set arch=r4000
ll $5, 0($4) # atomic_sub
subu $5, $3
sc $5, 0($4)
.set mips0
# 0 "" 2
#NO_APP
move $2,$5
sw $2,156($sp)
lw $2,156($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
bne $2,$0,$L242
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,188($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,188($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,156($2)
beq $2,$0,$L243
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,156($2)
lw $4,116($sp)
lw $5,120($sp)
jalr $2
beq $2,$0,$L255
li $2,-1 # 0xffffffffffffffff
sw $2,132($sp)
j $L245
$L243:
lw $2,116($sp)
sw $2,160($sp)
lw $4,160($sp)
li $5,1 # 0x1
lui $2,%hi(__dev_kfree_skb_any)
addiu $2,$2,%lo(__dev_kfree_skb_any)
jalr $2
j $L245
$L255:
.set noreorder
nop
.set reorder
$L245:
lw $2,32($sp)
addiu $2,$2,16
sw $2,40($sp)
lw $2,40($sp)
beq $2,$0,$L232
lw $2,32($sp)
addiu $2,$2,16
move $4,$2
move $5,$0
li $6,8 # 0x8
lui $2,%hi(memset)
addiu $2,$2,%lo(memset)
jalr $2
$L232:
lw $2,28($sp)
sw $2,164($sp)
lw $2,264($sp)
sw $2,168($sp)
lw $2,164($sp)
lw $2,12($2)
bne $2,$0,$L231
lw $2,164($sp)
sw $0,8($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,168($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
bne $2,$0,$L249
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,168($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $3,164($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,168($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
lw $3,164($sp)
sw $3,0($2)
j $L231
$L249:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,168($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,164($sp)
sw $3,12($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,168($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lw $2,168($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$4,$2
sw $3,0($2)
$L231:
lw $2,24($sp)
addiu $2,$2,1
sw $2,24($sp)
$L230:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,264($sp)
addiu $2,$2,8
sll $2,$2,1
addu $2,$3,$2
lhu $2,4($2)
move $3,$2
lw $2,24($sp)
slt $2,$2,$3
bne $2,$0,$L251
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,264($sp)
sll $2,$2,2
addu $2,$3,$2
addiu $2,$2,4
sw $2,172($sp)
lw $2,44($sp)
sw $2,176($sp)
lw $2,172($sp)
move $4,$2
lw $5,176($sp)
lui $2,%hi(_raw_spin_unlock_irqrestore)
addiu $2,$2,%lo(_raw_spin_unlock_irqrestore)
jalr $2
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,264($sp)
addiu $2,$2,22
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
sw $2,28($sp)
lw $2,264($sp)
sll $2,$2,8
move $3,$2
lw $2,36($sp)
addu $2,$3,$2
addiu $2,$2,16
sw $2,180($sp)
lw $2,180($sp)
lw $2,0($2)
sw $2,48($sp)
lw $2,264($sp)
sll $2,$2,8
move $3,$2
lw $2,36($sp)
addu $2,$3,$2
addiu $3,$2,16
lw $4,48($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,28($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,184($sp)
sw $2,188($sp)
lw $2,184($sp)
lw $3,188($sp)
sw $3,0($2)
lw $2,264($sp)
sll $2,$2,8
move $3,$2
lw $2,36($sp)
addu $2,$3,$2
addiu $2,$2,20
sw $2,192($sp)
lw $2,192($sp)
lw $2,0($2)
sw $2,52($sp)
lw $2,264($sp)
sll $2,$2,8
move $3,$2
lw $2,36($sp)
addu $2,$3,$2
addiu $3,$2,20
lw $4,52($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,28($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,196($sp)
sw $2,200($sp)
lw $2,196($sp)
lw $3,200($sp)
sw $3,0($2)
move $2,$0
lw $31,260($sp)
addiu $sp,$sp,264
j $31
.end qdma_bm_recycle_transmit_buffer
.size qdma_bm_recycle_transmit_buffer, .-qdma_bm_recycle_transmit_buffer
.align 2
.set nomips16
.set nomicromips
.ent qdma_bm_counters_read_proc
.type qdma_bm_counters_read_proc, @function
qdma_bm_counters_read_proc:
.frame $sp,24,$31 # vars= 0, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-24
sw $31,20($sp)
sw $4,24($sp)
sw $5,28($sp)
sw $6,32($sp)
sw $7,36($sp)
move $4,$0
lui $2,%hi(qdma_dump_cpu_counters)
addiu $2,$2,%lo(qdma_dump_cpu_counters)
jalr $2
nop
move $2,$0
lw $31,20($sp)
addiu $sp,$sp,24
j $31
nop
.set macro
.set reorder
.end qdma_bm_counters_read_proc
.size qdma_bm_counters_read_proc, .-qdma_bm_counters_read_proc
.rdata
.align 2
$LC1:
.ascii "%d\000"
.text
.align 2
.set nomips16
.set nomicromips
.ent qdma_bm_counters_write_proc
.type qdma_bm_counters_write_proc, @function
qdma_bm_counters_write_proc:
.frame $sp,128,$31 # vars= 104, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-128
sw $31,124($sp)
sw $4,128($sp)
sw $5,132($sp)
sw $6,136($sp)
sw $7,140($sp)
sw $0,112($sp)
lw $2,136($sp)
sltu $2,$2,64
bne $2,$0,$L259
li $2,-22 # 0xffffffffffffffea
j $L267
$L259:
addiu $2,$sp,48
sw $2,20($sp)
lw $2,132($sp)
sw $2,24($sp)
lw $2,136($sp)
sw $2,16($sp)
move $2,$28
lw $3,24($2)
sw $0,44($sp)
lw $2,44($sp)
bne $3,$2,$L262
lw $4,20($sp)
lw $5,24($sp)
lw $6,16($sp)
#APP
# 1396 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set noreorder
.set noat
la $1, __copy_user
jalr $1
.set at
.set noat
addu $1, $5, $6
.set at
.set reorder
# 0 "" 2
#NO_APP
move $2,$6
sw $2,16($sp)
j $L263
$L262:
lw $2,24($sp)
sw $2,28($sp)
lw $2,16($sp)
sw $2,32($sp)
move $2,$28
lw $2,24($2)
sw $2,36($sp)
lw $3,28($sp)
lw $2,32($sp)
addu $3,$3,$2
lw $2,28($sp)
or $3,$3,$2
lw $2,32($sp)
or $3,$3,$2
lw $2,36($sp)
and $2,$3,$2
sw $2,40($sp)
lw $2,40($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
sltu $2,$0,$2
andi $2,$2,0x00ff
beq $2,$0,$L263
lw $4,20($sp)
lw $5,24($sp)
lw $6,16($sp)
#APP
# 1396 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set noreorder
.set noat
la $1, __copy_user
jalr $1
.set at
.set noat
addu $1, $5, $6
.set at
.set reorder
# 0 "" 2
#NO_APP
move $2,$6
sw $2,16($sp)
$L263:
lw $2,16($sp)
beq $2,$0,$L265
li $2,-14 # 0xfffffffffffffff2
j $L267
$L265:
addiu $2,$sp,48
addiu $3,$sp,112
move $4,$2
lui $2,%hi($LC1)
addiu $5,$2,%lo($LC1)
move $6,$3
lui $2,%hi(sscanf)
addiu $2,$2,%lo(sscanf)
jalr $2
lw $3,112($sp)
li $2,1 # 0x1
bne $3,$2,$L266
move $4,$0
lui $2,%hi(qdma_clear_cpu_counters)
addiu $2,$2,%lo(qdma_clear_cpu_counters)
jalr $2
$L266:
lw $2,136($sp)
$L267:
lw $31,124($sp)
addiu $sp,$sp,128
j $31
.end qdma_bm_counters_write_proc
.size qdma_bm_counters_write_proc, .-qdma_bm_counters_write_proc
.align 2
.set nomips16
.set nomicromips
.ent qdma_bm_debug_read_proc
.type qdma_bm_debug_read_proc, @function
qdma_bm_debug_read_proc:
.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0
.mask 0x00000000,0
.fmask 0x00000000,0
.set noreorder
.set nomacro
sw $4,0($sp)
sw $5,4($sp)
sw $6,8($sp)
sw $7,12($sp)
move $2,$0
j $31
nop
.set macro
.set reorder
.end qdma_bm_debug_read_proc
.size qdma_bm_debug_read_proc, .-qdma_bm_debug_read_proc
.rdata
.align 2
$LC2:
.ascii "%s %s %d %x\000"
.align 2
$LC3:
.ascii "level\000"
.align 2
$LC4:
.ascii "dump\000"
.align 2
$LC5:
.ascii "csr\000"
.align 2
$LC6:
.ascii "dscp\000"
.align 2
$LC7:
.ascii "irq\000"
.align 2
$LC8:
.ascii "hwfwd\000"
.align 2
$LC9:
.ascii "dbgcntr\000"
.align 2
$LC10:
.ascii "clear\000"
.align 2
$LC11:
.ascii "queue\000"
.align 2
$LC12:
.ascii "channel_cpu\000"
.align 2
$LC13:
.ascii "channel_fwd1\000"
.align 2
$LC14:
.ascii "channel_fwd2\000"
.align 2
$LC15:
.ascii "test\000"
.align 2
$LC16:
.ascii "wrr\000"
.align 2
$LC17:
.ascii "Channel:%d, Type:%d, Q0:%d, Q1:%d, Q2:%d, Q3:%d, Q4:%d, "
.ascii "Q5:%d, Q6:%d, Q7:%d\012\000"
.align 2
$LC18:
.ascii "dma_busy\000"
.align 2
$LC19:
.ascii "reg_polling\000"
.align 2
$LC20:
.ascii "forceRX1\000"
.text
.align 2
.set nomips16
.set nomicromips
.ent qdma_bm_debug_write_proc
.type qdma_bm_debug_write_proc, @function
qdma_bm_debug_write_proc:
.frame $sp,496,$31 # vars= 440, regs= 1/0, args= 48, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-496
sw $31,492($sp)
sw $4,496($sp)
sw $5,500($sp)
sw $6,504($sp)
sw $7,508($sp)
sw $0,60($sp)
sw $0,436($sp)
sw $0,440($sp)
lw $2,504($sp)
sltu $2,$2,64
bne $2,$0,$L271
li $2,-22 # 0xffffffffffffffea
j $L319
$L271:
addiu $2,$sp,308
sw $2,64($sp)
lw $2,500($sp)
sw $2,68($sp)
lw $2,504($sp)
sw $2,48($sp)
move $2,$28
lw $3,24($2)
sw $0,304($sp)
lw $2,304($sp)
bne $3,$2,$L274
lw $4,64($sp)
lw $5,68($sp)
lw $6,48($sp)
#APP
# 1426 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set noreorder
.set noat
la $1, __copy_user
jalr $1
.set at
.set noat
addu $1, $5, $6
.set at
.set reorder
# 0 "" 2
#NO_APP
move $2,$6
sw $2,48($sp)
j $L275
$L274:
lw $2,68($sp)
sw $2,72($sp)
lw $2,48($sp)
sw $2,76($sp)
move $2,$28
lw $2,24($2)
sw $2,80($sp)
lw $3,72($sp)
lw $2,76($sp)
addu $3,$3,$2
lw $2,72($sp)
or $3,$3,$2
lw $2,76($sp)
or $3,$3,$2
lw $2,80($sp)
and $2,$3,$2
sw $2,84($sp)
lw $2,84($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
sltu $2,$0,$2
andi $2,$2,0x00ff
beq $2,$0,$L275
lw $4,64($sp)
lw $5,68($sp)
lw $6,48($sp)
#APP
# 1426 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set noreorder
.set noat
la $1, __copy_user
jalr $1
.set at
.set noat
addu $1, $5, $6
.set at
.set reorder
# 0 "" 2
#NO_APP
move $2,$6
sw $2,48($sp)
$L275:
lw $2,48($sp)
beq $2,$0,$L277
li $2,-14 # 0xfffffffffffffff2
j $L319
$L277:
addiu $4,$sp,308
addiu $6,$sp,372
addiu $3,$sp,404
addiu $2,$sp,436
sw $2,16($sp)
addiu $2,$sp,440
sw $2,20($sp)
lui $2,%hi($LC2)
addiu $5,$2,%lo($LC2)
move $7,$3
lui $2,%hi(sscanf)
addiu $2,$2,%lo(sscanf)
jalr $2
addiu $2,$sp,372
sw $2,88($sp)
lui $2,%hi($LC3)
addiu $2,$2,%lo($LC3)
sw $2,92($sp)
lw $3,88($sp)
lw $2,92($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,88($sp)
sw $2,92($sp)
sw $4,96($sp)
lw $2,96($sp)
beq $2,$0,$L279
addiu $2,$sp,372
sw $2,100($sp)
lui $2,%hi($LC4)
addiu $2,$2,%lo($LC4)
sw $2,104($sp)
lw $3,100($sp)
lw $2,104($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,100($sp)
sw $2,104($sp)
sw $4,108($sp)
lw $2,108($sp)
bne $2,$0,$L281
addiu $2,$sp,404
sw $2,112($sp)
lui $2,%hi($LC5)
addiu $2,$2,%lo($LC5)
sw $2,116($sp)
lw $3,112($sp)
lw $2,116($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,112($sp)
sw $2,116($sp)
sw $4,120($sp)
lw $2,120($sp)
bne $2,$0,$L283
move $4,$0
lui $2,%hi(qdma_dump_register_value)
addiu $2,$2,%lo(qdma_dump_register_value)
jalr $2
j $L279
$L283:
addiu $2,$sp,404
sw $2,124($sp)
lui $2,%hi($LC6)
addiu $2,$2,%lo($LC6)
sw $2,128($sp)
lw $3,124($sp)
lw $2,128($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,124($sp)
sw $2,128($sp)
sw $4,132($sp)
lw $2,132($sp)
bne $2,$0,$L286
move $4,$0
lui $2,%hi(qdma_dump_descriptor_info)
addiu $2,$2,%lo(qdma_dump_descriptor_info)
jalr $2
j $L279
$L286:
addiu $2,$sp,404
sw $2,136($sp)
lui $2,%hi($LC7)
addiu $2,$2,%lo($LC7)
sw $2,140($sp)
lw $3,136($sp)
lw $2,140($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,136($sp)
sw $2,140($sp)
sw $4,144($sp)
lw $2,144($sp)
bne $2,$0,$L288
move $4,$0
lui $2,%hi(qdma_dump_irq_info)
addiu $2,$2,%lo(qdma_dump_irq_info)
jalr $2
j $L279
$L288:
addiu $2,$sp,404
sw $2,148($sp)
lui $2,%hi($LC8)
addiu $2,$2,%lo($LC8)
sw $2,152($sp)
lw $3,148($sp)
lw $2,152($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,148($sp)
sw $2,152($sp)
sw $4,156($sp)
lw $2,156($sp)
bne $2,$0,$L279
move $4,$0
lui $2,%hi(qdma_dump_hwfwd_info)
addiu $2,$2,%lo(qdma_dump_hwfwd_info)
jalr $2
j $L279
$L281:
addiu $2,$sp,372
sw $2,160($sp)
lui $2,%hi($LC9)
addiu $2,$2,%lo($LC9)
sw $2,164($sp)
lw $3,160($sp)
lw $2,164($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,160($sp)
sw $2,164($sp)
sw $4,168($sp)
lw $2,168($sp)
bne $2,$0,$L291
addiu $2,$sp,404
sw $2,172($sp)
lui $2,%hi($LC4)
addiu $2,$2,%lo($LC4)
sw $2,176($sp)
lw $3,172($sp)
lw $2,176($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,172($sp)
sw $2,176($sp)
sw $4,180($sp)
lw $2,180($sp)
bne $2,$0,$L293
move $4,$0
lui $2,%hi(qdma_dump_dbg_cntr_value)
addiu $2,$2,%lo(qdma_dump_dbg_cntr_value)
jalr $2
j $L279
$L293:
addiu $2,$sp,404
sw $2,184($sp)
lui $2,%hi($LC10)
addiu $2,$2,%lo($LC10)
sw $2,188($sp)
lw $3,184($sp)
lw $2,188($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,184($sp)
sw $2,188($sp)
sw $4,192($sp)
lw $2,192($sp)
bne $2,$0,$L296
move $4,$0
lui $2,%hi(qdma_clear_dbg_cntr_value_all)
addiu $2,$2,%lo(qdma_clear_dbg_cntr_value_all)
jalr $2
j $L279
$L296:
addiu $2,$sp,404
sw $2,196($sp)
lui $2,%hi($LC11)
addiu $2,$2,%lo($LC11)
sw $2,200($sp)
lw $3,196($sp)
lw $2,200($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,196($sp)
sw $2,200($sp)
sw $4,204($sp)
lw $2,204($sp)
bne $2,$0,$L298
move $4,$0
lui $2,%hi(qdma_clear_and_set_dbg_cntr_queue_group)
addiu $2,$2,%lo(qdma_clear_and_set_dbg_cntr_queue_group)
jalr $2
j $L279
$L298:
addiu $2,$sp,404
sw $2,208($sp)
lui $2,%hi($LC12)
addiu $2,$2,%lo($LC12)
sw $2,212($sp)
lw $3,208($sp)
lw $2,212($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,208($sp)
sw $2,212($sp)
sw $4,216($sp)
lw $2,216($sp)
bne $2,$0,$L300
sw $0,452($sp)
addiu $2,$sp,444
move $4,$2
lui $2,%hi(qdma_clear_and_set_dbg_cntr_channel_group)
addiu $2,$2,%lo(qdma_clear_and_set_dbg_cntr_channel_group)
jalr $2
j $L279
$L300:
addiu $2,$sp,404
sw $2,220($sp)
lui $2,%hi($LC13)
addiu $2,$2,%lo($LC13)
sw $2,224($sp)
lw $3,220($sp)
lw $2,224($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,220($sp)
sw $2,224($sp)
sw $4,228($sp)
lw $2,228($sp)
bne $2,$0,$L302
li $2,1 # 0x1
sw $2,452($sp)
addiu $2,$sp,444
move $4,$2
lui $2,%hi(qdma_clear_and_set_dbg_cntr_channel_group)
addiu $2,$2,%lo(qdma_clear_and_set_dbg_cntr_channel_group)
jalr $2
j $L279
$L302:
addiu $2,$sp,404
sw $2,232($sp)
lui $2,%hi($LC14)
addiu $2,$2,%lo($LC14)
sw $2,236($sp)
lw $3,232($sp)
lw $2,236($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,232($sp)
sw $2,236($sp)
sw $4,240($sp)
lw $2,240($sp)
bne $2,$0,$L279
li $2,2 # 0x2
sw $2,452($sp)
addiu $2,$sp,444
move $4,$2
lui $2,%hi(qdma_clear_and_set_dbg_cntr_channel_group)
addiu $2,$2,%lo(qdma_clear_and_set_dbg_cntr_channel_group)
jalr $2
j $L279
$L291:
addiu $2,$sp,372
sw $2,244($sp)
lui $2,%hi($LC15)
addiu $2,$2,%lo($LC15)
sw $2,248($sp)
lw $3,244($sp)
lw $2,248($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,244($sp)
sw $2,248($sp)
sw $4,252($sp)
lw $2,252($sp)
bne $2,$0,$L279
addiu $2,$sp,404
sw $2,256($sp)
lui $2,%hi($LC16)
addiu $2,$2,%lo($LC16)
sw $2,260($sp)
lw $3,256($sp)
lw $2,260($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,256($sp)
sw $2,260($sp)
sw $4,264($sp)
lw $2,264($sp)
bne $2,$0,$L306
sw $0,52($sp)
j $L307
$L311:
lw $2,52($sp)
andi $2,$2,0x00ff
sb $2,472($sp)
lw $3,52($sp)
li $2,-2147483648 # 0xffffffff80000000
ori $2,$2,0x7
and $2,$3,$2
bgez $2,$L308
addiu $2,$2,-1
li $3,-8 # 0xfffffffffffffff8
or $2,$2,$3
addiu $2,$2,1
$L308:
sw $2,476($sp)
sw $0,56($sp)
j $L309
$L310:
lw $2,52($sp)
andi $2,$2,0x00ff
sll $2,$2,1
sll $3,$2,2
addu $2,$2,$3
andi $3,$2,0x00ff
lw $2,56($sp)
andi $2,$2,0x00ff
addu $2,$3,$2
andi $3,$2,0x00ff
lw $2,56($sp)
addiu $4,$sp,48
addu $2,$4,$2
sb $3,432($2)
lw $2,56($sp)
addiu $2,$2,1
sw $2,56($sp)
$L309:
lw $2,56($sp)
slt $2,$2,8
bne $2,$0,$L310
addiu $2,$sp,472
sw $2,460($sp)
addiu $2,$sp,444
move $4,$2
lui $2,%hi(qdma_set_tx_qos)
addiu $2,$2,%lo(qdma_set_tx_qos)
jalr $2
lw $2,52($sp)
addiu $2,$2,1
sw $2,52($sp)
$L307:
lw $2,52($sp)
slt $2,$2,8
bne $2,$0,$L311
sw $0,52($sp)
j $L312
$L313:
addiu $2,$sp,472
move $4,$2
move $5,$0
li $6,16 # 0x10
lui $2,%hi(memset)
addiu $2,$2,%lo(memset)
jalr $2
lw $2,52($sp)
andi $2,$2,0x00ff
sb $2,472($sp)
addiu $2,$sp,472
sw $2,460($sp)
addiu $2,$sp,444
move $4,$2
lui $2,%hi(qdma_get_tx_qos)
addiu $2,$2,%lo(qdma_get_tx_qos)
jalr $2
lw $3,476($sp)
lbu $2,480($sp)
move $10,$2
lbu $2,481($sp)
move $9,$2
lbu $2,482($sp)
move $8,$2
lbu $2,483($sp)
move $7,$2
lbu $2,484($sp)
move $6,$2
lbu $2,485($sp)
move $5,$2
lbu $2,486($sp)
move $4,$2
lbu $2,487($sp)
sw $9,16($sp)
sw $8,20($sp)
sw $7,24($sp)
sw $6,28($sp)
sw $5,32($sp)
sw $4,36($sp)
sw $2,40($sp)
lui $2,%hi($LC17)
addiu $4,$2,%lo($LC17)
lw $5,52($sp)
move $6,$3
move $7,$10
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
lw $2,52($sp)
addiu $2,$2,1
sw $2,52($sp)
$L312:
lw $2,52($sp)
slt $2,$2,8
bne $2,$0,$L313
j $L279
$L306:
addiu $2,$sp,404
sw $2,268($sp)
lui $2,%hi($LC18)
addiu $2,$2,%lo($LC18)
sw $2,272($sp)
lw $3,268($sp)
lw $2,272($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,268($sp)
sw $2,272($sp)
sw $4,276($sp)
lw $2,276($sp)
bne $2,$0,$L315
lw $2,436($sp)
sw $2,456($sp)
addiu $2,$sp,444
move $4,$2
lui $2,%hi(qdma_dump_dma_busy)
addiu $2,$2,%lo(qdma_dump_dma_busy)
jalr $2
j $L279
$L315:
addiu $2,$sp,404
sw $2,280($sp)
lui $2,%hi($LC19)
addiu $2,$2,%lo($LC19)
sw $2,284($sp)
lw $3,280($sp)
lw $2,284($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,280($sp)
sw $2,284($sp)
sw $4,288($sp)
lw $2,288($sp)
bne $2,$0,$L317
lw $2,440($sp)
sw $2,460($sp)
lw $2,436($sp)
sw $2,464($sp)
addiu $2,$sp,444
move $4,$2
lui $2,%hi(qdma_dump_reg_polling)
addiu $2,$2,%lo(qdma_dump_reg_polling)
jalr $2
j $L279
$L317:
addiu $2,$sp,404
sw $2,292($sp)
lui $2,%hi($LC20)
addiu $2,$2,%lo($LC20)
sw $2,296($sp)
lw $3,292($sp)
lw $2,296($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,292($sp)
sw $2,296($sp)
sw $4,300($sp)
lw $2,300($sp)
bne $2,$0,$L279
lw $2,436($sp)
sw $2,468($sp)
addiu $2,$sp,444
move $4,$2
lui $2,%hi(qdma_set_force_receive_rx_ring1)
addiu $2,$2,%lo(qdma_set_force_receive_rx_ring1)
jalr $2
$L279:
lw $2,504($sp)
$L319:
lw $31,492($sp)
addiu $sp,$sp,496
j $31
.end qdma_bm_debug_write_proc
.size qdma_bm_debug_write_proc, .-qdma_bm_debug_write_proc
.rdata
.align 2
$LC21:
.ascii "echo ratelimit [tx/rx] r > /proc/%s\012\000"
.align 2
$LC22:
.ascii "qdma_lan/ratelimit\000"
.align 2
$LC23:
.ascii "echo ratelimit [tx/rx] w [Enable/Disable] [unit:(1~%dkbp"
.ascii "s)] > /proc/%s\012\000"
.align 2
$LC24:
.ascii "echo ratelimit [tx/rx] w [chanIdx/ringIdx] [pir:(kbps)] "
.ascii "[dropEn:Enable/Disable]> /proc/%s\012\000"
.align 2
$LC25:
.ascii "echo ratemeter tx r > /proc/%s\012\000"
.align 2
$LC26:
.ascii "echo ratemeter tx w [Enable/Disable] [unit:(2~%dkbps)] >"
.ascii " /proc/%s\012\000"
.text
.align 2
.set nomips16
.set nomicromips
.ent qdma_bm_ratelimit_read_proc
.type qdma_bm_ratelimit_read_proc, @function
qdma_bm_ratelimit_read_proc:
.frame $sp,40,$31 # vars= 16, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-40
sw $31,36($sp)
sw $4,40($sp)
sw $5,44($sp)
sw $6,48($sp)
sw $7,52($sp)
sw $0,16($sp)
sw $0,24($sp)
sw $0,20($sp)
lw $2,16($sp)
lw $3,40($sp)
addu $2,$3,$2
move $4,$2
lui $2,%hi($LC21)
addiu $5,$2,%lo($LC21)
lui $2,%hi($LC22)
addiu $6,$2,%lo($LC22)
lui $2,%hi(sprintf)
addiu $2,$2,%lo(sprintf)
jalr $2
nop
move $3,$2
lw $2,16($sp)
addu $2,$2,$3
sw $2,16($sp)
lw $3,20($sp)
lw $2,16($sp)
addu $2,$3,$2
sw $2,24($sp)
lw $3,24($sp)
lw $2,48($sp)
slt $2,$3,$2
beq $2,$0,$L321
nop
sw $0,16($sp)
lw $2,24($sp)
sw $2,20($sp)
$L321:
lw $3,48($sp)
lw $2,52($sp)
addu $3,$3,$2
lw $2,24($sp)
slt $2,$3,$2
beq $2,$0,$L322
nop
j $L323
nop
$L322:
lw $2,16($sp)
lw $3,40($sp)
addu $2,$3,$2
move $4,$2
lui $2,%hi($LC23)
addiu $5,$2,%lo($LC23)
li $6,64 # 0x40
lui $2,%hi($LC22)
addiu $7,$2,%lo($LC22)
lui $2,%hi(sprintf)
addiu $2,$2,%lo(sprintf)
jalr $2
nop
move $3,$2
lw $2,16($sp)
addu $2,$2,$3
sw $2,16($sp)
lw $3,20($sp)
lw $2,16($sp)
addu $2,$3,$2
sw $2,24($sp)
lw $3,24($sp)
lw $2,48($sp)
slt $2,$3,$2
beq $2,$0,$L324
nop
sw $0,16($sp)
lw $2,24($sp)
sw $2,20($sp)
$L324:
lw $3,48($sp)
lw $2,52($sp)
addu $3,$3,$2
lw $2,24($sp)
slt $2,$3,$2
beq $2,$0,$L325
nop
j $L323
nop
$L325:
lw $2,16($sp)
lw $3,40($sp)
addu $2,$3,$2
move $4,$2
lui $2,%hi($LC24)
addiu $5,$2,%lo($LC24)
lui $2,%hi($LC22)
addiu $6,$2,%lo($LC22)
lui $2,%hi(sprintf)
addiu $2,$2,%lo(sprintf)
jalr $2
nop
move $3,$2
lw $2,16($sp)
addu $2,$2,$3
sw $2,16($sp)
lw $3,20($sp)
lw $2,16($sp)
addu $2,$3,$2
sw $2,24($sp)
lw $3,24($sp)
lw $2,48($sp)
slt $2,$3,$2
beq $2,$0,$L326
nop
sw $0,16($sp)
lw $2,24($sp)
sw $2,20($sp)
$L326:
lw $3,48($sp)
lw $2,52($sp)
addu $3,$3,$2
lw $2,24($sp)
slt $2,$3,$2
beq $2,$0,$L327
nop
j $L323
nop
$L327:
lw $2,16($sp)
lw $3,40($sp)
addu $2,$3,$2
move $4,$2
lui $2,%hi($LC25)
addiu $5,$2,%lo($LC25)
lui $2,%hi($LC22)
addiu $6,$2,%lo($LC22)
lui $2,%hi(sprintf)
addiu $2,$2,%lo(sprintf)
jalr $2
nop
move $3,$2
lw $2,16($sp)
addu $2,$2,$3
sw $2,16($sp)
lw $3,20($sp)
lw $2,16($sp)
addu $2,$3,$2
sw $2,24($sp)
lw $3,24($sp)
lw $2,48($sp)
slt $2,$3,$2
beq $2,$0,$L328
nop
sw $0,16($sp)
lw $2,24($sp)
sw $2,20($sp)
$L328:
lw $3,48($sp)
lw $2,52($sp)
addu $3,$3,$2
lw $2,24($sp)
slt $2,$3,$2
beq $2,$0,$L329
nop
j $L323
nop
$L329:
lw $2,16($sp)
lw $3,40($sp)
addu $2,$3,$2
move $4,$2
lui $2,%hi($LC26)
addiu $5,$2,%lo($LC26)
li $6,64 # 0x40
lui $2,%hi($LC22)
addiu $7,$2,%lo($LC22)
lui $2,%hi(sprintf)
addiu $2,$2,%lo(sprintf)
jalr $2
nop
move $3,$2
lw $2,16($sp)
addu $2,$2,$3
sw $2,16($sp)
lw $3,20($sp)
lw $2,16($sp)
addu $2,$3,$2
sw $2,24($sp)
lw $3,24($sp)
lw $2,48($sp)
slt $2,$3,$2
beq $2,$0,$L330
nop
sw $0,16($sp)
lw $2,24($sp)
sw $2,20($sp)
$L330:
lw $3,48($sp)
lw $2,52($sp)
addu $3,$3,$2
lw $2,24($sp)
slt $2,$3,$2
beq $2,$0,$L331
nop
j $L323
nop
$L331:
lw $2,56($sp)
li $3,1 # 0x1
sw $3,0($2)
$L323:
lw $3,48($sp)
lw $2,20($sp)
subu $2,$3,$2
move $3,$2
lw $2,40($sp)
addu $3,$2,$3
lw $2,44($sp)
sw $3,0($2)
lw $3,20($sp)
lw $2,48($sp)
subu $2,$3,$2
lw $3,16($sp)
addu $2,$3,$2
sw $2,16($sp)
lw $2,16($sp)
bgez $2,$L332
nop
sw $0,16($sp)
$L332:
lw $3,16($sp)
lw $2,52($sp)
slt $2,$2,$3
beq $2,$0,$L333
nop
lw $2,52($sp)
sw $2,16($sp)
$L333:
lw $2,16($sp)
lw $31,36($sp)
addiu $sp,$sp,40
j $31
nop
.set macro
.set reorder
.end qdma_bm_ratelimit_read_proc
.size qdma_bm_ratelimit_read_proc, .-qdma_bm_ratelimit_read_proc
.rdata
.align 2
$LC27:
.ascii "%s %s %s %s %d %s\000"
.align 2
$LC28:
.ascii "Enable\000"
.align 2
$LC29:
.ascii "Disable\000"
.align 2
$LC30:
.ascii "tx\000"
.align 2
$LC31:
.ascii "rx\000"
.align 2
$LC32:
.ascii "Fault: index is %d, which should between 0 and %d\012\000"
.align 2
$LC33:
.ascii "w\000"
.align 2
$LC34:
.ascii "ratelimit\000"
.align 2
$LC35:
.ascii "Fault: Rate Limit unit is %dkbps, which should between 1"
.ascii " and %d\012\000"
.align 2
$LC36:
.ascii "ratemeter\000"
.align 2
$LC37:
.ascii "Fault: Rate Meter unit is %dkpbs, which should between 2"
.ascii " and %d\012\000"
.align 2
$LC38:
.ascii "r\000"
.align 2
$LC39:
.ascii "txRateLimitEn:Enable, txBucketScale:%d, unit:%dkbps\012\000"
.align 2
$LC40:
.ascii "Channel_%d: pir:%dkbps, pbs:%dByte\012\000"
.align 2
$LC41:
.ascii "Error: ratelimitValue is %dkbps, which shold less than 4"
.ascii "gbps!\000"
.align 2
$LC42:
.ascii "channel:%d, pirParamValue:%ukbps\012\000"
.align 2
$LC43:
.ascii "rxDropEn:Enable, rxRateLimitEn:%s, rxBucketScale:%d, rxR"
.ascii "ateLimitUnit:%dkbps\012\000"
.align 2
$LC44:
.ascii "RX%d: pir:%dkbps, pbs:%dByte\012\000"
.align 2
$LC45:
.ascii "ringIdx:%d, pirParamValue:%ukbps\012\000"
.align 2
$LC46:
.ascii "Fault: ratelimit only effect on tx/rx Direction\012\000"
.align 2
$LC47:
.ascii "txRateMeterEn:Enable, txRateMeterDivisor:%d, txRateMeter"
.ascii "TimeSlice:%dus\012\000"
.align 2
$LC48:
.ascii "Channel_%d: rateMeter:%dkbps\012\000"
.align 2
$LC49:
.ascii "Fault: ratemeter only effect on tx Direction\012\000"
.text
.align 2
.set nomips16
.set nomicromips
.ent qdma_bm_ratelimit_write_proc
.type qdma_bm_ratelimit_write_proc, @function
qdma_bm_ratelimit_write_proc:
.frame $sp,760,$31 # vars= 720, regs= 1/0, args= 32, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-760
sw $31,756($sp)
sw $4,760($sp)
sw $5,764($sp)
sw $6,768($sp)
sw $7,772($sp)
sw $0,32($sp)
sw $0,648($sp)
sw $0,36($sp)
sw $0,48($sp)
sw $0,40($sp)
sw $0,52($sp)
lw $2,768($sp)
sltu $2,$2,128
bne $2,$0,$L336
li $2,-22 # 0xffffffffffffffea
j $L409
$L336:
addiu $2,$sp,360
sw $2,56($sp)
lw $2,764($sp)
sw $2,60($sp)
lw $2,768($sp)
sw $2,44($sp)
move $2,$28
lw $3,24($2)
sw $0,356($sp)
lw $2,356($sp)
bne $3,$2,$L339
lw $4,56($sp)
lw $5,60($sp)
lw $6,44($sp)
#APP
# 1556 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set noreorder
.set noat
la $1, __copy_user
jalr $1
.set at
.set noat
addu $1, $5, $6
.set at
.set reorder
# 0 "" 2
#NO_APP
move $2,$6
sw $2,44($sp)
j $L340
$L339:
lw $2,60($sp)
sw $2,64($sp)
lw $2,44($sp)
sw $2,68($sp)
move $2,$28
lw $2,24($2)
sw $2,72($sp)
lw $3,64($sp)
lw $2,68($sp)
addu $3,$3,$2
lw $2,64($sp)
or $3,$3,$2
lw $2,68($sp)
or $3,$3,$2
lw $2,72($sp)
and $2,$3,$2
sw $2,76($sp)
lw $2,76($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
sltu $2,$0,$2
andi $2,$2,0x00ff
beq $2,$0,$L340
lw $4,56($sp)
lw $5,60($sp)
lw $6,44($sp)
#APP
# 1556 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set noreorder
.set noat
la $1, __copy_user
jalr $1
.set at
.set noat
addu $1, $5, $6
.set at
.set reorder
# 0 "" 2
#NO_APP
move $2,$6
sw $2,44($sp)
$L340:
lw $2,44($sp)
beq $2,$0,$L342
li $2,-14 # 0xfffffffffffffff2
j $L409
$L342:
addiu $4,$sp,360
addiu $6,$sp,488
addiu $3,$sp,520
addiu $2,$sp,552
sw $2,16($sp)
addiu $2,$sp,584
sw $2,20($sp)
addiu $2,$sp,648
sw $2,24($sp)
addiu $2,$sp,616
sw $2,28($sp)
lui $2,%hi($LC27)
addiu $5,$2,%lo($LC27)
move $7,$3
lui $2,%hi(sscanf)
addiu $2,$2,%lo(sscanf)
jalr $2
addiu $2,$sp,584
sw $2,80($sp)
lui $2,%hi($LC28)
addiu $2,$2,%lo($LC28)
sw $2,84($sp)
lw $3,80($sp)
lw $2,84($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,80($sp)
sw $2,84($sp)
sw $4,88($sp)
lw $2,88($sp)
bne $2,$0,$L344
li $2,1 # 0x1
sw $2,40($sp)
j $L345
$L344:
addiu $2,$sp,584
sw $2,92($sp)
lui $2,%hi($LC29)
addiu $2,$2,%lo($LC29)
sw $2,96($sp)
lw $3,92($sp)
lw $2,96($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,92($sp)
sw $2,96($sp)
sw $4,100($sp)
lw $2,100($sp)
bne $2,$0,$L347
sw $0,40($sp)
j $L345
$L347:
addiu $2,$sp,584
move $4,$2
move $5,$0
li $6,10 # 0xa
lui $2,%hi(simple_strtoul)
addiu $2,$2,%lo(simple_strtoul)
jalr $2
sw $2,32($sp)
lw $2,32($sp)
bltz $2,$L348
lw $2,32($sp)
slt $2,$2,9
bne $2,$0,$L349
addiu $2,$sp,520
sw $2,104($sp)
lui $2,%hi($LC30)
addiu $2,$2,%lo($LC30)
sw $2,108($sp)
lw $3,104($sp)
lw $2,108($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,104($sp)
sw $2,108($sp)
sw $4,112($sp)
lw $2,112($sp)
beq $2,$0,$L348
$L349:
lw $2,32($sp)
slt $2,$2,3
bne $2,$0,$L345
addiu $2,$sp,520
sw $2,116($sp)
lui $2,%hi($LC31)
addiu $2,$2,%lo($LC31)
sw $2,120($sp)
lw $3,116($sp)
lw $2,120($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,116($sp)
sw $2,120($sp)
sw $4,124($sp)
lw $2,124($sp)
bne $2,$0,$L345
$L348:
addiu $2,$sp,520
sw $2,128($sp)
lui $2,%hi($LC30)
addiu $2,$2,%lo($LC30)
sw $2,132($sp)
lw $3,128($sp)
lw $2,132($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,128($sp)
sw $2,132($sp)
sw $4,136($sp)
lw $2,136($sp)
bne $2,$0,$L353
li $2,8 # 0x8
j $L354
$L353:
li $2,2 # 0x2
$L354:
lui $3,%hi($LC32)
addiu $4,$3,%lo($LC32)
lw $5,32($sp)
move $6,$2
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
li $2,-14 # 0xfffffffffffffff2
j $L409
$L345:
addiu $2,$sp,616
sw $2,140($sp)
lui $2,%hi($LC28)
addiu $2,$2,%lo($LC28)
sw $2,144($sp)
lw $3,140($sp)
lw $2,144($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,140($sp)
sw $2,144($sp)
sw $4,148($sp)
lw $2,148($sp)
bne $2,$0,$L356
li $2,1 # 0x1
sw $2,52($sp)
j $L357
$L356:
sw $0,52($sp)
$L357:
addiu $2,$sp,552
sw $2,152($sp)
lui $2,%hi($LC33)
addiu $2,$2,%lo($LC33)
sw $2,156($sp)
lw $3,152($sp)
lw $2,156($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,152($sp)
sw $2,156($sp)
sw $4,160($sp)
lw $2,160($sp)
bne $2,$0,$L359
addiu $2,$sp,488
sw $2,164($sp)
lui $2,%hi($LC34)
addiu $2,$2,%lo($LC34)
sw $2,168($sp)
lw $3,164($sp)
lw $2,168($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,164($sp)
sw $2,168($sp)
sw $4,172($sp)
lw $2,172($sp)
bne $2,$0,$L359
addiu $2,$sp,584
sw $2,176($sp)
lui $2,%hi($LC28)
addiu $2,$2,%lo($LC28)
sw $2,180($sp)
lw $3,176($sp)
lw $2,180($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,176($sp)
sw $2,180($sp)
sw $4,184($sp)
lw $2,184($sp)
beq $2,$0,$L362
addiu $2,$sp,584
sw $2,188($sp)
lui $2,%hi($LC29)
addiu $2,$2,%lo($LC29)
sw $2,192($sp)
lw $3,188($sp)
lw $2,192($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,188($sp)
sw $2,192($sp)
sw $4,196($sp)
lw $2,196($sp)
bne $2,$0,$L359
$L362:
lw $2,648($sp)
sw $2,36($sp)
lw $2,36($sp)
blez $2,$L364
lw $2,36($sp)
slt $2,$2,65
bne $2,$0,$L359
$L364:
lui $2,%hi($LC35)
addiu $4,$2,%lo($LC35)
lw $5,36($sp)
li $6,64 # 0x40
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
li $2,-14 # 0xfffffffffffffff2
j $L409
$L359:
addiu $2,$sp,552
sw $2,200($sp)
lui $2,%hi($LC33)
addiu $2,$2,%lo($LC33)
sw $2,204($sp)
lw $3,200($sp)
lw $2,204($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,200($sp)
sw $2,204($sp)
sw $4,208($sp)
lw $2,208($sp)
bne $2,$0,$L366
addiu $2,$sp,488
sw $2,212($sp)
lui $2,%hi($LC36)
addiu $2,$2,%lo($LC36)
sw $2,216($sp)
lw $3,212($sp)
lw $2,216($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,212($sp)
sw $2,216($sp)
sw $4,220($sp)
lw $2,220($sp)
bne $2,$0,$L366
lw $2,648($sp)
sw $2,36($sp)
lw $2,36($sp)
slt $2,$2,2
bne $2,$0,$L368
lw $2,36($sp)
slt $2,$2,65
bne $2,$0,$L366
$L368:
lui $2,%hi($LC37)
addiu $4,$2,%lo($LC37)
lw $5,36($sp)
li $6,64 # 0x40
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
li $2,-14 # 0xfffffffffffffff2
j $L409
$L366:
addiu $2,$sp,488
sw $2,224($sp)
lui $2,%hi($LC34)
addiu $2,$2,%lo($LC34)
sw $2,228($sp)
lw $3,224($sp)
lw $2,228($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,224($sp)
sw $2,228($sp)
sw $4,232($sp)
lw $2,232($sp)
bne $2,$0,$L370
addiu $2,$sp,520
sw $2,236($sp)
lui $2,%hi($LC30)
addiu $2,$2,%lo($LC30)
sw $2,240($sp)
lw $3,236($sp)
lw $2,240($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,236($sp)
sw $2,240($sp)
sw $4,244($sp)
lw $2,244($sp)
bne $2,$0,$L372
addiu $2,$sp,552
sw $2,248($sp)
lui $2,%hi($LC38)
addiu $2,$2,%lo($LC38)
sw $2,252($sp)
lw $3,248($sp)
lw $2,252($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,248($sp)
sw $2,252($sp)
sw $4,256($sp)
lw $2,256($sp)
bne $2,$0,$L374
addiu $2,$sp,652
sw $2,732($sp)
addiu $2,$sp,724
move $4,$2
lui $2,%hi(qdma_get_tx_ratelimit_cfg)
addiu $2,$2,%lo(qdma_get_tx_ratelimit_cfg)
jalr $2
lw $2,656($sp)
move $3,$2
li $2,1 # 0x1
sll $3,$2,$3
lhu $2,652($sp)
move $6,$2
lui $2,%hi($LC39)
addiu $4,$2,%lo($LC39)
move $5,$3
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
lhu $2,652($sp)
beq $2,$0,$L398
sw $0,32($sp)
j $L376
$L379:
lw $2,32($sp)
andi $2,$2,0x00ff
sb $2,684($sp)
addiu $2,$sp,684
sw $2,732($sp)
addiu $2,$sp,724
move $4,$2
lui $2,%hi(qdma_get_tx_ratelimit)
addiu $2,$2,%lo(qdma_get_tx_ratelimit)
jalr $2
lw $2,688($sp)
bne $2,$0,$L377
lw $2,692($sp)
beq $2,$0,$L378
$L377:
lw $6,688($sp)
lw $2,692($sp)
lw $3,656($sp)
sll $3,$2,$3
lui $2,%hi($LC40)
addiu $4,$2,%lo($LC40)
lw $5,32($sp)
move $7,$3
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
$L378:
lw $2,32($sp)
addiu $2,$2,1
sw $2,32($sp)
$L376:
lw $2,32($sp)
slt $2,$2,8
bne $2,$0,$L379
j $L398
$L374:
addiu $2,$sp,552
sw $2,260($sp)
lui $2,%hi($LC33)
addiu $2,$2,%lo($LC33)
sw $2,264($sp)
lw $3,260($sp)
lw $2,264($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,260($sp)
sw $2,264($sp)
sw $4,268($sp)
lw $2,268($sp)
bne $2,$0,$L398
lw $2,36($sp)
beq $2,$0,$L381
li $2,1 # 0x1
sw $2,656($sp)
lw $2,36($sp)
andi $2,$2,0xffff
sh $2,652($sp)
addiu $2,$sp,652
sw $2,732($sp)
j $L398
$L381:
lw $2,32($sp)
andi $2,$2,0x00ff
sb $2,676($sp)
lw $2,648($sp)
sw $2,680($sp)
lw $3,680($sp)
li $2,4194304 # 0x400000
ori $2,$2,0x1
sltu $2,$3,$2
bne $2,$0,$L382
lw $3,648($sp)
lui $2,%hi($LC41)
addiu $4,$2,%lo($LC41)
move $5,$3
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
li $2,-14 # 0xfffffffffffffff2
j $L409
$L382:
lw $3,680($sp)
lui $2,%hi($LC42)
addiu $4,$2,%lo($LC42)
lw $5,32($sp)
move $6,$3
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
addiu $2,$sp,676
sw $2,732($sp)
addiu $2,$sp,724
move $4,$2
lui $2,%hi(qdma_set_tx_ratelimit)
addiu $2,$2,%lo(qdma_set_tx_ratelimit)
jalr $2
j $L398
$L372:
addiu $2,$sp,520
sw $2,272($sp)
lui $2,%hi($LC31)
addiu $2,$2,%lo($LC31)
sw $2,276($sp)
lw $3,272($sp)
lw $2,276($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,272($sp)
sw $2,276($sp)
sw $4,280($sp)
lw $2,280($sp)
bne $2,$0,$L385
addiu $2,$sp,552
sw $2,284($sp)
lui $2,%hi($LC38)
addiu $2,$2,%lo($LC38)
sw $2,288($sp)
lw $3,284($sp)
lw $2,288($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,284($sp)
sw $2,288($sp)
sw $4,292($sp)
lw $2,292($sp)
bne $2,$0,$L387
addiu $2,$sp,660
sw $2,732($sp)
addiu $2,$sp,724
move $4,$2
lui $2,%hi(qdma_get_rx_ratelimit_cfg)
addiu $2,$2,%lo(qdma_get_rx_ratelimit_cfg)
jalr $2
lbu $2,660($sp)
beq $2,$0,$L388
lui $2,%hi($LC28)
addiu $2,$2,%lo($LC28)
j $L389
$L388:
lui $2,%hi($LC29)
addiu $2,$2,%lo($LC29)
$L389:
lw $3,672($sp)
move $4,$3
li $3,1 # 0x1
sll $6,$3,$4
lhu $3,668($sp)
move $7,$3
lui $3,%hi($LC43)
addiu $4,$3,%lo($LC43)
move $5,$2
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
lhu $2,668($sp)
beq $2,$0,$L398
sw $0,32($sp)
j $L391
$L394:
lw $2,32($sp)
andi $2,$2,0x00ff
sb $2,704($sp)
addiu $2,$sp,704
sw $2,732($sp)
addiu $2,$sp,724
move $4,$2
lui $2,%hi(qdma_get_rx_ratelimit)
addiu $2,$2,%lo(qdma_get_rx_ratelimit)
jalr $2
lw $2,708($sp)
bne $2,$0,$L392
lw $2,712($sp)
beq $2,$0,$L393
$L392:
lw $6,708($sp)
lw $2,712($sp)
lw $3,672($sp)
sll $3,$2,$3
lui $2,%hi($LC44)
addiu $4,$2,%lo($LC44)
lw $5,32($sp)
move $7,$3
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
$L393:
lw $2,32($sp)
addiu $2,$2,1
sw $2,32($sp)
$L391:
lw $2,32($sp)
slt $2,$2,2
bne $2,$0,$L394
j $L398
$L387:
addiu $2,$sp,552
sw $2,296($sp)
lui $2,%hi($LC33)
addiu $2,$2,%lo($LC33)
sw $2,300($sp)
lw $3,296($sp)
lw $2,300($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,296($sp)
sw $2,300($sp)
sw $4,304($sp)
lw $2,304($sp)
bne $2,$0,$L398
lw $2,36($sp)
beq $2,$0,$L396
lw $2,40($sp)
andi $2,$2,0x00ff
sb $2,660($sp)
li $2,1 # 0x1
sw $2,672($sp)
lw $2,36($sp)
andi $2,$2,0xffff
sh $2,668($sp)
lw $2,40($sp)
sw $2,732($sp)
addiu $2,$sp,724
move $4,$2
lui $2,%hi(qdma_set_rx_ratelimit_en)
addiu $2,$2,%lo(qdma_set_rx_ratelimit_en)
jalr $2
sw $0,732($sp)
addiu $2,$sp,724
move $4,$2
lui $2,%hi(qdma_set_rx_ratelimit_pkt_mode)
addiu $2,$2,%lo(qdma_set_rx_ratelimit_pkt_mode)
jalr $2
j $L398
$L396:
lw $2,32($sp)
andi $2,$2,0x00ff
sb $2,696($sp)
lw $2,648($sp)
sw $2,700($sp)
lw $3,700($sp)
li $2,4194304 # 0x400000
ori $2,$2,0x1
sltu $2,$3,$2
bne $2,$0,$L397
lw $3,648($sp)
lui $2,%hi($LC41)
addiu $4,$2,%lo($LC41)
move $5,$3
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
li $2,-14 # 0xfffffffffffffff2
j $L409
$L397:
lw $3,700($sp)
lui $2,%hi($LC45)
addiu $4,$2,%lo($LC45)
lw $5,32($sp)
move $6,$3
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
addiu $2,$sp,696
sw $2,732($sp)
addiu $2,$sp,724
move $4,$2
lui $2,%hi(qdma_set_rx_ratelimit)
addiu $2,$2,%lo(qdma_set_rx_ratelimit)
jalr $2
j $L398
$L385:
lui $2,%hi($LC46)
addiu $4,$2,%lo($LC46)
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
j $L398
$L370:
addiu $2,$sp,488
sw $2,308($sp)
lui $2,%hi($LC36)
addiu $2,$2,%lo($LC36)
sw $2,312($sp)
lw $3,308($sp)
lw $2,312($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,308($sp)
sw $2,312($sp)
sw $4,316($sp)
lw $2,316($sp)
bne $2,$0,$L398
addiu $2,$sp,520
sw $2,320($sp)
lui $2,%hi($LC30)
addiu $2,$2,%lo($LC30)
sw $2,324($sp)
lw $3,320($sp)
lw $2,324($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,320($sp)
sw $2,324($sp)
sw $4,328($sp)
lw $2,328($sp)
bne $2,$0,$L401
addiu $2,$sp,552
sw $2,332($sp)
lui $2,%hi($LC38)
addiu $2,$2,%lo($LC38)
sw $2,336($sp)
lw $3,332($sp)
lw $2,336($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,332($sp)
sw $2,336($sp)
sw $4,340($sp)
lw $2,340($sp)
bne $2,$0,$L403
addiu $2,$sp,716
sw $2,732($sp)
addiu $2,$sp,724
move $4,$2
lui $2,%hi(qdma_get_tx_ratemeter)
addiu $2,$2,%lo(qdma_get_tx_ratemeter)
jalr $2
lw $2,720($sp)
move $3,$2
li $2,1 # 0x1
sll $3,$2,$3
lhu $2,716($sp)
move $6,$2
lui $2,%hi($LC47)
addiu $4,$2,%lo($LC47)
move $5,$3
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
sw $0,32($sp)
j $L404
$L406:
lw $2,32($sp)
sw $2,732($sp)
addiu $2,$sp,724
move $4,$2
lui $2,%hi(qdma_get_tx_channel_datarate)
addiu $2,$2,%lo(qdma_get_tx_channel_datarate)
jalr $2
sw $2,48($sp)
lw $3,48($sp)
li $2,-1 # 0xffffffffffffffff
beq $3,$2,$L405
lw $2,48($sp)
li $3,274857984 # 0x10620000
ori $3,$3,0x4dd3
mult $2,$3
mfhi $3
sra $3,$3,6
sra $2,$2,31
subu $3,$3,$2
lui $2,%hi($LC48)
addiu $4,$2,%lo($LC48)
lw $5,32($sp)
move $6,$3
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
$L405:
lw $2,32($sp)
addiu $2,$2,1
sw $2,32($sp)
$L404:
lw $2,32($sp)
slt $2,$2,8
bne $2,$0,$L406
j $L398
$L403:
addiu $2,$sp,552
sw $2,344($sp)
lui $2,%hi($LC33)
addiu $2,$2,%lo($LC33)
sw $2,348($sp)
lw $3,344($sp)
lw $2,348($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,344($sp)
sw $2,348($sp)
sw $4,352($sp)
lw $2,352($sp)
bne $2,$0,$L398
addiu $2,$sp,716
addiu $3,$2,4
addiu $2,$sp,716
lw $4,36($sp)
move $5,$3
move $6,$2
lui $2,%hi(qdmaRateMeterValueCalCulate)
addiu $2,$2,%lo(qdmaRateMeterValueCalCulate)
jalr $2
move $3,$2
li $2,-1 # 0xffffffffffffffff
beq $3,$2,$L398
addiu $2,$sp,716
sw $2,732($sp)
addiu $2,$sp,724
move $4,$2
lui $2,%hi(qdma_set_tx_ratemeter)
addiu $2,$2,%lo(qdma_set_tx_ratemeter)
jalr $2
j $L398
$L401:
lui $2,%hi($LC49)
addiu $4,$2,%lo($LC49)
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
$L398:
lw $2,768($sp)
$L409:
lw $31,756($sp)
addiu $sp,$sp,760
j $31
.end qdma_bm_ratelimit_write_proc
.size qdma_bm_ratelimit_write_proc, .-qdma_bm_ratelimit_write_proc
.rdata
.align 2
$LC50:
.ascii "echo [chnlId:0~31] sp > /proc/%s\012\000"
.align 2
$LC51:
.ascii "qdma_lan/qos\000"
.align 2
$LC52:
.ascii "echo [chnlId:0~31] wrr w0 w1 w2 w3 w4 w5 w6 w7 > /proc/%"
.ascii "s\012\000"
.align 2
$LC53:
.ascii "echo [chnlId:0~31] wrr2 w0 w1 > /proc/%s\012\000"
.align 2
$LC54:
.ascii "echo [chnlId:0~31] wrr3 w0 w1 w2 > /proc/%s\012\000"
.align 2
$LC55:
.ascii "echo [chnlId:0~31] wrr4 w0 w1 w2 w3 > /proc/%s\012\000"
.align 2
$LC56:
.ascii "echo [chnlId:0~31] wrr5 w0 w1 w2 w3 w4 > /proc/%s\012\000"
.align 2
$LC57:
.ascii "echo [chnlId:0~31] wrr6 w0 w1 w2 w3 w4 w5 > /proc/%s\012"
.ascii "\000"
.align 2
$LC58:
.ascii "echo [chnlId:0~31] wrr7 w0 w1 w2 w3 w4 w5 w6 > /proc/%s\012"
.ascii "\000"
.text
.align 2
.set nomips16
.set nomicromips
.ent qdma_bm_qos_read_proc
.type qdma_bm_qos_read_proc, @function
qdma_bm_qos_read_proc:
.frame $sp,40,$31 # vars= 16, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-40
sw $31,36($sp)
sw $4,40($sp)
sw $5,44($sp)
sw $6,48($sp)
sw $7,52($sp)
sw $0,16($sp)
sw $0,24($sp)
sw $0,20($sp)
lw $2,16($sp)
lw $3,40($sp)
addu $2,$3,$2
move $4,$2
lui $2,%hi($LC50)
addiu $5,$2,%lo($LC50)
lui $2,%hi($LC51)
addiu $6,$2,%lo($LC51)
lui $2,%hi(sprintf)
addiu $2,$2,%lo(sprintf)
jalr $2
nop
move $3,$2
lw $2,16($sp)
addu $2,$2,$3
sw $2,16($sp)
lw $3,20($sp)
lw $2,16($sp)
addu $2,$3,$2
sw $2,24($sp)
lw $3,24($sp)
lw $2,48($sp)
slt $2,$3,$2
beq $2,$0,$L411
nop
sw $0,16($sp)
lw $2,24($sp)
sw $2,20($sp)
$L411:
lw $3,48($sp)
lw $2,52($sp)
addu $3,$3,$2
lw $2,24($sp)
slt $2,$3,$2
beq $2,$0,$L412
nop
j $L413
nop
$L412:
lw $2,16($sp)
lw $3,40($sp)
addu $2,$3,$2
move $4,$2
lui $2,%hi($LC52)
addiu $5,$2,%lo($LC52)
lui $2,%hi($LC51)
addiu $6,$2,%lo($LC51)
lui $2,%hi(sprintf)
addiu $2,$2,%lo(sprintf)
jalr $2
nop
move $3,$2
lw $2,16($sp)
addu $2,$2,$3
sw $2,16($sp)
lw $3,20($sp)
lw $2,16($sp)
addu $2,$3,$2
sw $2,24($sp)
lw $3,24($sp)
lw $2,48($sp)
slt $2,$3,$2
beq $2,$0,$L414
nop
sw $0,16($sp)
lw $2,24($sp)
sw $2,20($sp)
$L414:
lw $3,48($sp)
lw $2,52($sp)
addu $3,$3,$2
lw $2,24($sp)
slt $2,$3,$2
beq $2,$0,$L415
nop
j $L413
nop
$L415:
lw $2,16($sp)
lw $3,40($sp)
addu $2,$3,$2
move $4,$2
lui $2,%hi($LC53)
addiu $5,$2,%lo($LC53)
lui $2,%hi($LC51)
addiu $6,$2,%lo($LC51)
lui $2,%hi(sprintf)
addiu $2,$2,%lo(sprintf)
jalr $2
nop
move $3,$2
lw $2,16($sp)
addu $2,$2,$3
sw $2,16($sp)
lw $3,20($sp)
lw $2,16($sp)
addu $2,$3,$2
sw $2,24($sp)
lw $3,24($sp)
lw $2,48($sp)
slt $2,$3,$2
beq $2,$0,$L416
nop
sw $0,16($sp)
lw $2,24($sp)
sw $2,20($sp)
$L416:
lw $3,48($sp)
lw $2,52($sp)
addu $3,$3,$2
lw $2,24($sp)
slt $2,$3,$2
beq $2,$0,$L417
nop
j $L413
nop
$L417:
lw $2,16($sp)
lw $3,40($sp)
addu $2,$3,$2
move $4,$2
lui $2,%hi($LC54)
addiu $5,$2,%lo($LC54)
lui $2,%hi($LC51)
addiu $6,$2,%lo($LC51)
lui $2,%hi(sprintf)
addiu $2,$2,%lo(sprintf)
jalr $2
nop
move $3,$2
lw $2,16($sp)
addu $2,$2,$3
sw $2,16($sp)
lw $3,20($sp)
lw $2,16($sp)
addu $2,$3,$2
sw $2,24($sp)
lw $3,24($sp)
lw $2,48($sp)
slt $2,$3,$2
beq $2,$0,$L418
nop
sw $0,16($sp)
lw $2,24($sp)
sw $2,20($sp)
$L418:
lw $3,48($sp)
lw $2,52($sp)
addu $3,$3,$2
lw $2,24($sp)
slt $2,$3,$2
beq $2,$0,$L419
nop
j $L413
nop
$L419:
lw $2,16($sp)
lw $3,40($sp)
addu $2,$3,$2
move $4,$2
lui $2,%hi($LC55)
addiu $5,$2,%lo($LC55)
lui $2,%hi($LC51)
addiu $6,$2,%lo($LC51)
lui $2,%hi(sprintf)
addiu $2,$2,%lo(sprintf)
jalr $2
nop
move $3,$2
lw $2,16($sp)
addu $2,$2,$3
sw $2,16($sp)
lw $3,20($sp)
lw $2,16($sp)
addu $2,$3,$2
sw $2,24($sp)
lw $3,24($sp)
lw $2,48($sp)
slt $2,$3,$2
beq $2,$0,$L420
nop
sw $0,16($sp)
lw $2,24($sp)
sw $2,20($sp)
$L420:
lw $3,48($sp)
lw $2,52($sp)
addu $3,$3,$2
lw $2,24($sp)
slt $2,$3,$2
beq $2,$0,$L421
nop
j $L413
nop
$L421:
lw $2,16($sp)
lw $3,40($sp)
addu $2,$3,$2
move $4,$2
lui $2,%hi($LC56)
addiu $5,$2,%lo($LC56)
lui $2,%hi($LC51)
addiu $6,$2,%lo($LC51)
lui $2,%hi(sprintf)
addiu $2,$2,%lo(sprintf)
jalr $2
nop
move $3,$2
lw $2,16($sp)
addu $2,$2,$3
sw $2,16($sp)
lw $3,20($sp)
lw $2,16($sp)
addu $2,$3,$2
sw $2,24($sp)
lw $3,24($sp)
lw $2,48($sp)
slt $2,$3,$2
beq $2,$0,$L422
nop
sw $0,16($sp)
lw $2,24($sp)
sw $2,20($sp)
$L422:
lw $3,48($sp)
lw $2,52($sp)
addu $3,$3,$2
lw $2,24($sp)
slt $2,$3,$2
beq $2,$0,$L423
nop
j $L413
nop
$L423:
lw $2,16($sp)
lw $3,40($sp)
addu $2,$3,$2
move $4,$2
lui $2,%hi($LC57)
addiu $5,$2,%lo($LC57)
lui $2,%hi($LC51)
addiu $6,$2,%lo($LC51)
lui $2,%hi(sprintf)
addiu $2,$2,%lo(sprintf)
jalr $2
nop
move $3,$2
lw $2,16($sp)
addu $2,$2,$3
sw $2,16($sp)
lw $3,20($sp)
lw $2,16($sp)
addu $2,$3,$2
sw $2,24($sp)
lw $3,24($sp)
lw $2,48($sp)
slt $2,$3,$2
beq $2,$0,$L424
nop
sw $0,16($sp)
lw $2,24($sp)
sw $2,20($sp)
$L424:
lw $3,48($sp)
lw $2,52($sp)
addu $3,$3,$2
lw $2,24($sp)
slt $2,$3,$2
beq $2,$0,$L425
nop
j $L413
nop
$L425:
lw $2,16($sp)
lw $3,40($sp)
addu $2,$3,$2
move $4,$2
lui $2,%hi($LC58)
addiu $5,$2,%lo($LC58)
lui $2,%hi($LC51)
addiu $6,$2,%lo($LC51)
lui $2,%hi(sprintf)
addiu $2,$2,%lo(sprintf)
jalr $2
nop
move $3,$2
lw $2,16($sp)
addu $2,$2,$3
sw $2,16($sp)
lw $3,20($sp)
lw $2,16($sp)
addu $2,$3,$2
sw $2,24($sp)
lw $3,24($sp)
lw $2,48($sp)
slt $2,$3,$2
beq $2,$0,$L426
nop
sw $0,16($sp)
lw $2,24($sp)
sw $2,20($sp)
$L426:
lw $3,48($sp)
lw $2,52($sp)
addu $3,$3,$2
lw $2,24($sp)
slt $2,$3,$2
beq $2,$0,$L427
nop
j $L413
nop
$L427:
lw $2,56($sp)
li $3,1 # 0x1
sw $3,0($2)
$L413:
lw $3,48($sp)
lw $2,20($sp)
subu $2,$3,$2
move $3,$2
lw $2,40($sp)
addu $3,$2,$3
lw $2,44($sp)
sw $3,0($2)
lw $3,20($sp)
lw $2,48($sp)
subu $2,$3,$2
lw $3,16($sp)
addu $2,$3,$2
sw $2,16($sp)
lw $2,16($sp)
bgez $2,$L428
nop
sw $0,16($sp)
$L428:
lw $3,16($sp)
lw $2,52($sp)
slt $2,$2,$3
beq $2,$0,$L429
nop
lw $2,52($sp)
sw $2,16($sp)
$L429:
lw $2,16($sp)
lw $31,36($sp)
addiu $sp,$sp,40
j $31
nop
.set macro
.set reorder
.end qdma_bm_qos_read_proc
.size qdma_bm_qos_read_proc, .-qdma_bm_qos_read_proc
.rdata
.align 2
$LC59:
.ascii "%d %s %d %d %d %d %d %d %d %d\000"
.align 2
$LC60:
.ascii "sp\000"
.align 2
$LC61:
.ascii "wrr2\000"
.align 2
$LC62:
.ascii "wrr3\000"
.align 2
$LC63:
.ascii "wrr4\000"
.align 2
$LC64:
.ascii "wrr5\000"
.align 2
$LC65:
.ascii "wrr6\000"
.align 2
$LC66:
.ascii "wrr7\000"
.text
.align 2
.set nomips16
.set nomicromips
.ent qdma_bm_qos_write_proc
.type qdma_bm_qos_write_proc, @function
qdma_bm_qos_write_proc:
.frame $sp,416,$31 # vars= 360, regs= 1/0, args= 48, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-416
sw $31,412($sp)
sw $4,416($sp)
sw $5,420($sp)
sw $6,424($sp)
sw $7,428($sp)
sw $0,48($sp)
sw $0,324($sp)
lw $2,424($sp)
sltu $2,$2,128
bne $2,$0,$L432
li $2,-22 # 0xffffffffffffffea
j $L457
$L432:
addiu $2,$sp,180
sw $2,56($sp)
lw $2,420($sp)
sw $2,60($sp)
lw $2,424($sp)
sw $2,52($sp)
move $2,$28
lw $3,24($2)
sw $0,176($sp)
lw $2,176($sp)
bne $3,$2,$L435
lw $4,56($sp)
lw $5,60($sp)
lw $6,52($sp)
#APP
# 1809 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set noreorder
.set noat
la $1, __copy_user
jalr $1
.set at
.set noat
addu $1, $5, $6
.set at
.set reorder
# 0 "" 2
#NO_APP
move $2,$6
sw $2,52($sp)
j $L436
$L435:
lw $2,60($sp)
sw $2,64($sp)
lw $2,52($sp)
sw $2,68($sp)
move $2,$28
lw $2,24($2)
sw $2,72($sp)
lw $3,64($sp)
lw $2,68($sp)
addu $3,$3,$2
lw $2,64($sp)
or $3,$3,$2
lw $2,68($sp)
or $3,$3,$2
lw $2,72($sp)
and $2,$3,$2
sw $2,76($sp)
lw $2,76($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
sltu $2,$0,$2
andi $2,$2,0x00ff
beq $2,$0,$L436
lw $4,56($sp)
lw $5,60($sp)
lw $6,52($sp)
#APP
# 1809 "/opt/bba/EN7526G_3.18Kernel_SDK/modules/private/qdma/EN7512/qdma_bmgr.c" 1
.set noreorder
.set noat
la $1, __copy_user
jalr $1
.set at
.set noat
addu $1, $5, $6
.set at
.set reorder
# 0 "" 2
#NO_APP
move $2,$6
sw $2,52($sp)
$L436:
lw $2,52($sp)
beq $2,$0,$L438
li $2,-14 # 0xfffffffffffffff2
j $L457
$L438:
addiu $4,$sp,180
addiu $6,$sp,324
addiu $3,$sp,308
addiu $2,$sp,328
sw $2,16($sp)
addiu $2,$sp,328
addiu $2,$2,4
sw $2,20($sp)
addiu $2,$sp,328
addiu $2,$2,8
sw $2,24($sp)
addiu $2,$sp,328
addiu $2,$2,12
sw $2,28($sp)
addiu $2,$sp,328
addiu $2,$2,16
sw $2,32($sp)
addiu $2,$sp,328
addiu $2,$2,20
sw $2,36($sp)
addiu $2,$sp,328
addiu $2,$2,24
sw $2,40($sp)
addiu $2,$sp,328
addiu $2,$2,28
sw $2,44($sp)
lui $2,%hi($LC59)
addiu $5,$2,%lo($LC59)
move $7,$3
lui $2,%hi(sscanf)
addiu $2,$2,%lo(sscanf)
jalr $2
lw $2,324($sp)
andi $2,$2,0x00ff
sb $2,360($sp)
sw $0,48($sp)
j $L439
$L440:
lw $2,48($sp)
sll $2,$2,2
addiu $3,$sp,48
addu $2,$3,$2
lw $2,280($2)
andi $3,$2,0x00ff
lw $2,48($sp)
addiu $4,$sp,48
addu $2,$4,$2
sb $3,320($2)
lw $2,48($sp)
addiu $2,$2,1
sw $2,48($sp)
$L439:
lw $2,48($sp)
slt $2,$2,8
bne $2,$0,$L440
addiu $2,$sp,308
sw $2,80($sp)
lui $2,%hi($LC60)
addiu $2,$2,%lo($LC60)
sw $2,84($sp)
lw $3,80($sp)
lw $2,84($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,80($sp)
sw $2,84($sp)
sw $4,88($sp)
lw $2,88($sp)
bne $2,$0,$L442
li $2,1 # 0x1
sw $2,364($sp)
j $L443
$L442:
addiu $2,$sp,308
sw $2,92($sp)
lui $2,%hi($LC16)
addiu $2,$2,%lo($LC16)
sw $2,96($sp)
lw $3,92($sp)
lw $2,96($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,92($sp)
sw $2,96($sp)
sw $4,100($sp)
lw $2,100($sp)
bne $2,$0,$L445
sw $0,364($sp)
j $L443
$L445:
addiu $2,$sp,308
sw $2,104($sp)
lui $2,%hi($LC61)
addiu $2,$2,%lo($LC61)
sw $2,108($sp)
lw $3,104($sp)
lw $2,108($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,104($sp)
sw $2,108($sp)
sw $4,112($sp)
lw $2,112($sp)
bne $2,$0,$L447
li $2,7 # 0x7
sw $2,364($sp)
j $L443
$L447:
addiu $2,$sp,308
sw $2,116($sp)
lui $2,%hi($LC62)
addiu $2,$2,%lo($LC62)
sw $2,120($sp)
lw $3,116($sp)
lw $2,120($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,116($sp)
sw $2,120($sp)
sw $4,124($sp)
lw $2,124($sp)
bne $2,$0,$L449
li $2,6 # 0x6
sw $2,364($sp)
j $L443
$L449:
addiu $2,$sp,308
sw $2,128($sp)
lui $2,%hi($LC63)
addiu $2,$2,%lo($LC63)
sw $2,132($sp)
lw $3,128($sp)
lw $2,132($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,128($sp)
sw $2,132($sp)
sw $4,136($sp)
lw $2,136($sp)
bne $2,$0,$L451
li $2,5 # 0x5
sw $2,364($sp)
j $L443
$L451:
addiu $2,$sp,308
sw $2,140($sp)
lui $2,%hi($LC64)
addiu $2,$2,%lo($LC64)
sw $2,144($sp)
lw $3,140($sp)
lw $2,144($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,140($sp)
sw $2,144($sp)
sw $4,148($sp)
lw $2,148($sp)
bne $2,$0,$L453
li $2,4 # 0x4
sw $2,364($sp)
j $L443
$L453:
addiu $2,$sp,308
sw $2,152($sp)
lui $2,%hi($LC65)
addiu $2,$2,%lo($LC65)
sw $2,156($sp)
lw $3,152($sp)
lw $2,156($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,152($sp)
sw $2,156($sp)
sw $4,160($sp)
lw $2,160($sp)
bne $2,$0,$L455
li $2,3 # 0x3
sw $2,364($sp)
j $L443
$L455:
addiu $2,$sp,308
sw $2,164($sp)
lui $2,%hi($LC66)
addiu $2,$2,%lo($LC66)
sw $2,168($sp)
lw $3,164($sp)
lw $2,168($sp)
#APP
# 77 "./arch/mips/include/asm/string.h" 1
.set noreorder
.set noat
lbu $4,($3)
1: lbu $1,($2)
addiu $3,1
bne $1,$4,2f
addiu $2,1
bnez $4,1b
lbu $4,($3)
move $4,$1
2: subu $4,$1
3: .set at
.set reorder
# 0 "" 2
#NO_APP
sw $3,164($sp)
sw $2,168($sp)
sw $4,172($sp)
lw $2,172($sp)
bne $2,$0,$L443
li $2,2 # 0x2
sw $2,364($sp)
$L443:
addiu $2,$sp,360
sw $2,392($sp)
addiu $2,$sp,376
move $4,$2
lui $2,%hi(qdma_set_tx_qos)
addiu $2,$2,%lo(qdma_set_tx_qos)
jalr $2
lw $2,424($sp)
$L457:
lw $31,412($sp)
addiu $sp,$sp,416
j $31
.end qdma_bm_qos_write_proc
.size qdma_bm_qos_write_proc, .-qdma_bm_qos_write_proc
.align 2
.set nomips16
.set nomicromips
.ent qdma_bm_task
.type qdma_bm_task, @function
qdma_bm_task:
.frame $sp,136,$31 # vars= 112, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-136
sw $31,132($sp)
sw $4,136($sp)
li $2,128 # 0x80
sw $2,20($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,24($sp)
sw $0,28($sp)
sw $0,16($sp)
sw $0,16($sp)
j $L459
$L460:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,16($sp)
addiu $2,$2,136
sll $2,$2,1
addu $2,$3,$2
sh $0,4($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,16($sp)
addiu $2,$2,140
sll $2,$2,1
addu $2,$3,$2
sh $0,4($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,16($sp)
addiu $2,$2,136
sll $2,$2,1
addu $2,$3,$2
sh $0,8($2)
lw $2,16($sp)
addiu $2,$2,1
sw $2,16($sp)
$L459:
lw $2,16($sp)
slt $2,$2,2
bne $2,$0,$L460
lw $2,20($sp)
sw $2,104($sp)
addiu $2,$sp,96
move $4,$2
lui $2,%hi(qdma_receive_packets)
addiu $2,$2,%lo(qdma_receive_packets)
jalr $2
move $3,$2
lw $2,20($sp)
sltu $2,$3,$2
beq $2,$0,$L461
lw $4,24($sp)
li $5,170 # 0xaa
lui $2,%hi(qdmaEnableInt)
addiu $2,$2,%lo(qdmaEnableInt)
jalr $2
j $L458
$L461:
sw $0,16($sp)
j $L463
$L470:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,16($sp)
addiu $2,$2,136
sll $2,$2,1
addu $2,$3,$2
lhu $2,4($2)
move $3,$2
lui $2,%hi(storm_ctrl_shrehold_lan)
lw $2,%lo(storm_ctrl_shrehold_lan)($2)
slt $2,$2,$3
beq $2,$0,$L464
li $2,-1078657024 # 0xffffffffbfb50000
ori $2,$2,0x500
sw $2,32($sp)
lw $2,32($sp)
lw $2,0($2)
sw $2,28($sp)
lw $3,28($sp)
li $2,-3841 # 0xfffffffffffff0ff
and $2,$3,$2
sw $2,28($sp)
lw $2,28($sp)
ori $2,$2,0x700
sw $2,28($sp)
li $2,-1078657024 # 0xffffffffbfb50000
ori $2,$2,0x500
sw $2,36($sp)
lw $2,28($sp)
sw $2,40($sp)
lw $2,36($sp)
lw $3,40($sp)
sw $3,0($2)
j $L466
$L464:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,16($sp)
addiu $2,$2,140
sll $2,$2,1
addu $2,$3,$2
lhu $2,4($2)
move $3,$2
lui $2,%hi(storm_ctrl_shrehold_lan)
lw $2,%lo(storm_ctrl_shrehold_lan)($2)
slt $2,$2,$3
beq $2,$0,$L467
li $2,-1078657024 # 0xffffffffbfb50000
ori $2,$2,0x500
sw $2,44($sp)
lw $2,44($sp)
lw $2,0($2)
sw $2,28($sp)
lw $3,28($sp)
li $2,-241 # 0xffffffffffffff0f
and $2,$3,$2
sw $2,28($sp)
lw $2,28($sp)
ori $2,$2,0x70
sw $2,28($sp)
li $2,-1078657024 # 0xffffffffbfb50000
ori $2,$2,0x500
sw $2,48($sp)
lw $2,28($sp)
sw $2,52($sp)
lw $2,48($sp)
lw $3,52($sp)
sw $3,0($2)
j $L466
$L467:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,16($sp)
addiu $2,$2,136
sll $2,$2,1
addu $2,$3,$2
lhu $2,8($2)
move $3,$2
lui $2,%hi(storm_ctrl_shrehold_lan)
lw $2,%lo(storm_ctrl_shrehold_lan)($2)
slt $2,$2,$3
beq $2,$0,$L466
li $2,-1078657024 # 0xffffffffbfb50000
ori $2,$2,0x500
sw $2,56($sp)
lw $2,56($sp)
lw $2,0($2)
sw $2,28($sp)
lw $3,28($sp)
li $2,-16 # 0xfffffffffffffff0
and $2,$3,$2
sw $2,28($sp)
lw $2,28($sp)
ori $2,$2,0x7
sw $2,28($sp)
li $2,-1078657024 # 0xffffffffbfb50000
ori $2,$2,0x500
sw $2,60($sp)
lw $2,28($sp)
sw $2,64($sp)
lw $2,60($sp)
lw $3,64($sp)
sw $3,0($2)
$L466:
lw $2,16($sp)
addiu $2,$2,1
sw $2,16($sp)
$L463:
lw $2,16($sp)
slt $2,$2,2
bne $2,$0,$L470
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
addiu $2,$2,304
move $4,$2
lui $2,%hi(del_timer_sync)
addiu $2,$2,%lo(del_timer_sync)
jalr $2
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lui $3,%hi(qdma_lan_fwd_timer)
lw $3,%lo(qdma_lan_fwd_timer)($3)
sw $3,324($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
addiu $4,$2,304
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,324($2)
sll $2,$2,2
sll $3,$2,2
addu $2,$2,$3
sll $3,$2,2
addu $3,$2,$3
li $2,274857984 # 0x10620000
ori $2,$2,0x4dd3
multu $3,$2
mfhi $2
srl $3,$2,6
lui $2,%hi(jiffies)
lw $2,%lo(jiffies)($2)
addu $2,$3,$2
move $5,$2
lui $2,%hi(mod_timer)
addiu $2,$2,%lo(mod_timer)
jalr $2
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
addiu $2,$2,120
sw $2,68($sp)
lw $2,68($sp)
addiu $2,$2,4
sw $0,72($sp)
sw $2,76($sp)
lw $2,72($sp)
andi $2,$2,0x1f
sw $2,80($sp)
#APP
# 233 "./arch/mips/include/asm/bitops.h" 1
# 0 "" 2
#NO_APP
lw $2,72($sp)
srl $2,$2,5
sll $2,$2,2
lw $3,76($sp)
addu $2,$3,$2
sw $2,84($sp)
$L471:
li $3,1 # 0x1
lw $2,80($sp)
sll $2,$3,$2
lw $5,84($sp)
lw $3,84($sp)
#APP
# 255 "./arch/mips/include/asm/bitops.h" 1
.set arch=r4000
ll $4, 0($5) # test_and_set_bit
or $6, $4, $2
sc $6, 0($5)
.set mips0
# 0 "" 2
#NO_APP
move $3,$6
sw $4,88($sp)
sw $3,92($sp)
lw $2,92($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
bne $2,$0,$L471
li $3,1 # 0x1
lw $2,80($sp)
sll $2,$3,$2
lw $3,88($sp)
and $2,$3,$2
sw $2,92($sp)
#APP
# 270 "./arch/mips/include/asm/bitops.h" 1
# 0 "" 2
#NO_APP
lw $2,92($sp)
sltu $2,$0,$2
andi $2,$2,0x00ff
bne $2,$0,$L458
lw $4,68($sp)
lui $2,%hi(__tasklet_schedule)
addiu $2,$2,%lo(__tasklet_schedule)
jalr $2
$L458:
lw $31,132($sp)
addiu $sp,$sp,136
j $31
.end qdma_bm_task
.size qdma_bm_task, .-qdma_bm_task
.section .imem_text
.align 2
.globl ecnt_qdma_lan_hook
.set nomips16
.set nomicromips
.ent ecnt_qdma_lan_hook
.type ecnt_qdma_lan_hook, @function
ecnt_qdma_lan_hook:
.frame $sp,32,$31 # vars= 8, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-32
sw $31,28($sp)
sw $4,32($sp)
lw $2,32($sp)
sw $2,16($sp)
lw $2,16($sp)
lw $2,0($2)
sltu $2,$2,99
bne $2,$0,$L474
nop
li $2,-1 # 0xffffffffffffffff
j $L475
nop
$L474:
lw $2,16($sp)
lw $3,0($2)
lui $2,%hi(qdma_operation)
sll $3,$3,2
addiu $2,$2,%lo(qdma_operation)
addu $2,$3,$2
lw $2,0($2)
lw $4,16($sp)
jalr $2
nop
move $3,$2
lw $2,16($sp)
sw $3,4($2)
li $2,1 # 0x1
$L475:
lw $31,28($sp)
addiu $sp,$sp,32
j $31
nop
.set macro
.set reorder
.end ecnt_qdma_lan_hook
.size ecnt_qdma_lan_hook, .-ecnt_qdma_lan_hook
.align 2
.set nomips16
.set nomicromips
.ent qdma_isr
.type qdma_isr, @function
qdma_isr:
.frame $sp,184,$31 # vars= 160, regs= 2/0, args= 16, gp= 0
.mask 0x80010000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-184
sw $31,180($sp)
sw $16,176($sp)
sw $4,184($sp)
sw $5,188($sp)
sw $0,16($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,20($sp)
lw $2,20($sp)
addiu $2,$2,80
sw $2,24($sp)
lw $2,24($sp)
lw $16,0($2)
lw $4,20($sp)
lui $2,%hi(qdmaGetIntMask)
addiu $2,$2,%lo(qdmaGetIntMask)
jalr $2
and $2,$16,$2
sw $2,16($sp)
lw $2,16($sp)
andi $2,$2,0x33
beq $2,$0,$L478
lw $2,16($sp)
andi $2,$2,0x22
beq $2,$0,$L479
lw $2,20($sp)
addiu $2,$2,80
sw $2,28($sp)
li $2,34 # 0x22
sw $2,32($sp)
lw $2,28($sp)
lw $3,32($sp)
sw $3,0($2)
lw $2,16($sp)
andi $2,$2,0x800
beq $2,$0,$L480
lw $2,20($sp)
addiu $2,$2,80
sw $2,36($sp)
li $2,2048 # 0x800
sw $2,40($sp)
lw $2,36($sp)
lw $3,40($sp)
sw $3,0($2)
$L480:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,140($2)
li $2,536870912 # 0x20000000
and $2,$3,$2
beq $2,$0,$L481
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,152($2)
beq $2,$0,$L483
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,152($2)
move $4,$0
jalr $2
j $L483
$L481:
lw $4,20($sp)
li $5,170 # 0xaa
lui $2,%hi(qdmaDisableInt)
addiu $2,$2,%lo(qdmaDisableInt)
jalr $2
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
addiu $2,$2,120
sw $2,44($sp)
lw $2,44($sp)
addiu $2,$2,4
sw $0,48($sp)
sw $2,52($sp)
lw $2,48($sp)
andi $2,$2,0x1f
sw $2,56($sp)
#APP
# 233 "./arch/mips/include/asm/bitops.h" 1
# 0 "" 2
#NO_APP
lw $2,48($sp)
srl $2,$2,5
sll $2,$2,2
lw $3,52($sp)
addu $2,$3,$2
sw $2,60($sp)
$L484:
li $3,1 # 0x1
lw $2,56($sp)
sll $2,$3,$2
lw $5,60($sp)
lw $3,60($sp)
#APP
# 255 "./arch/mips/include/asm/bitops.h" 1
.set arch=r4000
ll $4, 0($5) # test_and_set_bit
or $6, $4, $2
sc $6, 0($5)
.set mips0
# 0 "" 2
#NO_APP
move $3,$6
sw $4,64($sp)
sw $3,68($sp)
lw $2,68($sp)
sltu $2,$2,1
andi $2,$2,0x00ff
bne $2,$0,$L484
li $3,1 # 0x1
lw $2,56($sp)
sll $2,$3,$2
lw $3,64($sp)
and $2,$3,$2
sw $2,68($sp)
#APP
# 270 "./arch/mips/include/asm/bitops.h" 1
# 0 "" 2
#NO_APP
lw $2,68($sp)
sltu $2,$0,$2
andi $2,$2,0x00ff
bne $2,$0,$L483
lw $4,44($sp)
lui $2,%hi(__tasklet_schedule)
addiu $2,$2,%lo(__tasklet_schedule)
jalr $2
$L483:
lw $2,16($sp)
andi $2,$2,0x2
beq $2,$0,$L486
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,288($2)
addiu $3,$3,1
sw $3,288($2)
$L486:
lw $2,16($sp)
andi $2,$2,0x20
beq $2,$0,$L479
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,292($2)
addiu $3,$3,1
sw $3,292($2)
$L479:
lw $2,16($sp)
andi $2,$2,0x1
beq $2,$0,$L478
lw $2,20($sp)
addiu $2,$2,80
sw $2,72($sp)
li $2,1 # 0x1
sw $2,76($sp)
lw $2,72($sp)
lw $3,76($sp)
sw $3,0($2)
move $4,$0
lui $2,%hi(qdma_bm_transmit_done)
addiu $2,$2,%lo(qdma_bm_transmit_done)
jalr $2
lui $2,%hi(sw_PKTQOS_CLEAR_STOP)
lw $2,%lo(sw_PKTQOS_CLEAR_STOP)($2)
beq $2,$0,$L487
lui $2,%hi(sw_PKTQOS_CLEAR_STOP)
lw $2,%lo(sw_PKTQOS_CLEAR_STOP)($2)
jalr $2
$L487:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,296($2)
addiu $3,$3,1
sw $3,296($2)
$L478:
lw $3,16($sp)
li $2,16973824 # 0x1030000
and $2,$3,$2
beq $2,$0,$L488
lw $3,16($sp)
li $2,16777216 # 0x1000000
and $2,$3,$2
beq $2,$0,$L489
lw $2,20($sp)
addiu $2,$2,80
sw $2,80($sp)
li $2,16777216 # 0x1000000
sw $2,84($sp)
lw $2,80($sp)
lw $3,84($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,168($2)
beq $2,$0,$L489
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,168($2)
jalr $2
$L489:
lw $3,16($sp)
li $2,131072 # 0x20000
and $2,$3,$2
beq $2,$0,$L490
lw $2,20($sp)
addiu $2,$2,80
sw $2,88($sp)
li $2,131072 # 0x20000
sw $2,92($sp)
lw $2,88($sp)
lw $3,92($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,164($2)
beq $2,$0,$L490
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,164($2)
jalr $2
$L490:
lw $3,16($sp)
li $2,65536 # 0x10000
and $2,$3,$2
beq $2,$0,$L488
lw $2,20($sp)
addiu $2,$2,80
sw $2,96($sp)
li $2,65536 # 0x10000
sw $2,100($sp)
lw $2,96($sp)
lw $3,100($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,160($2)
beq $2,$0,$L488
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,160($2)
jalr $2
$L488:
lw $2,16($sp)
andi $2,$2,0xf7cc
beq $2,$0,$L491
lw $2,16($sp)
andi $2,$2,0x200
beq $2,$0,$L492
lw $2,20($sp)
addiu $2,$2,80
sw $2,104($sp)
li $2,512 # 0x200
sw $2,108($sp)
lw $2,104($sp)
lw $3,108($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,180($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,180($2)
$L492:
lw $2,16($sp)
andi $2,$2,0x2000
beq $2,$0,$L493
lw $2,20($sp)
addiu $2,$2,80
sw $2,112($sp)
li $2,8192 # 0x2000
sw $2,116($sp)
lw $2,112($sp)
lw $3,116($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,252($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,252($2)
$L493:
lw $2,16($sp)
andi $2,$2,0x8000
beq $2,$0,$L494
lw $2,20($sp)
addiu $2,$2,80
sw $2,120($sp)
li $2,32768 # 0x8000
sw $2,124($sp)
lw $2,120($sp)
lw $3,124($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,254($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,254($2)
$L494:
lw $2,16($sp)
andi $2,$2,0x1000
beq $2,$0,$L495
lw $2,20($sp)
addiu $2,$2,80
sw $2,128($sp)
li $2,4096 # 0x1000
sw $2,132($sp)
lw $2,128($sp)
lw $3,132($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,256($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,256($2)
$L495:
lw $2,16($sp)
andi $2,$2,0x4000
beq $2,$0,$L496
lw $2,20($sp)
addiu $2,$2,80
sw $2,136($sp)
li $2,16384 # 0x4000
sw $2,140($sp)
lw $2,136($sp)
lw $3,140($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,258($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,258($2)
$L496:
lw $2,16($sp)
andi $2,$2,0x100
beq $2,$0,$L497
lw $2,20($sp)
addiu $2,$2,80
sw $2,144($sp)
li $2,256 # 0x100
sw $2,148($sp)
lw $2,144($sp)
lw $3,148($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,152($2)
beq $2,$0,$L498
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,152($2)
li $4,2 # 0x2
jalr $2
$L498:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,184($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,184($2)
$L497:
lw $2,16($sp)
andi $2,$2,0x400
beq $2,$0,$L499
lw $2,20($sp)
addiu $2,$2,80
sw $2,152($sp)
li $2,1024 # 0x400
sw $2,156($sp)
lw $2,152($sp)
lw $3,156($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,152($2)
beq $2,$0,$L500
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,152($2)
li $4,2 # 0x2
jalr $2
$L500:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,186($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,186($2)
$L499:
lw $2,16($sp)
andi $2,$2,0x8
bne $2,$0,$L501
lw $2,16($sp)
andi $2,$2,0x80
beq $2,$0,$L502
$L501:
lw $2,20($sp)
addiu $2,$2,80
sw $2,160($sp)
li $2,136 # 0x88
sw $2,164($sp)
lw $2,160($sp)
lw $3,164($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,96($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,104($2)
beq $3,$2,$L503
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,100($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,108($2)
bne $3,$2,$L504
$L503:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,152($2)
beq $2,$0,$L504
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,152($2)
li $4,1 # 0x1
jalr $2
$L504:
lw $2,16($sp)
andi $2,$2,0x8
beq $2,$0,$L505
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,268($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,268($2)
$L505:
lw $2,16($sp)
andi $2,$2,0x80
beq $2,$0,$L502
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,270($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,270($2)
$L502:
lw $2,16($sp)
andi $2,$2,0x4
bne $2,$0,$L506
lw $2,16($sp)
andi $2,$2,0x40
beq $2,$0,$L491
$L506:
lw $2,20($sp)
addiu $2,$2,80
sw $2,168($sp)
li $2,68 # 0x44
sw $2,172($sp)
lw $2,168($sp)
lw $3,172($sp)
sw $3,0($2)
lw $2,16($sp)
andi $2,$2,0x4
beq $2,$0,$L507
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,272($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,272($2)
$L507:
lw $2,16($sp)
andi $2,$2,0x40
beq $2,$0,$L491
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $3,274($2)
addiu $3,$3,1
andi $3,$3,0xffff
sh $3,274($2)
$L491:
li $2,1 # 0x1
lw $31,180($sp)
lw $16,176($sp)
addiu $sp,$sp,184
j $31
.end qdma_isr
.size qdma_isr, .-qdma_isr
.globl ecnt_driver_qdma_op
.rdata
.align 2
$LC67:
.ascii "driver_qdma_lan_hook\000"
.data
.align 2
.type ecnt_driver_qdma_op, @object
.size ecnt_driver_qdma_op, 40
ecnt_driver_qdma_op:
.space 16
.word $LC67
.word 1
.word ecnt_qdma_lan_hook
.word 16
.word 0
.word 1
.rdata
.align 2
$LC68:
.ascii "%s: physical_size is 0x%08x\012\000"
.align 2
$LC69:
.ascii "qdma_lan\000"
.text
.align 2
.set nomips16
.set nomicromips
.ent qdma_bm_dscp_init
.type qdma_bm_dscp_init, @function
qdma_bm_dscp_init:
.frame $sp,768,$31 # vars= 736, regs= 2/0, args= 24, gp= 0
.mask 0x80010000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-768
sw $31,764($sp)
sw $16,760($sp)
sw $4,768($sp)
sw $5,772($sp)
sw $6,776($sp)
sw $7,780($sp)
sw $0,40($sp)
sw $0,724($sp)
sw $0,728($sp)
sw $0,732($sp)
sw $0,736($sp)
sw $0,44($sp)
sw $0,48($sp)
sw $0,52($sp)
sw $0,24($sp)
sw $0,56($sp)
sw $0,28($sp)
sw $0,60($sp)
sw $0,64($sp)
sw $0,68($sp)
sw $0,72($sp)
sw $0,32($sp)
sw $0,36($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,56($sp)
lhu $2,770($sp)
sw $2,744($sp)
lhu $2,768($sp)
sw $2,740($sp)
lhu $2,774($sp)
sw $2,752($sp)
lhu $2,772($sp)
sw $2,748($sp)
lhu $2,776($sp)
sw $2,60($sp)
lhu $2,778($sp)
sw $2,64($sp)
lhu $2,780($sp)
sw $2,68($sp)
lw $2,744($sp)
sltu $2,$2,4097
beq $2,$0,$L510
nop
lw $2,740($sp)
sltu $2,$2,4097
beq $2,$0,$L510
nop
lw $2,752($sp)
sltu $2,$2,4097
beq $2,$0,$L510
nop
lw $2,748($sp)
sltu $2,$2,4097
beq $2,$0,$L510
nop
lw $2,60($sp)
sltu $2,$2,4097
beq $2,$0,$L510
nop
lw $2,64($sp)
sltu $2,$2,4096
beq $2,$0,$L510
nop
lw $2,68($sp)
sltu $2,$2,2049
beq $2,$0,$L510
nop
lw $2,68($sp)
sltu $2,$2,48
beq $2,$0,$L511
nop
$L510:
li $2,-14 # 0xfffffffffffffff2
j $L598
nop
$L511:
lw $2,68($sp)
andi $2,$2,0x3
beq $2,$0,$L513
nop
li $2,-14 # 0xfffffffffffffff2
j $L598
nop
$L513:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
addiu $2,$2,20
move $4,$2
addiu $5,$sp,768
li $6,14 # 0xe
lui $2,%hi(memcpy)
addiu $2,$2,%lo(memcpy)
jalr $2
nop
lw $3,744($sp)
lw $2,740($sp)
addu $3,$3,$2
lw $2,752($sp)
addu $3,$3,$2
lw $2,748($sp)
addu $2,$3,$2
sll $2,$2,5
sw $0,152($sp)
sw $2,156($sp)
addiu $2,$sp,724
sw $2,160($sp)
li $2,208 # 0xd0
sw $2,164($sp)
sw $0,168($sp)
lw $2,152($sp)
sw $2,172($sp)
lw $2,172($sp)
beq $2,$0,$L514
nop
lw $2,172($sp)
lw $2,148($2)
beq $2,$0,$L514
nop
lw $2,172($sp)
lw $2,148($2)
j $L515
nop
$L514:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L515:
sw $2,176($sp)
lw $2,176($sp)
lw $2,0($2)
lw $3,168($sp)
sw $3,16($sp)
lw $4,152($sp)
lw $5,156($sp)
lw $6,160($sp)
lw $7,164($sp)
jalr $2
nop
sw $2,180($sp)
lw $2,160($sp)
lw $2,0($2)
lw $3,152($sp)
sw $3,184($sp)
lw $3,156($sp)
sw $3,188($sp)
sw $2,192($sp)
lw $2,180($sp)
sw $2,196($sp)
lw $2,180($sp)
sw $2,44($sp)
lw $2,44($sp)
bne $2,$0,$L517
nop
li $2,-12 # 0xfffffffffffffff4
j $L598
nop
$L517:
lw $2,56($sp)
addiu $3,$2,264
lw $2,724($sp)
sw $3,200($sp)
sw $2,204($sp)
lw $2,200($sp)
lw $3,204($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $3,$2,8
lw $2,744($sp)
sll $4,$2,5
lw $2,724($sp)
addu $2,$4,$2
sw $3,208($sp)
sw $2,212($sp)
lw $2,208($sp)
lw $3,212($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $3,$2,268
lw $4,744($sp)
lw $2,740($sp)
addu $2,$4,$2
sll $4,$2,5
lw $2,724($sp)
addu $2,$4,$2
sw $3,216($sp)
sw $2,220($sp)
lw $2,216($sp)
lw $3,220($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $3,$2,12
lw $4,744($sp)
lw $2,740($sp)
addu $4,$4,$2
lw $2,752($sp)
addu $2,$4,$2
sll $4,$2,5
lw $2,724($sp)
addu $2,$4,$2
sw $3,224($sp)
sw $2,228($sp)
lw $2,224($sp)
lw $3,228($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,256
sw $2,232($sp)
lw $2,232($sp)
lw $2,0($2)
sw $2,76($sp)
lw $2,56($sp)
addiu $3,$2,256
lw $4,76($sp)
li $2,-268435456 # 0xfffffffff0000000
ori $2,$2,0xffff
and $4,$4,$2
lw $2,752($sp)
sll $5,$2,16
li $2,268369920 # 0xfff0000
and $2,$5,$2
or $2,$4,$2
sw $3,236($sp)
sw $2,240($sp)
lw $2,236($sp)
lw $3,240($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,256
sw $2,244($sp)
lw $2,244($sp)
lw $2,0($2)
sw $2,80($sp)
lw $2,56($sp)
addiu $3,$2,256
lw $4,80($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,748($sp)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,248($sp)
sw $2,252($sp)
lw $2,248($sp)
lw $3,252($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,260
sw $2,256($sp)
lw $2,256($sp)
lw $2,0($2)
sw $2,84($sp)
lw $2,56($sp)
addiu $3,$2,260
lw $4,84($sp)
li $2,-268435456 # 0xfffffffff0000000
ori $2,$2,0xffff
and $4,$4,$2
li $2,2097152 # 0x200000
or $2,$4,$2
sw $3,260($sp)
sw $2,264($sp)
lw $2,260($sp)
lw $3,264($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,48
sw $2,268($sp)
lw $2,268($sp)
lw $2,0($2)
sw $2,88($sp)
lw $2,56($sp)
addiu $3,$2,48
lw $4,88($sp)
li $2,-16777216 # 0xffffffffff000000
ori $2,$2,0xffff
and $4,$4,$2
li $2,1310720 # 0x140000
or $2,$4,$2
sw $3,272($sp)
sw $2,276($sp)
lw $2,272($sp)
lw $3,276($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,260
sw $2,280($sp)
lw $2,280($sp)
lw $2,0($2)
sw $2,92($sp)
lw $2,56($sp)
addiu $3,$2,260
lw $4,92($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,748($sp)
srl $2,$2,2
andi $2,$2,0xfff
or $2,$4,$2
sw $3,284($sp)
sw $2,288($sp)
lw $2,284($sp)
lw $3,288($sp)
sw $3,0($2)
lw $2,64($sp)
beq $2,$0,$L523
nop
lui $2,%hi(gpQdmaPriv)
lw $16,%lo(gpQdmaPriv)($2)
lw $2,64($sp)
sll $2,$2,2
sw $0,292($sp)
sw $2,296($sp)
addiu $2,$sp,728
sw $2,300($sp)
li $2,208 # 0xd0
sw $2,304($sp)
sw $0,308($sp)
lw $2,292($sp)
sw $2,312($sp)
lw $2,312($sp)
beq $2,$0,$L524
nop
lw $2,312($sp)
lw $2,148($2)
beq $2,$0,$L524
nop
lw $2,312($sp)
lw $2,148($2)
j $L525
nop
$L524:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L525:
sw $2,316($sp)
lw $2,316($sp)
lw $2,0($2)
lw $3,308($sp)
sw $3,16($sp)
lw $4,292($sp)
lw $5,296($sp)
lw $6,300($sp)
lw $7,304($sp)
jalr $2
nop
sw $2,320($sp)
lw $2,300($sp)
lw $2,0($2)
lw $3,292($sp)
sw $3,324($sp)
lw $3,296($sp)
sw $3,328($sp)
sw $2,332($sp)
lw $2,320($sp)
sw $2,336($sp)
lw $2,320($sp)
sw $2,56($16)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,56($2)
bne $2,$0,$L527
nop
li $2,-12 # 0xfffffffffffffff4
j $L598
nop
$L527:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,56($2)
move $3,$2
lw $2,64($sp)
sll $2,$2,2
move $4,$3
li $5,-1 # 0xffffffffffffffff
move $6,$2
lui $2,%hi(memset)
addiu $2,$2,%lo(memset)
jalr $2
nop
lw $2,56($sp)
addiu $3,$2,96
lw $2,728($sp)
sw $3,340($sp)
sw $2,344($sp)
lw $2,340($sp)
lw $3,344($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,100
sw $2,348($sp)
lw $2,348($sp)
lw $2,0($2)
sw $2,96($sp)
lw $2,56($sp)
addiu $3,$2,100
lw $4,96($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,64($sp)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,352($sp)
sw $2,356($sp)
lw $2,352($sp)
lw $3,356($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,100
sw $2,360($sp)
lw $2,360($sp)
lw $2,0($2)
sw $2,100($sp)
lw $2,56($sp)
addiu $3,$2,100
lw $4,100($sp)
li $2,-268435456 # 0xfffffffff0000000
ori $2,$2,0xffff
and $4,$4,$2
li $2,1048576 # 0x100000
or $2,$4,$2
sw $3,364($sp)
sw $2,368($sp)
lw $2,364($sp)
lw $3,368($sp)
sw $3,0($2)
$L523:
lui $2,%hi(gpQdmaPriv)
lw $16,%lo(gpQdmaPriv)($2)
lw $3,744($sp)
lw $2,740($sp)
addu $3,$3,$2
lw $2,752($sp)
addu $3,$3,$2
lw $2,748($sp)
addu $2,$3,$2
sll $2,$2,4
sw $2,372($sp)
li $2,208 # 0xd0
sw $2,376($sp)
lw $2,376($sp)
ori $2,$2,0x8000
lw $3,372($sp)
sw $3,380($sp)
sw $2,384($sp)
lw $4,380($sp)
lw $5,384($sp)
lui $2,%hi(__kmalloc)
addiu $2,$2,%lo(__kmalloc)
jalr $2
nop
sw $2,36($16)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,36($2)
bne $2,$0,$L532
nop
li $2,-12 # 0xfffffffffffffff4
j $L598
nop
$L532:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lui $3,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($3)
lw $3,36($3)
sw $3,44($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lui $3,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($3)
lw $4,36($3)
lw $3,744($sp)
sll $3,$3,4
addu $3,$4,$3
sw $3,40($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lui $3,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($3)
lw $4,36($3)
lw $5,744($sp)
lw $3,740($sp)
addu $3,$5,$3
sll $3,$3,4
addu $3,$4,$3
sw $3,52($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lui $3,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($3)
lw $4,36($3)
lw $5,744($sp)
lw $3,740($sp)
addu $5,$5,$3
lw $3,752($sp)
addu $3,$5,$3
sll $3,$3,4
addu $3,$4,$3
sw $3,48($2)
sw $0,24($sp)
j $L533
nop
$L549:
lw $2,24($sp)
sll $3,$2,4
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,36($2)
addu $2,$3,$2
sw $2,40($sp)
lw $2,24($sp)
sll $3,$2,5
lw $2,44($sp)
addu $2,$3,$2
move $3,$2
lw $2,40($sp)
sw $3,0($2)
lw $3,744($sp)
lw $2,24($sp)
sltu $2,$2,$3
beq $2,$0,$L534
nop
lw $2,40($sp)
lw $3,24($sp)
sw $3,4($2)
lw $2,40($sp)
sw $0,12($2)
lw $2,40($sp)
lw $3,0($2)
lw $2,4($3)
li $4,1 # 0x1
ins $2,$4,31,1
sw $2,4($3)
lw $2,40($sp)
sw $2,388($sp)
li $2,1 # 0x1
sw $2,392($sp)
lw $2,388($sp)
lw $2,12($2)
bne $2,$0,$L539
nop
lw $2,388($sp)
sw $0,8($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,392($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
bne $2,$0,$L537
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,392($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $3,388($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,392($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
lw $3,388($sp)
sw $3,0($2)
j $L539
nop
$L537:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,392($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,388($sp)
sw $3,12($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,392($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lw $2,392($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$4,$2
sw $3,0($2)
j $L539
nop
$L534:
lw $3,744($sp)
lw $2,740($sp)
addu $3,$3,$2
lw $2,24($sp)
sltu $2,$2,$3
beq $2,$0,$L540
nop
lw $2,744($sp)
lw $3,24($sp)
subu $3,$3,$2
lw $2,40($sp)
sw $3,4($2)
lw $2,40($sp)
sw $0,12($2)
lw $2,40($sp)
lw $3,0($2)
lw $2,4($3)
li $4,1 # 0x1
ins $2,$4,31,1
sw $2,4($3)
lw $2,40($sp)
sw $2,396($sp)
sw $0,400($sp)
lw $2,396($sp)
lw $2,12($2)
bne $2,$0,$L539
nop
lw $2,396($sp)
sw $0,8($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,400($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
bne $2,$0,$L543
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,400($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $3,396($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,400($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
lw $3,396($sp)
sw $3,0($2)
j $L539
nop
$L543:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,400($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,396($sp)
sw $3,12($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,400($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lw $2,400($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$4,$2
sw $3,0($2)
j $L539
nop
$L540:
lw $3,744($sp)
lw $2,740($sp)
addu $3,$3,$2
lw $2,752($sp)
addu $3,$3,$2
lw $2,24($sp)
sltu $2,$2,$3
beq $2,$0,$L545
nop
lw $2,744($sp)
lw $3,24($sp)
subu $3,$3,$2
lw $2,740($sp)
subu $3,$3,$2
lw $2,40($sp)
sw $3,4($2)
lw $2,40($sp)
sw $2,404($sp)
li $2,1 # 0x1
sw $2,408($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,408($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
bne $2,$0,$L546
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,408($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $3,404($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,408($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $3,0($2)
lw $2,404($sp)
sw $3,12($2)
j $L539
nop
$L546:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,408($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lw $2,404($sp)
sw $3,12($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,408($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,404($sp)
sw $3,12($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,408($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $3,404($sp)
sw $3,0($2)
j $L539
nop
$L545:
lw $2,744($sp)
lw $3,24($sp)
subu $3,$3,$2
lw $2,740($sp)
subu $3,$3,$2
lw $2,752($sp)
subu $3,$3,$2
lw $2,40($sp)
sw $3,4($2)
lw $2,40($sp)
sw $2,412($sp)
sw $0,416($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,416($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
bne $2,$0,$L548
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,416($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $3,412($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,416($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $3,0($2)
lw $2,412($sp)
sw $3,12($2)
j $L539
nop
$L548:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,416($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lw $2,412($sp)
sw $3,12($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,416($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,412($sp)
sw $3,12($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,416($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $3,412($sp)
sw $3,0($2)
$L539:
lw $2,24($sp)
addiu $2,$2,1
sw $2,24($sp)
$L533:
lw $3,744($sp)
lw $2,740($sp)
addu $3,$3,$2
lw $2,752($sp)
addu $3,$3,$2
lw $2,748($sp)
addu $3,$3,$2
lw $2,24($sp)
sltu $2,$2,$3
bne $2,$0,$L549
nop
li $2,1 # 0x1
sw $2,420($sp)
sw $0,424($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,420($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
sw $2,424($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,420($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,420($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$4,$2
lw $2,0($2)
bne $3,$2,$L550
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,420($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
sw $0,0($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,420($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
sw $0,0($2)
j $L551
nop
$L550:
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,420($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lw $2,420($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$4,$2
sw $3,0($2)
$L551:
lw $2,424($sp)
beq $2,$0,$L552
nop
lw $2,424($sp)
sw $0,12($2)
$L552:
lw $2,424($sp)
sw $2,40($sp)
lw $2,40($sp)
bne $2,$0,$L554
nop
li $2,-63 # 0xffffffffffffffc1
j $L598
nop
$L554:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,40($sp)
sw $3,92($2)
lw $2,56($sp)
addiu $2,$2,272
sw $2,428($sp)
lw $2,428($sp)
lw $2,0($2)
sw $2,104($sp)
lw $2,56($sp)
addiu $3,$2,272
lw $4,104($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,40($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,432($sp)
sw $2,436($sp)
lw $2,432($sp)
lw $3,436($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,276
sw $2,440($sp)
lw $2,440($sp)
lw $2,0($2)
sw $2,108($sp)
lw $2,56($sp)
addiu $3,$2,276
lw $4,108($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,40($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,444($sp)
sw $2,448($sp)
lw $2,444($sp)
lw $3,448($sp)
sw $3,0($2)
li $2,1 # 0x1
sw $2,452($sp)
sw $0,456($sp)
sw $0,460($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,452($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
beq $2,$0,$L557
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,452($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
bne $2,$0,$L558
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,452($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
sw $2,456($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,452($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $3,456($sp)
sw $3,0($2)
j $L557
nop
$L558:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,452($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,452($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$4,$2
lw $2,0($2)
beq $3,$2,$L557
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,452($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $2,12($2)
sw $2,456($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,452($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $3,456($sp)
sw $3,0($2)
$L557:
lw $2,456($sp)
sw $2,40($sp)
lw $2,40($sp)
bne $2,$0,$L560
nop
li $2,-63 # 0xffffffffffffffc1
j $L598
nop
$L560:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,40($sp)
sw $3,116($2)
lw $2,56($sp)
addiu $2,$2,280
sw $2,464($sp)
lw $2,464($sp)
lw $2,0($2)
sw $2,112($sp)
lw $2,56($sp)
addiu $3,$2,280
lw $4,112($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,40($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,468($sp)
sw $2,472($sp)
lw $2,468($sp)
lw $3,472($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,284
sw $2,476($sp)
lw $2,476($sp)
lw $2,0($2)
sw $2,116($sp)
lw $2,56($sp)
addiu $3,$2,284
lw $4,116($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,40($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,480($sp)
sw $2,484($sp)
lw $2,480($sp)
lw $3,484($sp)
sw $3,0($2)
sw $0,488($sp)
sw $0,492($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,488($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
sw $2,492($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,488($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,488($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$4,$2
lw $2,0($2)
bne $3,$2,$L563
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,488($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
sw $0,0($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,488($sp)
addiu $2,$2,20
sll $2,$2,2
addu $2,$3,$2
sw $0,0($2)
j $L564
nop
$L563:
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,488($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lw $2,488($sp)
addiu $2,$2,18
sll $2,$2,2
addu $2,$4,$2
sw $3,0($2)
$L564:
lw $2,492($sp)
beq $2,$0,$L565
nop
lw $2,492($sp)
sw $0,12($2)
$L565:
lw $2,492($sp)
sw $2,40($sp)
lw $2,40($sp)
bne $2,$0,$L567
nop
li $2,-63 # 0xffffffffffffffc1
j $L598
nop
$L567:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,40($sp)
sw $3,88($2)
lw $2,56($sp)
addiu $2,$2,16
sw $2,496($sp)
lw $2,496($sp)
lw $2,0($2)
sw $2,120($sp)
lw $2,56($sp)
addiu $3,$2,16
lw $4,120($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,40($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,500($sp)
sw $2,504($sp)
lw $2,500($sp)
lw $3,504($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,20
sw $2,508($sp)
lw $2,508($sp)
lw $2,0($2)
sw $2,124($sp)
lw $2,56($sp)
addiu $3,$2,20
lw $4,124($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,40($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,512($sp)
sw $2,516($sp)
lw $2,512($sp)
lw $3,516($sp)
sw $3,0($2)
sw $0,520($sp)
sw $0,524($sp)
sw $0,528($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,520($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
beq $2,$0,$L570
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,520($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
bne $2,$0,$L571
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,520($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
sw $2,524($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,520($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $3,524($sp)
sw $3,0($2)
j $L570
nop
$L571:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,520($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,520($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$4,$2
lw $2,0($2)
beq $3,$2,$L570
nop
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,520($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $2,12($2)
sw $2,524($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,520($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $3,524($sp)
sw $3,0($2)
$L570:
lw $2,524($sp)
sw $2,40($sp)
lw $2,40($sp)
bne $2,$0,$L573
nop
li $2,-63 # 0xffffffffffffffc1
j $L598
nop
$L573:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,40($sp)
sw $3,112($2)
lw $2,56($sp)
addiu $2,$2,24
sw $2,532($sp)
lw $2,532($sp)
lw $2,0($2)
sw $2,128($sp)
lw $2,56($sp)
addiu $3,$2,24
lw $4,128($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,40($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,536($sp)
sw $2,540($sp)
lw $2,536($sp)
lw $3,540($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,28
sw $2,544($sp)
lw $2,544($sp)
lw $2,0($2)
sw $2,132($sp)
lw $2,56($sp)
addiu $3,$2,28
lw $4,132($sp)
li $2,-4096 # 0xfffffffffffff000
and $4,$4,$2
lw $2,40($sp)
lw $2,4($2)
andi $2,$2,0xfff
or $2,$4,$2
sw $3,548($sp)
sw $2,552($sp)
lw $2,548($sp)
lw $3,552($sp)
sw $3,0($2)
sw $0,28($sp)
j $L576
nop
$L580:
lw $4,28($sp)
lui $2,%hi(qdma_prepare_rx_buffer)
addiu $2,$2,%lo(qdma_prepare_rx_buffer)
jalr $2
nop
beq $2,$0,$L577
nop
j $L578
nop
$L577:
lw $2,28($sp)
sw $2,556($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,556($sp)
addiu $2,$2,26
sll $2,$2,2
addu $2,$3,$2
lw $2,0($2)
lw $3,12($2)
lui $2,%hi(gpQdmaPriv)
lw $4,%lo(gpQdmaPriv)($2)
lw $2,556($sp)
addiu $2,$2,24
sll $2,$2,2
addu $2,$4,$2
lw $2,0($2)
xor $2,$3,$2
sltu $2,$0,$2
andi $2,$2,0x00ff
bne $2,$0,$L580
nop
$L578:
lw $2,28($sp)
addiu $2,$2,1
sw $2,28($sp)
$L576:
lw $2,28($sp)
slt $2,$2,2
bne $2,$0,$L580
nop
lw $2,60($sp)
beq $2,$0,$L581
nop
lw $2,60($sp)
sll $2,$2,4
sw $2,48($sp)
lw $3,68($sp)
lw $2,60($sp)
mul $2,$3,$2
sw $2,52($sp)
lui $2,%hi(physical_size)
lw $3,52($sp)
sw $3,%lo(physical_size)($2)
lui $2,%hi(physical_size)
lw $3,%lo(physical_size)($2)
lui $2,%hi($LC68)
addiu $4,$2,%lo($LC68)
lui $2,%hi($LC69)
addiu $5,$2,%lo($LC69)
move $6,$3
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
nop
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,68($sp)
sw $3,68($2)
lui $2,%hi(gpQdmaPriv)
lw $16,%lo(gpQdmaPriv)($2)
sw $0,560($sp)
lw $2,48($sp)
sw $2,564($sp)
addiu $2,$sp,732
sw $2,568($sp)
li $2,208 # 0xd0
sw $2,572($sp)
sw $0,576($sp)
lw $2,560($sp)
sw $2,580($sp)
lw $2,580($sp)
beq $2,$0,$L582
nop
lw $2,580($sp)
lw $2,148($2)
beq $2,$0,$L582
nop
lw $2,580($sp)
lw $2,148($2)
j $L583
nop
$L582:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L583:
sw $2,584($sp)
lw $2,584($sp)
lw $2,0($2)
lw $3,576($sp)
sw $3,16($sp)
lw $4,560($sp)
lw $5,564($sp)
lw $6,568($sp)
lw $7,572($sp)
jalr $2
nop
sw $2,588($sp)
lw $2,568($sp)
lw $2,0($2)
lw $3,560($sp)
sw $3,592($sp)
lw $3,564($sp)
sw $3,596($sp)
sw $2,600($sp)
lw $2,588($sp)
sw $2,604($sp)
lw $2,588($sp)
sw $2,60($16)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,60($2)
bne $2,$0,$L585
nop
li $2,-12 # 0xfffffffffffffff4
j $L598
nop
$L585:
lui $2,%hi(gpQdmaPriv)
lw $16,%lo(gpQdmaPriv)($2)
sw $0,608($sp)
lw $2,52($sp)
sw $2,612($sp)
addiu $2,$sp,736
sw $2,616($sp)
li $2,208 # 0xd0
sw $2,620($sp)
sw $0,624($sp)
lw $2,608($sp)
sw $2,628($sp)
lw $2,628($sp)
beq $2,$0,$L586
nop
lw $2,628($sp)
lw $2,148($2)
beq $2,$0,$L586
nop
lw $2,628($sp)
lw $2,148($2)
j $L587
nop
$L586:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L587:
sw $2,632($sp)
lw $2,632($sp)
lw $2,0($2)
lw $3,624($sp)
sw $3,16($sp)
lw $4,608($sp)
lw $5,612($sp)
lw $6,616($sp)
lw $7,620($sp)
jalr $2
nop
sw $2,636($sp)
lw $2,616($sp)
lw $2,0($2)
lw $3,608($sp)
sw $3,640($sp)
lw $3,612($sp)
sw $3,644($sp)
sw $2,648($sp)
lw $2,636($sp)
sw $2,652($sp)
lw $2,636($sp)
sw $2,64($16)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,64($2)
bne $2,$0,$L589
nop
li $2,-12 # 0xfffffffffffffff4
j $L598
nop
$L589:
lw $2,56($sp)
addiu $3,$2,32
lw $2,732($sp)
sw $3,656($sp)
sw $2,660($sp)
lw $2,656($sp)
lw $3,660($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $3,$2,36
lw $2,736($sp)
sw $3,664($sp)
sw $2,668($sp)
lw $2,664($sp)
lw $3,668($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,48
sw $2,672($sp)
lw $2,672($sp)
lw $2,0($2)
sw $2,136($sp)
lw $2,56($sp)
addiu $3,$2,48
lw $4,136($sp)
li $2,-8192 # 0xffffffffffffe000
and $4,$4,$2
lw $2,60($sp)
andi $2,$2,0x1fff
or $2,$4,$2
sw $3,676($sp)
sw $2,680($sp)
lw $2,676($sp)
lw $3,680($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,40
sw $2,684($sp)
lw $2,684($sp)
lw $2,0($2)
sw $2,140($sp)
lw $2,56($sp)
addiu $3,$2,40
lw $4,140($sp)
li $2,-805371904 # 0xffffffffcfff0000
ori $2,$2,0xffff
and $2,$4,$2
sw $3,688($sp)
sw $2,692($sp)
lw $2,688($sp)
lw $3,692($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,40
sw $2,696($sp)
lw $2,696($sp)
lw $2,0($2)
sw $2,144($sp)
lw $2,56($sp)
addiu $3,$2,40
lw $4,144($sp)
li $2,-8192 # 0xffffffffffffe000
and $2,$4,$2
ori $2,$2,0x80
sw $3,700($sp)
sw $2,704($sp)
lw $2,700($sp)
lw $3,704($sp)
sw $3,0($2)
lw $2,56($sp)
addiu $2,$2,48
sw $2,708($sp)
lw $2,708($sp)
lw $2,0($2)
sw $2,148($sp)
lw $2,56($sp)
addiu $3,$2,48
lw $4,148($sp)
li $2,-2147483648 # 0xffffffff80000000
or $2,$4,$2
sw $3,712($sp)
sw $2,716($sp)
lw $2,712($sp)
lw $3,716($sp)
sw $3,0($2)
sw $0,32($sp)
li $2,25 # 0x19
sw $2,36($sp)
j $L594
nop
$L597:
li $4,1000 # 0x3e8
lui $2,%hi(__udelay)
addiu $2,$2,%lo(__udelay)
jalr $2
nop
lw $2,56($sp)
addiu $2,$2,48
sw $2,720($sp)
lw $2,720($sp)
lw $2,0($2)
bltz $2,$L594
nop
li $2,1 # 0x1
sw $2,32($sp)
j $L596
nop
$L594:
lw $2,36($sp)
addiu $3,$2,-1
sw $3,36($sp)
bgtz $2,$L597
nop
$L596:
lw $2,32($sp)
bne $2,$0,$L581
nop
li $2,-1 # 0xffffffffffffffff
j $L598
nop
$L581:
move $2,$0
$L598:
lw $31,764($sp)
lw $16,760($sp)
addiu $sp,$sp,768
j $31
nop
.set macro
.set reorder
.end qdma_bm_dscp_init
.size qdma_bm_dscp_init, .-qdma_bm_dscp_init
.align 2
.set nomips16
.set nomicromips
.ent qdma_bm_dscp_deinit
.type qdma_bm_dscp_deinit, @function
qdma_bm_dscp_deinit:
.frame $sp,352,$31 # vars= 320, regs= 1/0, args= 24, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
addiu $sp,$sp,-352
sw $31,348($sp)
sw $0,32($sp)
sw $0,36($sp)
sw $0,40($sp)
sw $0,24($sp)
sw $0,28($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,40($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $2,20($2)
move $3,$2
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $2,22($2)
addu $2,$3,$2
lui $3,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($3)
lhu $3,24($3)
addu $2,$2,$3
lui $3,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($3)
lhu $3,26($3)
addu $2,$2,$3
sw $2,36($sp)
lw $2,40($sp)
addiu $2,$2,4
sw $2,60($sp)
lw $2,60($sp)
lw $2,0($2)
sw $2,44($sp)
lw $2,40($sp)
addiu $3,$2,4
lw $4,44($sp)
li $2,-2 # 0xfffffffffffffffe
and $2,$4,$2
sw $3,64($sp)
sw $2,68($sp)
lw $2,64($sp)
lw $3,68($sp)
sw $3,0($2)
lw $2,40($sp)
addiu $2,$2,4
sw $2,72($sp)
lw $2,72($sp)
lw $2,0($2)
sw $2,48($sp)
lw $2,40($sp)
addiu $3,$2,4
lw $4,48($sp)
li $2,-5 # 0xfffffffffffffffb
and $2,$4,$2
sw $3,76($sp)
sw $2,80($sp)
lw $2,76($sp)
lw $3,80($sp)
sw $3,0($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $2,30($2)
move $4,$2
lui $2,%hi(qdma_bm_transmit_done)
addiu $2,$2,%lo(qdma_bm_transmit_done)
jalr $2
li $4,1 # 0x1
move $5,$0
lui $2,%hi(qdma_recycle_packet_mode)
addiu $2,$2,%lo(qdma_recycle_packet_mode)
jalr $2
sw $0,28($sp)
j $L602
$L603:
lw $4,28($sp)
lui $2,%hi(qdma_bm_recycle_receive_buffer)
addiu $2,$2,%lo(qdma_bm_recycle_receive_buffer)
jalr $2
lw $2,28($sp)
addiu $2,$2,1
sw $2,28($sp)
$L602:
lw $2,28($sp)
slt $2,$2,2
bne $2,$0,$L603
sw $0,28($sp)
j $L604
$L605:
lw $4,28($sp)
lui $2,%hi(qdma_bm_recycle_transmit_buffer)
addiu $2,$2,%lo(qdma_bm_recycle_transmit_buffer)
jalr $2
lw $2,28($sp)
addiu $2,$2,1
sw $2,28($sp)
$L604:
lw $2,28($sp)
slt $2,$2,2
bne $2,$0,$L605
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,36($2)
beq $2,$0,$L606
sw $0,24($sp)
j $L607
$L617:
lw $2,24($sp)
sll $3,$2,4
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,36($2)
addu $2,$3,$2
sw $2,32($sp)
lw $2,32($sp)
lw $2,8($2)
beq $2,$0,$L608
lw $2,32($sp)
lw $2,0($2)
lw $2,8($2)
beq $2,$0,$L608
lw $2,32($sp)
lw $2,0($2)
lw $2,8($2)
lw $3,32($sp)
lw $3,0($3)
lhu $3,6($3)
sw $0,84($sp)
sw $2,88($sp)
sw $3,92($sp)
sw $0,96($sp)
sw $0,100($sp)
lw $2,84($sp)
sw $2,104($sp)
lw $2,104($sp)
beq $2,$0,$L609
lw $2,104($sp)
lw $2,148($2)
beq $2,$0,$L609
lw $2,104($sp)
lw $2,148($2)
j $L610
$L609:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L610:
sw $2,108($sp)
lw $2,96($sp)
sw $2,112($sp)
lw $2,112($sp)
beq $2,$0,$L611
lw $3,112($sp)
li $2,1 # 0x1
beq $3,$2,$L611
lw $3,112($sp)
li $2,2 # 0x2
bne $3,$2,$L612
$L611:
li $2,1 # 0x1
j $L614
$L612:
move $2,$0
$L614:
sltu $2,$2,1
andi $2,$2,0x00ff
sw $2,116($sp)
lw $2,116($sp)
#APP
# 29 "./arch/mips/include/asm/bug.h" 1
tne $0, $2, 12
# 0 "" 2
#NO_APP
lw $2,108($sp)
lw $2,20($2)
beq $2,$0,$L616
lw $2,108($sp)
lw $2,20($2)
lw $3,100($sp)
sw $3,16($sp)
lw $4,84($sp)
lw $5,88($sp)
lw $6,92($sp)
lw $7,96($sp)
jalr $2
$L616:
lw $2,96($sp)
lw $3,84($sp)
sw $3,120($sp)
lw $3,88($sp)
sw $3,124($sp)
lw $3,92($sp)
sw $3,128($sp)
sw $2,132($sp)
li $2,1 # 0x1
sb $2,136($sp)
$L608:
lw $2,24($sp)
addiu $2,$2,1
sw $2,24($sp)
$L607:
lw $3,24($sp)
lw $2,36($sp)
sltu $2,$3,$2
bne $2,$0,$L617
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,36($2)
sw $2,32($sp)
lw $2,32($sp)
lw $2,0($2)
beq $2,$0,$L618
lw $2,36($sp)
sll $4,$2,5
lw $2,32($sp)
lw $3,0($2)
lw $2,40($sp)
addiu $2,$2,264
sw $2,140($sp)
lw $2,140($sp)
lw $2,0($2)
sw $0,144($sp)
sw $4,148($sp)
sw $3,152($sp)
sw $2,156($sp)
sw $0,160($sp)
lw $2,144($sp)
sw $2,164($sp)
lw $2,164($sp)
beq $2,$0,$L620
lw $2,164($sp)
lw $2,148($2)
beq $2,$0,$L620
lw $2,164($sp)
lw $2,148($2)
j $L621
$L620:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L621:
sw $2,168($sp)
lw $2,168($sp)
lw $2,4($2)
lw $3,160($sp)
sw $3,16($sp)
lw $4,144($sp)
lw $5,148($sp)
lw $6,152($sp)
lw $7,156($sp)
jalr $2
lw $2,144($sp)
sw $2,172($sp)
lw $2,148($sp)
sw $2,176($sp)
lw $2,152($sp)
sw $2,180($sp)
lw $2,156($sp)
sw $2,184($sp)
lw $2,32($sp)
sw $0,0($2)
$L618:
lw $4,32($sp)
lui $2,%hi(kfree)
addiu $2,$2,%lo(kfree)
jalr $2
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
sw $0,36($2)
$L606:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,56($2)
beq $2,$0,$L622
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lhu $2,30($2)
sll $2,$2,2
move $4,$2
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,56($2)
move $3,$2
lw $2,40($sp)
addiu $2,$2,96
sw $2,188($sp)
lw $2,188($sp)
lw $2,0($2)
sw $0,192($sp)
sw $4,196($sp)
sw $3,200($sp)
sw $2,204($sp)
sw $0,208($sp)
lw $2,192($sp)
sw $2,212($sp)
lw $2,212($sp)
beq $2,$0,$L624
lw $2,212($sp)
lw $2,148($2)
beq $2,$0,$L624
lw $2,212($sp)
lw $2,148($2)
j $L625
$L624:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L625:
sw $2,216($sp)
lw $2,216($sp)
lw $2,4($2)
lw $3,208($sp)
sw $3,16($sp)
lw $4,192($sp)
lw $5,196($sp)
lw $6,200($sp)
lw $7,204($sp)
jalr $2
lw $2,192($sp)
sw $2,220($sp)
lw $2,196($sp)
sw $2,224($sp)
lw $2,200($sp)
sw $2,228($sp)
lw $2,204($sp)
sw $2,232($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
sw $0,56($2)
$L622:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,60($2)
beq $2,$0,$L626
lw $2,40($sp)
addiu $2,$2,48
sw $2,236($sp)
lw $2,236($sp)
lw $2,0($2)
andi $2,$2,0x1fff
sll $2,$2,4
sw $2,52($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,60($2)
move $4,$2
lw $2,40($sp)
addiu $2,$2,32
sw $2,240($sp)
lw $2,240($sp)
lw $2,0($2)
sw $0,244($sp)
lw $3,52($sp)
sw $3,248($sp)
sw $4,252($sp)
sw $2,256($sp)
sw $0,260($sp)
lw $2,244($sp)
sw $2,264($sp)
lw $2,264($sp)
beq $2,$0,$L629
lw $2,264($sp)
lw $2,148($2)
beq $2,$0,$L629
lw $2,264($sp)
lw $2,148($2)
j $L630
$L629:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L630:
sw $2,268($sp)
lw $2,268($sp)
lw $2,4($2)
lw $3,260($sp)
sw $3,16($sp)
lw $4,244($sp)
lw $5,248($sp)
lw $6,252($sp)
lw $7,256($sp)
jalr $2
lw $2,244($sp)
sw $2,272($sp)
lw $2,248($sp)
sw $2,276($sp)
lw $2,252($sp)
sw $2,280($sp)
lw $2,256($sp)
sw $2,284($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
sw $0,60($2)
$L626:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,64($2)
beq $2,$0,$L631
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,68($2)
lw $2,40($sp)
addiu $2,$2,48
sw $2,288($sp)
lw $2,288($sp)
lw $2,0($2)
andi $2,$2,0x1fff
mul $2,$3,$2
sw $2,56($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,64($2)
move $4,$2
lw $2,40($sp)
addiu $2,$2,36
sw $2,292($sp)
lw $2,292($sp)
lw $2,0($2)
sw $0,296($sp)
lw $3,56($sp)
sw $3,300($sp)
sw $4,304($sp)
sw $2,308($sp)
sw $0,312($sp)
lw $2,296($sp)
sw $2,316($sp)
lw $2,316($sp)
beq $2,$0,$L634
lw $2,316($sp)
lw $2,148($2)
beq $2,$0,$L634
lw $2,316($sp)
lw $2,148($2)
j $L635
$L634:
lui $2,%hi(mips_dma_map_ops)
lw $2,%lo(mips_dma_map_ops)($2)
$L635:
sw $2,320($sp)
lw $2,320($sp)
lw $2,4($2)
lw $3,312($sp)
sw $3,16($sp)
lw $4,296($sp)
lw $5,300($sp)
lw $6,304($sp)
lw $7,308($sp)
jalr $2
lw $2,296($sp)
sw $2,324($sp)
lw $2,300($sp)
sw $2,328($sp)
lw $2,304($sp)
sw $2,332($sp)
lw $2,308($sp)
sw $2,336($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
sw $0,64($2)
$L631:
move $2,$0
lw $31,348($sp)
addiu $sp,$sp,352
j $31
.end qdma_bm_dscp_deinit
.size qdma_bm_dscp_deinit, .-qdma_bm_dscp_deinit
.rdata
.align 2
$LC70:
.ascii "qdma_lan/counters\000"
.align 2
$LC71:
.ascii "qdma_lan/debug\000"
.section .exit.text,"ax",@progbits
.align 2
.set nomips16
.set nomicromips
.ent qdma_module_cleanup
.type qdma_module_cleanup, @function
qdma_module_cleanup:
.frame $sp,32,$31 # vars= 8, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-32
sw $31,28($sp)
lui $2,%hi(qdma_dvt_deinit)
addiu $2,$2,%lo(qdma_dvt_deinit)
jalr $2
nop
lui $2,%hi($LC70)
addiu $4,$2,%lo($LC70)
move $5,$0
lui $2,%hi(remove_proc_entry)
addiu $2,$2,%lo(remove_proc_entry)
jalr $2
nop
lui $2,%hi($LC71)
addiu $4,$2,%lo($LC71)
move $5,$0
lui $2,%hi(remove_proc_entry)
addiu $2,$2,%lo(remove_proc_entry)
jalr $2
nop
lui $2,%hi($LC22)
addiu $4,$2,%lo($LC22)
move $5,$0
lui $2,%hi(remove_proc_entry)
addiu $2,$2,%lo(remove_proc_entry)
jalr $2
nop
lui $2,%hi($LC51)
addiu $4,$2,%lo($LC51)
move $5,$0
lui $2,%hi(remove_proc_entry)
addiu $2,$2,%lo(remove_proc_entry)
jalr $2
nop
lui $2,%hi($LC69)
addiu $4,$2,%lo($LC69)
move $5,$0
lui $2,%hi(remove_proc_entry)
addiu $2,$2,%lo(remove_proc_entry)
jalr $2
nop
lui $2,%hi(ecnt_driver_qdma_op)
addiu $4,$2,%lo(ecnt_driver_qdma_op)
lui $2,%hi(ecnt_unregister_hook)
addiu $2,$2,%lo(ecnt_unregister_hook)
jalr $2
nop
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
addiu $2,$2,304
move $4,$2
lui $2,%hi(del_timer_sync)
addiu $2,$2,%lo(del_timer_sync)
jalr $2
nop
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $3,140($2)
li $2,268435456 # 0x10000000
and $2,$3,$2
beq $2,$0,$L638
nop
li $4,22 # 0x16
move $5,$0
lui $2,%hi(free_irq)
addiu $2,$2,%lo(free_irq)
jalr $2
nop
$L638:
lui $2,%hi(qdma_dev_destroy)
addiu $2,$2,%lo(qdma_dev_destroy)
jalr $2
nop
lui $2,%hi(qdma_bm_dscp_deinit)
addiu $2,$2,%lo(qdma_bm_dscp_deinit)
jalr $2
nop
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
beq $2,$0,$L639
nop
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
sw $2,16($sp)
lw $2,16($sp)
sw $2,20($sp)
move $2,$0
bne $2,$0,$L641
nop
lw $4,16($sp)
lui $2,%hi(__iounmap)
addiu $2,$2,%lo(__iounmap)
jalr $2
nop
$L641:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
sw $0,0($2)
$L639:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
move $4,$2
lui $2,%hi(kfree)
addiu $2,$2,%lo(kfree)
jalr $2
nop
lui $2,%hi(gpQdmaPriv)
sw $0,%lo(gpQdmaPriv)($2)
nop
lw $31,28($sp)
addiu $sp,$sp,32
j $31
nop
.set macro
.set reorder
.end qdma_module_cleanup
.size qdma_module_cleanup, .-qdma_module_cleanup
.globl cleanup_module
cleanup_module = qdma_module_cleanup
.text
.align 2
.globl qdma_fwd_cfg_timer_expires
.set nomips16
.set nomicromips
.ent qdma_fwd_cfg_timer_expires
.type qdma_fwd_cfg_timer_expires, @function
qdma_fwd_cfg_timer_expires:
.frame $sp,304,$31 # vars= 280, regs= 1/0, args= 16, gp= 0
.mask 0x80000000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-304
sw $31,300($sp)
sw $4,304($sp)
sw $0,16($sp)
sw $0,20($sp)
li $2,-1078657024 # 0xffffffffbfb50000
ori $2,$2,0xe00
sw $2,24($sp)
lw $2,24($sp)
lw $2,0($2)
sw $2,16($sp)
lw $2,16($sp)
andi $2,$2,0x1
beq $2,$0,$L645
nop
lw $2,20($sp)
sw $2,28($sp)
sw $0,32($sp)
li $2,4 # 0x4
sw $2,36($sp)
sw $0,40($sp)
li $2,10 # 0xa
sw $2,124($sp)
lw $2,28($sp)
sw $2,128($sp)
lw $2,32($sp)
sw $2,176($sp)
lw $2,36($sp)
sw $2,180($sp)
addiu $2,$sp,124
li $4,17 # 0x11
move $5,$0
move $6,$2
lui $2,%hi(__ECNT_HOOK)
addiu $2,$2,%lo(__ECNT_HOOK)
jalr $2
nop
sw $2,40($sp)
lw $2,20($sp)
sw $2,44($sp)
li $2,1 # 0x1
sw $2,48($sp)
li $2,4 # 0x4
sw $2,52($sp)
sw $0,56($sp)
li $2,10 # 0xa
sw $2,124($sp)
lw $2,44($sp)
sw $2,128($sp)
lw $2,48($sp)
sw $2,176($sp)
lw $2,52($sp)
sw $2,180($sp)
addiu $2,$sp,124
li $4,17 # 0x11
move $5,$0
move $6,$2
lui $2,%hi(__ECNT_HOOK)
addiu $2,$2,%lo(__ECNT_HOOK)
jalr $2
nop
sw $2,56($sp)
lw $2,20($sp)
sw $2,60($sp)
li $2,2 # 0x2
sw $2,64($sp)
li $2,4 # 0x4
sw $2,68($sp)
sw $0,72($sp)
li $2,10 # 0xa
sw $2,124($sp)
lw $2,60($sp)
sw $2,128($sp)
lw $2,64($sp)
sw $2,176($sp)
lw $2,68($sp)
sw $2,180($sp)
addiu $2,$sp,124
li $4,17 # 0x11
move $5,$0
move $6,$2
lui $2,%hi(__ECNT_HOOK)
addiu $2,$2,%lo(__ECNT_HOOK)
jalr $2
nop
sw $2,72($sp)
j $L643
nop
$L645:
lw $2,20($sp)
sw $2,76($sp)
sw $0,80($sp)
li $2,5 # 0x5
sw $2,84($sp)
sw $0,88($sp)
li $2,10 # 0xa
sw $2,124($sp)
lw $2,76($sp)
sw $2,128($sp)
lw $2,80($sp)
sw $2,176($sp)
lw $2,84($sp)
sw $2,180($sp)
addiu $2,$sp,124
li $4,17 # 0x11
move $5,$0
move $6,$2
lui $2,%hi(__ECNT_HOOK)
addiu $2,$2,%lo(__ECNT_HOOK)
jalr $2
nop
sw $2,88($sp)
lw $2,20($sp)
sw $2,92($sp)
li $2,1 # 0x1
sw $2,96($sp)
li $2,5 # 0x5
sw $2,100($sp)
sw $0,104($sp)
li $2,10 # 0xa
sw $2,124($sp)
lw $2,92($sp)
sw $2,128($sp)
lw $2,96($sp)
sw $2,176($sp)
lw $2,100($sp)
sw $2,180($sp)
addiu $2,$sp,124
li $4,17 # 0x11
move $5,$0
move $6,$2
lui $2,%hi(__ECNT_HOOK)
addiu $2,$2,%lo(__ECNT_HOOK)
jalr $2
nop
sw $2,104($sp)
lw $2,20($sp)
sw $2,108($sp)
li $2,2 # 0x2
sw $2,112($sp)
li $2,5 # 0x5
sw $2,116($sp)
sw $0,120($sp)
li $2,10 # 0xa
sw $2,124($sp)
lw $2,108($sp)
sw $2,128($sp)
lw $2,112($sp)
sw $2,176($sp)
lw $2,116($sp)
sw $2,180($sp)
addiu $2,$sp,124
li $4,17 # 0x11
move $5,$0
move $6,$2
lui $2,%hi(__ECNT_HOOK)
addiu $2,$2,%lo(__ECNT_HOOK)
jalr $2
nop
sw $2,120($sp)
$L643:
lw $31,300($sp)
addiu $sp,$sp,304
j $31
nop
.set macro
.set reorder
.end qdma_fwd_cfg_timer_expires
.size qdma_fwd_cfg_timer_expires, .-qdma_fwd_cfg_timer_expires
.rdata
.align 2
$LC72:
.ascii "macType = %u\012\000"
.align 2
$LC73:
.ascii "mac type is MAC_TYPE_ATM\012\000"
.align 2
$LC74:
.ascii "mac type is MAC_TYPE_PTM\012\000"
.section .init.text,"ax",@progbits
.align 2
.set nomips16
.set nomicromips
.ent qdma_module_init
.type qdma_module_init, @function
qdma_module_init:
.frame $sp,248,$31 # vars= 184, regs= 10/0, args= 24, gp= 0
.mask 0xc0ff0000,-4
.fmask 0x00000000,0
.set noreorder
.set nomacro
addiu $sp,$sp,-248
sw $31,244($sp)
sw $fp,240($sp)
sw $23,236($sp)
sw $22,232($sp)
sw $21,228($sp)
sw $20,224($sp)
sw $19,220($sp)
sw $18,216($sp)
sw $17,212($sp)
sw $16,208($sp)
sw $0,24($sp)
sw $0,28($sp)
sw $0,32($sp)
sw $0,36($sp)
lui $2,%hi(macType)
lw $3,%lo(macType)($2)
lui $2,%hi($LC72)
addiu $4,$2,%lo($LC72)
move $5,$3
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
nop
lui $2,%hi(macType)
lw $3,%lo(macType)($2)
li $2,3 # 0x3
bne $3,$2,$L666
nop
lui $2,%hi($LC73)
addiu $4,$2,%lo($LC73)
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
nop
li $2,-1078984704 # 0xffffffffbfb00000
ori $2,$2,0x70
sw $2,40($sp)
lw $2,40($sp)
lw $2,0($2)
sw $2,36($sp)
lw $3,36($sp)
li $2,-8 # 0xfffffffffffffff8
and $2,$3,$2
sw $2,36($sp)
lw $2,36($sp)
ori $2,$2,0x3
sw $2,36($sp)
li $2,-1078984704 # 0xffffffffbfb00000
ori $2,$2,0x70
sw $2,44($sp)
lw $2,36($sp)
sw $2,48($sp)
lw $2,44($sp)
lw $3,48($sp)
sw $3,0($2)
j $L668
nop
$L666:
lui $2,%hi(macType)
lw $3,%lo(macType)($2)
li $2,2 # 0x2
bne $3,$2,$L668
nop
lui $2,%hi($LC74)
addiu $4,$2,%lo($LC74)
lui $2,%hi(printk)
addiu $2,$2,%lo(printk)
jalr $2
nop
li $2,-1078984704 # 0xffffffffbfb00000
ori $2,$2,0x70
sw $2,52($sp)
lw $2,52($sp)
lw $2,0($2)
sw $2,36($sp)
lw $3,36($sp)
li $2,-8 # 0xfffffffffffffff8
and $2,$3,$2
sw $2,36($sp)
lw $2,36($sp)
ori $2,$2,0x2
sw $2,36($sp)
li $2,-1078984704 # 0xffffffffbfb00000
ori $2,$2,0x70
sw $2,56($sp)
lw $2,36($sp)
sw $2,60($sp)
lw $2,56($sp)
lw $3,60($sp)
sw $3,0($2)
$L668:
li $2,340 # 0x154
sw $2,64($sp)
li $2,208 # 0xd0
sw $2,68($sp)
lw $2,68($sp)
ori $2,$2,0x8000
lw $3,64($sp)
sw $3,72($sp)
sw $2,76($sp)
lw $4,72($sp)
lw $5,76($sp)
lui $2,%hi(__kmalloc)
addiu $2,$2,%lo(__kmalloc)
jalr $2
nop
move $3,$2
lui $2,%hi(gpQdmaPriv)
sw $3,%lo(gpQdmaPriv)($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
bne $2,$0,$L672
nop
li $2,-12 # 0xfffffffffffffff4
j $L718
nop
$L672:
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
li $3,16 # 0x10
sb $3,141($2)
sw $0,24($sp)
j $L674
nop
$L676:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,24($sp)
sll $2,$2,2
addu $2,$3,$2
addiu $2,$2,4
sw $2,80($sp)
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lw $2,24($sp)
sll $2,$2,2
addu $2,$3,$2
sw $0,4($2)
lw $2,24($sp)
addiu $2,$2,1
sw $2,24($sp)
$L674:
lw $2,24($sp)
slt $2,$2,2
bne $2,$0,$L676
nop
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
addiu $2,$2,12
sw $2,84($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
sw $0,12($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
addiu $2,$2,16
sw $2,88($sp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
sw $0,16($2)
lui $2,%hi(gpQdmaPriv)
lw $fp,%lo(gpQdmaPriv)($2)
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $3,12($2)
lw $2,8($2)
andi $4,$2,0
sw $4,184($sp)
li $4,8388608 # 0x800000
and $4,$3,$4
sw $4,188($sp)
lw $2,184($sp)
lw $3,188($sp)
or $2,$2,$3
beq $2,$0,$L679
nop
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $2,36($2)
andi $2,$2,0xce
bne $2,$0,$L679
nop
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $3,12($2)
lw $2,8($2)
andi $4,$2,0
sw $4,192($sp)
li $4,8388608 # 0x800000
and $4,$3,$4
sw $4,196($sp)
lw $2,192($sp)
lw $3,196($sp)
or $2,$2,$3
beq $2,$0,$L681
nop
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $2,36($2)
andi $2,$2,0xce
bne $2,$0,$L681
nop
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $3,12($2)
lw $2,8($2)
andi $4,$2,0
sw $4,200($sp)
li $4,8388608 # 0x800000
and $4,$3,$4
sw $4,204($sp)
lw $2,200($sp)
lw $3,204($sp)
or $2,$2,$3
beq $2,$0,$L683
nop
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $2,36($2)
andi $2,$2,0xce
beq $2,$0,$L685
nop
$L683:
li $2,1 # 0x1
j $L686
nop
$L685:
move $2,$0
$L686:
addiu $2,$2,9
li $3,2 # 0x2
sll $2,$3,$2
j $L692
nop
$L681:
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $3,12($2)
lw $2,8($2)
andi $22,$2,0
li $4,8388608 # 0x800000
and $23,$3,$4
move $2,$22
or $2,$2,$23
beq $2,$0,$L688
nop
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $2,36($2)
andi $2,$2,0xce
beq $2,$0,$L690
nop
$L688:
li $2,1 # 0x1
j $L691
nop
$L690:
move $2,$0
$L691:
addiu $2,$2,8
li $3,2 # 0x2
sll $2,$3,$2
j $L692
nop
$L679:
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $3,12($2)
lw $2,8($2)
andi $20,$2,0
li $4,8388608 # 0x800000
and $21,$3,$4
move $2,$20
or $2,$2,$21
beq $2,$0,$L693
nop
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $2,36($2)
andi $2,$2,0xce
bne $2,$0,$L693
nop
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $3,12($2)
lw $2,8($2)
andi $18,$2,0
li $4,8388608 # 0x800000
and $19,$3,$4
move $2,$18
or $2,$2,$19
beq $2,$0,$L695
nop
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $2,36($2)
andi $2,$2,0xce
beq $2,$0,$L697
nop
$L695:
li $2,1 # 0x1
j $L698
nop
$L697:
move $2,$0
$L698:
addiu $2,$2,8
li $3,2 # 0x2
sll $2,$3,$2
j $L692
nop
$L693:
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $3,12($2)
lw $2,8($2)
andi $16,$2,0
li $4,8388608 # 0x800000
and $17,$3,$4
move $2,$16
or $2,$2,$17
beq $2,$0,$L700
nop
lui $2,%hi(cpu_data)
addiu $2,$2,%lo(cpu_data)
lw $2,36($2)
andi $2,$2,0xce
beq $2,$0,$L702
nop
$L700:
li $2,1 # 0x1
j $L703
nop
$L702:
move $2,$0
$L703:
addiu $2,$2,7
li $3,2 # 0x2
sll $2,$3,$2
$L692:
li $3,531955712 # 0x1fb50000
ori $3,$3,0x4000
sw $3,92($sp)
li $3,1024 # 0x400
sw $3,96($sp)
sw $2,100($sp)
lw $2,92($sp)
sw $2,104($sp)
lw $2,96($sp)
sw $2,108($sp)
lw $2,100($sp)
sw $2,112($sp)
move $2,$0
sw $2,116($sp)
lw $2,116($sp)
beq $2,$0,$L705
nop
lw $2,116($sp)
j $L706
nop
$L705:
lw $4,92($sp)
lw $5,96($sp)
lw $6,100($sp)
lui $2,%hi(__ioremap)
addiu $2,$2,%lo(__ioremap)
jalr $2
nop
$L706:
sw $2,0($fp)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lw $2,0($2)
bne $2,$0,$L707
nop
li $2,-14 # 0xfffffffffffffff2
j $L718
nop
$L707:
lui $2,%hi(hwfwd_payload_max_size)
li $3,2048 # 0x800
sw $3,%lo(hwfwd_payload_max_size)($2)
li $2,128 # 0x80
sh $2,142($sp)
li $2,128 # 0x80
sh $2,140($sp)
li $2,512 # 0x200
sh $2,146($sp)
li $2,128 # 0x80
sh $2,144($sp)
li $2,1024 # 0x400
sh $2,148($sp)
li $2,256 # 0x100
sh $2,150($sp)
lui $2,%hi(hwfwd_payload_max_size)
lw $2,%lo(hwfwd_payload_max_size)($2)
andi $2,$2,0xffff
sh $2,152($sp)
lw $4,140($sp)
lw $5,144($sp)
lw $6,148($sp)
lw $7,152($sp)
lui $2,%hi(qdma_bm_dscp_init)
addiu $2,$2,%lo(qdma_bm_dscp_init)
jalr $2
nop
sw $2,28($sp)
lw $2,28($sp)
beq $2,$0,$L708
nop
lw $2,28($sp)
j $L718
nop
$L708:
lui $2,%hi(qdma_dev_init)
addiu $2,$2,%lo(qdma_dev_init)
jalr $2
nop
sw $2,28($sp)
lw $2,28($sp)
beq $2,$0,$L709
nop
lw $2,28($sp)
j $L718
nop
$L709:
li $2,22 # 0x16
sw $2,120($sp)
lui $2,%hi(qdma_isr)
addiu $2,$2,%lo(qdma_isr)
sw $2,124($sp)
sw $0,128($sp)
lui $2,%hi($LC69)
addiu $2,$2,%lo($LC69)
sw $2,132($sp)
sw $0,136($sp)
lw $2,132($sp)
sw $2,16($sp)
lw $2,136($sp)
sw $2,20($sp)
lw $4,120($sp)
lw $5,124($sp)
move $6,$0
lw $7,128($sp)
lui $2,%hi(request_threaded_irq)
addiu $2,$2,%lo(request_threaded_irq)
jalr $2
nop
beq $2,$0,$L711
nop
li $2,-19 # 0xffffffffffffffed
j $L718
nop
$L711:
lui $2,%hi(gpQdmaPriv)
lw $3,%lo(gpQdmaPriv)($2)
lbu $2,140($3)
li $4,1 # 0x1
ins $2,$4,4,1
sb $2,140($3)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
addiu $2,$2,304
move $4,$2
move $5,$0
move $6,$0
move $7,$0
lui $2,%hi(init_timer_key)
addiu $2,$2,%lo(init_timer_key)
jalr $2
nop
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lui $3,%hi(qdma_lan_fwd_timer)
lw $3,%lo(qdma_lan_fwd_timer)($3)
sw $3,324($2)
lui $2,%hi(gpQdmaPriv)
lw $2,%lo(gpQdmaPriv)($2)
lui $3,%hi(qdma_fwd_cfg_timer_expires)
addiu $3,$3,%lo(qdma_fwd_cfg_timer_expires)
sw $3,320($2)
li $4,2 # 0x2
lui $2,%hi(qdma_receive_packet_mode)
addiu $2,$2,%lo(qdma_receive_packet_mode)
jalr $2
nop
li $4,1 # 0x1
li $5,16 # 0x10
lui $2,%hi(qdma_recycle_packet_mode)
addiu $2,$2,%lo(qdma_recycle_packet_mode)
jalr $2
nop
li $2,1 # 0x1
sw $2,164($sp)
addiu $2,$sp,156
move $4,$2
lui $2,%hi(qdma_set_rx_protect_en)
addiu $2,$2,%lo(qdma_set_rx_protect_en)
jalr $2
nop
li $2,1 # 0x1
sw $2,164($sp)
addiu $2,$sp,156
move $4,$2
lui $2,%hi(qdma_set_tx_drop_en)
addiu $2,$2,%lo(qdma_set_tx_drop_en)
jalr $2
nop
li $2,1 # 0x1
sw $2,164($sp)
addiu $2,$sp,156
move $4,$2
lui $2,%hi(qdma_set_txq_dei_drop_mode)
addiu $2,$2,%lo(qdma_set_txq_dei_drop_mode)
jalr $2
nop
lui $2,%hi(ecnt_driver_qdma_op)
addiu $4,$2,%lo(ecnt_driver_qdma_op)
lui $2,%hi(ecnt_register_hook)
addiu $2,$2,%lo(ecnt_register_hook)
jalr $2
nop
beq $2,$0,$L712
nop
li $2,-19 # 0xffffffffffffffed
j $L718
nop
$L712:
lui $2,%hi(qdma_bm_transmit_packet_wifi_fast_hook)
lui $3,%hi(qdma_bm_transmit_packet_wifi_fast)
addiu $3,$3,%lo(qdma_bm_transmit_packet_wifi_fast)
sw $3,%lo(qdma_bm_transmit_packet_wifi_fast_hook)($2)
lui $2,%hi($LC69)
addiu $4,$2,%lo($LC69)
move $5,$0
lui $2,%hi(proc_mkdir)
addiu $2,$2,%lo(proc_mkdir)
jalr $2
nop
lui $2,%hi($LC70)
addiu $4,$2,%lo($LC70)
move $5,$0
move $6,$0
lui $2,%hi(create_proc_entry)
addiu $2,$2,%lo(create_proc_entry)
jalr $2
nop
sw $2,32($sp)
lw $2,32($sp)
beq $2,$0,$L713
nop
lw $2,32($sp)
lui $3,%hi(qdma_bm_counters_read_proc)
addiu $3,$3,%lo(qdma_bm_counters_read_proc)
sw $3,56($2)
lw $2,32($sp)
lui $3,%hi(qdma_bm_counters_write_proc)
addiu $3,$3,%lo(qdma_bm_counters_write_proc)
sw $3,60($2)
$L713:
lui $2,%hi($LC71)
addiu $4,$2,%lo($LC71)
move $5,$0
move $6,$0
lui $2,%hi(create_proc_entry)
addiu $2,$2,%lo(create_proc_entry)
jalr $2
nop
sw $2,32($sp)
lw $2,32($sp)
beq $2,$0,$L714
nop
lw $2,32($sp)
lui $3,%hi(qdma_bm_debug_read_proc)
addiu $3,$3,%lo(qdma_bm_debug_read_proc)
sw $3,56($2)
lw $2,32($sp)
lui $3,%hi(qdma_bm_debug_write_proc)
addiu $3,$3,%lo(qdma_bm_debug_write_proc)
sw $3,60($2)
$L714:
lui $2,%hi($LC22)
addiu $4,$2,%lo($LC22)
move $5,$0
move $6,$0
lui $2,%hi(create_proc_entry)
addiu $2,$2,%lo(create_proc_entry)
jalr $2
nop
sw $2,32($sp)
lw $2,32($sp)
beq $2,$0,$L715
nop
lw $2,32($sp)
lui $3,%hi(qdma_bm_ratelimit_read_proc)
addiu $3,$3,%lo(qdma_bm_ratelimit_read_proc)
sw $3,56($2)
lw $2,32($sp)
lui $3,%hi(qdma_bm_ratelimit_write_proc)
addiu $3,$3,%lo(qdma_bm_ratelimit_write_proc)
sw $3,60($2)
$L715:
lui $2,%hi($LC51)
addiu $4,$2,%lo($LC51)
move $5,$0
move $6,$0
lui $2,%hi(create_proc_entry)
addiu $2,$2,%lo(create_proc_entry)
jalr $2
nop
sw $2,32($sp)
lw $2,32($sp)
beq $2,$0,$L716
nop
lw $2,32($sp)
lui $3,%hi(qdma_bm_qos_read_proc)
addiu $3,$3,%lo(qdma_bm_qos_read_proc)
sw $3,56($2)
lw $2,32($sp)
lui $3,%hi(qdma_bm_qos_write_proc)
addiu $3,$3,%lo(qdma_bm_qos_write_proc)
sw $3,60($2)
$L716:
lui $2,%hi(qdma_dvt_init)
addiu $2,$2,%lo(qdma_dvt_init)
jalr $2
nop
sw $2,28($sp)
lw $2,28($sp)
beq $2,$0,$L717
nop
lw $2,28($sp)
j $L718
nop
$L717:
move $2,$0
$L718:
lw $31,244($sp)
lw $fp,240($sp)
lw $23,236($sp)
lw $22,232($sp)
lw $21,228($sp)
lw $20,224($sp)
lw $19,220($sp)
lw $18,216($sp)
lw $17,212($sp)
lw $16,208($sp)
addiu $sp,$sp,248
j $31
nop
.set macro
.set reorder
.end qdma_module_init
.size qdma_module_init, .-qdma_module_init
.globl init_module
init_module = qdma_module_init
.rdata
.align 2
.type __param_str_physical_size, @object
.size __param_str_physical_size, 14
__param_str_physical_size:
.ascii "physical_size\000"
.section __param,"a",@progbits
.align 2
.type __param_physical_size, @object
.size __param_physical_size, 16
__param_physical_size:
.word __param_str_physical_size
.word param_ops_uint
.half 0
.byte -1
.byte 0
.word physical_size
.section .modinfo,"a",@progbits
.type __UNIQUE_ID_physical_sizetype0, @object
.size __UNIQUE_ID_physical_sizetype0, 28
__UNIQUE_ID_physical_sizetype0:
.ascii "parmtype=physical_size:uint\000"
.rdata
.align 2
.type __param_str_macType, @object
.size __param_str_macType, 8
__param_str_macType:
.ascii "macType\000"
.section __param
.align 2
.type __param_macType, @object
.size __param_macType, 16
__param_macType:
.word __param_str_macType
.word param_ops_uint
.half 0
.byte -1
.byte 0
.word macType
.section .modinfo
.type __UNIQUE_ID_macTypetype1, @object
.size __UNIQUE_ID_macTypetype1, 22
__UNIQUE_ID_macTypetype1:
.ascii "parmtype=macType:uint\000"
.ident "GCC: (Buildroot 2015.08.1) 4.9.3"