2 * linux/arch/arm/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>
33 .outsb_align: rsb ip, ip, #4
47 teq r2, #0 @ do we have to check for the zero len?
52 .outsb_aligned: stmfd sp!, {r4, r5, lr}
57 .outsb_16_lp: ldmia r1!, {r3, r4, r5, ip}
66 LOADREGS(eqfd, sp!, {r4, r5, pc})
68 .outsb_no_16: tst r2, #8
75 .outsb_no_8: tst r2, #4
81 .outsb_no_4: ands r2, r2, #3
82 LOADREGS(eqfd, sp!, {r4, r5, pc})
92 LOADREGS(fd, sp!, {r4, r5, pc})