/linux/drivers/watchdog/ |
H A D | iTCO_vendor_support.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (c) Copyright 2006-2009 Wim Van Sebroeck <wim@iguana.be>. 9 * provided "AS-IS" and at no charge. 26 #include <linux/errno.h> /* For the -ENODEV/... values */ 29 #include <linux/ioport.h> /* For io-port access */ 35 /* SuperMicro Pentium 3 Era 370SSE+-OEM1/P3TSSE */ 37 /* SuperMicro Pentium 4 / Xeon 4 / EMT64T Era Systems - no longer supported */ 47 "0 (none), 1=SuperMicro Pent3, 911=Broken SMI BIOS"); 55 * Board: Super Micro Computer Inc. 370SSE+-OEM1/P3TSSE 62 * BIOS setup -> Power -> TCO Logic SMI Enable -> Within5Minutes [all …]
|
H A D | machzwd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MachZ ZF-Logic Watchdog Timer driver for Linux 6 * any of this software. This material is provided "AS-IS" in 11 * Based on sbc60xxwdt.c by Jakob Oestergaard 15 * wd#1 - 2 seconds; 16 * wd#2 - 7.2 ms; 17 * After the expiration of wd#1, it can generate a NMI, SCI, SMI, or 21 * 14-Dec-2001 Matt Domsch <Matt_Domsch@dell.com> 87 MODULE_DESCRIPTION("MachZ ZF-Logic Watchdog driver"); 101 .identity = "ZF-Logic watchdog", [all …]
|
H A D | nv_tco.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Based off i8xx_tco.c: 13 * based on softdog.c by Alan Cox <alan@redhat.com> 121 return -EINVAL; in tco_timer_set_heartbeat() 124 /* "Values of 0h-3h are ignored and should not be attempted" */ in tco_timer_set_heartbeat() 126 return -EINVAL; in tco_timer_set_heartbeat() 137 ret = -EINVAL; in tco_timer_set_heartbeat() 155 return -EBUSY; in nv_tco_open() 198 return -EFAULT; in nv_tco_write() 213 int new_options, retval = -EINVAL; in nv_tco_ioctl() [all …]
|
/linux/tools/power/cpupower/debug/i386/ |
H A D | intel_gsic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Based on code found in 7 * linux/include/asm-i386/ist.h and linux/arch/i386/kernel/setup.c 48 printf("non-default command value. If speedstep-smi " in main() 55 printf("non-default command port. If speedstep-smi " in main() 68 "GSIC call, but the newer\nspeedstep-smi driver may " in main() 70 "the speedstep-smi driver:\n"); in main()
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_cmd_parser.c | 86 * implemented via a per-engine length decoding vfunc. 91 * in the per-engine command tables. 149 * A non-zero step value implies that the command may access multiple 164 * the CMD_DESC_BITMASK bit set. Only entries where mask is non-zero 167 * If the check specifies a non-zero condition_mask then the parser 169 * are non-zero. 192 #define STD_MI_OPCODE_SHIFT (32 - 9) 193 #define STD_3D_OPCODE_SHIFT (32 - 16) 194 #define STD_2D_OPCODE_SHIFT (32 - 10) 195 #define STD_MFX_OPCODE_SHIFT (32 - 16) [all …]
|
/linux/drivers/mtd/devices/ |
H A D | spear_smi.c | 2 * SMI (Serial Memory Controller) device driver for Serial NOR Flash on 4 * The serial nor interface is largely based on m25p80.c, however the SPI 5 * interface has been replaced by SMI. 40 /* SMI clock rate */ 50 /* registers of smi */ 51 #define SMI_CR1 0x0 /* SMI control register 1 */ 52 #define SMI_CR2 0x4 /* SMI control register 2 */ 53 #define SMI_SR 0x8 /* SMI status register */ 54 #define SMI_TR 0xC /* SMI transmit register */ 55 #define SMI_RR 0x10 /* SMI receive register */ [all …]
|
/linux/Documentation/arch/x86/ |
H A D | microcode.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 :Authors: - Fenghua Yu <fenghua.yu@intel.com> 8 - Borislav Petkov <bp@suse.de> 9 - Ashok Raj <ashok.raj@intel.com> 13 updating the microcode on platforms beyond the OEM End-Of-Life support, 14 and updating the microcode on long-running systems without rebooting. 39 During BSP (BootStrapping Processor) boot (pre-SMP), the kernel 56 if [ -z "$1" ]; then 66 rm -rf $TMPDIR 70 mkdir -p $DSTDIR [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | pinctrl_spear.txt | 4 - compatible : "st,spear300-pinmux" 5 : "st,spear310-pinmux" 6 : "st,spear320-pinmux" 7 : "st,spear1310-pinmux" 8 : "st,spear1340-pinmux" 9 - reg : Address range of the pinctrl registers 10 - st,pinmux-mode: Mandatory for SPEAr300 and SPEAr320 and invalid for others. 11 - Its values for SPEAr300: 12 - NAND_MODE : <0> 13 - NOR_MODE : <1> [all …]
|
/linux/drivers/net/dsa/microchip/ |
H A D | ksz8.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - KSZ8463 7 * - KSZ8863, KSZ8873 aka KSZ88X3 8 * - KSZ8895, KSZ8864 aka KSZ8895 family 9 * - KSZ8794, KSZ8795, KSZ8765 aka KSZ87XX 11 * - KSZ8563, KSZ8567 - see KSZ9477 driver 24 #include <linux/platform_data/microchip-ksz.h> 45 ksz_rmw8(dev, dev->dev_ops->get_port_addr(port, offset), bits, in ksz_port_cfg() 50 * ksz8_ind_write8 - EEE/ACL/PME indirect register write 57 * PME switch functionalities. Both 8-bit registers 110 and 111 are [all …]
|
/linux/arch/x86/kvm/ |
H A D | smm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * 32 bit KVM's emulated SMM layout. Based on Intel P6 layout 69 /* 64 bit KVM's emulated SMM layout. Based on AMD64 layout */ 108 * SVM guest vmcb address if the #SMI was received while in the guest mode. 145 if (!kvm_x86_call(has_emulated_msr)(vcpu->kvm, MSR_IA32_SMBASE)) in kvm_inject_smi() 146 return -ENOTTY; in kvm_inject_smi() 154 return vcpu->arch.hflags & HF_SMM_MASK; in is_smm() 162 static inline int kvm_inject_smi(struct kvm_vcpu *vcpu) { return -ENOTTY; } in kvm_inject_smi()
|
/linux/drivers/net/ethernet/marvell/ |
H A D | pxa168_eth.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include <linux/dma-mapping.h> 38 #define DRIVER_NAME "pxa168-eth" 46 #define SMI 0x0010 macro 63 /* smi register */ 64 #define SMI_BUSY (1 << 28) /* 0 - Write, 1 - Read */ 65 #define SMI_R_VALID (1 << 27) /* 0 - Write, 1 - Read */ 158 #define HASH_ADDR_TABLE_SIZE 0x4000 /* 16K (1/2K address - PCR_HS == 1) */ 173 #define SKB_DMA_REALIGN ((PAGE_SIZE - NET_SKB_PAD) % SMP_CACHE_BYTES) 275 return readl_relaxed(pep->base + offset); in rdl() [all …]
|
/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-armada-39x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Marvell Armada 39x pinctrl driver based on mvebu pinctrl core 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 18 #include "pinctrl-mvebu.h" 45 MPP_VAR_FUNCTION(7, "smi", "mdc", V_88F6920_PLUS)), 50 MPP_VAR_FUNCTION(7, "smi", "mdio", V_88F6920_PLUS)), 107 MPP_VAR_FUNCTION(7, "smi", "mdio", V_88F6920_PLUS)), 124 MPP_VAR_FUNCTION(7, "smi", "mdc", V_88F6920_PLUS)), 363 .compatible = "marvell,mv88f6920-pinctrl", 367 .compatible = "marvell,mv88f6925-pinctrl", [all …]
|
H A D | pinctrl-armada-xp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Marvell Armada XP pinctrl driver based on mvebu pinctrl core 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 26 #include "pinctrl-mvebu.h" 189 MPP_VAR_FUNCTION(0x4, "lcd", "ref-clk", V_MV78230_PLUS)), 235 MPP_VAR_FUNCTION(0x4, "lcd", "vga-hsync", V_MV78230_PLUS), 243 MPP_VAR_FUNCTION(0x4, "lcd", "vga-vsync", V_MV78230_PLUS), 371 MPP_VAR_FUNCTION(0x3, "smi", "mdc", V_98DX3236_PLUS), 467 MPP_VAR_FUNCTION(0x3, "smi", "mdc", V_98DX3236_PLUS), 472 MPP_VAR_FUNCTION(0x3, "smi", "mdio", V_98DX3236_PLUS), [all …]
|
/linux/drivers/platform/x86/dell/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 Dell x86 platforms, including vendor-specific laptop extension drivers. 31 AlienFX USB MCU such as the X51 and X51-R2. 62 See <file:Documentation/userspace-api/dcdbas.rst> for more details on the driver 98 See <file:Documentation/admin-guide/dell_rbu.rst> for more details on the driver. 115 be called dell-rbtn. 154 communicated over ACPI-WMI. 167 communicated over SMI/SMM. 183 be called dell-smo8800. 212 Say Y here if you want to support WMI-based hotkeys on Dell laptops. [all …]
|
/linux/drivers/ata/ |
H A D | pata_pcmcia.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pata_pcmcia.c - PCMCIA PATA controller driver. 4 * Copyright 2005-2006 Red Hat Inc, all rights reserved. 8 * Heavily based upon ide-cs.c 33 * pcmcia_set_mode - PCMCIA specific mode setup 45 struct ata_device *master = &link->device[0]; in pcmcia_set_mode() 46 struct ata_device *slave = &link->device[1]; in pcmcia_set_mode() 51 if (memcmp(master->id + ATA_ID_FW_REV, slave->id + ATA_ID_FW_REV, in pcmcia_set_mode() 54 the same vendor - check serial */ in pcmcia_set_mode() 55 if (memcmp(master->id + ATA_ID_SERNO, slave->id + ATA_ID_SERNO, in pcmcia_set_mode() [all …]
|
/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-8040-clearfog-gt-8k.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Based on Marvell MACCHIATOBin board 9 #include "armada-8040.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/gpio/gpio.h> 16 compatible = "solidrun,clearfog-gt-8k", "marvell,armada8040", 17 "marvell,armada-ap806-quad", "marvell,armada-ap806"; 20 stdout-path = "serial0:115200n8"; 35 compatible = "pwm-fan"; 37 cooling-levels = <0 51 102 153 204 255>; [all …]
|
/linux/arch/x86/kernel/ |
H A D | smpboot.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Much of the core SMP work is based on previous work by Thomas Radke, to 13 * Pentium Pro and Pentium-II/Xeon MP machines. 19 * Alan Cox : By repeated request 8) - Total BogoMIPS report. 26 * Ingo Molnar : Added APIC timers, based on code 32 * Martin J. Bligh : Added support for multi-quad systems 86 #include <asm/intel-family.h> 88 #include <asm/spec-ctrl.h> 92 #include <asm/spec-ctrl.h> 164 if (!--smpboot_warm_reset_vector_count) { in smpboot_restore_warm_reset_vector() [all …]
|
/linux/drivers/cpufreq/ |
H A D | gx-suspmod.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * (C) 2002 Hiroshi Miura <miura@da-cha.org> 10 * software is provided AS-IS with no warranties. 17 * are based on Suspend Modulation. 19 * Suspend Modulation works by asserting and de-asserting the SUSP# pin 28 * 32us intervals which the SUSP# pin is asserted(ON)/de-asserted(OFF) 35 * F_eff = Fgx * ---------------------- 43 * on_duration = off_duration * (stock_freq - freq) / freq 46 * on_duration = DURATION - off_duration 48 *--------------------------------------------------------------------------- [all …]
|
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | uncore-interconnect.json | 31 "BriefDescription": "FAF - request insert from TC.", 47 "BriefDescription": "FAF allocation -- sent to ADQ", 84 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 94 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 104 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 114 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 124 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Requests", 134 … "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Transfers From Primary to Secondary", 144 … "BriefDescription": "Counts Timeouts - Set 0 : Prefetch Ack Hints From Primary to Secondary", 154 "BriefDescription": "Counts Timeouts - Set 0 : Slow path fwpf didn't find prefetch", [all …]
|
/linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
H A D | uncore-interconnect.json | 31 "BriefDescription": "FAF - request insert from TC.", 47 "BriefDescription": "FAF allocation -- sent to ADQ", 84 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 94 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 104 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 114 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 124 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Requests", 134 … "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Transfers From Primary to Secondary", 144 … "BriefDescription": "Counts Timeouts - Set 0 : Prefetch Ack Hints From Primary to Secondary", 154 "BriefDescription": "Counts Timeouts - Set 0 : Slow path fwpf didn't find prefetch", [all …]
|
/linux/include/rdma/ |
H A D | rdma_vt.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright(c) 2016 - 2019 Intel Corporation. 36 struct ib_mad_agent *send_agent; /* agent for SMI (traps) */ 40 /* non-zero when timer is set */ 82 /* Hot-path per CPU counters to avoid cacheline trading to update */ 104 * resent based on trap_timer. 266 * Get a path mtu from the driver based on qp attributes. 347 /* Driver specific QP modification/notification-of */ 410 u32 busy_jiffies; /* timeout scaling based on RC QP count */ 432 * rvt_set_ibdev_name - Craft an IB device name from client info [all …]
|
/linux/drivers/iommu/ |
H A D | mtk_iommu_v1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2015-2016 MediaTek Inc. 8 * Based on driver/iommu/mtk_iommu.c 14 #include <linux/dma-mapping.h> 30 #include <dt-bindings/memory/mtk-memory-port.h> 31 #include <dt-bindings/memory/mt2701-larb-port.h> 32 #include <soc/mediatek/smi.h> 35 #include <asm/dma-iommu.h> 38 #define arm_iommu_attach_device(...) -ENODEV 86 #define MT2701_M4U_TF_LARB(TF) (6 - (((TF) >> 13) & 0x7)) [all …]
|
/linux/tools/perf/ |
H A D | builtin-stat.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * builtin-stat.c 16 1708.761321 task-clock # 11.037 CPUs utilized 17 41,190 context-switches # 0.024 M/sec 18 6,735 CPU-migrations # 0.004 M/sec 19 17,318 page-faults # 0.010 M/sec 21 3,856,436,920 stalled-cycles-frontend # 74.09% frontend cycles idle 22 1,600,790,871 stalled-cycles-backend # 30.75% backend cycles idle 26 6,388,934 branch-misses # 1.32% of all branches 31 * Copyright (C) 2008-2011, Red Hat Inc, Ingo Molnar <mingo@redhat.com> [all …]
|
/linux/tools/power/x86/turbostat/ |
H A D | turbostat.8 | 3 turbostat \- Report processor frequency and idle statistics 12 .RB [ "\--interval seconds" ] 15 idle power-state statistics, temperature and power on X86 processors. 19 in one-shot upon its completion. 22 The 5-second interval can be changed using the --interval option. 26 Options can be specified with a single or double '-', and only as much of the option 27 name as necessary to disambiguate it from others is necessary. Note that options are case-sensitiv… 29 \fB--add attributes\fP add column with counter having specified 'attributes'. The 'location' attri… 39 … event for given device from /sys/bus/event_source/devices/<device>/events/<event> eg. c1-residency 40 …perf/cstate_core/c1-residency would then use /sys/bus/event_source/devices/cstate_core/events/c1-r… [all …]
|
/linux/drivers/net/dsa/realtek/ |
H A D | rtl8365mb.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Realtek SMI subdriver for the Realtek RTL8365MB-VC ethernet switch. 4 * Copyright (C) 2021 Alvin Šipraga <alsi@bang-olufsen.dk> 5 * Copyright (C) 2021 Michael Rasmussen <mir@bang-olufsen.dk> 7 * The RTL8365MB-VC is a 4+1 port 10/100/1000M switch controller. It includes 4 9 * can be connected to the CPU - or another PHY - via either MII, RMII, or 11 * (SMI), which uses the MDIO/MDC lines. 15 * .-----------------------------------. 17 * UTP <---------------> Giga PHY <-> PCS <-> P0 GMAC | 18 * UTP <---------------> Giga PHY <-> PCS <-> P1 GMAC | [all …]
|