| /linux/arch/arm/boot/dts/calxeda/ |
| H A D | ecx-2000.dts | 1 // 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 D | Makefile | 1 # 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 D | calxeda.yaml | 1 # 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/arch/x86/kernel/ |
| H A D | head_64.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * linux/arch/x86/kernel/head_64.S -- start in 32bit and switch to 64bit 5 * Copyright (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE 6 * Copyright (C) 2000 Pavel Machek <pavel@suse.cz> 7 * Copyright (C) 2000 Karsten Keil <kkeil@suse.de> 21 #include <asm/processor-flags.h> 25 #include <asm/nospec-branch.h> 33 * because we need identity-mapped pages. 67 * the per-CPU areas are set up. 69 movl $MSR_GS_BASE, %ecx [all …]
|
| H A D | cpuid.c | 1 // 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 D | apm_32.c | 1 // 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 D | ptrace.c | 1 // 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 …]
|
| H A D | traps.c | 3 * Copyright (C) 2000, 2001, 2002 Andi Kleen, SuSE Labs 6 * Gareth Hughes <gareth@valinux.com>, May 2000 52 #include <asm/text-patching.h> 68 #include <asm/insn-eval.h> 78 #include <asm/processor-flags.h> 103 * FineIBT: f0 75 f9 lock jne . - 6 106 * static_call: 0f b9 cc ud1 %esp,%ecx 143 *len = addr - start; in decode_bug() 148 *len = addr - start; in decode_bug() 160 *len = addr - start; in decode_bug() [all …]
|
| /linux/drivers/cpufreq/ |
| H A D | highbank-cpufreq.c | 1 // 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 D | powernow-k7.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * - We cli/sti on stepping A0 CPUs around the FID/VID transition. 13 * - We disable half multipliers if ACPI is used on A0 stepping CPUs. 38 #include "powernow-k7.h" 71 2000, 1950, 1900, 1850, 1800, 1750, 1700, 1650, 82 150, 225, 160, 165, 170, 180, -1, -1, 95 static unsigned int minimum_speed = -1; 107 delta = (fsbspeed > f) ? fsbspeed - f : f - fsbspeed; in check_fsb() 120 unsigned int maxei, eax, ebx, ecx, edx; in check_powernow() local 134 if ((c->x86_model == 6) && (c->x86_stepping == 0)) { in check_powernow() [all …]
|
| H A D | powernow-k8.c | 1 // 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/arm/mach-highbank/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "Calxeda ECX-1000/2000 (Highbank/Midway)"
|
| H A D | highbank.c | 1 // 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 D | ptrace_32.c | 2 * 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 D | calxeda-ddr-ctrlr.yaml | 1 # 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 D | toshiba.h | 1 /* 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/edac/ |
| H A D | highbank_mc_edac.c | 1 // 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/ |
| H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 65 #include <asm/intel-family.h> 76 #include <asm/runtime-const.h> 83 /* Used for modules: built-in code uses runtime constants */ 159 info = (struct ppin_info *)id->driver_data; in ppin_init() 161 if (rdmsrq_safe(info->msr_ppin_ctl, &val)) in ppin_init() 171 wrmsrq_safe(info->msr_ppin_ctl, val | 2UL); in ppin_init() 172 rdmsrq_safe(info->msr_ppin_ctl, &val); in ppin_init() 177 c->ppin = native_rdmsrq(info->msr_ppin); in ppin_init() 178 set_cpu_cap(c, info->feature); in ppin_init() [all …]
|
| H A D | amd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/platform_data/x86/amd-fch.h> 19 #include <asm/spec-ctrl.h> 22 #include <asm/pci-direct.h> 76 * and section 2.6.2 of "AMD-K6 Processor Revision Guide - Model 6" 102 #define CBAR (0xfffc) /* Configuration Base Address (32-bit) */ in init_amd_k5() 105 if (c->x86_model == 9 || c->x86_model == 10) { in init_amd_k5() 116 int mbytes = get_num_physpages() >> (20-PAGE_SHIFT); in init_amd_k6() 118 if (c->x86_model < 6) { in init_amd_k6() 119 /* Based on AMD doc 20734R - June 2000 */ in init_amd_k6() [all …]
|
| /linux/drivers/input/misc/ |
| H A D | wistron_btns.c | 1 // 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/tools/power/x86/intel-speed-select/ |
| H A D | isst-config.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Intel Speed Select -- Enumerate and control features 55 static int current_clos = -1; 56 static int clos_epp = -1; 57 static int clos_prop_prio = -1; 58 static int clos_min = -1; 59 static int clos_max = - 157 unsigned int ebx, ecx, edx; update_cpu_model() local [all...] |