| /linux/tools/arch/x86/include/asm/amd/ |
| H A D | ibs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * 55898 Rev 0.35 - Feb 5, 2021 10 #include "../msr-index.h" 36 __u64 fetch_maxcnt:16,/* 0-15: instruction fetch max. count */ 37 fetch_cnt:16, /* 16-31: instruction fetch count */ 38 fetch_lat:16, /* 32-47: instruction fetch latency */ 42 ic_miss:1, /* 51: i-cache miss */ 44 l1tlb_pgsz:2, /* 53-54: i-cache L1TLB page size 46 l1tlb_miss:1, /* 55: i-cache fetch missed in L1TLB */ 47 l2tlb_miss:1, /* 56: i-cache fetch missed in L2TLB */ [all …]
|
| /linux/Documentation/arch/riscv/ |
| H A D | boot-image-header.rst | 2 Boot image header in RISC-V Linux 8 This document only describes the boot image header details for RISC-V Linux. 10 The following 64-byte header is present in decompressed Linux kernel image:: 14 u64 text_offset; /* Image load offset, little endian */ 18 u32 res1 = 0; /* Reserved */ 19 u64 res2 = 0; /* Reserved */ 22 u32 res3; /* Reserved for PE COFF offset */ 25 ARM64 header. Thus, both ARM64 & RISC-V header can be combined into one common 31 - This header is also reused to support EFI stub for RISC-V. EFI specification 33 load it as an EFI application. In order to support EFI stub, code0 is replaced [all …]
|
| /linux/include/uapi/linux/ |
| H A D | cycx_cfm.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 8 * Copyright: (c) 1998-2003 Arnaldo Carvalho de Melo 25 #define CFM_SIGNATURE "CFM - Cyclades CYCX Firmware Module" 50 * struct cycx_fw_info - firmware module information. 51 * @codeid - firmware ID 52 * @version - firmware version number 53 * @adapter - compatible adapter types 54 * @memsize - minimum memory size 55 * @reserved - reserved 56 * @startoffs - entry point offset [all …]
|
| H A D | fsl_hypervisor.h | 1 /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */ 5 * Copyright (C) 2008-2011 Freescale Semiconductor, Inc. 47 * struct fsl_hv_ioctl_restart - restart a partition 49 * @partition: the ID of the partition to restart, or -1 for the 60 * struct fsl_hv_ioctl_status - get a partition's status 62 * @partition: the ID of the partition to query, or -1 for the 81 * struct fsl_hv_ioctl_start - start a partition 85 * @load: If non-zero, reload the partition's images before starting 93 __u32 load; member 97 * struct fsl_hv_ioctl_stop - stop a partition [all …]
|
| /linux/drivers/gpu/drm/i915/gt/uc/ |
| H A D | intel_uc_fw.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright © 2014-2019 Intel Corporation 21 #define INTEL_UC_FIRMWARE_URL "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmw… 24 * +------------+---------------------------------------------------+ 28 * +------------+- / | \ -+ 29 * | | DISABLED <--/ | \--> NOT_SUPPORTED | 32 * +------------+- / | \ -+ 33 * | | MISSING <--/ | \--> ERROR | 36 * +------------+- | \ -+ 37 * | | | \--> INIT FAIL | [all …]
|
| /linux/drivers/staging/greybus/Documentation/firmware/ |
| H A D | firmware.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 3 * Sample code to test firmware-management protocol 5 * Copyright(c) 2016 Google Inc. All rights reserved. 6 * Copyright(c) 2016 Linaro Ltd. All rights reserved. 19 #define FW_DEV_DEFAULT "/dev/gb-fw-mgmt-0" 37 …printf("\nUsage: ./firmware <gb-fw-mgmt-X (default: gb-fw-mgmt-0)> <interface: 0, backend: 1 (defa… in usage() 51 return -1; in update_intf_firmware() 58 /* Try Interface Firmware load over Unipro */ in update_intf_firmware() 71 printf("Failed to load interface firmware: %s (%d)\n", fwdev, in update_intf_firmware() 73 return -1; in update_intf_firmware() [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8956-sony-xperia-loire.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2016-2022, AngeloGioacchino Del Regno 16 qcom,msm-id = <266 0x10001>; /* MSM8956 v1.1 */ 17 qcom,board-id = <8 0>; 27 stdout-path = "serial0:115200n8"; 30 reserved-memory { 31 cont-splash@83000000 { 38 record-size = <0x20000>; 39 console-size = <0x40000>; 40 ftrace-size = <0x20000>; [all …]
|
| H A D | sdm660-xiaomi-lavender.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/input/gpio-keys.h> 18 chassis-type = "handset"; 25 #address-cells = <2>; 26 #size-cells = <2>; 29 stdout-path = "serial0:115200n8"; 32 compatible = "simple-framebuffer"; 41 vph_pwr: vph-pwr-regulator { [all …]
|
| H A D | sm8250-samsung-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 11 #address-cells = <2>; 12 #size-cells = <2>; 16 compatible = "simple-framebuffer"; 25 gpio_keys: gpio-keys { 26 compatible = "gpio-keys"; 28 pinctrl-names = "default"; 29 pinctrl-0 = <&vol_up_n>; [all …]
|
| H A D | msm8992-lg-h815.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 /dts-v1/; 13 #include <dt-bindings/leds/common.h> 16 /delete-node/ &cont_splash_mem; 19 /delete-node/ &dfps_data_mem; 24 chassis-type = "handset"; 26 qcom,msm-id = <0xfb 0x0>; 27 qcom,pmic-id = <0x10009 0x1000a 0x0 0x0>; 28 qcom,board-id = <0xb64 0x0>; 31 /delete-node/ psci; [all …]
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | prph.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 34 * All rights reserved. 106 * processor is sleeping (e.g. for periodic power-saving shutdowns of radio). 108 * When powering back up after sleeps (or during initial uCode load), the BSM 119 * The uCode used for open-source drivers includes two programs: 121 * 1) Initialization -- performs hardware calibration and sets up some 128 * 2) Runtime/Protocol -- performs all normal runtime operations. This 134 * 1) Load bootstrap program (instructions only, no data image for bootstrap) [all …]
|
| /linux/include/linux/ |
| H A D | hp_sdc.h | 2 * HP i8042 System Device Controller -- header 5 * All rights reserved. 31 * HP-HIL Technical Reference Manual. Hewlett Packard Product No. 45918A 34 * for Part Number 1820-4784 Revision B. Dwg No. A-1820-4784-2 104 #define HP_SDC_STATUS_PUP 0x70 /* Successful power-up self test */ 131 #define HP_SDC_RSV 0x7c /* Reserved "for testing" */ 134 #define HP_SDC_STR 0x7f /* i8042 self-test result */ 146 #define HP_SDC_CFG_ROLLOVER 0x08 /* WTF is "N-key rollover"? */ 149 #define HP_SDC_CFG_KBD_OLD 0x03 /* keyboard code for non-HIL */ 167 case 0x1: str = "1820-3712"; break; \ [all …]
|
| H A D | pe.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * All rights reserved. 16 * - 0x1: initrd loading from the LINUX_EFI_INITRD_MEDIA_GUID device path, 17 * - 0x2: initrd loading using the initrd= command line option, where the file 25 * Versions older than v1.0 may support initrd loading via the image load 30 * (https://lore.kernel.org/all/efd6f2d4-547c-1378-1faa-53c044dbd297@gmail.com/) 36 * LINUX_PE_MAGIC appears at offset 0x38 into the MS-DOS header of EFI bootable 53 #define IMAGE_FILE_MACHINE_ALPHA_OLD 0x0183 /* DEC Alpha AXP 32-bit (old images) */ 54 #define IMAGE_FILE_MACHINE_ALPHA 0x0184 /* DEC Alpha AXP 32-bit */ 55 #define IMAGE_FILE_MACHINE_ALPHA64 0x0284 /* DEC Alpha AXP 64-bit (with 8kB page size) */ [all …]
|
| /linux/drivers/iommu/ |
| H A D | fsl_pamu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 * v = bit field variable; m = mask, m##_SHIFT = shift, x = value to load 213 * maximum LIODN value generated by u-boot. 275 /* coherency_required : 1 reserved : 7 */ 305 u16 reserved; member 310 /* PAACE Offsets 0x20-0x38 */ 311 u32 reserved[8]; /* not currently implemented */ member 365 #define EOE_LDEC 0x10 /* Load external cache */ 366 #define EOE_LDECL 0x11 /* Load external cache with stash lock */ 367 #define EOE_LDECPE 0x12 /* Load external cache with preferred exclusive */ [all …]
|
| /linux/include/dt-bindings/regulator/ |
| H A D | qcom,rpmh-regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (c) 2018, The Linux Foundation. All rights reserved. */ 9 * device tree properties (e.g. regulator-initial-mode). Each type of regulator 13 * load current is allowed. This mode is supported 15 * %RPMH_REGULATOR_MODE_LPM: Low power mode in which a small load current is 22 * upon the real-time load current. This mode is
|
| /linux/arch/openrisc/kernel/ |
| H A D | entry.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 25 #include <asm/asm-offsets.h> 46 l.sw -8(r1),r2 /* store frame pointer */ ;\ 47 l.sw -4(r1),r9 /* store return address */ ;\ 50 l.addi r1,r1,-8 ;\ 52 l.lwz r9,-4(r1) /* restore return address */ ;\ 53 l.lwz r2,-8(r1) /* restore fp */ ;\ 59 l.sw -12(r1),t1 /* save extra reg */ ;\ 60 l.sw -8(r1),r2 /* store frame pointer */ ;\ [all …]
|
| /linux/arch/m68k/fpsp040/ |
| H A D | smovecr.S | 16 | All Rights Reserved 52 cmpib #0x0a,%d0 |check range $01 - $0a 54 cmpib #0x0e,%d0 |check range $0b - $0e 56 cmpib #0x2f,%d0 |check range $10 - $2f 58 cmpib #0x3f,%d0 |check range $30 - $3f 69 leal PIRZRM,%a0 |rmode is rz or rm, load PIRZRM in a0 72 leal PIRN,%a0 |rmode is rn, load PIRN in a0 75 leal PIRP,%a0 |rmode is rp, load PIRP in a0 78 subil #0xb,%d0 |make offset in 0 - 4 range 84 leal SMALRZRM,%a0 |rmode is rz or rm, load SMRZRM in a0 [all …]
|
| H A D | sgetem.S | 13 | range of the result is [1.0 - 2.0). 16 | Input: Double-extended number X in the ETEMP space in 17 | the floating-point save stack. 25 | All Rights Reserved 59 movew LOCAL_EX(%a0),%d0 |load resulting exponent into d0 73 | For normalized numbers, leave the mantissa alone, simply load 74 | with an exponent of +/- $3fff. 83 bclrl #14,%d0 |make it the new exp +-3fff 89 | For denormalized numbers, shift the mantissa until the j-bit = 1, 90 | then load the exponent with +/1 $3fff. [all …]
|
| /linux/include/uapi/misc/ |
| H A D | mrvl_cn10k_dpi.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 20 __u16 reserved; /* Reserved */ member 25 __u16 molr[DPI_MAX_ENGINES]; /* Max outstanding load requests */ 27 __u16 reserved; /* Reserved */ member
|
| /linux/lib/crypto/x86/ |
| H A D | blake2s-core.S | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 3 * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. 4 * Copyright (C) 2017-2019 Samuel Neves <sneves@dei.uc.pt>. All Rights Reserved. 69 movdqu (CTX),%xmm0 // Load h[0..3] 70 movdqu 16(CTX),%xmm1 // Load h[4..7] 73 movdqu 32(CTX),%xmm14 // Load t and f 74 movd INC,%xmm15 // Load inc 80 // Main loop: each iteration processes one 64-byte block. 83 paddq %xmm15,%xmm14 // t += inc (64-bit addition) 210 vmovdqu (CTX),%xmm0 // Load h[0..3] [all …]
|
| /linux/arch/arm/include/debug/ |
| H A D | tegra.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (C) 2011-2012 NVIDIA CORPORATION. All Rights Reserved. 12 * Portions based on mach-omap2's debug-macro.S 13 * Copyright (C) 1994-1999 Russell King 40 * Must be section-aligned since a section mapping is used early on. 41 * Must not overlap with regions in mach-tegra/io.c:tegra_io_desc[]. 46 /* Load address of CLK_RST register */ \ 48 /* Load value from CLK_RST register */ \ 54 /* Load address of CLK_OUT_ENB register */ \ 56 /* Load value from CLK_OUT_ENB register */ \ [all …]
|
| /linux/arch/powerpc/boot/ |
| H A D | mktree.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * The Right Thing on an LE machine. It's non-obvious, but it should 32 uint32_t bb_num_512blocks; /* Size, rounded-up, in 512 byte blks */ 33 uint32_t bb_debug_flag; /* Run debugger or image after load */ 36 uint32_t reserved[2]; member 51 fprintf(stderr, "usage: %s <zImage-file> <boot-image> <load address> <entry point>\n",argv[0]); in main() 77 /* To be neat and tidy :-). in main() 79 bt.reserved[0] = 0; in main() 80 bt.reserved[1] = 0; in main() 115 nblks -= (64 * 1024) / IMGBLK; in main() [all …]
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_elf_loader.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Ohad Ben-Cohen <ohad@wizery.com> 12 * Suman Anna <s-anna@ti.com> 29 * rproc_elf_sanity_check() - Sanity Check for ELF32/ELF64 firmware image 35 * Return: 0 on success and -EINVAL upon any failure 39 const char *name = rproc->firmware; 40 struct device *dev = &rproc->dev; 53 dev_err(dev, "failed to load %s\n", name); 54 return -EINVAL; 57 if (fw->size < sizeof(struct elf32_hdr)) { [all …]
|
| /linux/arch/parisc/kernel/ |
| H A D | hpmc.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright (C) 1999 Hewlett-Packard (Frank Rowand) 7 * Copyright (C) 2000 Hewlett-Packard (John Marvin) 47 #define hpmc_stack toc_stack /* re-use the TOC stack */ 151 stw %r4,-52(sp) 164 ldo 0(%r0),arg2 /* reserved */ 165 ldo 0(%r0),arg3 /* reserved */ 166 stw %r0,-52(sp) /* reserved */ 174 /* FIXME? Check for errors from PDC_IO (-1 might be OK) */ 182 * Load IODC into hpmc_iodc_buf by calling PDC_IODC. [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-msm8226-microsoft-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Common Board Device Tree for Microsoft MSM8x26-based Lumias 12 * The .dts should first include qcom-msm8226.dtsi or msm8926.dtsi depending on 17 #include <dt-bindings/input/input.h> 20 * Delete all generic (msm8226.dtsi) reserved 23 /delete-node/ &smem_region; 33 #address-cells = <1>; 34 #size-cells = <1>; 37 stdout-path = "display0"; 40 compatible = "simple-framebuffer"; [all …]
|