/linux-4.1.27/arch/x86/include/asm/ |
H A D | fpu-internal.h | 136 static inline void fx_finit(struct i387_fxsave_struct *fx) fx_finit() argument 138 fx->cwd = 0x37f; fx_finit() 139 fx->mxcsr = MXCSR_DEFAULT; fx_finit() 182 static inline int fsave_user(struct i387_fsave_struct __user *fx) fsave_user() argument 184 return user_insn(fnsave %[fx]; fwait, [fx] "=m" (*fx), "m" (*fx)); fsave_user() 187 static inline int fxsave_user(struct i387_fxsave_struct __user *fx) fxsave_user() argument 190 return user_insn(fxsave %[fx], [fx] "=m" (*fx), "m" (*fx)); fxsave_user() 192 return user_insn(fxsaveq %[fx], [fx] "=m" (*fx), "m" (*fx)); fxsave_user() 195 return user_insn(rex64/fxsave (%[fx]), "=m" (*fx), [fx] "R" (fx)); fxsave_user() 198 static inline int fxrstor_checking(struct i387_fxsave_struct *fx) fxrstor_checking() argument 201 return check_insn(fxrstor %[fx], "=m" (*fx), [fx] "m" (*fx)); fxrstor_checking() 203 return check_insn(fxrstorq %[fx], "=m" (*fx), [fx] "m" (*fx)); fxrstor_checking() 206 return check_insn(rex64/fxrstor (%[fx]), "=m" (*fx), [fx] "R" (fx), fxrstor_checking() 207 "m" (*fx)); fxrstor_checking() 210 static inline int fxrstor_user(struct i387_fxsave_struct __user *fx) fxrstor_user() argument 213 return user_insn(fxrstor %[fx], "=m" (*fx), [fx] "m" (*fx)); fxrstor_user() 215 return user_insn(fxrstorq %[fx], "=m" (*fx), [fx] "m" (*fx)); fxrstor_user() 218 return user_insn(rex64/fxrstor (%[fx]), "=m" (*fx), [fx] "R" (fx), fxrstor_user() 219 "m" (*fx)); fxrstor_user() 222 static inline int frstor_checking(struct i387_fsave_struct *fx) frstor_checking() argument 224 return check_insn(frstor %[fx], "=m" (*fx), [fx] "m" (*fx)); frstor_checking() 227 static inline int frstor_user(struct i387_fsave_struct __user *fx) frstor_user() argument 229 return user_insn(frstor %[fx], "=m" (*fx), [fx] "m" (*fx)); frstor_user() 235 asm volatile( "fxsave %[fx]" : [fx] "=m" (fpu->state->fxsave)); fpu_fxsave() 237 asm volatile("fxsaveq %[fx]" : [fx] "=m" (fpu->state->fxsave)); fpu_fxsave() 260 asm volatile( "rex64/fxsave (%[fx])" fpu_fxsave() 262 : [fx] "R" (&fpu->state->fxsave)); fpu_fxsave() 283 asm volatile("fnsave %[fx]; fwait" fpu_save_init() 284 : [fx] "=m" (fpu->state->fsave)); fpu_save_init() 494 extern int save_xstate_sig(void __user *buf, void __user *fx, int size); 495 extern int __restore_xstate_sig(void __user *buf, void __user *fx, int size);
|
H A D | xsave.h | 74 static inline int xsave_state_booting(struct xsave_struct *fx, u64 mask) xsave_state_booting() argument 86 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) xsave_state_booting() 92 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) xsave_state_booting() 101 static inline int xrstor_state_booting(struct xsave_struct *fx, u64 mask) xrstor_state_booting() argument 113 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) xrstor_state_booting() 119 : "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) xrstor_state_booting() 127 static inline int xsave_state(struct xsave_struct *fx, u64 mask) xsave_state() argument 150 [fx] "D" (fx), "a" (lmask), "d" (hmask) : xsave_state() 163 static inline int xrstor_state(struct xsave_struct *fx, u64 mask) xrstor_state() argument 177 "D" (fx), "m" (*fx), "a" (lmask), "d" (hmask) xrstor_state() 199 static inline int fpu_xrstor_checking(struct xsave_struct *fx) fpu_xrstor_checking() argument 201 return xrstor_state(fx, -1); fpu_xrstor_checking()
|
/linux-4.1.27/drivers/gpu/drm/via/ |
H A D | via_video.c | 70 drm_via_futex_t *fx = data; via_decoder_futex() local 78 if (fx->lock >= VIA_NR_XVMC_LOCKS) via_decoder_futex() 81 lock = (volatile int *)XVMCLOCKPTR(sAPriv, fx->lock); via_decoder_futex() 83 switch (fx->func) { via_decoder_futex() 85 DRM_WAIT_ON(ret, dev_priv->decoder_queue[fx->lock], via_decoder_futex() 86 (fx->ms / 10) * (HZ / 100), *lock != fx->val); via_decoder_futex() 89 wake_up(&(dev_priv->decoder_queue[fx->lock])); via_decoder_futex()
|
/linux-4.1.27/sound/synth/emux/ |
H A D | emux_effect.c | 103 struct snd_emux_effect_table *fx = chan->private; effect_set_byte() local 105 effect = fx->val[type]; effect_set_byte() 106 if (fx->flag[type] == EMUX_FX_FLAG_ADD) { effect_set_byte() 124 struct snd_emux_effect_table *fx = chan->private; effect_set_word() local 126 effect = *(unsigned short*)&fx->val[type]; effect_set_word() 127 if (fx->flag[type] == EMUX_FX_FLAG_ADD) effect_set_word() 141 struct snd_emux_effect_table *fx = chan->private; effect_get_offset() local 143 if (fx->flag[hi]) effect_get_offset() 144 addr = (short)fx->val[hi]; effect_get_offset() 146 if (fx->flag[lo]) effect_get_offset() 147 addr += (short)fx->val[lo]; effect_get_offset() 184 struct snd_emux_effect_table *fx; snd_emux_send_effect() local 188 fx = chan->private; snd_emux_send_effect() 189 if (emu == NULL || fx == NULL) snd_emux_send_effect() 194 fx->val[type] = val; snd_emux_send_effect() 195 fx->flag[type] = mode; snd_emux_send_effect() 236 struct snd_emux_effect_table *fx; snd_emux_setup_effect() local 240 if (! (fx = chan->private)) snd_emux_setup_effect() 246 if (! fx->flag[i] || (offset = parm_defs[i].offset) < 0) snd_emux_setup_effect()
|
H A D | emux_synth.c | 146 struct snd_emux_effect_table *fx = chan->private; snd_emux_note_on() local 147 if (fx) { snd_emux_note_on() 148 fx->flag[EMUX_FX_SAMPLE_START] = 0; snd_emux_note_on() 149 fx->flag[EMUX_FX_COARSE_SAMPLE_START] = 0; snd_emux_note_on() 792 struct snd_emux_effect_table *fx = chan->private; calc_volume() local 793 vol += fx->val[EMUX_FX_ATTEN]; calc_volume() 854 struct snd_emux_effect_table *fx = chan->private; calc_pitch() local 855 if (fx->flag[EMUX_FX_INIT_PITCH]) calc_pitch() 856 offset += fx->val[EMUX_FX_INIT_PITCH]; calc_pitch()
|
/linux-4.1.27/drivers/usb/misc/ |
H A D | ezusb.c | 74 struct ezusb_fx_type fx, ezusb_ihex_firmware_download() 89 ret = ezusb_set_reset(dev, fx.cpucs_reg, 0); ezusb_ihex_firmware_download() 95 if (be32_to_cpu(record->addr) > fx.max_internal_adress) { ezusb_ihex_firmware_download() 110 ret = ezusb_set_reset(dev, fx.cpucs_reg, 1); ezusb_ihex_firmware_download() 115 if (be32_to_cpu(record->addr) <= fx.max_internal_adress) { ezusb_ihex_firmware_download() 129 ret = ezusb_set_reset(dev, fx.cpucs_reg, 0); ezusb_ihex_firmware_download() 73 ezusb_ihex_firmware_download(struct usb_device *dev, struct ezusb_fx_type fx, const char *firmware_path) ezusb_ihex_firmware_download() argument
|
H A D | usbtest.c | 2673 /* an21xx or fx versions of ez-usb */
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | xsave.c | 45 struct i387_fxsave_struct *fx = &tsk->thread.fpu.state->fxsave; __sanitize_i387_state() local 49 if (!fx) __sanitize_i387_state() 65 fx->cwd = 0x37f; __sanitize_i387_state() 66 fx->swd = 0; __sanitize_i387_state() 67 fx->twd = 0; __sanitize_i387_state() 68 fx->fop = 0; __sanitize_i387_state() 69 fx->rip = 0; __sanitize_i387_state() 70 fx->rdp = 0; __sanitize_i387_state() 71 memset(&fx->st_space[0], 0, 128); __sanitize_i387_state() 78 memset(&fx->xmm_space[0], 0, 256); __sanitize_i387_state() 91 memcpy(((void *) fx) + offset, __sanitize_i387_state() 221 * 'buf_fx' is the 64-byte aligned pointer at which the [f|fx|x]save
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | jr3_pci.c | 174 s16 fx; member in struct:six_axis_t 185 set_s16(&channel->full_scale.fx, full_scale.fx); set_full_scales() 199 result.fx = get_s16(&channel->min_full_scale.fx); get_min_full_scales() 213 result.fx = get_s16(&channel->max_full_scale.fx); get_max_full_scales() 238 val = get_s16(&spriv->channel->filter[filter].fx); jr3_pci_ai_read_chan() 541 spriv->range[0].range.min = -get_s16(&fs->fx) * 1000; jr3_pci_poll_subdevice() 542 spriv->range[0].range.max = get_s16(&fs->fx) * 1000; jr3_pci_poll_subdevice() 571 set_s16(&channel->offsets.fx, 0); jr3_pci_poll_subdevice()
|
H A D | jr3_pci.h | 54 s32 fx; member in struct:force_array 68 s32 fx; member in struct:six_axis_array 92 fx = 0x0001, enumerator in enum:__anon9756
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | dis.h | 13 #define OPERAND_FPR 0x2 /* Operand printed as %fx */
|
/linux-4.1.27/arch/ia64/lib/ |
H A D | idiv32.S | 34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
|
H A D | idiv64.S | 32 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
|
/linux-4.1.27/drivers/media/usb/cpia2/ |
H A D | cpia2_usb.c | 640 int fx, err, i, j; submit_urbs() local 683 for (fx = 0; fx < FRAMES_PER_DESC; fx++) { submit_urbs() 684 urb->iso_frame_desc[fx].offset = submit_urbs() 685 FRAME_SIZE_PER_DESC * fx; submit_urbs() 686 urb->iso_frame_desc[fx].length = FRAME_SIZE_PER_DESC; submit_urbs()
|
/linux-4.1.27/drivers/input/ |
H A D | mousedev.c | 121 #define fx(i) (mousedev->old_x[(mousedev->pkt_count - (i)) & 03]) macro 135 fx(0) = value; mousedev_touchpad_event() 142 tmp = ((value - fx(2)) * 256 * FRACTION_DENOM) / size; mousedev_touchpad_event() 392 fx(0) = fx(1); mousedev_event()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | idle_6xx.S | 5 * Warning ! This code assumes that if your machine has a 750fx
|
H A D | cpu_setup_6xx.S | 203 /* 750fx specific
|
H A D | misc_32.S | 172 * on 750fx CPU. This function should really be moved to some
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
H A D | eeprom.c | 128 tp->mtable->csr12dir = 0x3f; /* inputs on bit7 for hsc-pci, bit6 for pci-fx */ tulip_build_fake_mediatable()
|
/linux-4.1.27/include/uapi/sound/ |
H A D | emu10k1.h | 59 #define FXBUS2(x) (0x30 + (x)) /* x = 0x00 - 0x0f copies of fx buses for capture -> FXWC high 16 bits */
|
/linux-4.1.27/include/sound/ |
H A D | emu10k1.h | 344 * bit 14: Route SRC48 mixer output to fx engine.
|
/linux-4.1.27/sound/pci/hda/ |
H A D | patch_ca0132.c | 3631 /* enable voice fx */ ca0132_voicefx_put()
|