Home
last modified time | relevance | path

Searched refs:fcw (Results 1 – 11 of 11) sorted by relevance

/linux/arch/x86/kernel/fpu/
A Dinit.c59 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/drivers/net/ethernet/sfc/
A Def100.c453 struct ef100_func_ctl_window fcw = { 0 }; in ef100_pci_probe() local
475 rc = ef100_pci_find_func_ctrl_window(efx, &fcw); in ef100_pci_probe()
483 if (!fcw.valid) { in ef100_pci_probe()
485 fcw.bar = EFX_EF100_PCI_DEFAULT_BAR; in ef100_pci_probe()
486 fcw.offset = 0; in ef100_pci_probe()
487 fcw.valid = true; in ef100_pci_probe()
490 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/arch/x86/boot/
A Dcpuflags.c17 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/drivers/staging/iio/resolver/
A Dad2s1210.c161 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/drivers/ptp/
A Dptp_idt82p33.c324 s64 fcw; in _idt82p33_adjfine() local
343 fcw = scaled_ppm * 244140625ULL; in _idt82p33_adjfine()
344 fcw = div_s64(fcw, 2688); in _idt82p33_adjfine()
347 buf[i] = fcw & 0xff; in _idt82p33_adjfine()
348 fcw >>= 8; in _idt82p33_adjfine()
A Dptp_clockmatrix.c1755 s64 fcw; in _idtcm_adjfine() local
1778 fcw = scaled_ppm * 244140625ULL; in _idtcm_adjfine()
1780 fcw = div_s64(fcw, 1776); in _idtcm_adjfine()
1783 buf[i] = fcw & 0xff; in _idtcm_adjfine()
1784 fcw >>= 8; in _idtcm_adjfine()
/linux/arch/x86/include/uapi/asm/
A Dkvm.h178 __u16 fcw; member
/linux/tools/arch/x86/include/uapi/asm/
A Dkvm.h178 __u16 fcw; member
/linux/arch/x86/kvm/
A Demulate.c1095 u16 fcw; in em_fnstcw() local
1101 asm volatile("fnstcw %0": "+m"(fcw)); in em_fnstcw()
1104 ctxt->dst.val = fcw; in em_fnstcw()
A Dx86.c10784 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu()
10808 fxsave->cwd = fpu->fcw; in kvm_arch_vcpu_ioctl_set_fpu()
/linux/Documentation/virt/kvm/
A Dapi.rst778 __u16 fcw;
807 __u16 fcw;

Completed in 60 milliseconds