Home
last modified time | relevance | path

Searched refs:ebx (Results 1 – 148 of 148) sorted by relevance

/linux-4.1.27/arch/x86/math-emu/
Dreg_norm.S27 pushl %ebx
29 movl PARAM1,%ebx
31 movl SIGH(%ebx),%edx
32 movl SIGL(%ebx),%eax
43 subw $32,EXP(%ebx) /* This can cause an underflow */
52 subw %cx,EXP(%ebx) /* This can cause an underflow */
54 movl %edx,SIGH(%ebx)
55 movl %eax,SIGL(%ebx)
58 cmpw EXP_OVER,EXP(%ebx)
61 cmpw EXP_UNDER,EXP(%ebx)
[all …]
Dwm_shrx.S45 pushl %ebx
46 movl (%esi),%ebx /* lsl */
49 shrd %cl,%ebx,%eax
50 shrd %cl,%edx,%ebx
52 movl %ebx,(%esi)
54 popl %ebx
117 pushl %ebx
132 xorl %ebx,%ebx
133 shrd %cl,%eax,%ebx
136 orl %ebx,%ebx /* test these 32 bits */
[all …]
Dreg_u_sub.S40 pushl %ebx
64 movl SIGL(%edi),%ebx /* register ls word */
82 shrd %cl,%ebx,%edx
83 shrd %cl,%eax,%ebx
96 orl %ebx,%ebx
102 movl %eax,%ebx
107 movl %ebx,%edx
108 movl %eax,%ebx
118 orl %ebx,%ebx
137 orl %ebx,%ebx
[all …]
Dround_Xsig.S28 pushl %ebx /* Reserve some space */
29 pushl %ebx
35 movl 4(%esi),%ebx
44 movl %ebx,%edx
45 movl %eax,%ebx
55 shld %cl,%ebx,%edx
56 shld %cl,%eax,%ebx
63 addl $1,%ebx
72 movl %ebx,4(%esi)
78 popl %ebx
[all …]
Dreg_u_div.S86 pushl %ebx
89 movl REGB,%ebx
93 movswl EXP(%ebx),%eax
111 testl $0x80000000, SIGH(%ebx) /* Divisor */
116 cmpl $0,SIGL(%ebx)
120 movl SIGH(%ebx),%ecx /* The divisor */
197 cmpl SIGH(%ebx),%edx /* Test for imminent overflow */
201 cmpl SIGL(%ebx),%eax
208 subl SIGL(%ebx),%eax
209 sbbl SIGH(%ebx),%edx /* Prevent the overflow */
[all …]
Ddiv_Xsig.S86 pushl %ebx
89 movl PARAM2,%ebx /* pointer to denom */
92 testl $0x80000000, XsigH(%ebx) /* Divisor */
136 movl XsigH(%ebx),%ecx
152 mull XsigH(%ebx) /* mul by the ms dw of the denom */
158 mull XsigL(%ebx) /* now mul the ls dw of the denom */
172 movl XsigL(%ebx),%eax
173 movl XsigH(%ebx),%edx
191 cmpl XsigH(%ebx),%edx
195 cmpl XsigL(%ebx),%eax
[all …]
Dreg_u_add.S39 pushl %ebx
50 movl SIGL(%esi),%ebx
60 movl SIGL(%edi),%ebx
82 shrd %cl,%ebx,%edx
83 shrd %cl,%eax,%ebx
96 orl %ebx,%ebx
102 movl %eax,%ebx
107 movl %ebx,%edx
108 movl %eax,%ebx
117 orl %ebx,%ebx
[all …]
Dreg_round.S116 pushl %ebx
120 movl SIGL(%edi),%ebx
127 pushl %ebx /* adjust the stack pointer */
203 orl %ebx,%ecx
218 orl %ebx,%ebx
231 xorl %ebx,%ebx
239 orl %ebx,%ecx
245 xorl %ebx,%ebx
281 movl %ebx,%ecx
289 movl %ebx,%ecx
[all …]
Dreg_u_mul.S56 pushl %ebx
69 xorl %ebx,%ebx
79 adcl %edx,%ebx
85 adcl %edx,%ebx
90 addl %eax,%ebx
117 rcll $1,%ebx
138 pop %ebx
142 popl %ebx
Dwm_sqrt.S85 pushl %ebx
348 movl %edi,%ebx
369 movl %edx,%ebx /* 2nd ls word of square */
374 addl %eax,%ebx
375 addl %eax,%ebx
378 cmp $0xffffffb0,%ebx
381 cmp $0x00000050,%ebx
390 or %ebx,%ebx
395 or %ebx,%edx
424 movl %edx,%ebx /* 2nd ls word of square */
[all …]
Dshr_Xsig.S34 pushl %ebx
36 movl 4(%esi),%ebx /* midl */
38 shrd %cl,%ebx,%eax
39 shrd %cl,%edx,%ebx
42 movl %ebx,4(%esi)
44 popl %ebx
Dpolynom_Xsig.S45 pushl %ebx
131 popl %ebx
DREADME132 movl %esp,[%ebx]
/linux-4.1.27/arch/x86/lib/
Dchecksum_32.S55 pushl_cfi_reg ebx
67 movzbl (%esi), %ebx
68 adcl %ebx, %eax
87 1: movl (%esi), %ebx
88 adcl %ebx, %eax
89 movl 4(%esi), %ebx
90 adcl %ebx, %eax
91 movl 8(%esi), %ebx
92 adcl %ebx, %eax
93 movl 12(%esi), %ebx
[all …]
Datomic64_cx8_32.S17 movl %ebx, %eax
61 pushl_cfi_reg ebx
71 movl %eax, %ebx
73 \ins\()l %esi, %ebx
80 movl %ebx, %eax
84 popl_cfi_reg ebx
97 pushl_cfi_reg ebx
101 movl %eax, %ebx
103 \ins\()l $1, %ebx
110 movl %ebx, %eax
[all …]
Dmsr-reg.S24 movl 12(%rdi), %ebx
34 movl %ebx, 12(%r10)
56 pushl_cfi_reg ebx
64 movl 12(%eax), %ebx
78 movl %ebx, 12(%eax)
86 popl_cfi_reg ebx
Dcsum-copy_64.S170 movl %eax, %ebx
172 addl %ebx, %eax
182 xorl %ebx, %ebx
188 adcl %ebx, %eax
201 xorl %ebx, %ebx
206 addl %ebx, %eax
Datomic64_386_32.S55 movl %ebx, (v)
64 movl %ebx, (v)
/linux-4.1.27/arch/x86/um/
Dchecksum_32.S54 pushl %ebx
73 1: movl (%esi), %ebx
74 adcl %ebx, %eax
75 movl 4(%esi), %ebx
76 adcl %ebx, %eax
77 movl 8(%esi), %ebx
78 adcl %ebx, %eax
79 movl 12(%esi), %ebx
80 adcl %ebx, %eax
81 movl 16(%esi), %ebx
[all …]
Dstub_32.S31 pop %ebx
42 pop %ebx
43 cmp %ebx, %eax
Dsetjmp_32.S9 # %ebx
29 movl %ebx,(%edx)
51 movl (%edx),%ebx
/linux-4.1.27/arch/x86/boot/compressed/
Dhead_32.S138 movl %ebp, %ebx
141 addl %eax, %ebx
143 andl %eax, %ebx
144 cmpl $LOAD_PHYSICAL_ADDR, %ebx
147 movl $LOAD_PHYSICAL_ADDR, %ebx
151 addl $z_extract_offset, %ebx
154 leal boot_stack_end(%ebx), %esp
166 leal (_bss-4)(%ebx), %edi
177 leal relocated(%ebx), %eax
188 leal _bss(%ebx), %edi
[all …]
Dhead_64.S92 movl %ebp, %ebx
95 addl %eax, %ebx
97 andl %eax, %ebx
98 cmpl $LOAD_PHYSICAL_ADDR, %ebx
101 movl $LOAD_PHYSICAL_ADDR, %ebx
105 addl $z_extract_offset, %ebx
125 leal pgtable(%ebx), %edi
131 leal pgtable + 0(%ebx), %edi
136 leal pgtable + 0x1000(%ebx), %edi
146 leal pgtable + 0x2000(%ebx), %edi
[all …]
Defi_thunk_64.S78 movl %ebx, %ss
80 movl %ebx, %es
82 movl %ebx, %ds
/linux-4.1.27/sound/pci/au88x0/
Dau88x0_eq.c114 int i = 0, ebx; in vortex_EqHw_SetLeftStates() local
119 for (ebx = 0; ebx < eqhw->this04; ebx++) { in vortex_EqHw_SetLeftStates()
131 int i = 0, ebx; in vortex_EqHw_SetRightStates() local
136 for (ebx = 0; ebx < eqhw->this04; ebx++) { in vortex_EqHw_SetRightStates()
224 int ebx; in vortex_EqHw_SetLeftGainsTarget() local
226 for (ebx = 0; ebx < eqhw->this04; ebx++) { in vortex_EqHw_SetLeftGainsTarget()
227 hwwrite(vortex->mmio, 0x2b02c + ebx * 0x30, a[ebx]); in vortex_EqHw_SetLeftGainsTarget()
234 int ebx; in vortex_EqHw_SetRightGainsTarget() local
236 for (ebx = 0; ebx < eqhw->this04; ebx++) { in vortex_EqHw_SetRightGainsTarget()
237 hwwrite(vortex->mmio, 0x2b20c + ebx * 0x30, a[ebx]); in vortex_EqHw_SetRightGainsTarget()
[all …]
Dau88x0_core.c301 int esp14 = -1, esp18, eax, ebx, edx, ebp, esi = 0; in vortex_mixer_delWTD() local
312 ebx = (esp18 & 0xf); in vortex_mixer_delWTD()
313 if (mix == ebx) { in vortex_mixer_delWTD()
314 ebx = VORTEX_MIXER_RTBASE + (mix << 2); in vortex_mixer_delWTD()
315 edx = hwread(vortex->mmio, ebx); in vortex_mixer_delWTD()
318 hwwrite(vortex->mmio, ebx, 0); in vortex_mixer_delWTD()
323 VORTEX_MIXER_RTBASE + (ebx << 2)); in vortex_mixer_delWTD()
331 esp14 = ebx; in vortex_mixer_delWTD()
332 ebx = edx & 0xf; in vortex_mixer_delWTD()
333 ebp = ebx << 2; in vortex_mixer_delWTD()
[all …]
/linux-4.1.27/arch/x86/kernel/cpu/
Dvmware.c40 #define VMWARE_PORT(cmd, eax, ebx, ecx, edx) \ argument
42 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
50 uint32_t eax, ebx, ecx, edx; in __vmware_platform() local
51 VMWARE_PORT(GETVERSION, eax, ebx, ecx, edx); in __vmware_platform()
52 return eax != (uint32_t)-1 && ebx == VMWARE_HYPERVISOR_MAGIC; in __vmware_platform()
58 uint32_t eax, ebx, ecx, edx; in vmware_get_tsc_khz() local
60 VMWARE_PORT(GETHZ, eax, ebx, ecx, edx); in vmware_get_tsc_khz()
62 tsc_hz = eax | (((uint64_t)ebx) << 32); in vmware_get_tsc_khz()
80 uint32_t eax, ebx, ecx, edx; in vmware_platform_setup() local
82 VMWARE_PORT(GETHZ, eax, ebx, ecx, edx); in vmware_platform_setup()
[all …]
Dtopology.c22 #define LEVEL_MAX_SIBLINGS(ebx) ((ebx) & 0xffff) argument
32 unsigned int eax, ebx, ecx, edx, sub_index; in detect_extended_topology() local
40 cpuid_count(0xb, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology()
45 if (ebx == 0 || (LEAFB_SUBTYPE(ecx) != SMT_TYPE)) in detect_extended_topology()
58 core_level_siblings = smp_num_siblings = LEVEL_MAX_SIBLINGS(ebx); in detect_extended_topology()
63 cpuid_count(0xb, sub_index, &eax, &ebx, &ecx, &edx); in detect_extended_topology()
69 core_level_siblings = LEVEL_MAX_SIBLINGS(ebx); in detect_extended_topology()
Dintel_cacheinfo.c154 union _cpuid4_leaf_ebx ebx; member
225 union _cpuid4_leaf_ebx *ebx, in amd_cpuid4() argument
236 ebx->full = 0; in amd_cpuid4()
287 ebx->split.coherency_line_size = line_size - 1; in amd_cpuid4()
288 ebx->split.ways_of_associativity = assoc - 1; in amd_cpuid4()
289 ebx->split.physical_line_partition = lines_per_tag - 1; in amd_cpuid4()
291 (ebx->split.ways_of_associativity + 1) - 1; in amd_cpuid4()
589 union _cpuid4_leaf_ebx ebx; in cpuid4_cache_lookup_regs() local
596 &ebx.full, &ecx.full, &edx); in cpuid4_cache_lookup_regs()
598 amd_cpuid4(index, &eax, &ebx, &ecx); in cpuid4_cache_lookup_regs()
[all …]
Dcommon.c449 unsigned int n, dummy, ebx, ecx, edx, l2size; in cpu_detect_cache_sizes() local
454 cpuid(0x80000005, &dummy, &ebx, &ecx, &edx); in cpu_detect_cache_sizes()
465 cpuid(0x80000006, &dummy, &ebx, &ecx, &edx); in cpu_detect_cache_sizes()
469 c->x86_tlbsize += ((ebx >> 16) & 0xfff) + (ebx & 0xfff); in cpu_detect_cache_sizes()
511 u32 eax, ebx, ecx, edx; in detect_ht() local
524 cpuid(1, &eax, &ebx, &ecx, &edx); in detect_ht()
526 smp_num_siblings = (ebx & 0xff0000) >> 16; in detect_ht()
619 u32 ebx; in get_cpu_cap() local
625 cpuid(0x00000001, &tfms, &ebx, &excap, &capability); in get_cpu_cap()
632 u32 eax, ebx, ecx, edx; in get_cpu_cap() local
[all …]
Damd.c300 u32 eax, ebx, ecx, edx; in amd_get_topology() local
302 cpuid(0x8000001e, &eax, &ebx, &ecx, &edx); in amd_get_topology()
307 smp_num_siblings = ((ebx >> 8) & 3) + 1; in amd_get_topology()
308 c->compute_unit_id = ebx & 0xff; in amd_get_topology()
309 cores_per_cu += ((ebx >> 8) & 3); in amd_get_topology()
747 u32 ebx, eax, ecx, edx; in cpu_detect_tlb_amd() local
756 cpuid(0x80000006, &eax, &ebx, &ecx, &edx); in cpu_detect_tlb_amd()
758 tlb_lld_4k[ENTRIES] = (ebx >> 16) & mask; in cpu_detect_tlb_amd()
759 tlb_lli_4k[ENTRIES] = ebx & mask; in cpu_detect_tlb_amd()
766 cpuid(0x80000005, &eax, &ebx, &ecx, &edx); in cpu_detect_tlb_amd()
[all …]
Dperf_event_amd_uncore.c359 unsigned int eax, ebx, ecx, edx; in amd_uncore_cpu_starting() local
364 cpuid(0x8000001e, &eax, &ebx, &ecx, &edx); in amd_uncore_cpu_starting()
376 cpuid_count(0x8000001d, 2, &eax, &ebx, &ecx, &edx); in amd_uncore_cpu_starting()
Dintel.c323 unsigned int eax, ebx, ecx, edx; in intel_num_cpu_cores() local
329 cpuid_count(4, 0, &eax, &ebx, &ecx, &edx); in intel_num_cpu_cores()
Dperf_event_intel.c2912 union cpuid10_ebx ebx; in intel_nehalem_quirk() local
2914 ebx.full = x86_pmu.events_maskl; in intel_nehalem_quirk()
2915 if (ebx.split.no_branch_misses_retired) { in intel_nehalem_quirk()
2923 ebx.split.no_branch_misses_retired = 0; in intel_nehalem_quirk()
2924 x86_pmu.events_maskl = ebx.full; in intel_nehalem_quirk()
2989 union cpuid10_ebx ebx; in intel_pmu_init() local
3011 cpuid(10, &eax.full, &ebx.full, &unused, &edx.full); in intel_pmu_init()
3026 x86_pmu.events_maskl = ebx.full; in intel_pmu_init()
/linux-4.1.27/arch/x86/kernel/
Drelocate_kernel_32.S44 pushl %ebx
61 movl 20+4(%esp), %ebx /* page_list */
78 movl %ebx, CP_PA_BACKUP_PAGES_MAP(%edi)
138 pushl %ebx
159 xorl %ebx, %ebx
176 popl %ebx
177 subl $(1b - relocate_kernel), %ebx
178 movl CP_VA_CONTROL_PAGE(%ebx), %edi
179 lea PAGE_SIZE(%ebx), %esp
180 movl CP_PA_SWAP_PAGE(%ebx), %eax
[all …]
Dxsave.c468 int eax, ebx, ecx, edx, leaf = 0x2; in setup_xstate_features() local
475 cpuid_count(XSTATE_CPUID, leaf, &eax, &ebx, &ecx, &edx); in setup_xstate_features()
480 xstate_offsets[leaf] = ebx; in setup_xstate_features()
587 unsigned int eax, ebx, ecx, edx; in init_xstate_size() local
591 cpuid_count(XSTATE_CPUID, 0, &eax, &ebx, &ecx, &edx); in init_xstate_size()
592 xstate_size = ebx; in init_xstate_size()
599 cpuid_count(XSTATE_CPUID, i, &eax, &ebx, &ecx, &edx); in init_xstate_size()
610 unsigned int eax, ebx, ecx, edx; in xstate_enable_boot_cpu() local
617 cpuid_count(XSTATE_CPUID, 0, &eax, &ebx, &ecx, &edx); in xstate_enable_boot_cpu()
Dverify_cpu.S44 movl %eax,%ebx
50 cmpl %eax,%ebx
60 cmpl $0x68747541,%ebx # AuthenticAMD
70 cmpl $0x756e6547,%ebx # GenuineIntel?
Dapm_32.c575 u32 ebx; member
617 apm_bios_call_asm(call->func, call->ebx, call->ecx, in __apm_bios_call()
618 &call->eax, &call->ebx, &call->ecx, &call->edx, in __apm_bios_call()
693 error = apm_bios_call_simple_asm(call->func, call->ebx, call->ecx, in __apm_bios_call_simple()
723 call.ebx = ebx_in; in apm_bios_call_simple()
780 call.ebx = call.ecx = 0; in apm_get_event()
785 *event = call.ebx; in apm_get_event()
1040 call.ebx = APM_DEVICE_ALL; in apm_get_power_status()
1047 *status = call.ebx; in apm_get_power_status()
1062 u32 ebx;
[all …]
Dentry_64.S1306 testl %ebx,%ebx /* swapgs needed? */
1330 xorl %ebx,%ebx
1347 incl %ebx
1368 decl %ebx /* Return to usergs */
1377 movl %ebx,%eax
1710 testl %ebx,%ebx /* swapgs needed? */
Dhead_32.S180 xorl %ebx,%ebx /* %ebx is kept at zero */
193 xchgl %eax,%ebx
195 xchgl %eax,%ebx
428 movl %ebx,X86_VENDOR_ID # lo 4 chars
591 pushl %ebx
Dcpuid.c50 u32 eax, ebx, ecx, edx; member
58 &cmd->eax, &cmd->ebx, &cmd->ecx, &cmd->edx); in cpuid_smp_cpuid()
Dentry_32.S207 pushl_cfi %ebx
208 CFI_REL_OFFSET ebx, 0
218 popl_cfi %ebx
219 CFI_RESTORE ebx
287 CFI_OFFSET ebx, PT_EBX-PT_OLDESP
1091 pushl %ebx
1113 popl %ebx
1225 pushl_cfi_reg ebx
Drelocate_kernel_64.S155 xorl %ebx, %ebx
Dsmpboot.c1406 unsigned int eax, ebx, ecx, edx; in mwait_play_dead() local
1421 native_cpuid(&eax, &ebx, &ecx, &edx); in mwait_play_dead()
Dptrace.c963 R32(ebx, bx); in putreg32()
1033 R32(ebx, bx); in getreg32()
/linux-4.1.27/arch/x86/crypto/
Dsalsa20-i586-asm_32.S17 # ebx_stack = ebx
18 movl %ebx,84(%esp)
32 movl 16(%esp,%eax),%ebx
34 sub $0,%ebx
106 cmp $64,%ebx
114 mov %ebx,%ecx
127 movl %ebx,76(%esp)
135 movl 176(%esp),%ebx
143 movl %ebx,112(%esp)
151 movl 192(%esp),%ebx
[all …]
Dtwofish-i586-asm_32.S52 #define R1D %ebx
225 push %ebx
234 mov b_offset(%edi), %ebx
239 input_whitening(%ebx,%ebp,b_offset)
262 output_whitening(%ebx,%ebp,d_offset)
267 mov %ebx, d_offset(%edi)
273 pop %ebx
281 push %ebx
291 mov b_offset(%edi), %ebx
295 output_whitening(%ebx,%ebp,b_offset)
[all …]
Daes-i586-asm_32.S57 #define r1 ebx
233 1: push %ebx
286 pop %ebx
305 1: push %ebx
358 pop %ebx
Dblowfish-x86_64-asm_64.S45 #define RX1d %ebx
Daes-x86_64-asm_64.S27 #define R2E %ebx
Dtwofish-x86_64-asm_64-3way.S47 #define RAB1d %ebx
Dtwofish-x86_64-asm_64.S48 #define R1D %ebx
Dcamellia-x86_64-asm_64.S64 #define RAB1d %ebx
Dsha1_avx2_x86_64_asm.S83 #define REG_TB %ebx
Dsha1_ssse3_asm.S44 #define REG_T2 %ebx
Ddes3_ede-asm_64.S55 #define RW1d %ebx
Dsha256-avx-asm.S108 b = %ebx
Dsha256-ssse3-asm.S100 b = %ebx
Dsalsa20-x86_64-asm_64.S691 addl 112(%rsp),%ebx
Dsha256-avx2-asm.S106 b = %ebx
Daesni-intel_asm.S147 #define KLEN %ebx
/linux-4.1.27/drivers/cpufreq/
Dspeedstep-lib.c256 u32 ebx, msr_lo, msr_hi; in speedstep_detect_processor() local
270 ebx = cpuid_ebx(0x00000001); in speedstep_detect_processor()
271 ebx &= 0x000000FF; in speedstep_detect_processor()
273 pr_debug("ebx value is %x, x86_mask is %x\n", ebx, c->x86_mask); in speedstep_detect_processor()
281 if ((ebx == 0x0e) || (ebx == 0x0f)) in speedstep_detect_processor()
292 if (ebx == 0x0e) in speedstep_detect_processor()
312 if ((ebx == 0x0e) || in speedstep_detect_processor()
327 ebx = cpuid_ebx(0x00000001); in speedstep_detect_processor()
328 pr_debug("ebx is %x\n", ebx); in speedstep_detect_processor()
330 ebx &= 0x000000FF; in speedstep_detect_processor()
[all …]
Dlongrun.c143 u32 eax, ebx, ecx, edx; in longrun_get() local
148 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_get()
169 u32 eax, ebx, ecx, edx; in longrun_determine_freqs() local
216 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_determine_freqs()
227 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_determine_freqs()
240 ebx = (((cpu_khz / 1000) * ecx) / 100); /* to MHz */ in longrun_determine_freqs()
242 if ((ecx > 95) || (ecx == 0) || (eax < ebx)) in longrun_determine_freqs()
245 edx = ((eax - ebx) * 100) / (100 - ecx); in longrun_determine_freqs()
Dpowernow-k7.c121 unsigned int maxei, eax, ebx, ecx, edx; in check_powernow() local
141 cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in check_powernow()
Dpowernow-k8.c474 u32 eax, ebx, ecx, edx; in check_supported_cpu() local
494 cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx); in check_supported_cpu()
/linux-4.1.27/arch/x86/include/asm/
Dmicrocode.h87 #define CPUID_IS(a, b, c, ebx, ecx, edx) \ argument
88 (!((ebx ^ (a))|(edx ^ (b))|(ecx ^ (c))))
102 u32 ebx, ecx = 0, edx; in x86_vendor() local
104 native_cpuid(&eax, &ebx, &ecx, &edx); in x86_vendor()
106 if (CPUID_IS(CPUID_INTEL1, CPUID_INTEL2, CPUID_INTEL3, ebx, ecx, edx)) in x86_vendor()
109 if (CPUID_IS(CPUID_AMD1, CPUID_AMD2, CPUID_AMD3, ebx, ecx, edx)) in x86_vendor()
130 u32 ebx, ecx = 0, edx; in x86_family() local
132 native_cpuid(&eax, &ebx, &ecx, &edx); in x86_family()
Dprocessor.h191 static inline void native_cpuid(unsigned int *eax, unsigned int *ebx, in native_cpuid() argument
197 "=b" (*ebx), in native_cpuid()
629 unsigned int *eax, unsigned int *ebx, in cpuid() argument
634 __cpuid(eax, ebx, ecx, edx); in cpuid()
639 unsigned int *eax, unsigned int *ebx, in cpuid_count() argument
644 __cpuid(eax, ebx, ecx, edx); in cpuid_count()
652 unsigned int eax, ebx, ecx, edx; in cpuid_eax() local
654 cpuid(op, &eax, &ebx, &ecx, &edx); in cpuid_eax()
661 unsigned int eax, ebx, ecx, edx; in cpuid_ebx() local
663 cpuid(op, &eax, &ebx, &ecx, &edx); in cpuid_ebx()
[all …]
Dvirtext.h86 uint32_t eax, ebx, ecx, edx; in cpu_has_svm() local
94 cpuid(0x80000000, &eax, &ebx, &ecx, &edx); in cpu_has_svm()
101 cpuid(0x80000001, &eax, &ebx, &ecx, &edx); in cpu_has_svm()
Dcalling.h160 xorl %ebx, %ebx
233 pushl_cfi_reg ebx
237 popl_cfi_reg ebx
Dapm.h27 u32 *eax, u32 *ebx, u32 *ecx, in apm_bios_call_asm() argument
42 : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx), in apm_bios_call_asm()
Dswitch_to.h40 unsigned long ebx, ecx, edx, esi, edi; \
60 "=b" (ebx), "=c" (ecx), "=d" (edx), \
Dlguest.h33 unsigned long eax, ebx, ecx, edx; member
Duser32.h36 __u32 ebx, ecx, edx, esi, edi, ebp, eax; member
Dinst.h28 .ifc \r32,%ebx
Dkvm_emulate.h210 u32 *eax, u32 *ebx, u32 *ecx, u32 *edx);
Dparavirt.h29 static inline void __cpuid(unsigned int *eax, unsigned int *ebx, in __cpuid() argument
32 PVOP_VCALL4(pv_cpu_ops.cpuid, eax, ebx, ecx, edx); in __cpuid()
Dparavirt_types.h151 void (*cpuid)(unsigned int *eax, unsigned int *ebx,
/linux-4.1.27/arch/x86/boot/
Dpmjump.S29 xorl %ebx, %ebx
31 shll $4, %ebx
32 addl %ebx, 2f
60 addl %ebx, %esp
69 xorl %ebx, %ebx
Dmemory.c49 ireg.ebx = oreg.ebx; /* for next iteration... */ in detect_memory_e820()
69 } while (ireg.ebx && count < ARRAY_SIZE(boot_params.e820_map)); in detect_memory_e820()
Dapm.c48 boot_params.apm_bios_info.offset = oreg.ebx; in query_apm_bios()
Dmain.c96 boot_params.ist_info.command = oreg.ebx; in query_ist()
Dboot.h238 u32 ebx; member
/linux-4.1.27/tools/power/cpupower/debug/i386/
Dintel_gsic.c43 r.ebx & 0xffff); in main()
45 (r.ebx >> 16) & 0xffff); in main()
48 if (((r.ebx >> 16) & 0xffff) != 0x82) { in main()
55 if ((r.ebx & 0xffff) != 0xb2) { in main()
65 printf("ebx = 0x%.8x\n", r.ebx); in main()
/linux-4.1.27/arch/x86/kvm/
Dcpuid.h21 void kvm_cpuid(struct kvm_vcpu *vcpu, u32 *eax, u32 *ebx, u32 *ecx, u32 *edx);
46 return best && (best->ebx & bit(X86_FEATURE_TSC_ADJUST)); in guest_cpuid_has_tsc_adjust()
54 return best && (best->ebx & bit(X86_FEATURE_SMEP)); in guest_cpuid_has_smep()
62 return best && (best->ebx & bit(X86_FEATURE_SMAP)); in guest_cpuid_has_smap()
70 return best && (best->ebx & bit(X86_FEATURE_FSGSBASE)); in guest_cpuid_has_fsgsbase()
102 return best && best->ebx == X86EMUL_CPUID_VENDOR_AuthenticAMD_ebx; in guest_cpuid_is_amd()
118 return best && (best->ebx & bit(X86_FEATURE_RTM)); in guest_cpuid_has_rtm()
126 return best && (best->ebx & bit(X86_FEATURE_MPX)); in guest_cpuid_has_mpx()
Dcpuid.c36 u32 eax, ebx, ecx, edx, offset; in xstate_required_size() local
37 cpuid_count(0xD, feature_bit, &eax, &ebx, &ecx, &edx); in xstate_required_size()
38 offset = compacted ? ret : ebx; in xstate_required_size()
92 vcpu->arch.guest_xstate_size = best->ebx = in kvm_update_cpuid()
98 best->ebx = xstate_required_size(vcpu->arch.xcr0, true); in kvm_update_cpuid()
182 vcpu->arch.cpuid_entries[i].ebx = cpuid_entries[i].ebx; in kvm_vcpu_ioctl_set_cpuid()
255 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_cpuid_1_ent()
422 entry->ebx &= kvm_supported_word9_x86_features; in __do_cpuid_ent()
423 cpuid_mask(&entry->ebx, 9); in __do_cpuid_ent()
425 entry->ebx |= F(TSC_ADJUST); in __do_cpuid_ent()
[all …]
Dtss.h18 u32 ebx; member
Dpmu.c490 pmu->available_event_types = ~entry->ebx & in kvm_pmu_cpuid_update()
510 (entry->ebx & (X86_FEATURE_HLE|X86_FEATURE_RTM))) in kvm_pmu_cpuid_update()
Demulate.c2294 u32 eax, ebx, ecx, edx; in vendor_intel() local
2297 ctxt->ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx); in vendor_intel()
2298 return ebx == X86EMUL_CPUID_VENDOR_GenuineIntel_ebx in vendor_intel()
2306 u32 eax, ebx, ecx, edx; in em_syscall_is_enabled() local
2317 ops->get_cpuid(ctxt, &eax, &ebx, &ecx, &edx); in em_syscall_is_enabled()
2326 if (ebx == X86EMUL_CPUID_VENDOR_GenuineIntel_ebx && in em_syscall_is_enabled()
2332 if (ebx == X86EMUL_CPUID_VENDOR_AuthenticAMD_ebx && in em_syscall_is_enabled()
2338 if (ebx == X86EMUL_CPUID_VENDOR_AMDisbetterI_ebx && in em_syscall_is_enabled()
2703 tss->ebx = reg_read(ctxt, VCPU_REGS_RBX); in save_state_to_tss32()
2732 *reg_write(ctxt, VCPU_REGS_RBX) = tss->ebx; in load_state_from_tss32()
[all …]
Dx86.c5006 u32 *eax, u32 *ebx, u32 *ecx, u32 *edx) in emulator_get_cpuid() argument
5008 kvm_cpuid(emul_to_vcpu(ctxt), eax, ebx, ecx, edx); in emulator_get_cpuid()
Dvmx.c8568 best && (best->ebx & bit(X86_FEATURE_INVPCID)) && in vmx_cpuid_update()
8582 best->ebx &= ~bit(X86_FEATURE_INVPCID); in vmx_cpuid_update()
Dsvm.c4096 entry->ebx = 8; /* Lets support 8 ASIDs in case we add proper in svm_set_supported_cpuid()
/linux-4.1.27/drivers/staging/unisys/visorutil/
Dvisorkmodutils.c40 unsigned int eax, ebx, ecx, edx; in visorutil_spar_detect() local
44 cpuid(UNISYS_SPAR_LEAF_ID, &eax, &ebx, &ecx, &edx); in visorutil_spar_detect()
45 return (ebx == UNISYS_SPAR_ID_EBX) && in visorutil_spar_detect()
/linux-4.1.27/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c139 unsigned int eax, ebx, ecx, edx, max_level; in validate_cpuid() local
142 eax = ebx = ecx = edx = 0; in validate_cpuid()
144 asm("cpuid" : "=a" (max_level), "=b" (ebx), "=c" (ecx), in validate_cpuid()
147 if (ebx != 0x756e6547 || edx != 0x49656e69 || ecx != 0x6c65746e) { in validate_cpuid()
150 (char *)&ebx, (char *)&edx, (char *)&ecx); in validate_cpuid()
176 asm("cpuid" : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx) : "a" (6)); in validate_cpuid()
/linux-4.1.27/lib/raid6/
Dx86.h54 u32 eax, ebx, ecx, edx; in boot_cpu_has() local
61 : "+a" (eax), "=b" (ebx), "=d" (edx), "+c" (ecx)); in boot_cpu_has()
63 return ((flag & 0x100 ? ebx : in boot_cpu_has()
/linux-4.1.27/drivers/lguest/x86/
Dswitcher_32.S167 movl %ebx, %cr3
174 popl %ebx
213 pushl %ebx; \
235 movl LGUEST_PAGES_regs_trapnum(%eax), %ebx; \
297 leal (%edx,%ebx,8), %eax
Dcore.c189 return &cpu->regs->ebx; in lguest_arch_regptr()
/linux-4.1.27/arch/x86/platform/efi/
Defi_thunk_64.S52 movl %ebx, 8(%rsp)
98 movl %ebx, %ss
100 movl %ebx, %es
102 movl %ebx, %ds
/linux-4.1.27/drivers/char/
Dtoshiba.c273 bx = regs.ebx & 0xffff; in tosh_ioctl()
388 regs.ebx = 0x0000; in tosh_get_machine_id()
391 bx = (unsigned short) (regs.ebx & 0xffff); in tosh_get_machine_id()
399 printk("toshiba: debugging ID ebx=0x%04x\n", regs.ebx); in tosh_get_machine_id()
452 regs.ebx = 0x0000; in tosh_probe()
Di8k.c124 unsigned int ebx __packed;
267 regs.ebx = fan & 0xff; in i8k_get_fan_status()
278 regs.ebx = fan & 0xff; in i8k_get_fan_speed()
289 regs.ebx = fan & 0xff; in i8k_get_fan_type()
300 regs.ebx = (fan & 0xff) | (speed << 8); in i8k_get_fan_nominal_speed()
312 regs.ebx = (fan & 0xff) | (speed << 8); in i8k_set_fan()
321 regs.ebx = sensor & 0xff; in i8k_get_temp_type()
332 .ebx = sensor & 0xff, in _i8k_get_temp()
/linux-4.1.27/tools/power/cpupower/utils/helpers/
Dcpuid.c26 unsigned int eax, ebx, ecx, edx; \
27 __cpuid(op, eax, ebx, ecx, edx); \
31 cpuid_func(ebx);
/linux-4.1.27/Documentation/virtual/kvm/
Dcpuid.txt14 ebx = 0x4b4d564b,
17 Note that this value in ebx, ecx and edx corresponds to the string "KVMKVMKVM".
26 returns : ebx, ecx, edx = 0
Dapi.txt518 __u32 ebx;
1192 __u32 ebx;
1231 eax, ebx, ecx, edx: the values returned by the cpuid instruction for
2715 __u32 ebx;
2757 eax, ebx, ecx, edx: the values returned by the cpuid instruction for
/linux-4.1.27/drivers/hv/
Dhv.c57 unsigned int ebx; in query_hypervisor_info() local
68 ebx = 0; in query_hypervisor_info()
72 cpuid(op, &eax, &ebx, &ecx, &edx); in query_hypervisor_info()
78 ebx = 0; in query_hypervisor_info()
82 cpuid(op, &eax, &ebx, &ecx, &edx); in query_hypervisor_info()
84 host_info_ebx = ebx; in query_hypervisor_info()
/linux-4.1.27/arch/x86/lguest/
Dhead_32.S38 movl $lguest_data - __PAGE_OFFSET, %ebx
43 movl $(initial_page_table - __PAGE_OFFSET), %ebx
/linux-4.1.27/arch/x86/pci/
Dpcbios.c129 u32 signature, eax, ebx, ecx; in check_pcibios() local
144 "=b" (ebx), in check_pcibios()
153 major_ver = (ebx >> 8) & 0xff; in check_pcibios()
154 minor_ver = ebx & 0xff; in check_pcibios()
/linux-4.1.27/arch/x86/power/
Dhibernate_asm_32.S19 movl %ebx, saved_context_ebx
71 movl saved_context_ebx, %ebx
/linux-4.1.27/Documentation/x86/
Dentry_64.txt64 xorl %ebx,%ebx
72 movl $1,%ebx
78 xorl %ebx,%ebx
Dexception-tables.txt136 > movl 64(%esp),%ebx
138 > 1: movb (%ebx),%dl /* this is the actual user access */
195 > c017e7a1 <do_con_write+dd> movl 0x40(%esp,1),%ebx
196 > c017e7a5 <do_con_write+e1> movb (%ebx),%dl
241 the original assembly code: > 1: movb (%ebx),%dl
242 and linked in vmlinux : > c017e7a5 <do_con_write+e1> movb (%ebx),%dl
264 > c017e7a5 <do_con_write+e1> movb (%ebx),%dl
Dboot.txt1066 address of the struct boot_params; %ebp, %edi and %ebx must be zero.
/linux-4.1.27/arch/x86/kernel/acpi/
Dwakeup_32.S52 movl %ebx, saved_context_ebx
65 movl saved_context_ebx, %ebx
Dcstate.c76 unsigned int eax, ebx, ecx, edx; in acpi_processor_ffh_cstate_probe_cpu() local
81 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in acpi_processor_ffh_cstate_probe_cpu()
/linux-4.1.27/arch/x86/ia32/
Dia32entry.S179 movl %ebx,%edi /* arg1 */
247 movl %ebx,%esi /* 2nd arg: 1st syscall arg */
253 movl %ebx,%edi /* reload 1st syscall arg */
402 movl %ebx,%edi /* arg1 */
542 movl %ebx,%edi /* arg1 */
Dia32_aout.c80 dump->regs.ebx = regs->bx; in dump_thread32()
/linux-4.1.27/arch/x86/platform/olpc/
Dxo1-wakeup.S71 movl %ebx, saved_context_ebx
83 movl saved_context_ebx, %ebx
/linux-4.1.27/drivers/input/misc/
Dwistron_btns.c69 u32 eax, ebx, ecx; member
82 : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx) in call_bios()
83 : "0" (regs->eax), "1" (regs->ebx), "2" (regs->ecx), in call_bios()
165 regs.ebx = 0x061C; in bios_pop_queue()
178 regs.ebx = 0x012E; in bios_attach()
188 regs.ebx = 0x002E; in bios_detach()
198 regs.ebx = 0x051C; in bios_get_cmos_address()
210 regs.ebx = 0x0200 | subsys; in bios_get_default_setting()
222 regs.ebx = (enable ? 0x0100 : 0x0000) | subsys; in bios_set_state()
/linux-4.1.27/include/uapi/linux/
Dtoshiba.h29 unsigned int ebx __attribute__ ((packed)); member
/linux-4.1.27/drivers/video/fbdev/
Duvesafb.c562 task->t.regs.ebx = 0x0; in uvesafb_vbe_getpmi()
626 task->t.regs.ebx = 0; in uvesafb_vbe_getedid()
636 if ((task->t.regs.ebx & 0x3) == 3) { in uvesafb_vbe_getedid()
639 } else if ((task->t.regs.ebx & 0x3) == 2) { in uvesafb_vbe_getedid()
642 } else if ((task->t.regs.ebx & 0x3) == 1) { in uvesafb_vbe_getedid()
652 task->t.regs.ebx = 1; in uvesafb_vbe_getedid()
789 par->vbe_state_size = 64 * (task->t.regs.ebx & 0xffff); in uvesafb_vbe_getstatesize()
984 task->t.regs.ebx = 0x0; in uvesafb_setpalette()
1155 task->t.regs.ebx = 0x0001; in uvesafb_blank()
1158 task->t.regs.ebx = 0x0101; /* standby */ in uvesafb_blank()
[all …]
Dneofb.c1302 regs.ebx = 0x0002; /* HCI_BACKLIGHT */ in neofb_blank()
1343 regs.ebx = 0x0002; /* HCI_BACKLIGHT */ in neofb_blank()
/linux-4.1.27/arch/x86/include/uapi/asm/
Dptrace.h18 long ebx; member
Dvm86.h66 long ebx; member
Dkvm.h193 __u32 ebx; member
211 __u32 ebx; member
Dsigcontext.h114 unsigned long ebx; member
/linux-4.1.27/include/uapi/video/
Duvesafb.h7 __u32 ebx; member
/linux-4.1.27/scripts/
Dmarkup_oops.pl54 $regs{"%ebx"} = $2;
65 $regs{"%ebx"} = $2;
/linux-4.1.27/drivers/platform/x86/
Dacer-wmi.c628 u32 ebx; member
635 u32 ebx; member
729 args.ebx = value ? (1<<8) : 0; in AMW0_set_u32()
736 args.ebx |= ACER_AMW0_MAILLED_MASK; in AMW0_set_u32()
741 args.ebx |= ACER_AMW0_WIRELESS_MASK; in AMW0_set_u32()
746 args.ebx |= ACER_AMW0_BLUETOOTH_MASK; in AMW0_set_u32()
773 args.ebx = args.ecx = args.edx = 0; in AMW0_find_mailled()
845 args.ebx = 0xa2 << 8; in AMW0_set_capabilities()
846 args.ebx |= ACER_AMW0_WIRELESS_MASK; in AMW0_set_capabilities()
864 args.ebx = 2 << 8; in AMW0_set_capabilities()
[all …]
Ddell-laptop.c399 command.ebx = virt_to_phys(buffer); in dell_send_request()
/linux-4.1.27/arch/x86/include/asm/xen/
Dinterface_32.h49 uint32_t ebx; member
/linux-4.1.27/drivers/firmware/
Ddcdbas.h76 __u32 ebx; member
Ddcdbas.c278 "b" (smi_cmd->ebx), in dcdbas_smi_request()
325 smi_cmd->ebx = (u32) virt_to_phys(smi_cmd->command_buffer); in smi_request_store()
/linux-4.1.27/drivers/thermal/
Dx86_pkg_temp_thermal.c402 u32 eax, ebx, ecx, edx; in pkg_temp_thermal_device_add() local
406 cpuid(6, &eax, &ebx, &ecx, &edx); in pkg_temp_thermal_device_add()
407 thres_count = ebx & 0x07; in pkg_temp_thermal_device_add()
Dintel_powerclamp.c183 unsigned int eax, ebx, ecx, edx; in find_target_mwait() local
191 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in find_target_mwait()
/linux-4.1.27/Documentation/
DBUG-HUNTING188 > push %ebx
191 > mov 0x8(%ebp), %ebx ! %ebx = skb->sk
192 > mov 0x13c(%ebx), %eax ! %eax = inet_sk(sk)->opt
Doops-tracing.txt203 Aug 29 09:51:01 blizard kernel: eax: 315e97cc ebx: 003a6f80 ecx: 001be77b edx: 00237c0c
/linux-4.1.27/arch/x86/kernel/cpu/microcode/
Damd_early.c120 u32 rev, eax, ebx, ecx, edx; in apply_ucode_in_initrd() local
147 native_cpuid(&eax, &ebx, &ecx, &edx); in apply_ucode_in_initrd()
Dintel_early.c356 unsigned int eax, ebx, ecx, edx; in collect_cpu_info_early() local
366 native_cpuid(&eax, &ebx, &ecx, &edx); in collect_cpu_info_early()
/linux-4.1.27/tools/power/x86/turbostat/
Dturbostat.c2572 unsigned int eax, ebx, ecx, edx, max_level; in process_cpuid() local
2575 eax = ebx = ecx = edx = 0; in process_cpuid()
2577 __get_cpuid(0, &max_level, &ebx, &ecx, &edx); in process_cpuid()
2579 if (ebx == 0x756e6547 && edx == 0x49656e69 && ecx == 0x6c65746e) in process_cpuid()
2584 (char *)&ebx, (char *)&edx, (char *)&ecx); in process_cpuid()
2586 __get_cpuid(1, &fms, &ebx, &ecx, &edx); in process_cpuid()
2605 ebx = ecx = edx = 0; in process_cpuid()
2606 __get_cpuid(0x80000000, &max_level, &ebx, &ecx, &edx); in process_cpuid()
2614 __get_cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in process_cpuid()
2623 __get_cpuid(0x6, &eax, &ebx, &ecx, &edx); in process_cpuid()
[all …]
/linux-4.1.27/tools/perf/arch/x86/tests/
Dregs_load.S68 movl %ebx, BX(%edi)
/linux-4.1.27/drivers/acpi/
Dacpi_pad.c47 unsigned int eax, ebx, ecx, edx; in power_saving_mwait_init() local
57 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); in power_saving_mwait_init()
/linux-4.1.27/drivers/xen/
Dxen-acpi-processor.c448 u32 eax, ebx, ecx, edx; in check_prereq() local
449 cpuid(CPUID_FREQ_VOLT_CAPABILITIES, &eax, &ebx, &ecx, &edx); in check_prereq()
/linux-4.1.27/Documentation/zh_CN/
Doops-tracing.txt167 Aug 29 09:51:01 blizard kernel: eax: 315e97cc ebx: 003a6f80 ecx: 001be77b edx: 00237c0c
/linux-4.1.27/drivers/idle/
Dintel_idle.c856 unsigned int eax, ebx, ecx; in intel_idle_probe() local
876 cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &mwait_substates); in intel_idle_probe()
/linux-4.1.27/drivers/xen/xenbus/
Dxenbus_xs.c667 uint32_t eax, ebx, ecx, edx, base; in xen_strict_xenbus_quirk() local
670 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in xen_strict_xenbus_quirk()
/linux-4.1.27/arch/x86/crypto/sha-mb/
Dsha1_mb_mgr_flush_avx2.S76 #define tmp2_w %ebx
/linux-4.1.27/arch/x86/xen/
Denlighten.c1761 uint32_t eax, ebx, ecx, edx, pages, msr, base; in init_hvm_pv_info() local
1765 cpuid(base + 1, &eax, &ebx, &ecx, &edx); in init_hvm_pv_info()
/linux-4.1.27/tools/lguest/
Dlguest.c1550 case 3: return getreg(ebx) & mask; in getreg_num()
1577 case 3: setreg(ebx, val | (getreg(ebx) & ~mask)); return; in setreg_num()
/linux-4.1.27/Documentation/crypto/
Ddescore-readme.txt219 (it appears that gcc can use ebx, esi and edi to hold register variables).
/linux-4.1.27/
DREADME340 eax: xxxxxxxx ebx: xxxxxxxx ecx: xxxxxxxx edx: xxxxxxxx
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt3220 esp = 1342630420, ebx = 1348150624, edx = 1280, ecx = 0, eax = 0,
3573 esp = 1342630864, ebx = 256, edx = 0, ecx = 256, eax = 1024, trapno = 14,