/Linux-v4.19/drivers/pwm/ |
D | pwm-fsl-ftm.c | 109 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_request() local 111 ret = clk_prepare_enable(fpc->ipg_clk); in fsl_pwm_request() 112 if (!ret && fpc->soc->has_enable_bits) { in fsl_pwm_request() 113 mutex_lock(&fpc->lock); in fsl_pwm_request() 114 regmap_update_bits(fpc->regmap, FTM_SC, BIT(pwm->hwpwm + 16), in fsl_pwm_request() 116 mutex_unlock(&fpc->lock); in fsl_pwm_request() 124 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_free() local 126 if (fpc->soc->has_enable_bits) { in fsl_pwm_free() 127 mutex_lock(&fpc->lock); in fsl_pwm_free() 128 regmap_update_bits(fpc->regmap, FTM_SC, BIT(pwm->hwpwm + 16), in fsl_pwm_free() [all …]
|
/Linux-v4.19/arch/s390/kernel/ |
D | traps.c | 128 static inline void do_fp_trap(struct pt_regs *regs, __u32 fpc) in do_fp_trap() argument 132 if ((fpc & 0x00000300) == 0) { in do_fp_trap() 134 if (fpc & 0x8000) /* invalid fp operation */ in do_fp_trap() 136 else if (fpc & 0x4000) /* div by 0 */ in do_fp_trap() 138 else if (fpc & 0x2000) /* overflow */ in do_fp_trap() 140 else if (fpc & 0x1000) /* underflow */ in do_fp_trap() 142 else if (fpc & 0x0800) /* inexact */ in do_fp_trap() 207 vic = (current->thread.fpu.fpc & 0xf00) >> 8; in vector_exception() 235 if (current->thread.fpu.fpc & FPC_DXC_MASK) in data_exception() 240 do_fp_trap(regs, current->thread.fpu.fpc); in data_exception()
|
D | fpu.c | 26 asm volatile("stfpc %0" : "=m" (state->fpc)); in __kernel_fpu_begin() 108 asm volatile("lfpc %0" : : "Q" (state->fpc)); in __kernel_fpu_end()
|
D | process.c | 156 current->thread.fpu.fpc = 0; in execve_tail() 166 fpregs->fpc = current->thread.fpu.fpc; in dump_fpu()
|
D | crash_dump.c | 46 u32 fpc; member 93 memcpy(&sa->fpc, &lc->fpt_creg_save_area, sizeof(sa->fpc)); in save_area_add_regs() 369 memcpy(&nt_fpregset.fpc, &sa->fpc, sizeof(sa->fpc)); in fill_cpu_elf_notes()
|
D | ptrace.c | 246 } else if (addr == (addr_t) &dummy->regs.fp_regs.fpc) { in __peek_user() 250 tmp = child->thread.fpu.fpc; in __peek_user() 388 } else if (addr == (addr_t) &dummy->regs.fp_regs.fpc) { in __poke_user() 395 child->thread.fpu.fpc = data >> (BITS_PER_LONG - 32); in __poke_user() 623 } else if (addr == (addr_t) &dummy32->regs.fp_regs.fpc) { in __peek_user_compat() 627 tmp = child->thread.fpu.fpc; in __peek_user_compat() 746 } else if (addr == (addr_t) &dummy32->regs.fp_regs.fpc) { in __poke_user_compat() 752 child->thread.fpu.fpc = data; in __poke_user_compat() 965 fp_regs.fpc = target->thread.fpu.fpc; in s390_fpregs_get() 990 u32 ufpc[2] = { target->thread.fpu.fpc, 0 }; in s390_fpregs_set() [all …]
|
D | compat_linux.h | 30 unsigned int fpc; member
|
D | asm-offsets.c | 31 OFFSET(__THREAD_FPU_fpc, thread_struct, fpu.fpc); in main()
|
D | compat_signal.c | 101 if (test_fp_ctl(user_sregs.fpregs.fpc)) in restore_sigregs32()
|
D | signal.c | 152 if (test_fp_ctl(user_sregs.fpregs.fpc)) in restore_sigregs()
|
/Linux-v4.19/arch/s390/include/asm/fpu/ |
D | internal.h | 44 fpregs->fpc = fpu->fpc; in fpregs_store() 54 fpu->fpc = fpregs->fpc; in fpregs_load()
|
D | types.h | 15 __u32 fpc; /* Floating-point control */ member 31 u32 fpc; member
|
D | api.h | 51 static inline int test_fp_ctl(u32 fpc) in test_fp_ctl() argument 64 : "d" (fpc), "0" (-EINVAL)); in test_fp_ctl()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/ |
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() 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) && !nv_crtc->fp_users) { in nv04_dfp_update_fp_control() 141 nv_crtc->dpms_saved_fp_control = *fpc; in nv04_dfp_update_fp_control() [all …]
|
/Linux-v4.19/arch/s390/include/uapi/asm/ |
D | kvm.h | 183 __u32 fpc; member 251 __u32 fpc; /* valid on KVM_SYNC_VRS or KVM_SYNC_FPRS */ member
|
D | sigcontext.h | 56 unsigned int fpc; member
|
D | ptrace.h | 200 __u32 fpc; member
|
/Linux-v4.19/tools/arch/s390/include/uapi/asm/ |
D | kvm.h | 183 __u32 fpc; member 251 __u32 fpc; /* valid on KVM_SYNC_VRS or KVM_SYNC_FPRS */ member
|
D | ptrace.h | 200 __u32 fpc; member
|
/Linux-v4.19/drivers/media/platform/omap3isp/ |
D | ispccdc.c | 570 isp_reg_writel(isp, ccdc->fpc.dma, OMAP3_ISP_IOMEM_CCDC, in ccdc_configure_fpc() 573 isp_reg_writel(isp, (ccdc->fpc.fpnum << ISPCCDC_FPC_FPNUM_SHIFT), in ccdc_configure_fpc() 575 isp_reg_writel(isp, (ccdc->fpc.fpnum << ISPCCDC_FPC_FPNUM_SHIFT) | in ccdc_configure_fpc() 710 struct omap3isp_ccdc_fpc fpc; in ccdc_config() local 721 if (copy_from_user(&fpc, ccdc_struct->fpc, sizeof(fpc))) in ccdc_config() 724 size = fpc.fpnum * 4; in ccdc_config() 730 fpc_new.fpnum = fpc.fpnum; in ccdc_config() 738 (__force void __user *)(long)fpc.fpcaddr, in ccdc_config() 745 fpc_old = ccdc->fpc; in ccdc_config() 746 ccdc->fpc = fpc_new; in ccdc_config() [all …]
|
D | ispccdc.h | 146 struct ispccdc_fpc fpc; member
|
/Linux-v4.19/arch/s390/kvm/ |
D | kvm-s390.c | 2555 current->thread.fpu.fpc = 0; in kvm_s390_vcpu_initial_reset() 2979 if (test_fp_ctl(fpu->fpc)) { in kvm_arch_vcpu_ioctl_set_fpu() 2983 vcpu->run->s.regs.fpc = fpu->fpc; in kvm_arch_vcpu_ioctl_set_fpu() 3006 fpu->fpc = vcpu->run->s.regs.fpc; in kvm_arch_vcpu_ioctl_get_fpu() 3559 vcpu->arch.host_fpregs.fpc = current->thread.fpu.fpc; in sync_regs() 3565 current->thread.fpu.fpc = vcpu->run->s.regs.fpc; in sync_regs() 3566 if (test_fp_ctl(current->thread.fpu.fpc)) in sync_regs() 3568 current->thread.fpu.fpc = 0; in sync_regs() 3607 vcpu->run->s.regs.fpc = current->thread.fpu.fpc; in store_regs() 3609 current->thread.fpu.fpc = vcpu->arch.host_fpregs.fpc; in store_regs() [all …]
|
D | interrupt.c | 532 rc |= put_guest_lc(vcpu, current->thread.fpu.fpc, in __write_machine_check()
|
/Linux-v4.19/include/uapi/linux/ |
D | omap3isp.h | 436 struct omap3isp_ccdc_fpc __user *fpc; member
|