Lines Matching refs:pMem
19 static inline void loadSingle(const unsigned int Fn, const unsigned int __user *pMem) in loadSingle() argument
23 get_user(fpa11->fpreg[Fn].fSingle, pMem); in loadSingle()
26 static inline void loadDouble(const unsigned int Fn, const unsigned int __user *pMem) in loadDouble() argument
33 get_user(p[0], &pMem[0]); /* sign & exponent */ in loadDouble()
34 get_user(p[1], &pMem[1]); in loadDouble()
36 get_user(p[0], &pMem[1]); in loadDouble()
37 get_user(p[1], &pMem[0]); /* sign & exponent */ in loadDouble()
42 static inline void loadExtended(const unsigned int Fn, const unsigned int __user *pMem) in loadExtended() argument
48 get_user(p[0], &pMem[0]); /* sign & exponent */ in loadExtended()
50 get_user(p[1], &pMem[1]); /* ms bits */ in loadExtended()
51 get_user(p[2], &pMem[2]); /* ls bits */ in loadExtended()
53 get_user(p[1], &pMem[2]); /* ls bits */ in loadExtended()
54 get_user(p[2], &pMem[1]); /* ms bits */ in loadExtended()
59 static inline void loadMultiple(const unsigned int Fn, const unsigned int __user *pMem) in loadMultiple() argument
66 get_user(x, &pMem[0]); in loadMultiple()
73 get_user(p[0], &pMem[2]); /* Single */ in loadMultiple()
74 get_user(p[1], &pMem[1]); /* double msw */ in loadMultiple()
82 get_user(p[1], &pMem[2]); in loadMultiple()
83 get_user(p[2], &pMem[1]); /* msw */ in loadMultiple()
91 … void storeSingle(struct roundingData *roundData, const unsigned int Fn, unsigned int __user *pMem) in storeSingle() argument
114 put_user(val.i[0], pMem); in storeSingle()
117 … void storeDouble(struct roundingData *roundData, const unsigned int Fn, unsigned int __user *pMem) in storeDouble() argument
141 put_user(val.i[0], &pMem[0]); /* msw */ in storeDouble()
142 put_user(val.i[1], &pMem[1]); /* lsw */ in storeDouble()
144 put_user(val.i[1], &pMem[0]); /* msw */ in storeDouble()
145 put_user(val.i[0], &pMem[1]); /* lsw */ in storeDouble()
150 static inline void storeExtended(const unsigned int Fn, unsigned int __user *pMem) in storeExtended() argument
171 put_user(val.i[0], &pMem[0]); /* sign & exp */ in storeExtended()
173 put_user(val.i[1], &pMem[1]); /* msw */ in storeExtended()
174 put_user(val.i[2], &pMem[2]); in storeExtended()
176 put_user(val.i[1], &pMem[2]); in storeExtended()
177 put_user(val.i[2], &pMem[1]); /* msw */ in storeExtended()
182 static inline void storeMultiple(const unsigned int Fn, unsigned int __user *pMem) in storeMultiple() argument
194 put_user(p[0], &pMem[2]); /* single */ in storeMultiple()
195 put_user(p[1], &pMem[1]); /* double msw */ in storeMultiple()
196 put_user(nType << 14, &pMem[0]); in storeMultiple()
203 put_user(p[2], &pMem[1]); /* msw */ in storeMultiple()
204 put_user(p[1], &pMem[2]); in storeMultiple()
205 put_user((p[0] & 0x80003fff) | (nType << 14), &pMem[0]); in storeMultiple()