Home
last modified time | relevance | path

Searched refs:cx (Results 1 – 25 of 82) sorted by relevance

1234

/arch/x86/kernel/acpi/
Dcstate.c101 struct acpi_processor_cx *cx = _cx; in acpi_processor_ffh_cstate_probe_cpu() local
111 cstate_type = ((cx->address >> MWAIT_SUBSTATE_SIZE) & in acpi_processor_ffh_cstate_probe_cpu()
120 cx->address, edx_part); in acpi_processor_ffh_cstate_probe_cpu()
136 cx->type); in acpi_processor_ffh_cstate_probe_cpu()
138 snprintf(cx->desc, in acpi_processor_ffh_cstate_probe_cpu()
140 cx->address); in acpi_processor_ffh_cstate_probe_cpu()
146 struct acpi_processor_cx *cx, struct acpi_power_register *reg) in acpi_processor_ffh_cstate_probe() argument
159 percpu_entry->states[cx->index].eax = 0; in acpi_processor_ffh_cstate_probe()
160 percpu_entry->states[cx->index].ecx = 0; in acpi_processor_ffh_cstate_probe()
164 retval = call_on_cpu(cpu, acpi_processor_ffh_cstate_probe_cpu, cx, in acpi_processor_ffh_cstate_probe()
[all …]
/arch/arm/mach-omap2/
Dcpuidle44xx.c97 struct idle_statedata *cx = state_ptr + index; in omap_enter_idle_smp() local
101 cx->mpu_state_vote++; in omap_enter_idle_smp()
102 if (cx->mpu_state_vote == num_online_cpus()) { in omap_enter_idle_smp()
103 pwrdm_set_logic_retst(mpu_pd, cx->mpu_logic_state); in omap_enter_idle_smp()
104 omap_set_pwrdm_state(mpu_pd, cx->mpu_state); in omap_enter_idle_smp()
108 omap4_enter_lowpower(dev->cpu, cx->cpu_state); in omap_enter_idle_smp()
111 if (cx->mpu_state_vote == num_online_cpus()) in omap_enter_idle_smp()
113 cx->mpu_state_vote--; in omap_enter_idle_smp()
123 struct idle_statedata *cx = state_ptr + index; in omap_enter_idle_coupled() local
150 mpuss_can_lose_context = (cx->mpu_state == PWRDM_POWER_RET) && in omap_enter_idle_coupled()
[all …]
Dcpuidle34xx.c111 struct omap3_idle_statedata *cx = &omap3_idle_data[index]; in omap3_enter_idle() local
118 if (cx->flags & OMAP_CPUIDLE_CX_NO_CLKDM_IDLE) { in omap3_enter_idle()
121 pwrdm_set_next_pwrst(mpu_pd, cx->mpu_state); in omap3_enter_idle()
122 pwrdm_set_next_pwrst(core_pd, cx->core_state); in omap3_enter_idle()
129 if (cx->mpu_state == PWRDM_POWER_OFF) { in omap3_enter_idle()
142 if (cx->mpu_state == PWRDM_POWER_OFF && in omap3_enter_idle()
148 if (cx->flags & OMAP_CPUIDLE_CX_NO_CLKDM_IDLE) in omap3_enter_idle()
172 struct omap3_idle_statedata *cx = &omap3_idle_data[index]; in next_valid_state() local
190 if ((cx->mpu_state >= mpu_deepest_state) && in next_valid_state()
191 (cx->core_state >= core_deepest_state)) in next_valid_state()
[all …]
/arch/x86/boot/
Dcopy.S23 pushw %cx
24 shrw $2, %cx
26 popw %cx
27 andw $3, %cx
39 pushw %cx
40 shrw $2, %cx
42 popw %cx
43 andw $3, %cx
Dapm.c34 if (!(oreg.cx & 0x02)) /* 32 bits supported? */ in query_apm_bios()
47 boot_params.apm_bios_info.cseg_16 = oreg.cx; in query_apm_bios()
70 boot_params.apm_bios_info.flags = oreg.cx; in query_apm_bios()
Dmemory.c27 ireg.cx = sizeof(buf); in detect_memory_e820()
84 if (oreg.cx || oreg.dx) { in detect_memory_e801()
85 oreg.ax = oreg.cx; in detect_memory_e801()
Dbioscall.S34 movw $11, %cx
69 movw $11, %cx
Dpmjump.S34 movw $__BOOT_DS, %cx
72 lldt %cx
Dedd.c29 ireg.cx = 0x0001; /* Sector 0-0-1 */ in read_mbr()
95 ei->interface_support = oreg.cx; /* EDD functionality subsets */ in get_edd_info()
/arch/x86/realmode/rm/
Dwakeup_asm.S50 movw $16, %cx
57 movw %cx, %ds
58 movw %cx, %es
59 movw %cx, %ss
60 movw %cx, %fs
61 movw %cx, %gs
/arch/arm/boot/dts/
Dnspire-cx.dts3 * linux/arch/arm/boot/nspire-cx.dts
39 compatible = "lsi,nspire-cx-clock";
43 compatible = "lsi,nspire-cx-ahb-divider";
78 compatible = "ti,nspire-cx";
115 compatible = "ti,nspire-cx-lcd-panel";
/arch/x86/math-emu/
Dreg_u_add.S56 negw %cx
79 cmpw $32,%cx /* shrd only works for 0..31 bits */
89 cmpw $64,%cx
114 cmpw $65,%cx
Dreg_u_sub.S79 cmpw $32,%cx /* shrd only works for 0..31 bits */
89 cmpw $64,%cx
114 cmpw $65,%cx
226 subw %cx,EXP(%edi) /* Can get underflow here */
Dreg_round.S482 movw EXP_UNDER+1,%cx
483 subw EXP(%edi),%cx
485 cmpw $64,%cx /* shrd only works for 0..31 bits */
488 cmpw $32,%cx /* shrd only works for 0..31 bits */
496 addw %cx,EXP(%edi)
509 addw %cx,EXP(%edi)
530 cmpw $64,%cx
534 addw %cx,EXP(%edi)
Dreg_norm.S53 subw %cx,EXP(%ebx) /* This can cause an underflow */
131 subw %cx,EXP(%ebx) /* This can cause an underflow */
/arch/x86/include/asm/
Dapm.h52 int cx, dx, si; in apm_bios_call_simple_asm() local
67 : "=a" (*eax), "=b" (error), "=c" (cx), "=d" (dx), in apm_bios_call_simple_asm()
Dptrace.h28 unsigned long cx; member
73 unsigned long cx; member
313 offsetof(struct pt_regs, cx), in regs_get_kernel_argument()
319 offsetof(struct pt_regs, cx), in regs_get_kernel_argument()
Dasm.h44 #define _ASM_CX __ASM_REG(cx)
64 #define _ASM_ARG3W cx
97 #define _ASM_ARG4W cx
Delf.h111 _r->bx = 0; _r->cx = 0; _r->dx = 0; \
124 pr_reg[1] = regs->cx; \
176 /*regs->ax = */ regs->bx = regs->cx = regs->dx = 0; in elf_common_init()
220 (pr_reg)[11] = (regs)->cx; \
Dasm-prototypes.h35 INDIRECT_THUNK(cx)
Dsyscall.h123 *args++ = regs->cx; in syscall_get_arguments()
147 regs->cx = *args++; in syscall_set_arguments()
Dkexec.h87 asm volatile("movl %%ecx,%0" : "=m"(newregs->cx)); in crash_setup_regs()
101 asm volatile("movq %%rcx,%0" : "=m"(newregs->cx)); in crash_setup_regs()
/arch/x86/xen/
Denlighten_pv.c172 unsigned int *cx, unsigned int *dx) in xen_cpuid() argument
185 *cx = cpuid_leaf5_ecx_val; in xen_cpuid()
198 "=c" (*cx), in xen_cpuid()
200 : "0" (*ax), "2" (*cx)); in xen_cpuid()
215 unsigned int ax, bx, cx, dx; in xen_check_mwait() local
237 cx = 0; in xen_check_mwait()
239 native_cpuid(&ax, &bx, &cx, &dx); in xen_check_mwait()
244 if ((cx & mwait_mask) != mwait_mask) in xen_check_mwait()
253 cx = 0; in xen_check_mwait()
256 native_cpuid(&ax, &bx, &cx, &dx); in xen_check_mwait()
[all …]
/arch/x86/kernel/
Dperf_regs.c23 PT_REGS_OFFSET(PERF_REG_X86_CX, cx),
157 regs_user_copy->cx = user_regs->cx; in perf_get_regs_user()
/arch/x86/ia32/
Dia32_signal.c89 COPY(dx); COPY(cx); COPY(ip); COPY(ax); in ia32_restore_sigcontext()
198 put_user_ex(regs->cx, &sc->cx); in ia32_setup_sigcontext()
319 regs->cx = 0; in ia32_setup_frame()
398 regs->cx = (unsigned long) &frame->uc; in ia32_setup_rt_frame()

1234