Lines Matching defs:to
23 to copy between a card and kernel memory. These routines do 32-bit
33 static inline void copy_pc_to_user(void *to, const void *from, size_t n)
38 put_user(__raw_readl(from), (int *)to);
39 (char *)from += 4; (char *)to += 4; n -= 4;
42 put_user(readb((char *)from++), (char *)to++);
45 static inline void copy_user_to_pc(void *to, const void *from, size_t n)
53 __raw_writel(l, to);
54 (char *)to += 4; (char *)from += 4; n -= 4;
58 writeb(c, (char *)to++);
64 static inline void copy_from_pc(void *to, void __iomem *from, size_t n)
66 __u16 *t = to;
75 static inline void copy_to_pc(void __iomem *to, const void *from, size_t n)
77 __u16 __iomem *t = to;
86 static inline void copy_pc_to_user(void __user *to, void __iomem *from, size_t n)
88 __u16 __user *t = to;
97 static inline void copy_user_to_pc(void __iomem *to, void __user *from, size_t n)
100 __u16 __iomem *t = to;