Home
last modified time | relevance | path

Searched refs:fx (Results 1 – 13 of 13) sorted by relevance

/linux-2.6.39/arch/x86/include/asm/
Di387.h91 static inline int fxrstor_checking(struct i387_fxsave_struct *fx) in fxrstor_checking() argument
105 : [fx] "m" (*fx), "0" (0)); in fxrstor_checking()
115 : [fx] "R" (fx), "m" (*fx), "0" (0)); in fxrstor_checking()
120 static inline int fxsave_user(struct i387_fxsave_struct __user *fx) in fxsave_user() argument
128 err = __clear_user(&fx->sw_reserved, in fxsave_user()
142 : [err] "=r" (err), [fx] "=m" (*fx) in fxsave_user()
152 : [err] "=r" (err), "=m" (*fx) in fxsave_user()
153 : [fx] "R" (fx), "0" (0)); in fxsave_user()
156 __clear_user(fx, sizeof(struct i387_fxsave_struct))) in fxsave_user()
185 : [fx] "R" (&fpu->state->fxsave)); in fpu_fxsave()
[all …]
Dxsave.h47 struct xsave_struct *fx = &fpu->state->xsave; in fpu_xrstor_checking() local
58 : "D" (fx), "m" (*fx), "a" (-1), "d" (-1), "0" (0) in fpu_xrstor_checking()
119 static inline void xrstor_state(struct xsave_struct *fx, u64 mask) in xrstor_state() argument
125 : : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xrstor_state()
129 static inline void xsave_state(struct xsave_struct *fx, u64 mask) in xsave_state() argument
135 : : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) in xsave_state()
147 [fx] "D" (&fpu->state->xsave), "a" (-1), "d" (-1) : in fpu_xsave()
/linux-2.6.39/drivers/gpu/drm/via/
Dvia_video.c70 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) * (DRM_HZ / 100), *lock != fx->val); in via_decoder_futex()
89 DRM_WAKEUP(&(dev_priv->decoder_queue[fx->lock])); in via_decoder_futex()
/linux-2.6.39/sound/synth/emux/
Demux_effect.c103 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 …]
Demux_synth.c145 struct snd_emux_effect_table *fx = chan->private; in snd_emux_note_on() local
146 if (fx) { in snd_emux_note_on()
147 fx->flag[EMUX_FX_SAMPLE_START] = 0; in snd_emux_note_on()
148 fx->flag[EMUX_FX_COARSE_SAMPLE_START] = 0; in snd_emux_note_on()
793 struct snd_emux_effect_table *fx = chan->private; in calc_volume() local
794 vol += fx->val[EMUX_FX_ATTEN]; in calc_volume()
855 struct snd_emux_effect_table *fx = chan->private; in calc_pitch() local
856 if (fx->flag[EMUX_FX_INIT_PITCH]) in calc_pitch()
857 offset += fx->val[EMUX_FX_INIT_PITCH]; in calc_pitch()
/linux-2.6.39/arch/x86/kernel/
Dxsave.c45 struct i387_fxsave_struct *fx = &tsk->thread.fpu.state->fxsave; in __sanitize_i387_state() local
47 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 …]
Di387.c127 struct i387_fxsave_struct *fx = &fpu->state->fxsave; in fpu_finit() local
129 memset(fx, 0, xstate_size); in fpu_finit()
130 fx->cwd = 0x37f; in fpu_finit()
132 fx->mxcsr = MXCSR_DEFAULT; in fpu_finit()
527 struct i387_fxsave_struct *fx = &tsk->thread.fpu.state->fxsave; in save_i387_fxsave() local
535 err |= __put_user(fx->swd, &buf->status); in save_i387_fxsave()
540 if (__copy_to_user(&buf->_fxsr_env[0], fx, xstate_size)) in save_i387_fxsave()
548 struct _fpstate_ia32 __user *fx = buf; in save_i387_xsave() local
567 if (save_i387_fxsave(fx) < 0) in save_i387_xsave()
570 err = __copy_to_user(&fx->sw_reserved, &fx_sw_reserved_ia32, in save_i387_xsave()
[all …]
/linux-2.6.39/drivers/staging/comedi/drivers/
Djr3_pci.c219 s16 fx; member
231 full_scale.fx, in set_full_scales()
234 set_s16(&channel->full_scale.fx, full_scale.fx); in set_full_scales()
247 result.fx = get_s16(&channel->min_full_scale.fx); in get_min_full_scales()
260 result.fx = get_s16(&channel->max_full_scale.fx); in get_max_full_scales()
309 [filter].fx); in jr3_pci_ai_insn_read()
604 printk("%i ", (min_full_scale).fx); in jr3_pci_poll_subdevice()
615 printk("%i ", (max_full_scale).fx); in jr3_pci_poll_subdevice()
644 -get_s16(&full_scale->fx) * 1000; in jr3_pci_poll_subdevice()
646 get_s16(&full_scale->fx) * 1000; in jr3_pci_poll_subdevice()
[all …]
Djr3_pci.h54 s32 fx; member
68 s32 fx; member
92 fx = 0x0001, enumerator
/linux-2.6.39/drivers/media/video/cpia2/
Dcpia2_usb.c635 int fx, err, i, j; in submit_urbs() local
678 for (fx = 0; fx < FRAMES_PER_DESC; fx++) { in submit_urbs()
679 urb->iso_frame_desc[fx].offset = in submit_urbs()
680 FRAME_SIZE_PER_DESC * fx; in submit_urbs()
681 urb->iso_frame_desc[fx].length = FRAME_SIZE_PER_DESC; in submit_urbs()
/linux-2.6.39/arch/ia64/lib/
Didiv32.S34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
Didiv64.S32 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
/linux-2.6.39/drivers/input/
Dmousedev.c127 #define fx(i) (mousedev->old_x[(mousedev->pkt_count - (i)) & 03]) macro
141 fx(0) = value; in mousedev_touchpad_event()
148 tmp = ((value - fx(2)) * 256 * FRACTION_DENOM) / size; in mousedev_touchpad_event()
398 fx(0) = fx(1); in mousedev_event()