2 * linux/arch/arm26/lib/io-writesb.S
4 * Copyright (C) 1995-2000 Russell King
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 #include <linux/linkage.h>
11 #include <asm/assembler.h>
12 #include <asm/hardware.h>
14 .outsb_align: rsb ip, ip, #4
28 teq r2, #0 @ do we have to check for the zero len?
33 .outsb_aligned: stmfd sp!, {r4 - r6, lr}
38 .outsb_16_lp: ldmia r1!, {r3 - r6}
76 LOADREGS(eqfd, sp!, {r4 - r6, pc})
78 .outsb_no_16: tst r2, #8
99 .outsb_no_8: tst r2, #4
111 .outsb_no_4: ands r2, r2, #3
112 LOADREGS(eqfd, sp!, {r4 - r6, pc})
122 LOADREGS(fd, sp!, {r4 - r6, pc})