| /linux/arch/x86/lib/ |
| H A D | checksum_32.S | 52 movl 20(%esp),%eax # Function arg: unsigned int sum 64 adcl %ebx, %eax 65 roll $8, %eax 77 adcl $0, %eax 84 adcl %ebx, %eax 86 adcl %ebx, %eax 88 adcl %ebx, %eax 90 adcl %ebx, %eax 92 adcl %ebx, %eax 94 adcl %ebx, %eax [all …]
|
| H A D | atomic64_386_32.S | 37 movl (v), %eax 53 movl (v), %eax 63 addl %eax, (v) 71 addl (v), %eax 73 movl %eax, (v) 81 subl %eax, (v) 90 negl %eax 92 addl (v), %eax 94 movl %eax, (v) 110 movl (v), %eax [all …]
|
| H A D | atomic64_cx8_32.S | 12 movl %ebx, %eax 20 movl (\reg), %eax 55 movl %eax, %esi 61 movl %eax, %ebx 70 movl %ebx, %eax 89 movl %eax, %ebx 98 movl %ebx, %eax 113 movl %eax, %ebx 123 movl %ebx, %eax 136 movl %eax, %ebp [all …]
|
| H A D | csum-copy_64.S | 47 movl $-1, %eax 154 movl %eax, %ebx 156 addl %ebx, %eax 157 adcl %r9d, %eax 173 adcl %ebx, %eax 180 adcl %r9d, %eax /* add in carry */ 191 addl %ebx, %eax 192 adcl %r9d, %eax /* carry */ 249 roll $8, %eax 254 xorl %eax, %eax
|
| /linux/arch/x86/boot/compressed/ |
| H A D | mem_encrypt.S | 23 movl $0x80000000, %eax /* CPUID to check the highest leaf */ 25 cmpl $0x8000001f, %eax /* See if 0x8000001f is available */ 34 movl $0x8000001f, %eax 36 bt $1, %eax /* Check if SEV is available */ 41 bt $MSR_AMD64_SEV_ENABLED_BIT, %eax /* Check if SEV is active */ 44 movl %ebx, %eax 45 andl $0x3f, %eax /* Return the encryption bit location */ 49 xor %eax, %eax 67 shll $30, %eax 68 orl $0x00000004, %eax [all …]
|
| H A D | head_32.S | 64 leal gdt@GOTOFF(%edx), %eax 65 movl %eax, 2(%eax) 66 lgdt (%eax) 69 movl $__BOOT_DS, %eax 70 movl %eax, %ds 71 movl %eax, %es 72 movl %eax, %fs 73 movl %eax, %gs 74 movl %eax, %ss 87 movl BP_kernel_alignment(%esi), %eax [all …]
|
| H A D | sev.c | 331 unsigned int eax, ebx, ecx, edx; in sev_check_cpu_support() local 334 eax = 0x80000000; in sev_check_cpu_support() 336 native_cpuid(&eax, &ebx, &ecx, &edx); in sev_check_cpu_support() 337 if (eax < 0x8000001f) in sev_check_cpu_support() 348 eax = 0x8000001f; in sev_check_cpu_support() 350 native_cpuid(&eax, &ebx, &ecx, &edx); in sev_check_cpu_support() 352 if (!(eax & BIT(1))) in sev_check_cpu_support() 489 unsigned int eax, ebx, ecx, edx; in early_is_sevsnp_guest() local 494 eax = 0x8000001f; in early_is_sevsnp_guest() 496 native_cpuid(&eax, &ebx, &ecx, &edx); in early_is_sevsnp_guest() [all …]
|
| /linux/tools/testing/selftests/x86/ |
| H A D | raw_syscall_helper_32.S | 9 movl 5*4(%esp), %eax /* pointer to args struct */ 11 movl 1*4(%eax), %ebx 12 movl 2*4(%eax), %ecx 13 movl 3*4(%eax), %edx 14 movl 4*4(%eax), %esi 15 movl 5*4(%eax), %edi 16 movl 6*4(%eax), %ebp 17 movl 0*4(%eax), %eax 22 pushl %eax 23 movl 6*4(%esp), %eax [all …]
|
| /linux/arch/x86/hyperv/ |
| H A D | hv_trampoline.S | 53 movl %cs:(%ebx), %eax 54 movl %eax, %cr3 59 btsl $_EFER_LME, %eax 63 movl %cr0, %eax 64 orl $(X86_CR0_PG), %eax 65 movl %eax, %cr0 70 mov %edi, %eax 71 add $HV_CRASHDATA_OFFS_GDTRLIMIT, %eax 72 lgdtl %cs:(%eax) 75 mov %edi, %eax [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | mwait.h | 28 static __always_inline void __monitor(const void *eax, u32 ecx, u32 edx) in __monitor() argument 34 asm volatile("monitor" :: "a" (eax), "c" (ecx), "d" (edx)); in __monitor() 37 static __always_inline void __monitorx(const void *eax, u32 ecx, u32 edx) in __monitorx() argument 39 asm volatile("monitorx" :: "a" (eax), "c" (ecx), "d"(edx)); in __monitorx() 42 static __always_inline void __mwait(u32 eax, u32 ecx) in __mwait() argument 48 asm volatile("mwait" :: "a" (eax), "c" (ecx)); in __mwait() 77 static __always_inline void __mwaitx(u32 eax, u32 ebx, u32 ecx) in __mwaitx() argument 81 asm volatile("mwaitx" :: "a" (eax), "b" (ebx), "c" (ecx)); in __mwaitx() 93 static __always_inline void __sti_mwait(u32 eax, u32 ecx) in __sti_mwait() argument 96 asm volatile("sti; mwait" :: "a" (eax), "c" (ecx)); in __sti_mwait() [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | ftrace_32.S | 44 pushl %eax 57 movl (MCOUNT_FRAME+4)*4(%esp), %eax /* load the rip */ 62 subl $MCOUNT_INSN_SIZE, %eax 71 popl %eax 123 pushl %eax 133 movl PT_EIP(%esp), %eax # 1st argument: IP 134 subl $MCOUNT_INSN_SIZE, %eax 145 movl PT_OLDESP(%esp), %eax 147 movl %ecx, -4(%eax) 151 movl %ecx, -8(%eax) [all …]
|
| H A D | head_64.S | 70 xorl %eax, %eax 258 testl $X2APIC_ENABLE, %eax 271 orl $X2APIC_ENABLE, %eax 280 movl (%rcx), %eax 281 shr $24, %eax 294 cmpl (%rbx,%rcx,4), %eax 352 xorl %eax,%eax 353 movl %eax,%ds 354 movl %eax,%ss 355 movl %eax,%es [all …]
|
| /linux/tools/arch/x86/kcpuid/ |
| H A D | cpuid.csv | 15 0x0, 0, eax, 31:0, max_std_leaf , Highest standard CPUID leaf 23 0x1, 0, eax, 3:0, stepping , Stepping ID 24 0x1, 0, eax, 7:4, base_model , Base CPU model ID 25 0x1, 0, eax, 11:8, base_family_id , Base CPU family ID 26 0x1, 0, eax, 13:12, cpu_type , CPU type 27 0x1, 0, eax, 19:16, ext_model , Extended CPU model ID 28 0x1, 0, eax, 27:20, ext_family , Extended CPU family ID 98 0x2, 0, eax, 7:0, iteration_count , Number of times this leaf must be queried 99 0x2, 0, eax, 15:8, desc1 , Descriptor #1 100 0x2, 0, eax, 2 [all...] |
| H A D | kcpuid.c | 33 /* descriptor info for eax/ebx/ecx/edx */ 174 /* Return true is the input eax/ebx/ecx/edx are all zero */ in raw_dump_range() 241 u32 eax, ebx, ecx, edx; in setup_cpuid_range() 268 cpuid(f, eax, ebx, ecx, edx); in setup_cpuid_range() 270 allzero = cpuid_store(range, f, 0, eax, ebx, ecx, edx); in setup_cpuid_range() 282 max_subleaf = min((eax & 0xff) + 1, max_subleaf); 295 cpuid_count(f, subleaf, eax, ebx, ecx, edx); in parse_line() 297 allzero = cpuid_store(range, f, subleaf, eax, ebx, ecx, edx); in parse_line() 52 u32 eax, ebx, ecx, edx; global() member 88 cpuid(u32 * eax,u32 * ebx,u32 * ecx,u32 * edx) cpuid() argument 201 u32 eax, ebx, ecx, edx, f = input_eax; setup_cpuid_range() local 579 u32 eax, ebx, ecx, edx; setup_platform_cpuid() local
|
| /linux/drivers/char/ |
| H A D | toshiba.c | 123 unsigned long eax,ecx,flags; in tosh_emulate_fan() local 126 eax = regs->eax & 0xff00; in tosh_emulate_fan() 132 if (eax==0xfe00) { in tosh_emulate_fan() 138 regs->eax = 0x00; in tosh_emulate_fan() 141 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan() 149 regs->eax = 0x00; in tosh_emulate_fan() 152 if ((eax==0xff00) && (ecx==0x0001)) { in tosh_emulate_fan() 160 regs->eax = 0x00; in tosh_emulate_fan() 168 if (eax==0xfe00) { in tosh_emulate_fan() 174 regs->eax = 0x00; in tosh_emulate_fan() [all …]
|
| /linux/arch/x86/realmode/rm/ |
| H A D | wakeup_asm.S | 52 movl %cr0, %eax 54 movl %eax, %cr0 64 movl %eax, %cr0 83 movl signature, %eax 84 cmpl $WAKEUP_HEADER_SIGNATURE, %eax 88 movl end_signature, %eax 89 cmpl $REALMODE_END_SIGNATURE, %eax 101 movl pmode_misc_en, %eax 111 movl pmode_cr3, %eax 112 movl %eax, %cr3 [all …]
|
| H A D | trampoline_64.S | 75 testl %eax, %eax # Check for return code 92 movl $(CR0_STATE & ~X86_CR0_PG), %eax 93 movl %eax, %cr0 # into protected mode 146 bts $MSR_AMD64_SYSCFG_MEM_ENCRYPT_BIT, %eax 156 movl pa_tr_cr4, %eax 157 movl %eax, %cr4 # Enable PAE mode 160 movl $pa_trampoline_pgd, %eax 161 movl %eax, %cr3 170 cmp pa_tr_efer, %eax 175 movl pa_tr_efer, %eax [all …]
|
| H A D | reboot.S | 27 movl $__KERNEL_DS, %eax 28 movl %eax, %ds 32 movl %cr0, %eax 33 andl $~X86_CR0_PG, %eax 34 movl %eax, %cr0 38 xorl %eax, %eax 43 movl %edi, %eax
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | cpuid_test.c | 18 u32 eax; member 30 u32 eax, ebx, ecx, edx; in test_guest_cpuids() local 35 &eax, &ebx, &ecx, &edx); in test_guest_cpuids() 37 GUEST_ASSERT_EQ(eax, guest_cpuid->entries[i].eax); in test_guest_cpuids() 107 TEST_ASSERT((e1->eax & mask.eax) == (e2->eax & mask.eax) && in compare_cpuids() 113 e1->eax & mask.eax, e1->ebx & mask.ebx, in compare_cpuids() 115 e2->eax & mask.eax, e2->ebx & mask.ebx, in compare_cpuids() 160 u32 eax, ebx, x; in set_cpuid_after_run() local 190 eax = ent->eax; in set_cpuid_after_run() 191 x = eax & 0xff; in set_cpuid_after_run() [all …]
|
| H A D | hyperv_cpuid.c | 64 TEST_ASSERT(entry->eax == test_val, in test_hv_cpuid() 67 entry->eax, evmcs_expected in test_hv_cpuid() 75 test_val = entry->eax & (1UL << 18); in test_hv_cpuid() 81 TEST_ASSERT(has_irqchip || !(entry->eax & BIT(10)), in test_hv_cpuid() 85 TEST_ASSERT(entry->eax & (1UL << 19), in test_hv_cpuid() 87 " 0x40000000.EAX: %x", entry->eax); in test_hv_cpuid() 89 TEST_ASSERT((entry->eax & 0xffff) == 0x101, in test_hv_cpuid() 91 " 0x40000000.EAX: %x", entry->eax); in test_hv_cpuid()
|
| /linux/tools/power/cpupower/debug/i386/ |
| H A D | intel_gsic.c | 25 r.eax = 0x0000E980; in main() 34 if (r.eax == 0x47534943) { in main() 37 (r.eax >> 24) & 0xff, in main() 38 (r.eax >> 16) & 0xff, in main() 39 (r.eax >> 8) & 0xff, in main() 40 (r.eax) & 0xff); in main() 63 printf("eax = 0x%.8x\n", r.eax); in main()
|
| /linux/arch/x86/kernel/acpi/ |
| H A D | wakeup_32.S | 27 movl %cr3, %eax 28 movl %eax, %cr3 34 movl %cs:saved_magic, %eax 35 cmpl $0x12345678, %eax 39 movl saved_eip, %eax 40 jmp *%eax 53 leal 4(%esp), %eax 54 movl %eax, saved_context_esp
|
| /linux/arch/x86/purgatory/ |
| H A D | setup-x86_64.S | 22 movl $0x18, %eax /* data segment */ 23 movl %eax, %ds 24 movl %eax, %es 25 movl %eax, %ss 26 movl %eax, %fs 27 movl %eax, %gs
|
| /linux/sound/pci/au88x0/ |
| H A D | au88x0_synth.c | 328 int ecx = vol[1], eax = vol[0]; 341 eax >>= 8; 342 ecx = eax; 348 voice->parm3 |= (eax & 0x7f); 351 voice->parm3 |= (eax & 0xFE00) << 5; 361 u32 eax, edx; 364 eax = ((sr << 0xf) * 0x57619F1) & 0xffffffff; 371 eax = 0x7fff; 374 eax = 7; 377 eax--; [all …]
|
| /linux/arch/x86/platform/olpc/ |
| H A D | xo1-wakeup.S | 26 movl $initial_page_table - __PAGE_OFFSET, %eax 27 movl %eax, %cr3 29 movl saved_cr4, %eax 30 movl %eax, %cr4 32 movl saved_cr0, %eax 33 movl %eax, %cr0 51 movl %cr3, %eax 52 movl %eax, %cr3
|