Home | History | Annotate | Download | only in asm-x86

Lines Matching defs:ecx

138 					 unsigned int *ecx, unsigned int *edx)
140 /* ecx is often an input as well as an output. */
144 "=c" (*ecx),
146 : "0" (*eax), "2" (*ecx));
181 asm volatile("cpuid" : "=a" (tmp) : "0" (1) : "ebx","ecx","edx","memory");
184 static inline void __monitor(const void *eax, unsigned long ecx,
187 /* "monitor %eax,%ecx,%edx;" */
190 : :"a" (eax), "c" (ecx), "d"(edx));
193 static inline void __mwait(unsigned long eax, unsigned long ecx)
195 /* "mwait %eax,%ecx;" */
198 : :"a" (eax), "c" (ecx));
201 extern void mwait_idle_with_hints(unsigned long eax, unsigned long ecx);
305 unsigned long eax,ecx,edx,ebx;
601 * clear %ecx since some cpus (Cyrix MII) do not set or clear %ecx
606 unsigned int *ecx, unsigned int *edx)
609 *ecx = 0;
610 __cpuid(eax, ebx, ecx, edx);
613 /* Some CPUID calls want 'count' to be placed in ecx */
616 unsigned int *ecx, unsigned int *edx)
619 *ecx = count;
620 __cpuid(eax, ebx, ecx, edx);
628 unsigned int eax, ebx, ecx, edx;
630 cpuid(op, &eax, &ebx, &ecx, &edx);
635 unsigned int eax, ebx, ecx, edx;
637 cpuid(op, &eax, &ebx, &ecx, &edx);
642 unsigned int eax, ebx, ecx, edx;
644 cpuid(op, &eax, &ebx, &ecx, &edx);
645 return ecx;
649 unsigned int eax, ebx, ecx, edx;
651 cpuid(op, &eax, &ebx, &ecx, &edx);