Home
last modified time | relevance | path

Searched refs:user_fp (Results 1 – 16 of 16) sorted by relevance

/linux/arch/csky/abiv2/
A Dfpu.c149 void save_to_user_fp(struct user_fp *user_fp) in save_to_user_fp() argument
160 user_fp->fcr = tmp1; in save_to_user_fp()
161 user_fp->fesr = tmp2; in save_to_user_fp()
163 fpregs = &user_fp->vr[0]; in save_to_user_fp()
211 void restore_from_user_fp(struct user_fp *user_fp) in restore_from_user_fp() argument
219 tmp1 = user_fp->fcr; in restore_from_user_fp()
220 tmp2 = user_fp->fesr; in restore_from_user_fp()
225 fpregs = &user_fp->vr[0]; in restore_from_user_fp()
/linux/arch/csky/kernel/
A Dsignal.c19 struct user_fp user_fp; in restore_fpu_state() local
21 err = __copy_from_user(&user_fp, &sc->sc_user_fp, sizeof(user_fp)); in restore_fpu_state()
23 restore_from_user_fp(&user_fp); in restore_fpu_state()
30 struct user_fp user_fp; in save_fpu_state() local
32 save_to_user_fp(&user_fp); in save_fpu_state()
34 return __copy_to_user(&sc->sc_user_fp, &user_fp, sizeof(user_fp)); in save_fpu_state()
A Dptrace.c118 struct user_fp *regs = (struct user_fp *)&target->thread.user_fp; in fpr_get()
122 struct user_fp tmp = *regs; in fpr_get()
144 struct user_fp *regs = (struct user_fp *)&target->thread.user_fp; in fpr_set()
148 struct user_fp tmp; in fpr_set()
179 .n = sizeof(struct user_fp) / sizeof(u32),
A Dprocess.c43 save_to_user_fp(&p->thread.user_fp); in copy_thread()
74 int dump_fpu(struct pt_regs *regs, struct user_fp *fpu) in dump_fpu()
76 memcpy(fpu, &current->thread.user_fp, sizeof(*fpu)); in dump_fpu()
A Dasm-offsets.c21 DEFINE(THREAD_FESR, offsetof(struct thread_struct, user_fp.fesr)); in main()
22 DEFINE(THREAD_FCR, offsetof(struct thread_struct, user_fp.fcr)); in main()
23 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, user_fp.vr)); in main()
/linux/arch/csky/abiv2/inc/abi/
A Dfpu.h14 void save_to_user_fp(struct user_fp *user_fp);
15 void restore_from_user_fp(struct user_fp *user_fp);
/linux/arch/csky/include/asm/
A Dswitch_to.h12 save_to_user_fp(&prev->thread.user_fp); in __switch_to_fpu()
13 restore_from_user_fp(&next->thread.user_fp); in __switch_to_fpu()
A Dprocessor.h47 struct user_fp __aligned(16) user_fp;
A Delf.h32 typedef struct user_fp elf_fpregset_t;
/linux/arch/arm/include/asm/
A Duser.h34 struct user_fp { struct
76 struct user_fp u_fp; /* FP state */
A Delf.h23 typedef struct user_fp elf_fpregset_t;
/linux/arch/nds32/include/asm/
A Delf.h109 struct user_fp { struct
114 typedef struct user_fp elf_fpregset_t; argument
/linux/arch/arm/nwfpe/
A DChangeLog46 as a struct user_fp (see user.h). This pointer was cast to a
47 FPA11*. Unfortunately FPA11 and user_fp are of different sizes;
48 user_fp is smaller. This meant that the FPE scribbled on things
53 * user_fp and FPA11 have now been harmonized. Most of the changes
/linux/arch/csky/include/uapi/asm/
A Dsigcontext.h10 struct user_fp sc_user_fp;
A Dptrace.h42 struct user_fp { struct
/linux/arch/arm/kernel/
A Dptrace.c578 sizeof(struct user_fp)); in fpa_get()
592 0, sizeof(struct user_fp)); in fpa_set()
698 .n = sizeof(struct user_fp) / sizeof(u32),

Completed in 17 milliseconds