Lines Matching refs:pMem
31 static inline void loadSingle(const unsigned int Fn, const unsigned int __user *pMem) in loadSingle() argument
35 get_user(fpa11->fpreg[Fn].fSingle, pMem); in loadSingle()
38 static inline void loadDouble(const unsigned int Fn, const unsigned int __user *pMem) in loadDouble() argument
45 get_user(p[0], &pMem[0]); /* sign & exponent */ in loadDouble()
46 get_user(p[1], &pMem[1]); in loadDouble()
48 get_user(p[0], &pMem[1]); in loadDouble()
49 get_user(p[1], &pMem[0]); /* sign & exponent */ in loadDouble()
54 static inline void loadExtended(const unsigned int Fn, const unsigned int __user *pMem) in loadExtended() argument
60 get_user(p[0], &pMem[0]); /* sign & exponent */ in loadExtended()
62 get_user(p[1], &pMem[1]); /* ms bits */ in loadExtended()
63 get_user(p[2], &pMem[2]); /* ls bits */ in loadExtended()
65 get_user(p[1], &pMem[2]); /* ls bits */ in loadExtended()
66 get_user(p[2], &pMem[1]); /* ms bits */ in loadExtended()
71 static inline void loadMultiple(const unsigned int Fn, const unsigned int __user *pMem) in loadMultiple() argument
78 get_user(x, &pMem[0]); in loadMultiple()
85 get_user(p[0], &pMem[2]); /* Single */ in loadMultiple()
86 get_user(p[1], &pMem[1]); /* double msw */ in loadMultiple()
94 get_user(p[1], &pMem[2]); in loadMultiple()
95 get_user(p[2], &pMem[1]); /* msw */ in loadMultiple()
103 … void storeSingle(struct roundingData *roundData, const unsigned int Fn, unsigned int __user *pMem) in storeSingle() argument
126 put_user(val.i[0], pMem); in storeSingle()
129 … void storeDouble(struct roundingData *roundData, const unsigned int Fn, unsigned int __user *pMem) in storeDouble() argument
153 put_user(val.i[0], &pMem[0]); /* msw */ in storeDouble()
154 put_user(val.i[1], &pMem[1]); /* lsw */ in storeDouble()
156 put_user(val.i[1], &pMem[0]); /* msw */ in storeDouble()
157 put_user(val.i[0], &pMem[1]); /* lsw */ in storeDouble()
162 static inline void storeExtended(const unsigned int Fn, unsigned int __user *pMem) in storeExtended() argument
183 put_user(val.i[0], &pMem[0]); /* sign & exp */ in storeExtended()
185 put_user(val.i[1], &pMem[1]); /* msw */ in storeExtended()
186 put_user(val.i[2], &pMem[2]); in storeExtended()
188 put_user(val.i[1], &pMem[2]); in storeExtended()
189 put_user(val.i[2], &pMem[1]); /* msw */ in storeExtended()
194 static inline void storeMultiple(const unsigned int Fn, unsigned int __user *pMem) in storeMultiple() argument
206 put_user(p[0], &pMem[2]); /* single */ in storeMultiple()
207 put_user(p[1], &pMem[1]); /* double msw */ in storeMultiple()
208 put_user(nType << 14, &pMem[0]); in storeMultiple()
215 put_user(p[2], &pMem[1]); /* msw */ in storeMultiple()
216 put_user(p[1], &pMem[2]); in storeMultiple()
217 put_user((p[0] & 0x80003fff) | (nType << 14), &pMem[0]); in storeMultiple()