Lines Matching refs:to
7 * This file is subject to the terms and conditions of the GNU General Public
17 * Copy data from IO memory space to "real" memory space.
19 void memcpy_fromio(void *to, const volatile void __iomem *from, unsigned long count)
23 * to try and get aligned?
27 (((u32)to & 0x1f) == 0) && (((u32)from & 0x3) == 0)) {
53 : "=&r" (to), "=&r" (count),
56 : "7"(from), "0" (to), "1" (count)
61 if ((((u32)to | (u32)from) & 0x3) == 0) {
63 *(u32 *)to = *(volatile u32 *)from;
64 to += 4;
70 *(u8 *)to = *(volatile u8 *)from;
71 to++;
80 * Copy data from "real" memory space to IO memory space.
82 void memcpy_toio(volatile void __iomem *to, const void *from, unsigned long count)
84 if ((((u32)to | (u32)from) & 0x3) == 0) {
86 *(volatile u32 *)to = *(u32 *)from;
87 to += 4;
93 *(volatile u8 *)to = *(u8 *)from;
94 to++;
104 * This needs to be optimized.