Lines Matching defs:from
5 #define movs(type,to,from) \
6 asm volatile("movs" type:"=&D" (to), "=&S" (from):"0" (to), "1" (from):"memory")
8 /* Originally from i386/string.h */
9 static __always_inline void rep_movs(void *to, const void *from, size_t n)
21 : "0" (n / 4), "q" (n), "1" ((long)to), "2" ((long)from)
25 void memcpy_fromio(void *to, const volatile void __iomem *from, size_t n)
31 if (unlikely(1 & (unsigned long)from)) {
32 movs("b", to, from);
35 if (n > 1 && unlikely(2 & (unsigned long)from)) {
36 movs("w", to, from);
39 rep_movs(to, (const void *)from, n);
43 void memcpy_toio(volatile void __iomem *to, const void *from, size_t n)
50 movs("b", to, from);
54 movs("w", to, from);
57 rep_movs((void *)to, (const void *) from, n);