/linux-4.1.27/arch/x86/include/asm/ |
D | fpu-internal.h | 136 static inline void fx_finit(struct i387_fxsave_struct *fx) in fx_finit() argument 138 fx->cwd = 0x37f; in fx_finit() 139 fx->mxcsr = MXCSR_DEFAULT; in fx_finit() 182 static inline int fsave_user(struct i387_fsave_struct __user *fx) in fsave_user() argument 184 return user_insn(fnsave %[fx]; fwait, [fx] "=m" (*fx), "m" (*fx)); in fsave_user() 187 static inline int fxsave_user(struct i387_fxsave_struct __user *fx) in fxsave_user() argument 190 return user_insn(fxsave %[fx], [fx] "=m" (*fx), "m" (*fx)); in fxsave_user() 192 return user_insn(fxsaveq %[fx], [fx] "=m" (*fx), "m" (*fx)); in fxsave_user() 195 return user_insn(rex64/fxsave (%[fx]), "=m" (*fx), [fx] "R" (fx)); in fxsave_user() 198 static inline int fxrstor_checking(struct i387_fxsave_struct *fx) in fxrstor_checking() argument [all …]
|
D | xsave.h | 74 static inline int xsave_state_booting(struct xsave_struct *fx, u64 mask) in xsave_state_booting() argument 86 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xsave_state_booting() 92 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xsave_state_booting() 101 static inline int xrstor_state_booting(struct xsave_struct *fx, u64 mask) in xrstor_state_booting() argument 113 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xrstor_state_booting() 119 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xrstor_state_booting() 127 static inline int xsave_state(struct xsave_struct *fx, u64 mask) in xsave_state() argument 150 [fx] "D" (fx), "a" (lmask), "d" (hmask) : in xsave_state() 163 static inline int xrstor_state(struct xsave_struct *fx, u64 mask) in xrstor_state() argument 177 "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xrstor_state() [all …]
|
/linux-4.1.27/drivers/gpu/drm/via/ |
D | via_video.c | 70 drm_via_futex_t *fx = data; in via_decoder_futex() local 78 if (fx->lock >= VIA_NR_XVMC_LOCKS) in via_decoder_futex() 81 lock = (volatile int *)XVMCLOCKPTR(sAPriv, fx->lock); in via_decoder_futex() 83 switch (fx->func) { in via_decoder_futex() 85 DRM_WAIT_ON(ret, dev_priv->decoder_queue[fx->lock], in via_decoder_futex() 86 (fx->ms / 10) * (HZ / 100), *lock != fx->val); in via_decoder_futex() 89 wake_up(&(dev_priv->decoder_queue[fx->lock])); in via_decoder_futex()
|
/linux-4.1.27/sound/synth/emux/ |
D | emux_effect.c | 103 struct snd_emux_effect_table *fx = chan->private; in effect_set_byte() local 105 effect = fx->val[type]; in effect_set_byte() 106 if (fx->flag[type] == EMUX_FX_FLAG_ADD) { in effect_set_byte() 124 struct snd_emux_effect_table *fx = chan->private; in effect_set_word() local 126 effect = *(unsigned short*)&fx->val[type]; in effect_set_word() 127 if (fx->flag[type] == EMUX_FX_FLAG_ADD) in effect_set_word() 141 struct snd_emux_effect_table *fx = chan->private; in effect_get_offset() local 143 if (fx->flag[hi]) in effect_get_offset() 144 addr = (short)fx->val[hi]; in effect_get_offset() 146 if (fx->flag[lo]) in effect_get_offset() [all …]
|
D | emux_synth.c | 146 struct snd_emux_effect_table *fx = chan->private; in snd_emux_note_on() local 147 if (fx) { in snd_emux_note_on() 148 fx->flag[EMUX_FX_SAMPLE_START] = 0; in snd_emux_note_on() 149 fx->flag[EMUX_FX_COARSE_SAMPLE_START] = 0; in snd_emux_note_on() 792 struct snd_emux_effect_table *fx = chan->private; in calc_volume() local 793 vol += fx->val[EMUX_FX_ATTEN]; in calc_volume() 854 struct snd_emux_effect_table *fx = chan->private; in calc_pitch() local 855 if (fx->flag[EMUX_FX_INIT_PITCH]) in calc_pitch() 856 offset += fx->val[EMUX_FX_INIT_PITCH]; in calc_pitch()
|
/linux-4.1.27/drivers/usb/misc/ |
D | ezusb.c | 74 struct ezusb_fx_type fx, in ezusb_ihex_firmware_download() argument 89 ret = ezusb_set_reset(dev, fx.cpucs_reg, 0); in ezusb_ihex_firmware_download() 95 if (be32_to_cpu(record->addr) > fx.max_internal_adress) { in ezusb_ihex_firmware_download() 110 ret = ezusb_set_reset(dev, fx.cpucs_reg, 1); in ezusb_ihex_firmware_download() 115 if (be32_to_cpu(record->addr) <= fx.max_internal_adress) { in ezusb_ihex_firmware_download() 129 ret = ezusb_set_reset(dev, fx.cpucs_reg, 0); in ezusb_ihex_firmware_download()
|
/linux-4.1.27/arch/x86/kernel/ |
D | xsave.c | 45 struct i387_fxsave_struct *fx = &tsk->thread.fpu.state->fxsave; in __sanitize_i387_state() local 49 if (!fx) in __sanitize_i387_state() 65 fx->cwd = 0x37f; in __sanitize_i387_state() 66 fx->swd = 0; in __sanitize_i387_state() 67 fx->twd = 0; in __sanitize_i387_state() 68 fx->fop = 0; in __sanitize_i387_state() 69 fx->rip = 0; in __sanitize_i387_state() 70 fx->rdp = 0; in __sanitize_i387_state() 71 memset(&fx->st_space[0], 0, 128); in __sanitize_i387_state() 78 memset(&fx->xmm_space[0], 0, 256); in __sanitize_i387_state() [all …]
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
D | jr3_pci.c | 174 s16 fx; member 185 set_s16(&channel->full_scale.fx, full_scale.fx); in set_full_scales() 199 result.fx = get_s16(&channel->min_full_scale.fx); in get_min_full_scales() 213 result.fx = get_s16(&channel->max_full_scale.fx); in get_max_full_scales() 238 val = get_s16(&spriv->channel->filter[filter].fx); in jr3_pci_ai_read_chan() 541 spriv->range[0].range.min = -get_s16(&fs->fx) * 1000; in jr3_pci_poll_subdevice() 542 spriv->range[0].range.max = get_s16(&fs->fx) * 1000; in jr3_pci_poll_subdevice() 571 set_s16(&channel->offsets.fx, 0); in jr3_pci_poll_subdevice()
|
D | jr3_pci.h | 54 s32 fx; member 68 s32 fx; member 92 fx = 0x0001, enumerator
|
/linux-4.1.27/drivers/media/usb/cpia2/ |
D | cpia2_usb.c | 640 int fx, err, i, j; in submit_urbs() local 683 for (fx = 0; fx < FRAMES_PER_DESC; fx++) { in submit_urbs() 684 urb->iso_frame_desc[fx].offset = in submit_urbs() 685 FRAME_SIZE_PER_DESC * fx; in submit_urbs() 686 urb->iso_frame_desc[fx].length = FRAME_SIZE_PER_DESC; in submit_urbs()
|
/linux-4.1.27/arch/ia64/lib/ |
D | idiv64.S | 32 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
|
D | idiv32.S | 34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
|
/linux-4.1.27/drivers/input/ |
D | mousedev.c | 121 #define fx(i) (mousedev->old_x[(mousedev->pkt_count - (i)) & 03]) macro 135 fx(0) = value; in mousedev_touchpad_event() 142 tmp = ((value - fx(2)) * 256 * FRACTION_DENOM) / size; in mousedev_touchpad_event() 392 fx(0) = fx(1); in mousedev_event()
|