Lines Matching refs:to
14 * Copy data from IO memory space to "real" memory space.
16 void memcpy_fromio(void *to, const volatile void __iomem *from, unsigned long count)
20 * to try and get aligned?
24 (((u32)to & 0x1f) == 0) && (((u32)from & 0x3) == 0)) {
50 : "=&r" (to), "=&r" (count),
53 : "7"(from), "0" (to), "1" (count)
58 if ((((u32)to | (u32)from) & 0x3) == 0) {
60 *(u32 *)to = *(volatile u32 *)from;
61 to += 4;
67 *(u8 *)to = *(volatile u8 *)from;
68 to++;
77 * Copy data from "real" memory space to IO memory space.
79 void memcpy_toio(volatile void __iomem *to, const void *from, unsigned long count)
81 if ((((u32)to | (u32)from) & 0x3) == 0) {
83 *(volatile u32 *)to = *(u32 *)from;
84 to += 4;
90 *(volatile u8 *)to = *(u8 *)from;
91 to++;
101 * This needs to be optimized.