Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/kernel/fpu/
Dlegacy.h50 static inline int fnsave_to_user_sigframe(struct fregs_state __user *fx) in fnsave_to_user_sigframe() argument
52 return user_insn(fnsave %[fx]; fwait, [fx] "=m" (*fx), "m" (*fx)); in fnsave_to_user_sigframe()
55 static inline int fxsave_to_user_sigframe(struct fxregs_state __user *fx) in fxsave_to_user_sigframe() argument
58 return user_insn(fxsave %[fx], [fx] "=m" (*fx), "m" (*fx)); in fxsave_to_user_sigframe()
60 return user_insn(fxsaveq %[fx], [fx] "=m" (*fx), "m" (*fx)); in fxsave_to_user_sigframe()
64 static inline void fxrstor(struct fxregs_state *fx) in fxrstor() argument
67 kernel_insn(fxrstor %[fx], "=m" (*fx), [fx] "m" (*fx)); in fxrstor()
69 kernel_insn(fxrstorq %[fx], "=m" (*fx), [fx] "m" (*fx)); in fxrstor()
72 static inline int fxrstor_safe(struct fxregs_state *fx) in fxrstor_safe() argument
75 return kernel_insn_err(fxrstor %[fx], "=m" (*fx), [fx] "m" (*fx)); in fxrstor_safe()
[all …]
Dregset.c405 struct fxregs_state fxsave, *fx; in fpregs_get() local
422 fx = &fxsave; in fpregs_get()
424 fx = &fpu->fpstate->regs.fxsave; in fpregs_get()
427 __convert_from_fxsr(&env, target, fx); in fpregs_get()
/Linux-v6.6/sound/synth/emux/
Demux_effect.c89 struct snd_emux_effect_table *fx = chan->private; in effect_set_byte() local
91 effect = fx->val[type]; in effect_set_byte()
92 if (fx->flag[type] == EMUX_FX_FLAG_ADD) { in effect_set_byte()
110 struct snd_emux_effect_table *fx = chan->private; in effect_set_word() local
112 effect = *(unsigned short*)&fx->val[type]; in effect_set_word()
113 if (fx->flag[type] == EMUX_FX_FLAG_ADD) in effect_set_word()
127 struct snd_emux_effect_table *fx = chan->private; in effect_get_offset() local
129 if (fx->flag[hi]) in effect_get_offset()
130 addr = (short)fx->val[hi]; in effect_get_offset()
132 if (fx->flag[lo]) in effect_get_offset()
[all …]
Demux_synth.c132 struct snd_emux_effect_table *fx = chan->private; in snd_emux_note_on() local
133 if (fx) { in snd_emux_note_on()
134 fx->flag[EMUX_FX_SAMPLE_START] = 0; in snd_emux_note_on()
135 fx->flag[EMUX_FX_COARSE_SAMPLE_START] = 0; in snd_emux_note_on()
778 struct snd_emux_effect_table *fx = chan->private; in calc_volume() local
779 vol += fx->val[EMUX_FX_ATTEN]; in calc_volume()
840 struct snd_emux_effect_table *fx = chan->private; in calc_pitch() local
841 if (fx->flag[EMUX_FX_INIT_PITCH]) in calc_pitch()
842 offset += fx->val[EMUX_FX_INIT_PITCH]; in calc_pitch()
/Linux-v6.6/drivers/usb/misc/
Dezusb.c59 struct ezusb_fx_type fx, in ezusb_ihex_firmware_download() argument
74 ret = ezusb_set_reset(dev, fx.cpucs_reg, 0); in ezusb_ihex_firmware_download()
80 if (be32_to_cpu(record->addr) > fx.max_internal_adress) { in ezusb_ihex_firmware_download()
95 ret = ezusb_set_reset(dev, fx.cpucs_reg, 1); in ezusb_ihex_firmware_download()
100 if (be32_to_cpu(record->addr) <= fx.max_internal_adress) { in ezusb_ihex_firmware_download()
114 ret = ezusb_set_reset(dev, fx.cpucs_reg, 0); in ezusb_ihex_firmware_download()
/Linux-v6.6/drivers/comedi/drivers/
Djr3_pci.h58 s32 fx; member
73 s32 fx; member
98 fx = 0x0001, enumerator
Djr3_pci.c168 s16 fx; member
179 set_s16(&sensor->full_scale.fx, full_scale.fx); in set_full_scales()
192 result.fx = get_s16(&sensor->max_full_scale.fx); in get_max_full_scales()
217 val = get_s16(&spriv->sensor->filter[filter].fx); in jr3_pci_ai_read_chan()
511 r[0].l.range[0].min = -get_s16(&fs->fx) * 1000; in jr3_pci_poll_subdevice()
512 r[0].l.range[0].max = get_s16(&fs->fx) * 1000; in jr3_pci_poll_subdevice()
541 set_s16(&sensor->offsets.fx, 0); in jr3_pci_poll_subdevice()
/Linux-v6.6/drivers/input/
Dmousedev.c119 #define fx(i) (mousedev->old_x[(mousedev->pkt_count - (i)) & 03]) macro
133 fx(0) = value; in mousedev_touchpad_event()
140 tmp = ((value - fx(2)) * 256 * FRACTION_DENOM) / size; in mousedev_touchpad_event()
389 fx(0) = fx(1); in mousedev_event()
/Linux-v6.6/arch/ia64/lib/
Didiv64.S34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
Didiv32.S36 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
/Linux-v6.6/Documentation/devicetree/bindings/net/
Dmicrel.txt48 100base-fx (full and half duplex) modes.
/Linux-v6.6/drivers/soc/mediatek/
Dmtk-svs.c852 static u32 interpolate(u32 f0, u32 f1, u32 v0, u32 v1, u32 fx) in interpolate() argument
860 vx = (v0 * 100) - ((((v0 - v1) * 100) / (f0 - f1)) * (f0 - fx)); in interpolate()
/Linux-v6.6/arch/x86/kvm/
Demulate.c3761 rc = asm_safe("fxsave %[fx]", , [fx] "+m"(fx_state)); in em_fxsave()
3785 rc = asm_safe("fxsave %[fx]", , [fx] "+m"(fx_tmp)); in fxregs_fixup()
3821 rc = asm_safe("fxrstor %[fx]", : [fx] "m"(fx_state)); in em_fxrstor()
/Linux-v6.6/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst2041 emu10k1-fx and cs46xx need to track the current ``appl_ptr`` for the