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