Home
last modified time | relevance | path

Searched refs:fpc (Results 1 – 25 of 31) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/pwm/
H A Dpwm-fsl-ftm.c62 static void ftm_clear_write_protection(struct fsl_pwm_chip *fpc) in ftm_clear_write_protection() argument
66 regmap_read(fpc->regmap, FTM_FMS, &val); in ftm_clear_write_protection()
68 regmap_update_bits(fpc->regmap, FTM_MODE, FTM_MODE_WPDIS, in ftm_clear_write_protection()
72 static void ftm_set_write_protection(struct fsl_pwm_chip *fpc) in ftm_set_write_protection() argument
74 regmap_update_bits(fpc->regmap, FTM_FMS, FTM_FMS_WPEN, FTM_FMS_WPEN); in ftm_set_write_protection()
92 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); in fsl_pwm_request() local
94 ret = clk_prepare_enable(fpc->ipg_clk); in fsl_pwm_request()
95 if (!ret && fpc->soc->has_enable_bits) { in fsl_pwm_request()
96 mutex_lock(&fpc->lock); in fsl_pwm_request()
97 regmap_update_bits(fpc->regmap, FTM_SC, BIT(pwm->hwpwm + 16), in fsl_pwm_request()
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/lpc10/
H A Donset.c126 real *fpc; in onset_() local
179 fpc = &(st->fpc); in onset_()
214 *fpc = r_sign(&c_b2, n); in onset_()
216 *fpc = (*n) / (*d__); in onset_()
240 *l2sum1 = *l2sum1 - l2buf[*l2ptr2 - 1] + *fpc; in onset_()
242 l2buf[*l2ptr1 - 1] = *fpc; in onset_()
H A Dlpc10.h130 real fpc; /* no initial value necessary */ member
/OK3568_Linux_fs/kernel/arch/s390/kernel/
H A Dtraps.c120 static inline void do_fp_trap(struct pt_regs *regs, __u32 fpc) in do_fp_trap() argument
124 if ((fpc & 0x00000300) == 0) { in do_fp_trap()
126 if (fpc & 0x8000) /* invalid fp operation */ in do_fp_trap()
128 else if (fpc & 0x4000) /* div by 0 */ in do_fp_trap()
130 else if (fpc & 0x2000) /* overflow */ in do_fp_trap()
132 else if (fpc & 0x1000) /* underflow */ in do_fp_trap()
134 else if (fpc & 0x0800) /* inexact */ in do_fp_trap()
199 vic = (current->thread.fpu.fpc & 0xf00) >> 8; in vector_exception()
225 if (current->thread.fpu.fpc & FPC_DXC_MASK) in data_exception()
226 do_fp_trap(regs, current->thread.fpu.fpc); in data_exception()
H A Dfpu.c26 asm volatile("stfpc %0" : "=Q" (state->fpc)); in __kernel_fpu_begin()
108 asm volatile("lfpc %0" : : "Q" (state->fpc)); in __kernel_fpu_end()
H A Dptrace.c243 } else if (addr == (addr_t) &dummy->regs.fp_regs.fpc) { in __peek_user()
247 tmp = child->thread.fpu.fpc; in __peek_user()
410 } else if (addr == (addr_t) &dummy->regs.fp_regs.fpc) { in __poke_user()
417 child->thread.fpu.fpc = data >> (BITS_PER_LONG - 32); in __poke_user()
645 } else if (addr == (addr_t) &dummy32->regs.fp_regs.fpc) { in __peek_user_compat()
649 tmp = child->thread.fpu.fpc; in __peek_user_compat()
772 } else if (addr == (addr_t) &dummy32->regs.fp_regs.fpc) { in __poke_user_compat()
778 child->thread.fpu.fpc = data; in __poke_user_compat()
1003 fp_regs.fpc = target->thread.fpu.fpc; in s390_fpregs_get()
1027 u32 ufpc[2] = { target->thread.fpu.fpc, 0 }; in s390_fpregs_set()
[all …]
H A Dcrash_dump.c45 u32 fpc; member
95 memcpy(&sa->fpc, &lc->fpt_creg_save_area, sizeof(sa->fpc)); in save_area_add_regs()
371 memcpy(&nt_fpregset.fpc, &sa->fpc, sizeof(sa->fpc)); in fill_cpu_elf_notes()
H A Dcompat_linux.h30 unsigned int fpc; member
H A Dprocess.c169 current->thread.fpu.fpc = 0; in execve_tail()
/OK3568_Linux_fs/kernel/arch/s390/include/asm/fpu/
H A Dinternal.h44 fpregs->fpc = fpu->fpc; in fpregs_store()
54 fpu->fpc = fpregs->fpc; in fpregs_load()
H A Dtypes.h15 __u32 fpc; /* Floating-point control */ member
31 u32 fpc; member
H A Dapi.h51 static inline int test_fp_ctl(u32 fpc) in test_fp_ctl() argument
64 : "d" (fpc), "0" (-EINVAL)); in test_fp_ctl()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv04/
H A Ddfp.c49 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 …]
/OK3568_Linux_fs/kernel/drivers/media/platform/omap3isp/
H A Dispccdc.c567 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.fpcaddr, in ccdc_config()
742 fpc_old = ccdc->fpc; in ccdc_config()
743 ccdc->fpc = fpc_new; in ccdc_config()
[all …]
H A Dispccdc.h143 struct ispccdc_fpc fpc; member
/OK3568_Linux_fs/kernel/arch/s390/include/uapi/asm/
H A Dkvm.h188 __u32 fpc; member
264 __u32 fpc; /* valid on KVM_SYNC_VRS or KVM_SYNC_FPRS */ member
H A Dsigcontext.h56 unsigned int fpc; member
H A Dptrace.h200 __u32 fpc; member
/OK3568_Linux_fs/kernel/tools/arch/s390/include/uapi/asm/
H A Dkvm.h188 __u32 fpc; member
264 __u32 fpc; /* valid on KVM_SYNC_VRS or KVM_SYNC_FPRS */ member
H A Dptrace.h200 __u32 fpc; member
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/s390x/
H A Dresets.c151 TEST_ASSERT(sync_regs->fpc == 0, "fpc == 0 (sync_regs)"); in assert_initial()
163 TEST_ASSERT(!fpu.fpc, "fpc == 0"); in assert_initial()
/OK3568_Linux_fs/kernel/arch/s390/kvm/
H A Dkvm-s390.c3572 vcpu->run->s.regs.fpc = 0; in kvm_arch_vcpu_ioctl_initial_reset()
3648 if (test_fp_ctl(fpu->fpc)) { in kvm_arch_vcpu_ioctl_set_fpu()
3652 vcpu->run->s.regs.fpc = fpu->fpc; in kvm_arch_vcpu_ioctl_set_fpu()
3675 fpu->fpc = vcpu->run->s.regs.fpc; in kvm_arch_vcpu_ioctl_get_fpu()
4291 vcpu->arch.host_fpregs.fpc = current->thread.fpu.fpc; in sync_regs()
4297 current->thread.fpu.fpc = vcpu->run->s.regs.fpc; in sync_regs()
4298 if (test_fp_ctl(current->thread.fpu.fpc)) in sync_regs()
4300 current->thread.fpu.fpc = 0; in sync_regs()
4364 vcpu->run->s.regs.fpc = current->thread.fpu.fpc; in store_regs()
4366 current->thread.fpu.fpc = vcpu->arch.host_fpregs.fpc; in store_regs()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Domap3isp.h416 struct omap3isp_ccdc_fpc *fpc; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Domap3isp.h416 struct omap3isp_ccdc_fpc *fpc; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Domap3isp.h436 struct omap3isp_ccdc_fpc __user *fpc; member

12