/Linux-v6.1/arch/arm/boot/dts/ |
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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/arm/ |
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-v6.1/drivers/cpufreq/ |
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 …]
|
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 …]
|
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 …]
|
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-v6.1/arch/x86/kernel/ |
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 …]
|
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> 31 * because we need identity-mapped pages. 34 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) 65 leaq (__end_init_task - FRAME_SIZE)(%rip), %rsp [all …]
|
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 …]
|
D | process_32.c | 5 * 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 …]
|
D | smpboot.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * (c) 1998, 1999, 2000, 2009 Ingo Molnar <mingo@redhat.com> 13 * Pentium Pro and Pentium-II/Xeon MP machines. 19 * Alan Cox : By repeated request 8) - Total BogoMIPS report. 32 * Martin J. Bligh : Added support for multi-quad systems 79 #include <asm/intel-family.h> 81 #include <asm/spec-ctrl.h> 266 * topology_is_primary_thread - Check whether CPU is the primary SMT thread 275 * topology_smt_supported - Check whether SMT is supported by the CPUs 283 * topology_phys_to_logical_pkg - Map a physical package id to a logical [all …]
|
/Linux-v6.1/arch/arm/mach-highbank/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "Calxeda ECX-1000/2000 (Highbank/Midway)"
|
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-v6.1/Documentation/devicetree/bindings/memory-controllers/ |
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-v6.1/arch/x86/entry/ |
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 …]
|
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> 50 * 64-bit SYSCALL instruction entry. Up to 6 arguments in registers. [all …]
|
/Linux-v6.1/arch/x86/um/ |
D | ptrace_32.c | 2 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 9 #include <asm/ptrace-abi.h> 21 if (err != -EINVAL) in arch_switch_to() 23 "not EINVAL\n", -err); in arch_switch_to() 58 [ECX] = HOST_CX, 81 case ECX: in putreg() 92 UPT_SYSCALL_NR(&child->thread.regs.regs) = value; in putreg() 96 return -EIO; in putreg() 100 return -EIO; in putreg() 105 return -EIO; in putreg() [all …]
|
/Linux-v6.1/include/uapi/linux/ |
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-v6.1/arch/x86/kernel/cpu/ |
D | amd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <asm/spec-ctrl.h> 19 #include <asm/pci-direct.h> 37 * Refer to Fam15h Models 00-0fh BKDG - CPUID Fn8000_001E_ECX 81 * and section 2.6.2 of "AMD-K6 Processor Revision Guide - Model 6" 107 #define CBAR (0xfffc) /* Configuration Base Address (32-bit) */ in init_amd_k5() 110 if (c->x86_model == 9 || c->x86_model == 10) { in init_amd_k5() 121 int mbytes = get_num_physpages() >> (20-PAGE_SHIFT); in init_amd_k6() 123 if (c->x86_model < 6) { in init_amd_k6() 124 /* Based on AMD doc 20734R - June 2000 */ in init_amd_k6() [all …]
|
D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 58 #include <asm/intel-family.h> 143 info = (struct ppin_info *)id->driver_data; in ppin_init() 145 if (rdmsrl_safe(info->msr_ppin_ctl, &val)) in ppin_init() 155 wrmsrl_safe(info->msr_ppin_ctl, val | 2UL); in ppin_init() 156 rdmsrl_safe(info->msr_ppin_ctl, &val); in ppin_init() 161 c->ppin = __rdmsr(info->msr_ppin); in ppin_init() 162 set_cpu_cap(c, info->feature); in ppin_init() 167 clear_cpu_cap(c, info->feature); in ppin_init() 186 if (c->cpuid_level == -1) { in default_init() [all …]
|
/Linux-v6.1/drivers/idle/ |
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> 68 static int max_cstate = CPUIDLE_STATE_MAX - 1; [all …]
|
/Linux-v6.1/drivers/edac/ |
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 …]
|
/Linux-v6.1/drivers/input/misc/ |
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-v6.1/arch/x86/kernel/cpu/microcode/ |
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> 58 if (intel_cpu_signatures_match(csig, cpf, mc_hdr->sig, mc_hdr->pf)) in find_matching_signature() 68 for (i = 0; i < ext_hdr->count; i++) { in find_matching_signature() 69 if (intel_cpu_signatures_match(csig, cpf, ext_sig->sig, ext_sig->pf)) in find_matching_signature() 83 if (mc_hdr->rev <= new_rev) in has_newer_microcode() 97 p->data = kmemdup(data, size, GFP_KERNEL); in memdup_patch() 98 if (!p->data) { in memdup_patch() 116 mc_saved_hdr = (struct microcode_header_intel *)iter->data; in save_microcode_patch() [all …]
|
D | core.c | 1 // 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> 55 * All non cpu-hotplug-callback call sites use: 57 * - microcode_mutex to synchronize with each other; 58 * - cpus_read_lock/unlock() to synchronize with 59 * the cpu-hotplug-callback call sites. 80 0, /* T-101 terminator */ 87 * - true: if update should stop 88 * - false: otherwise [all …]
|