7 #include <linux/module.h>
10 #include <asm/byteorder.h>
41 switch (((
unsigned long)src) & 0x3) {
52 l = (*(
u16 *)src) << 16;
53 l |= *(
u16 *)(src +
sizeof(
u16));
60 l = (*(
u8 *)src) << 24;
61 l |= (*(
u16 *)(src +
sizeof(
u8))) << 8;
62 src +=
sizeof(
u8) +
sizeof(
u16);
73 l = (*(
u8 *)src) << 24;
95 while ((((
unsigned long)pb) & 0x3) && count--)
101 w = (
inb(addr) << 24);
102 w |= (
inb(addr) << 16);
103 w |= (
inb(addr) << 8);
104 w |= (
inb(addr) << 0);
123 if (((
unsigned long)ps) & 0x2) {
148 if ((((
unsigned long)dst) & 0x3) == 0) {
157 switch (((
unsigned long)dst) & 3) {
166 *pi++ = (l << 16) | (l2 >> 16);
179 *ps++ = ((l >> 8) & 0xffff);
183 *pi++ = (l << 24) | (l2 >> 8);
198 *pi++ = (l << 8) | (l2 >> 24);
202 *ps++ = ((l >> 8) & 0xffff);