Searched refs:fcw (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/arch/x86/kernel/fpu/ |
D | init.c | 59 u16 fsw, fcw; in fpu__probe_without_cpuid() local 61 fsw = fcw = 0xffff; in fpu__probe_without_cpuid() 67 asm volatile("fninit ; fnstsw %0 ; fnstcw %1" : "+m" (fsw), "+m" (fcw)); in fpu__probe_without_cpuid() 69 pr_info("x86/fpu: Probing for FPU: FSW=0x%04hx FCW=0x%04hx\n", fsw, fcw); in fpu__probe_without_cpuid() 71 return fsw == 0 && (fcw & 0x103f) == 0x003f; in fpu__probe_without_cpuid()
|
/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | ef100.c | 453 struct ef100_func_ctl_window fcw = { 0 }; in ef100_pci_probe() local 476 rc = ef100_pci_find_func_ctrl_window(efx, &fcw); in ef100_pci_probe() 484 if (!fcw.valid) { in ef100_pci_probe() 486 fcw.bar = EFX_EF100_PCI_DEFAULT_BAR; in ef100_pci_probe() 487 fcw.offset = 0; in ef100_pci_probe() 488 fcw.valid = true; in ef100_pci_probe() 491 if (fcw.offset > pci_resource_len(efx->pci_dev, fcw.bar) - ESE_GZ_FCW_LEN) { in ef100_pci_probe() 498 rc = efx_init_io(efx, fcw.bar, in ef100_pci_probe() 500 pci_resource_len(efx->pci_dev, fcw.bar)); in ef100_pci_probe() 504 efx->reg_base = fcw.offset; in ef100_pci_probe()
|
/linux-6.1.9/arch/x86/boot/ |
D | cpuflags.c | 17 u16 fcw = -1, fsw = -1; in has_fpu() local 27 : "+m" (fsw), "+m" (fcw)); in has_fpu() 29 return fsw == 0 && (fcw & 0x103f) == 0x003f; in has_fpu()
|
/linux-6.1.9/drivers/staging/iio/resolver/ |
D | ad2s1210.c | 161 unsigned char fcw; in ad2s1210_update_frequency_control_word() local 163 fcw = (unsigned char)(st->fexcit * (1 << 15) / st->fclkin); in ad2s1210_update_frequency_control_word() 164 if (fcw < AD2S1210_MIN_FCW || fcw > AD2S1210_MAX_FCW) { in ad2s1210_update_frequency_control_word() 173 return ad2s1210_config_write(st, fcw); in ad2s1210_update_frequency_control_word()
|
/linux-6.1.9/drivers/ptp/ |
D | ptp_idt82p33.c | 234 s64 fcw; in _idt82p33_adjfine() local 253 fcw = scaled_ppm * 244140625ULL; in _idt82p33_adjfine() 254 fcw = div_s64(fcw, 2688); in _idt82p33_adjfine() 257 buf[i] = fcw & 0xff; in _idt82p33_adjfine() 258 fcw >>= 8; in _idt82p33_adjfine()
|
D | ptp_clockmatrix.c | 1750 s64 fcw; in _idtcm_adjfine() local 1773 fcw = scaled_ppm * 244140625ULL; in _idtcm_adjfine() 1775 fcw = div_s64(fcw, 1776); in _idtcm_adjfine() 1778 buf[i] = fcw & 0xff; in _idtcm_adjfine() 1779 fcw >>= 8; in _idtcm_adjfine()
|
/linux-6.1.9/tools/arch/x86/include/uapi/asm/ |
D | kvm.h | 178 __u16 fcw; member
|
/linux-6.1.9/arch/x86/include/uapi/asm/ |
D | kvm.h | 178 __u16 fcw; member
|
/linux-6.1.9/arch/x86/kvm/ |
D | emulate.c | 1136 u16 fcw; in em_fnstcw() local 1142 asm volatile("fnstcw %0": "+m"(fcw)); in em_fnstcw() 1145 ctxt->dst.val = fcw; in em_fnstcw()
|
D | x86.c | 11741 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu() 11765 fxsave->cwd = fpu->fcw; in kvm_arch_vcpu_ioctl_set_fpu()
|
/linux-6.1.9/Documentation/virt/kvm/ |
D | api.rst | 775 __u16 fcw; 804 __u16 fcw;
|