Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kernel/fpu/
Dinit.c55 u16 fsw, fcw; in fpu__probe_without_cpuid() local
57 fsw = fcw = 0xffff; in fpu__probe_without_cpuid()
63 asm volatile("fninit ; fnstsw %0 ; fnstcw %1" : "+m" (fsw), "+m" (fcw)); in fpu__probe_without_cpuid()
65 pr_info("x86/fpu: Probing for FPU: FSW=0x%04hx FCW=0x%04hx\n", fsw, fcw); in fpu__probe_without_cpuid()
67 return fsw == 0 && (fcw & 0x103f) == 0x003f; in fpu__probe_without_cpuid()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
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()
/kernel/linux/linux-5.10/arch/x86/boot/
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()
/kernel/linux/linux-5.10/drivers/ptp/
Dptp_idt82p33.c299 s64 fcw; in _idt82p33_adjfine() local
322 fcw = scaled_ppm * 244140625ULL; in _idt82p33_adjfine()
323 fcw = div_u64(fcw, 2688); in _idt82p33_adjfine()
326 fcw = -fcw; in _idt82p33_adjfine()
329 buf[i] = fcw & 0xff; in _idt82p33_adjfine()
330 fcw >>= 8; in _idt82p33_adjfine()
Dptp_clockmatrix.c1305 s64 fcw; in _idtcm_adjfine() local
1332 fcw = scaled_ppm * 244140625ULL; in _idtcm_adjfine()
1334 fcw = div_u64(fcw, 1776); in _idtcm_adjfine()
1337 fcw = -fcw; in _idtcm_adjfine()
1340 buf[i] = fcw & 0xff; in _idtcm_adjfine()
1341 fcw >>= 8; in _idtcm_adjfine()
/kernel/linux/linux-5.10/drivers/staging/iio/resolver/
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()
/kernel/linux/linux-5.10/tools/arch/x86/include/uapi/asm/
Dkvm.h163 __u16 fcw; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dkvm.h149 __u16 fcw; member
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
Dkvm.h163 __u16 fcw; member
/kernel/linux/linux-5.10/arch/x86/kvm/
Demulate.c1243 u16 fcw; in em_fnstcw() local
1249 asm volatile("fnstcw %0": "+m"(fcw)); in em_fnstcw()
1252 ctxt->dst.val = fcw; in em_fnstcw()
Dx86.c10040 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu()
10061 fxsave->cwd = fpu->fcw; in kvm_arch_vcpu_ioctl_set_fpu()
/kernel/linux/linux-5.10/Documentation/virt/kvm/
Dapi.rst740 __u16 fcw;
769 __u16 fcw;