Home
last modified time | relevance | path

Searched +full:ecx +full:- +full:2000 (Results 1 – 25 of 26) sorted by relevance

12

/linux/arch/arm/boot/dts/calxeda/
H A Decx-2000.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2011-2012 Calxeda, Inc.
6 /dts-v1/;
12 model = "Calxeda ECX-2000";
13 compatible = "calxeda,ecx-2000";
14 #address-cells = <2>;
15 #size-cells = <2>;
18 #address-cells = <1>;
19 #size-cells = <0>;
22 compatible = "arm,cortex-a15";
[all …]
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 dtb-$(CONFIG_ARCH_HIGHBANK) += \
4 ecx-2000.dtb
5 dtb-$(CONFIG_ARCH_HIGHBANK) += \
7 ecx-2000.dtb
/linux/Documentation/devicetree/bindings/arm/
H A Dcalxeda.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
12 Bindings for boards with Calxeda Cortex-A9 based ECX-1000 (Highbank) SOC
13 or Cortex-A15 based ECX-2000 SOCs
20 - enum:
21 - calxeda,highbank
22 - calxeda,ecx-2000
/linux/drivers/cpufreq/
H A Dhighbank-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * the cpufreq-dt driver changes to frequency to alert the highbank
19 #include <linux/pl320-ipc.h>
40 if (clk_data->new_rate > clk_data->old_rate) in hb_cpufreq_clk_notify()
41 while (hb_voltage_change(clk_data->new_rate)) in hb_cpufreq_clk_notify()
45 if (clk_data->new_rate < clk_data->old_rate) in hb_cpufreq_clk_notify()
46 while (hb_voltage_change(clk_data->new_rate)) in hb_cpufreq_clk_notify()
60 struct platform_device_info devinfo = { .name = "cpufreq-dt", }; in hb_cpufreq_driver_init()
67 (!of_machine_is_compatible("calxeda,ecx-2000"))) in hb_cpufreq_driver_init()
68 return -ENODEV; in hb_cpufreq_driver_init()
[all …]
H A Dcpufreq-dt-platdev.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include "cpufreq-dt.h"
16 * platforms using "operating-points" (V1) property.
19 { .compatible = "allwinner,sun4i-a10", },
20 { .compatible = "allwinner,sun5i-a10s", },
21 { .compatible = "allwinner,sun5i-a13", },
22 { .compatible = "allwinner,sun5i-r8", },
23 { .compatible = "allwinner,sun6i-a31", },
24 { .compatible = "allwinner,sun6i-a31s", },
25 { .compatible = "allwinner,sun7i-a20", },
[all …]
H A Dpowernow-k8.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * (c) 2003-2012 Advanced Micro Devices, Inc.
8 * Based on the powernow-k7.c module written by Dave Jones.
48 #include "powernow-k8.h"
112 data->currvid = hi & MSR_S_HI_CURRENT_VID; in query_current_values_with_pending_wait()
113 data->currfid = lo & MSR_S_LO_CURRENT_FID; in query_current_values_with_pending_wait()
121 udelay((1 << data->irt) * 10); in count_off_irt()
127 udelay(data->vstable * VST_UNITS_20US); in count_off_vst()
149 u32 savevid = data->currvid; in write_new_fid()
152 if ((fid & INVALID_FID_MASK) || (data->currvid & INVALID_VID_MASK)) { in write_new_fid()
[all …]
/linux/arch/x86/kernel/
H A Dcpuid.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* ----------------------------------------------------------------------- *
4 * Copyright 2000-2008 H. Peter Anvin - All Rights Reserved
6 * ----------------------------------------------------------------------- */
16 * and the upper 32 bits of the file position as the incoming %ecx,
54 cpuid_count(cmd->regs.eax, cmd->regs.ecx, in cpuid_smp_cpuid()
55 &cmd->regs.eax, &cmd->regs.ebx, in cpuid_smp_cpuid()
56 &cmd->regs.ecx, &cmd->regs.edx); in cpuid_smp_cpuid()
58 complete(&cmd->done); in cpuid_smp_cpuid()
72 return -EINVAL; /* Invalid chunk size */ in cpuid_read()
[all …]
H A Dapm_32.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -*- linux-c -*-
4 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
16 * (Thanks to Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>)
29 * Jan 2000, Version 1.12
30 * Feb 2000, Version 1.13
31 * Nov 2000, Version 1.14
43 * 1.1: support user-space standby and suspend, power off after system
46 * is only incorrect by 30-60mS (vs. 1S previously) (Gabor J. Toth
48 * screen-blanking and gpm (Stephen Rothwell); Linux 1.99.4
[all …]
H A Dprocess_32.c5 * Gareth Hughes <gareth@valinux.com>, May 2000
9 * This file handles the architecture-dependent parts of process handling..
70 printk("%sEAX: %08lx EBX: %08lx ECX: %08lx EDX: %08lx\n", in __show_regs()
71 log_lvl, regs->ax, regs->bx, regs->cx, regs->dx); in __show_regs()
73 log_lvl, regs->si, regs->di, regs->bp, regs->sp); in __show_regs()
75 log_lvl, (u16)regs->ds, (u16)regs->es, (u16)regs->fs, gs, regs->ss, regs->flags); in __show_regs()
94 /* Only print out debug registers if they are in their non-default state. */ in __show_regs()
107 BUG_ON(dead_task->mm); in release_thread()
115 regs->fs = 0; in start_thread()
116 regs->ds = __USER_DS; in start_thread()
[all …]
H A Dtraps.c3 * Copyright (C) 2000, 2001, 2002 Andi Kleen, SuSE Labs
6 * Gareth Hughes <gareth@valinux.com>, May 2000
51 #include <asm/text-patching.h>
67 #include <asm/insn-eval.h>
76 #include <asm/processor-flags.h>
101 * FineIBT: f0 75 f9 lock jne . - 6
104 * static_call: 0f b9 cc ud1 %esp,%ecx
106 * Notably UBSAN uses EAX, static_call uses ECX.
129 *len = addr - start; in decode_bug()
134 *len = addr - start; in decode_bug()
[all …]
H A Dptrace.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Gareth Hughes <gareth@valinux.com>, May 2000
119 * regs_query_register_offset() - query register offset from its name
123 * pt_regs from its name. If the name is invalid, this returns -EINVAL;
128 for (roff = regoffset_table; roff->name != NULL; roff++) in regs_query_register_offset()
129 if (!strcmp(roff->name, name)) in regs_query_register_offset()
130 return roff->offset; in regs_query_register_offset()
131 return -EINVAL; in regs_query_register_offset()
135 * regs_query_register_name() - query register name from its offset
144 for (roff = regoffset_table; roff->name != NULL; roff++) in regs_query_register_name()
[all …]
/linux/arch/arm/mach-highbank/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 bool "Calxeda ECX-1000/2000 (Highbank/Midway)"
H A Dhighbank.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2010-2011 Calxeda, Inc.
8 #include <linux/dma-map-ops.h>
12 #include <linux/pl320-ipc.h>
21 #include <asm/hardware/cache-l2x0.h>
55 if (of_find_compatible_node(NULL, NULL, "arm,cortex-a9")) in highbank_init_irq()
71 int reg = -1; in highbank_platform_notifier()
78 if (of_device_is_compatible(dev->of_node, "calxeda,hb-ahci")) in highbank_platform_notifier()
80 else if (of_device_is_compatible(dev->of_node, "calxeda,hb-sdhci")) in highbank_platform_notifier()
82 else if (of_device_is_compatible(dev->of_node, "arm,pl330")) in highbank_platform_notifier()
[all …]
/linux/arch/x86/um/
H A Dptrace_32.c2 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
10 #include <asm/ptrace-abi.h>
20 if (err != -EINVAL) in arch_switch_to()
22 "not EINVAL\n", -err); in arch_switch_to()
33 [ECX] = HOST_CX,
56 case ECX: in putreg()
67 UPT_SYSCALL_NR(&child->thread.regs.regs) = value; in putreg()
71 return -EIO; in putreg()
75 return -EIO; in putreg()
80 return -EIO; in putreg()
[all …]
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dcalxeda-ddr-ctrlr.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/calxeda-ddr-ctrlr.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 - Andre Przywara <andre.przywara@arm.com>
20 - calxeda,hb-ddr-ctrl
21 - calxeda,ecx-2000-ddr-ctrl
30 - compatible
31 - reg
32 - interrupts
[all …]
/linux/include/uapi/linux/
H A Dtoshiba.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2 /* toshiba.h -- Linux driver for accessing the SMM on Toshiba laptops
4 * Copyright (c) 1996-2000 Jonathan A. Buzzard (jonathan@buzzard.org.uk)
41 unsigned int ecx __attribute__ ((packed)); member
48 * IOCTLs (0x90 - 0x91)
59 * SCI_GET (0xf300) or SCI_SET (0xf400), returning -EINVAL if not.
/linux/drivers/idle/
H A Dintel_idle.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * intel_idle.c - native hardware idle loop for modern Intel processors
5 * Copyright (c) 2013 - 2020, Intel Corporation.
23 * for preventing entry into deep C-states
25 * CPU will flush caches as needed when entering a C-state via MWAIT
33 * ACPI has a .suspend hack to turn off deep c-statees during suspend
39 /* un-comment DEBUG to enable pr_debug() statements */
58 #include <asm/intel-family.h>
60 #include <asm/spec-ctrl.h>
73 static int max_cstate = CPUIDLE_STATE_MAX - 1;
[all …]
/linux/arch/x86/entry/
H A Dentry_64.S1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Copyright (C) 2000, 2001, 2002 Andi Kleen SuSE Labs
7 * Copyright (C) 2000 Pavel Machek <pavel@suse.cz>
9 * entry.S contains the system-call and fault low-level handling routines.
14 * - iret frame: Architecture defined interrupt frame from SS to RIP
18 * - SYM_FUNC_START/END:Define functions in the symbol table.
19 * - idtentry: Define exception entry points.
26 #include <asm/asm-offsets.h>
40 #include <asm/nospec-branch.h>
50 * 64-bit SYSCALL instruction entry. Up to 6 arguments in registers.
[all …]
/linux/arch/x86/kernel/cpu/
H A Dcommon.c1 // SPDX-License-Identifier: GPL-2.0-only
63 #include <asm/intel-family.h>
73 #include <asm/runtime-const.h>
149 info = (struct ppin_info *)id->driver_data; in ppin_init()
151 if (rdmsrq_safe(info->msr_ppin_ctl, &val)) in ppin_init()
161 wrmsrq_safe(info->msr_ppin_ctl, val | 2UL); in ppin_init()
162 rdmsrq_safe(info->msr_ppin_ctl, &val); in ppin_init()
167 c->ppin = native_rdmsrq(info->msr_ppin); in ppin_init()
168 set_cpu_cap(c, info->feature); in ppin_init()
173 setup_clear_cpu_cap(info->feature); in ppin_init()
[all …]
H A Damd.c1 // SPDX-License-Identifier: GPL-2.0-only
18 #include <asm/spec-ctrl.h>
21 #include <asm/pci-direct.h>
75 * and section 2.6.2 of "AMD-K6 Processor Revision Guide - Model 6"
101 #define CBAR (0xfffc) /* Configuration Base Address (32-bit) */ in init_amd_k5()
104 if (c->x86_model == 9 || c->x86_model == 10) { in init_amd_k5()
115 int mbytes = get_num_physpages() >> (20-PAGE_SHIFT); in init_amd_k6()
117 if (c->x86_model < 6) { in init_amd_k6()
118 /* Based on AMD doc 20734R - June 2000 */ in init_amd_k6()
119 if (c->x86_model == 0) { in init_amd_k6()
[all …]
/linux/drivers/edac/
H A Dhighbank_mc_edac.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2011-2012 Calxeda, Inc.
57 struct hb_mc_drvdata *drvdata = mci->pvt_info; in highbank_mc_err_handler()
61 status = readl(drvdata->mc_int_base + HB_DDR_ECC_INT_STATUS); in highbank_mc_err_handler()
64 err_addr = readl(drvdata->mc_err_base + HB_DDR_ECC_U_ERR_ADDR); in highbank_mc_err_handler()
68 0, 0, -1, in highbank_mc_err_handler()
69 mci->ctl_name, ""); in highbank_mc_err_handler()
72 u32 syndrome = readl(drvdata->mc_err_base + HB_DDR_ECC_C_ERR_STAT); in highbank_mc_err_handler()
74 err_addr = readl(drvdata->mc_err_base + HB_DDR_ECC_C_ERR_ADDR); in highbank_mc_err_handler()
78 0, 0, -1, in highbank_mc_err_handler()
[all …]
/linux/arch/x86/kernel/cpu/microcode/
H A Dintel.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2000-2006 Tigran Aivazian <aivazian.tigran@gmail.com>
63 return hdr->datasize ? hdr->totalsize : DEFAULT_UCODE_TOTALSIZE; in get_totalsize()
68 return et->count * EXT_SIGNATURE_SIZE + EXT_HEADER_SIZE; in exttable_size()
73 sig->sig = cpuid_eax(1); in intel_collect_cpu_info()
74 sig->pf = 0; in intel_collect_cpu_info()
75 sig->rev = intel_get_microcode_revision(); in intel_collect_cpu_info()
77 if (IFM(x86_family(sig->sig), x86_model(sig->sig)) >= INTEL_PENTIUM_III_DESCHUTES) { in intel_collect_cpu_info()
82 sig->pf = 1 << ((val[1] >> 18) & 7); in intel_collect_cpu_info()
90 if (s1->sig != sig2) in cpu_signatures_match()
[all …]
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2000-2006 Tigran Aivazian <aivazian.tigran@gmail.com>
7 * 2013-2016 Borislav Petkov <bp@alien8.de>
54 * All non cpu-hotplug-callback call sites use:
56 * - cpus_read_lock/unlock() to synchronize with
57 * the cpu-hotplug-callback call sites.
71 0, /* T-101 terminator */
80 * - true: if update should stop
81 * - false: otherwise
112 * 2) Bit 31 in CPUID[1]:ECX is clear in microcode_loader_disabled()
[all …]
/linux/drivers/input/misc/
H A Dwistron_btns.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/input/sparse-keymap.h>
25 /* How often we poll keys - msecs */
57 u32 eax, ebx, ecx; member
70 : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx) in call_bios()
71 : "0" (regs->eax), "1" (regs->ebx), "2" (regs->ecx), in call_bios()
89 return -1; in locate_wistron_bios()
103 return -ENODEV; in map_bios()
136 return -ENOMEM; in map_bios()
154 regs.ecx = 0x0000; in bios_pop_queue()
[all …]
/linux/drivers/char/mwave/
H A Dsmapi.c3 * smapi.c -- SMAPI interface routines
23 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
42 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
45 * 10/23/2000 - Alpha Release
69 unsigned short usSmapiOK = -EIO, *pusSmapiOK = &usSmapiOK; in smapi_request()
107 :"%eax", "%ebx", "%ecx", "%edx", "%edi", in smapi_request()
121 retval = (usSmapiOK == 1) ? 0 : -EIO; in smapi_request()
148 pSettings->bDSPPresent = ((usBX & 0x0100) != 0); in smapi_query_DSP_cfg()
149 pSettings->bDSPEnabled = ((usCX & 0x0001) != 0); in smapi_query_DSP_cfg()
150 pSettings->usDspIRQ = usSI & 0x00FF; in smapi_query_DSP_cfg()
[all …]

12