| /linux/arch/s390/include/asm/ |
| H A D | fpu-insn.h | 85 static __always_inline void fpu_lfpc(unsigned int *fpc) in fpu_lfpc() argument 87 instrument_read(fpc, sizeof(*fpc)); in fpu_lfpc() 90 : [fpc] "Q" (*fpc) in fpu_lfpc() 103 static inline void fpu_lfpc_safe(unsigned int *fpc) in fpu_lfpc_safe() argument 105 instrument_read(fpc, sizeof(*fpc)); in fpu_lfpc_safe() 111 : [fpc] "Q" (*fpc) in fpu_lfpc_safe() 124 static __always_inline void fpu_sfpc(unsigned int fpc) in fpu_sfpc() argument 128 : [fpc] "d" (fpc) in fpu_sfpc() 132 static __always_inline void fpu_stfpc(unsigned int *fpc) in fpu_stfpc() argument 134 instrument_write(fpc, sizeof(*fpc)); in fpu_stfpc() [all …]
|
| H A D | fpu-types.h | 15 u32 fpc; member 21 u32 fpc; member
|
| /linux/arch/s390/kernel/ |
| H A D | traps.c | 129 static inline void do_fp_trap(struct pt_regs *regs, __u32 fpc) in do_fp_trap() 134 if ((fpc & 0x00000300) == 0) { in do_fp_trap() 136 if (fpc & 0x8000) /* invalid fp operation */ in do_fp_trap() 138 else if (fpc & 0x4000) /* div by 0 */ in do_fp_trap() 140 else if (fpc & 0x2000) /* overflow */ in do_fp_trap() 142 else if (fpc & 0x1000) /* underflow */ in do_fp_trap() 144 else if (fpc & 0x0800) /* inexact */ in do_fp_trap() 198 /* get vector interrupt code from fpc */ in vector_exception() 200 vic = (current->thread.ufpu.fpc & 0xf00) >> 8; in vector_exception() 226 if (current->thread.ufpu.fpc in data_exception() 127 do_fp_trap(struct pt_regs * regs,__u32 fpc) do_fp_trap() argument [all...] |
| H A D | fpu.c | 26 fpu_stfpc(&state->hdr.fpc); in __kernel_fpu_begin() 75 fpu_lfpc(&state->hdr.fpc); in __kernel_fpu_end() 118 fpu_lfpc_safe(&state->fpc); in load_fpu_state() 160 fpu_stfpc(&state->fpc); in save_fpu_state()
|
| H A D | ptrace.c | 254 } else if (addr == offsetof(struct user, regs.fp_regs.fpc)) { in __peek_user() 258 tmp = child->thread.ufpu.fpc; in __peek_user() 401 } else if (addr == offsetof(struct user, regs.fp_regs.fpc)) { in __poke_user() 407 child->thread.ufpu.fpc = data >> (BITS_PER_LONG - 32); in __poke_user() 584 fp_regs.fpc = target->thread.ufpu.fpc; in s390_fpregs_set() 602 u32 ufpc[2] = { target->thread.ufpu.fpc, 0 }; 609 target->thread.ufpu.fpc = ufpc[0];
|
| H A D | crash_dump.c | 49 u32 fpc; member 97 memcpy(&sa->fpc, &lc->fpt_creg_save_area, sizeof(sa->fpc)); in save_area_add_regs() 309 memcpy(&nt_fpregset.fpc, &sa->fpc, sizeof(sa->fpc)); in fill_cpu_elf_notes()
|
| H A D | process.c | 181 current->thread.ufpu.fpc = 0; in execve_tail()
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | dfp.c | 49 static inline bool is_fpc_off(uint32_t fpc) in is_fpc_off() argument 51 return ((fpc & (FP_TG_CONTROL_ON | FP_TG_CONTROL_OFF)) == in is_fpc_off() 118 uint32_t *fpc; in nv04_dfp_update_fp_control() local 122 fpc = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].fp_control; in nv04_dfp_update_fp_control() 124 if (is_fpc_off(*fpc)) { in nv04_dfp_update_fp_control() 127 * fpc's most recent change was by below "off" code in nv04_dfp_update_fp_control() 129 *fpc = nv_crtc->dpms_saved_fp_control; in nv04_dfp_update_fp_control() 133 NVWriteRAMDAC(dev, nv_crtc->index, NV_PRAMDAC_FP_TG_CONTROL, *fpc); in nv04_dfp_update_fp_control() 137 fpc = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].fp_control; in nv04_dfp_update_fp_control() 140 if (!is_fpc_off(*fpc) in nv04_dfp_update_fp_control() [all...] |
| /linux/drivers/media/platform/ti/omap3isp/ |
| H A D | ispccdc.c | 567 isp_reg_writel(isp, ccdc->fpc.dma, OMAP3_ISP_IOMEM_CCDC, in ccdc_configure_fpc() 570 isp_reg_writel(isp, (ccdc->fpc.fpnum << ISPCCDC_FPC_FPNUM_SHIFT), in ccdc_configure_fpc() 572 isp_reg_writel(isp, (ccdc->fpc.fpnum << ISPCCDC_FPC_FPNUM_SHIFT) | in ccdc_configure_fpc() 707 struct omap3isp_ccdc_fpc fpc; in ccdc_config() local 718 if (copy_from_user(&fpc, ccdc_struct->fpc, sizeof(fpc))) in ccdc_config() 721 size = fpc.fpnum * 4; in ccdc_config() 727 fpc_new.fpnum = fpc.fpnum; in ccdc_config() 735 (__force void __user *)(long)fpc in ccdc_config() [all...] |
| H A D | ispccdc.h | 143 struct ispccdc_fpc fpc; member
|
| /linux/tools/testing/selftests/kvm/s390/ |
| H A D | resets.c | 151 TEST_ASSERT(sync_regs->fpc == 0, "fpc == 0 (sync_regs)"); in assert_initial() 163 TEST_ASSERT(!fpu.fpc, "fpc == 0"); in assert_initial()
|
| /linux/tools/arch/s390/include/uapi/asm/ |
| H A D | kvm.h | 520 __u32 fpc; member 596 __u32 fpc; /* valid on KVM_SYNC_VRS or KVM_SYNC_FPRS */ member
|
| /linux/arch/s390/kvm/s390/ |
| H A D | s390.h | 37 fpu_stfpc(&run->s.regs.fpc); in kvm_s390_fpu_store() 46 fpu_lfpc_safe(&run->s.regs.fpc); in kvm_s390_fpu_load()
|
| H A D | s390.c | 4069 vcpu->run->s.regs.fpc = 0; in kvm_arch_vcpu_ioctl_initial_reset() 4143 vcpu->run->s.regs.fpc = fpu->fpc; in kvm_arch_vcpu_ioctl_get_sregs() 4163 fpu->fpc = vcpu->run->s.regs.fpc; in kvm_arch_vcpu_ioctl_get_fpu() 5121 &vcpu->run->s.regs.fpc, 4); in kvm_s390_store_status_unloaded()
|
| H A D | interrupt.c | 611 rc |= put_guest_lc(vcpu, vcpu->run->s.regs.fpc, in __write_machine_check()
|
| /linux/include/uapi/linux/ |
| H A D | omap3isp.h | 441 struct omap3isp_ccdc_fpc __user *fpc; member
|