| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| 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 …]
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/u-boot/arch/x86/cpu/intel_common/ |
| H A D | car.S | 6 * Copyright (C) 2000,2007 Ronald G. Minnich <rminnich@gmail.com> 8 * Copyright (C) 2007-2008 coresystems GmbH 11 * SPDX-License-Identifier: GPL-2.0 16 #include <asm/msr-index.h> 20 #include <asm/processor-flags.h> 28 /* Cache 4GB - MRC_SIZE_KB for MRC */ 29 #define CACHE_MRC_BYTES ((CONFIG_CACHE_MRC_SIZE_KB << 10) - 1) 30 #define CACHE_MRC_BASE (0xFFFFFFFF - CACHE_MRC_BYTES) 33 #define CPU_PHYSMASK_HI (1 << (CONFIG_CPU_ADDR_BITS - 32) - 1) 39 * value (built-in self test). We preserve this value until it can [all …]
|
| H A D | microcode.c | 3 * Copyright (C) 2000 Ronald G. Minnich 7 * SPDX-License-Identifier: GPL-2.0 17 #include <asm/msr-index.h> 23 * struct microcode_update - standard microcode header from Intel 44 update->data = fdt_getprop(blob, node, "data", &update->size); in microcode_decode_node() 45 if (!update->data) in microcode_decode_node() 46 return -ENOENT; in microcode_decode_node() 47 update->data += UCODE_HEADER_LEN; in microcode_decode_node() 48 update->size -= UCODE_HEADER_LEN; in microcode_decode_node() 50 update->header_version = fdtdec_get_int(blob, node, in microcode_decode_node() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/ |
| H A D | int10Defines.h | 2 * Copyright (c) 2000-2001 by The XFree86 Project, Inc. 29 #include <xorg-config.h> 40 (((type *)&(((struct vm86_struct *)REG->cpuRegs)->regs.name))[num]) 47 #define X86_ECX CPU_RD(ecx,0) 59 #define X86_CX CPU_RW(ecx,0) 75 #define X86_CL CPU_RB(ecx,0) 80 #define X86_CH CPU_RB(ecx,1)
|
| /OK3568_Linux_fs/kernel/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 | cpufreq-dt-platdev.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| 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, 55 cpuid_count(cmd->regs.eax, cmd->regs.ecx, in cpuid_smp_cpuid() 56 &cmd->regs.eax, &cmd->regs.ebx, in cpuid_smp_cpuid() 57 &cmd->regs.ecx, &cmd->regs.edx); in cpuid_smp_cpuid() 59 complete(&cmd->done); in cpuid_smp_cpuid() 73 return -EINVAL; /* Invalid chunk size */ in cpuid_read() [all …]
|
| 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> 26 #include <asm/nospec-branch.h> 30 #include <asm/asm-offsets.h> 40 * because we need identity-mapped pages. 43 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) [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 | process_32.c | 5 * Gareth Hughes <gareth@valinux.com>, May 2000 9 * This file handles the architecture-dependent parts of process handling.. 73 printk("%sEAX: %08lx EBX: %08lx ECX: %08lx EDX: %08lx\n", in __show_regs() 74 log_lvl, regs->ax, regs->bx, regs->cx, regs->dx); in __show_regs() 76 log_lvl, regs->si, regs->di, regs->bp, regs->sp); in __show_regs() 78 log_lvl, (u16)regs->ds, (u16)regs->es, (u16)regs->fs, gs, regs->ss, regs->flags); in __show_regs() 97 /* Only print out debug registers if they are in their non-default state. */ in __show_regs() 110 BUG_ON(dead_task->mm); in release_thread() 118 regs->fs = 0; in start_thread() 119 regs->ds = __USER_DS; in start_thread() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/arch/x86/entry/ |
| H A D | entry_64_compat.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Compatibility mode system call entry point for x86-64. 5 * Copyright 2000-2002 Andi Kleen, SuSE Labs. 7 #include <asm/asm-offsets.h> 16 #include <asm/nospec-branch.h> 25 * 32-bit SYSENTER entry. 27 * 32-bit system calls through the vDSO's __kernel_vsyscall enter here 28 * on 64-bit kernels running on Intel CPUs. 33 * never happened in any of Google's Bionic versions -- it only happened 34 * in a narrow range of Intel-provided versions. [all …]
|
| H A D | entry_64.S | 1 /* 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. 25 #include <asm/asm-offsets.h> 40 #include <asm/nospec-branch.h> 58 * 64-bit SYSCALL instruction entry. Up to 6 arguments in registers. [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/um/ |
| H A D | ptrace_32.c | 2 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 9 #include <asm/ptrace-abi.h> 20 if (err != -EINVAL) in arch_switch_to() 22 "not EINVAL\n", -err); in arch_switch_to() 57 [ECX] = HOST_CX, 80 case ECX: in putreg() 91 UPT_SYSCALL_NR(&child->thread.regs.regs) = value; in putreg() 95 return -EIO; in putreg() 99 return -EIO; in putreg() 104 return -EIO; in putreg() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/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.
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/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.
|
| /OK3568_Linux_fs/kernel/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.
|
| /OK3568_Linux_fs/kernel/drivers/idle/ |
| H A D | intel_idle.c | 1 // 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 */ 55 #include <asm/intel-family.h> 56 #include <asm/nospec-branch.h> 67 static int max_cstate = CPUIDLE_STATE_MAX - 1; [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/ |
| H A D | amd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <asm/spec-ctrl.h> 19 #include <asm/pci-direct.h> 38 * Refer to Fam15h Models 00-0fh BKDG - CPUID Fn8000_001E_ECX 82 * and section 2.6.2 of "AMD-K6 Processor Revision Guide - Model 6" 108 #define CBAR (0xfffc) /* Configuration Base Address (32-bit) */ in init_amd_k5() 111 if (c->x86_model == 9 || c->x86_model == 10) { in init_amd_k5() 122 int mbytes = get_num_physpages() >> (20-PAGE_SHIFT); in init_amd_k6() 124 if (c->x86_model < 6) { in init_amd_k6() 125 /* Based on AMD doc 20734R - June 2000 */ in init_amd_k6() [all …]
|
| H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 58 #include <asm/intel-family.h> 97 if (c->cpuid_level == -1) { in default_init() 99 if (c->x86 == 4) in default_init() 100 strcpy(c->x86_model_id, "486"); in default_init() 101 else if (c->x86 == 3) in default_init() 102 strcpy(c->x86_model_id, "386"); in default_init() 119 * IRET will check the segment types kkeil 2000/10/28 141 /* 32-bit code */ 143 /* 16-bit code */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/microcode/ |
| H A D | intel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2000-2006 Tigran Aivazian <aivazian.tigran@gmail.com> 34 #include <asm/intel-family.h> 72 if (cpu_signatures_match(csig, cpf, mc_hdr->sig, mc_hdr->pf)) in find_matching_signature() 82 for (i = 0; i < ext_hdr->count; i++) { in find_matching_signature() 83 if (cpu_signatures_match(csig, cpf, ext_sig->sig, ext_sig->pf)) in find_matching_signature() 97 if (mc_hdr->rev <= new_rev) in has_newer_microcode() 111 p->data = kmemdup(data, size, GFP_KERNEL); in memdup_patch() 112 if (!p->data) { in memdup_patch() 130 mc_saved_hdr = (struct microcode_header_intel *)iter->data; in save_microcode_patch() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/edac/ |
| H A D | highbank_mc_edac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2011-2012 Calxeda, Inc. 56 struct hb_mc_drvdata *drvdata = mci->pvt_info; in highbank_mc_err_handler() 60 status = readl(drvdata->mc_int_base + HB_DDR_ECC_INT_STATUS); in highbank_mc_err_handler() 63 err_addr = readl(drvdata->mc_err_base + HB_DDR_ECC_U_ERR_ADDR); in highbank_mc_err_handler() 67 0, 0, -1, in highbank_mc_err_handler() 68 mci->ctl_name, ""); in highbank_mc_err_handler() 71 u32 syndrome = readl(drvdata->mc_err_base + HB_DDR_ECC_C_ERR_STAT); in highbank_mc_err_handler() 73 err_addr = readl(drvdata->mc_err_base + HB_DDR_ECC_C_ERR_ADDR); in highbank_mc_err_handler() 77 0, 0, -1, in highbank_mc_err_handler() [all …]
|