Home
last modified time | relevance | path

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

1234

/arch/x86/kernel/acpi/
Dcstate.c73 struct acpi_processor_cx *cx = _cx; in acpi_processor_ffh_cstate_probe_cpu() local
83 cstate_type = ((cx->address >> MWAIT_SUBSTATE_SIZE) & in acpi_processor_ffh_cstate_probe_cpu()
92 cx->address, edx_part); in acpi_processor_ffh_cstate_probe_cpu()
108 cx->type); in acpi_processor_ffh_cstate_probe_cpu()
110 snprintf(cx->desc, in acpi_processor_ffh_cstate_probe_cpu()
112 cx->address); in acpi_processor_ffh_cstate_probe_cpu()
118 struct acpi_processor_cx *cx, struct acpi_power_register *reg) in acpi_processor_ffh_cstate_probe() argument
131 percpu_entry->states[cx->index].eax = 0; in acpi_processor_ffh_cstate_probe()
132 percpu_entry->states[cx->index].ecx = 0; in acpi_processor_ffh_cstate_probe()
136 retval = work_on_cpu(cpu, acpi_processor_ffh_cstate_probe_cpu, cx); in acpi_processor_ffh_cstate_probe()
[all …]
/arch/arm/mach-omap2/
Dcpuidle34xx.c114 struct omap3_idle_statedata *cx = &omap3_idle_data[index]; in omap3_enter_idle() local
120 if (cx->flags & OMAP_CPUIDLE_CX_NO_CLKDM_IDLE) { in omap3_enter_idle()
123 pwrdm_set_next_pwrst(mpu_pd, cx->mpu_state); in omap3_enter_idle()
124 pwrdm_set_next_pwrst(core_pd, cx->core_state); in omap3_enter_idle()
131 if (cx->mpu_state == PWRDM_POWER_OFF) in omap3_enter_idle()
141 if (cx->mpu_state == PWRDM_POWER_OFF && in omap3_enter_idle()
146 if (cx->flags & OMAP_CPUIDLE_CX_NO_CLKDM_IDLE) in omap3_enter_idle()
170 struct omap3_idle_statedata *cx = &omap3_idle_data[index]; in next_valid_state() local
188 if ((cx->mpu_state >= mpu_deepest_state) && in next_valid_state()
189 (cx->core_state >= core_deepest_state)) in next_valid_state()
[all …]
Dcpuidle44xx.c100 struct idle_statedata *cx = state_ptr + index; in omap_enter_idle_smp() local
104 cx->mpu_state_vote++; in omap_enter_idle_smp()
105 if (cx->mpu_state_vote == num_online_cpus()) { in omap_enter_idle_smp()
106 pwrdm_set_logic_retst(mpu_pd, cx->mpu_logic_state); in omap_enter_idle_smp()
107 omap_set_pwrdm_state(mpu_pd, cx->mpu_state); in omap_enter_idle_smp()
111 omap4_enter_lowpower(dev->cpu, cx->cpu_state); in omap_enter_idle_smp()
114 if (cx->mpu_state_vote == num_online_cpus()) in omap_enter_idle_smp()
116 cx->mpu_state_vote--; in omap_enter_idle_smp()
126 struct idle_statedata *cx = state_ptr + index; in omap_enter_idle_coupled() local
152 mpuss_can_lose_context = (cx->mpu_state == PWRDM_POWER_RET) && in omap_enter_idle_coupled()
[all …]
/arch/x86/boot/
Dcopy.S25 pushw %cx
26 shrw $2, %cx
28 popw %cx
29 andw $3, %cx
41 pushw %cx
42 shrw $2, %cx
44 popw %cx
45 andw $3, %cx
Dapm.c36 if (!(oreg.cx & 0x02)) /* 32 bits supported? */ in query_apm_bios()
49 boot_params.apm_bios_info.cseg_16 = oreg.cx; in query_apm_bios()
72 boot_params.apm_bios_info.flags = oreg.cx; in query_apm_bios()
Dmemory.c29 ireg.cx = sizeof buf; in detect_memory_e820()
86 if (oreg.cx || oreg.dx) { in detect_memory_e801()
87 oreg.ax = oreg.cx; in detect_memory_e801()
Dbioscall.S37 movw $11, %cx
72 movw $11, %cx
Dpmjump.S36 movw $__BOOT_DS, %cx
74 lldt %cx
/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.dts2 * linux/arch/arm/boot/nspire-cx.dts
16 lcd-type = "cx";
39 compatible = "lsi,nspire-cx-clock";
43 compatible = "lsi,nspire-cx-ahb-divider";
78 compatible = "ti,nspire-cx";
/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()
Da.out-core.h45 dump->regs.cx = regs->cx; in aout_dump_thread()
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()
221 (pr_reg)[11] = (regs)->cx; \
Dasm-prototypes.h36 INDIRECT_THUNK(cx)
Dasm.h42 #define _ASM_CX __ASM_REG(cx)
62 #define _ASM_ARG3W cx
95 #define _ASM_ARG4W cx
Dkexec.h102 asm volatile("movl %%ecx,%0" : "=m"(newregs->cx)); in crash_setup_regs()
116 asm volatile("movq %%rcx,%0" : "=m"(newregs->cx)); in crash_setup_regs()
Dsyscall.h126 *args++ = regs->cx; in syscall_get_arguments()
187 regs->cx = *args++; in syscall_set_arguments()
/arch/x86/xen/
Denlighten_pv.c142 unsigned int *cx, unsigned int *dx) in xen_cpuid() argument
155 *cx = cpuid_leaf5_ecx_val; in xen_cpuid()
168 "=c" (*cx), in xen_cpuid()
170 : "0" (*ax), "2" (*cx)); in xen_cpuid()
185 unsigned int ax, bx, cx, dx; in xen_check_mwait() local
207 cx = 0; in xen_check_mwait()
209 native_cpuid(&ax, &bx, &cx, &dx); in xen_check_mwait()
214 if ((cx & mwait_mask) != mwait_mask) in xen_check_mwait()
223 cx = 0; in xen_check_mwait()
226 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),
141 regs_user_copy->cx = user_regs->cx; in perf_get_regs_user()
/arch/x86/mm/
Dextable.c49 *(int *)regs->cx = INT_MIN / 2; in ex_handler_refcount()
125 (unsigned int)regs->cx, regs->ip, (void *)regs->ip)) in ex_handler_rdmsr_unsafe()
140 (unsigned int)regs->cx, (unsigned int)regs->dx, in ex_handler_wrmsr_unsafe()
/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()
324 regs->cx = 0; in ia32_setup_frame()
403 regs->cx = (unsigned long) &frame->uc; in ia32_setup_rt_frame()

1234