/Linux-v5.10/arch/x86/include/asm/fpu/ |
D | internal.h | 99 static inline void fpstate_init_fxstate(struct fxregs_state *fx) in fpstate_init_fxstate() argument 101 fx->cwd = 0x37f; in fpstate_init_fxstate() 102 fx->mxcsr = MXCSR_DEFAULT; in fpstate_init_fxstate() 146 static inline int copy_fregs_to_user(struct fregs_state __user *fx) in copy_fregs_to_user() argument 148 return user_insn(fnsave %[fx]; fwait, [fx] "=m" (*fx), "m" (*fx)); in copy_fregs_to_user() 151 static inline int copy_fxregs_to_user(struct fxregs_state __user *fx) in copy_fxregs_to_user() argument 154 return user_insn(fxsave %[fx], [fx] "=m" (*fx), "m" (*fx)); in copy_fxregs_to_user() 156 return user_insn(fxsaveq %[fx], [fx] "=m" (*fx), "m" (*fx)); in copy_fxregs_to_user() 160 static inline void copy_kernel_to_fxregs(struct fxregs_state *fx) in copy_kernel_to_fxregs() argument 163 kernel_insn(fxrstor %[fx], "=m" (*fx), [fx] "m" (*fx)); in copy_kernel_to_fxregs() [all …]
|
/Linux-v5.10/drivers/gpu/drm/via/ |
D | via_video.c | 71 drm_via_futex_t *fx = data; in via_decoder_futex() local 79 if (fx->lock >= VIA_NR_XVMC_LOCKS) in via_decoder_futex() 82 lock = (volatile int *)XVMCLOCKPTR(sAPriv, fx->lock); in via_decoder_futex() 84 switch (fx->func) { in via_decoder_futex() 86 VIA_WAIT_ON(ret, dev_priv->decoder_queue[fx->lock], in via_decoder_futex() 87 (fx->ms / 10) * (HZ / 100), *lock != fx->val); in via_decoder_futex() 90 wake_up(&(dev_priv->decoder_queue[fx->lock])); in via_decoder_futex()
|
/Linux-v5.10/sound/synth/emux/ |
D | emux_effect.c | 89 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 …]
|
D | emux_synth.c | 132 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-v5.10/drivers/usb/misc/ |
D | ezusb.c | 71 struct ezusb_fx_type fx, in ezusb_ihex_firmware_download() argument 86 ret = ezusb_set_reset(dev, fx.cpucs_reg, 0); in ezusb_ihex_firmware_download() 92 if (be32_to_cpu(record->addr) > fx.max_internal_adress) { in ezusb_ihex_firmware_download() 107 ret = ezusb_set_reset(dev, fx.cpucs_reg, 1); in ezusb_ihex_firmware_download() 112 if (be32_to_cpu(record->addr) <= fx.max_internal_adress) { in ezusb_ihex_firmware_download() 126 ret = ezusb_set_reset(dev, fx.cpucs_reg, 0); in ezusb_ihex_firmware_download()
|
/Linux-v5.10/drivers/staging/comedi/drivers/ |
D | jr3_pci.c | 169 s16 fx; member 180 set_s16(&sensor->full_scale.fx, full_scale.fx); in set_full_scales() 193 result.fx = get_s16(&sensor->min_full_scale.fx); in get_min_full_scales() 206 result.fx = get_s16(&sensor->max_full_scale.fx); in get_max_full_scales() 231 val = get_s16(&spriv->sensor->filter[filter].fx); in jr3_pci_ai_read_chan() 527 r[0].l.range[0].min = -get_s16(&fs->fx) * 1000; in jr3_pci_poll_subdevice() 528 r[0].l.range[0].max = get_s16(&fs->fx) * 1000; in jr3_pci_poll_subdevice() 557 set_s16(&sensor->offsets.fx, 0); in jr3_pci_poll_subdevice()
|
D | jr3_pci.h | 58 s32 fx; member 73 s32 fx; member 98 fx = 0x0001, enumerator
|
/Linux-v5.10/arch/x86/kernel/fpu/ |
D | xstate.c | 144 struct fxregs_state *fx = &fpu->state.fxsave; in fpstate_sanitize_xstate() local 164 fx->cwd = 0x37f; in fpstate_sanitize_xstate() 165 fx->swd = 0; in fpstate_sanitize_xstate() 166 fx->twd = 0; in fpstate_sanitize_xstate() 167 fx->fop = 0; in fpstate_sanitize_xstate() 168 fx->rip = 0; in fpstate_sanitize_xstate() 169 fx->rdp = 0; in fpstate_sanitize_xstate() 170 memset(&fx->st_space[0], 0, 128); in fpstate_sanitize_xstate() 177 memset(&fx->xmm_space[0], 0, 256); in fpstate_sanitize_xstate() 196 memcpy((void *)fx + offset, in fpstate_sanitize_xstate()
|
/Linux-v5.10/drivers/media/usb/cpia2/ |
D | cpia2_usb.c | 651 int fx, err, i, j; in submit_urbs() local 698 for (fx = 0; fx < FRAMES_PER_DESC; fx++) { in submit_urbs() 699 urb->iso_frame_desc[fx].offset = in submit_urbs() 700 FRAME_SIZE_PER_DESC * fx; in submit_urbs() 701 urb->iso_frame_desc[fx].length = FRAME_SIZE_PER_DESC; in submit_urbs()
|
/Linux-v5.10/drivers/input/ |
D | mousedev.c | 119 #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-v5.10/arch/ia64/lib/ |
D | idiv32.S | 36 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
|
D | idiv64.S | 34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
|
/Linux-v5.10/Documentation/devicetree/bindings/net/ |
D | micrel.txt | 47 100base-fx (full and half duplex) modes.
|
/Linux-v5.10/arch/x86/kvm/ |
D | emulate.c | 4127 rc = asm_safe("fxsave %[fx]", , [fx] "+m"(fx_state)); in em_fxsave() 4151 rc = asm_safe("fxsave %[fx]", , [fx] "+m"(fx_tmp)); in fxregs_fixup() 4187 rc = asm_safe("fxrstor %[fx]", : [fx] "m"(fx_state)); in em_fxrstor()
|
/Linux-v5.10/Documentation/sound/kernel-api/ |
D | writing-an-alsa-driver.rst | 2137 emu10k1-fx and cs46xx need to track the current ``appl_ptr`` for the
|