/linux-master/drivers/pwm/ |
H A D | pwm-fsl-ftm.c | 60 static void ftm_clear_write_protection(struct fsl_pwm_chip *fpc) argument 64 regmap_read(fpc->regmap, FTM_FMS, &val); 66 regmap_set_bits(fpc->regmap, FTM_MODE, FTM_MODE_WPDIS); 69 static void ftm_set_write_protection(struct fsl_pwm_chip *fpc) argument 71 regmap_set_bits(fpc->regmap, FTM_FMS, FTM_FMS_WPEN); 89 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); local 91 ret = clk_prepare_enable(fpc->ipg_clk); 92 if (!ret && fpc->soc->has_enable_bits) { 93 mutex_lock(&fpc->lock); 94 regmap_set_bits(fpc 103 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); local 114 fsl_pwm_ticks_to_ns(struct fsl_pwm_chip *fpc, unsigned int ticks) argument 127 fsl_pwm_calculate_period_clk(struct fsl_pwm_chip *fpc, unsigned int period_ns, enum fsl_pwm_clk index, struct fsl_pwm_periodcfg *periodcfg ) argument 154 fsl_pwm_calculate_period(struct fsl_pwm_chip *fpc, unsigned int period_ns, struct fsl_pwm_periodcfg *periodcfg) argument 185 fsl_pwm_calculate_duty(struct fsl_pwm_chip *fpc, unsigned int duty_ns) argument 199 fsl_pwm_is_any_pwm_enabled(struct fsl_pwm_chip *fpc, struct pwm_device *pwm) argument 211 fsl_pwm_is_other_pwm_enabled(struct fsl_pwm_chip *fpc, struct pwm_device *pwm) argument 227 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); local 299 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); local 355 fsl_pwm_init(struct fsl_pwm_chip *fpc) argument 396 struct fsl_pwm_chip *fpc; local 464 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); local 491 struct fsl_pwm_chip *fpc = to_fsl_chip(chip); local [all...] |
/linux-master/arch/s390/include/asm/ |
H A D | fpu-types.h | 15 u32 fpc; member in struct:fpu 21 u32 fpc; member in struct:kernel_fpu_hdr
|
H A D | fpu-insn.h | 83 static __always_inline void fpu_lfpc(unsigned int *fpc) argument 85 instrument_read(fpc, sizeof(*fpc)); 86 asm volatile("lfpc %[fpc]" 88 : [fpc] "Q" (*fpc) 94 * @fpc: new value for floating point control register 101 static inline void fpu_lfpc_safe(unsigned int *fpc) argument 105 instrument_read(fpc, sizeof(*fpc)); 129 fpu_sfpc(unsigned int fpc) argument 137 fpu_stfpc(unsigned int *fpc) argument [all...] |
H A D | fpu.h | 285 fpregs->fpc = fpu->fpc; 291 fpu->fpc = fpregs->fpc;
|
/linux-master/arch/s390/kernel/ |
H A D | traps.c | 126 static inline void do_fp_trap(struct pt_regs *regs, __u32 fpc) argument 130 if ((fpc & 0x00000300) == 0) { 132 if (fpc & 0x8000) /* invalid fp operation */ 134 else if (fpc & 0x4000) /* div by 0 */ 136 else if (fpc & 0x2000) /* overflow */ 138 else if (fpc & 0x1000) /* underflow */ 140 else if (fpc & 0x0800) /* inexact */ 203 /* get vector interrupt code from fpc */ 205 vic = (current->thread.ufpu.fpc & 0xf00) >> 8; 231 if (current->thread.ufpu.fpc [all...] |
H A D | fpu.c | 24 fpu_stfpc(&state->hdr.fpc); 73 fpu_lfpc(&state->hdr.fpc); 116 fpu_lfpc(&state->fpc); 158 fpu_stfpc(&state->fpc);
|
H A D | crash_dump.c | 48 u32 fpc; member in struct:save_area 98 memcpy(&sa->fpc, &lc->fpt_creg_save_area, sizeof(sa->fpc)); 313 memcpy(&nt_fpregset.fpc, &sa->fpc, sizeof(sa->fpc));
|
H A D | compat_linux.h | 30 unsigned int fpc; member in struct:__anon56
|
H A D | ptrace.c | 246 } else if (addr == offsetof(struct user, regs.fp_regs.fpc)) { 250 tmp = child->thread.ufpu.fpc; 386 } else if (addr == offsetof(struct user, regs.fp_regs.fpc)) { 392 child->thread.ufpu.fpc = data >> (BITS_PER_LONG - 32); 608 } else if (addr == offsetof(struct compat_user, regs.fp_regs.fpc)) { 612 tmp = child->thread.ufpu.fpc; 727 } else if (addr == offsetof(struct compat_user, regs.fp_regs.fpc)) { 731 child->thread.ufpu.fpc = data; 871 fp_regs.fpc = target->thread.ufpu.fpc; [all...] |
H A D | process.c | 193 current->thread.ufpu.fpc = 0;
|
/linux-master/arch/s390/include/uapi/asm/ |
H A D | sigcontext.h | 56 unsigned int fpc; member in struct:__anon963
|
H A D | kvm.h | 518 __u32 fpc; member in struct:kvm_fpu 594 __u32 fpc; /* valid on KVM_SYNC_VRS or KVM_SYNC_FPRS */ member in struct:kvm_sync_regs
|
H A D | ptrace.h | 261 __u32 fpc; member in struct:__anon3
|
/linux-master/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | dfp.c | 49 static inline bool is_fpc_off(uint32_t fpc) argument 51 return ((fpc & (FP_TG_CONTROL_ON | FP_TG_CONTROL_OFF)) == 118 uint32_t *fpc; local 122 fpc = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].fp_control; 124 if (is_fpc_off(*fpc)) { 127 * fpc's most recent change was by below "off" code 129 *fpc = nv_crtc->dpms_saved_fp_control; 133 NVWriteRAMDAC(dev, nv_crtc->index, NV_PRAMDAC_FP_TG_CONTROL, *fpc); 137 fpc = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].fp_control; 140 if (!is_fpc_off(*fpc) [all...] |
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | ispccdc.h | 113 * @fpc: Faulty pixels correction configuration 143 struct ispccdc_fpc fpc; member in struct:isp_ccdc_device
|
H A D | ispccdc.c | 567 isp_reg_writel(isp, ccdc->fpc.dma, OMAP3_ISP_IOMEM_CCDC, 570 isp_reg_writel(isp, (ccdc->fpc.fpnum << ISPCCDC_FPC_FPNUM_SHIFT), 572 isp_reg_writel(isp, (ccdc->fpc.fpnum << ISPCCDC_FPC_FPNUM_SHIFT) | 707 struct omap3isp_ccdc_fpc fpc; local 718 if (copy_from_user(&fpc, ccdc_struct->fpc, sizeof(fpc))) 721 size = fpc.fpnum * 4; 727 fpc_new.fpnum = fpc.fpnum; 735 (__force void __user *)(long)fpc [all...] |
/linux-master/tools/testing/selftests/kvm/s390x/ |
H A D | resets.c | 37 " sfpc 2\n" /* set fpc to !=0 */ 151 TEST_ASSERT(sync_regs->fpc == 0, "fpc == 0 (sync_regs)"); 163 TEST_ASSERT(!fpu.fpc, "fpc == 0");
|
/linux-master/tools/arch/s390/include/uapi/asm/ |
H A D | kvm.h | 518 __u32 fpc; member in struct:kvm_fpu 594 __u32 fpc; /* valid on KVM_SYNC_VRS or KVM_SYNC_FPRS */ member in struct:kvm_sync_regs
|
/linux-master/arch/s390/kvm/ |
H A D | kvm-s390.h | 25 fpu_stfpc(&run->s.regs.fpc); 34 fpu_lfpc_safe(&run->s.regs.fpc);
|
H A D | kvm-s390.c | 4243 vcpu->run->s.regs.fpc = 0; 4319 vcpu->run->s.regs.fpc = fpu->fpc; 4339 fpu->fpc = vcpu->run->s.regs.fpc; 5142 &vcpu->run->s.regs.fpc, 4);
|
H A D | interrupt.c | 651 rc |= put_guest_lc(vcpu, vcpu->run->s.regs.fpc,
|
/linux-master/include/uapi/linux/ |
H A D | omap3isp.h | 431 * @fpc: Number of faulty pixels corrected in the frame, address of FPC table. 441 struct omap3isp_ccdc_fpc __user *fpc; member in struct:omap3isp_ccdc_update_config
|