/linux/drivers/nvmem/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 calibration data required for the PCIe or the USB-C PHY. 41 be called nvmem-apple-efuses. 44 tristate "Broadcom On-Chip OTP Controller support" 53 will be called nvmem-bcm-ocotp. 69 i.MX SoCs, providing access to 4 Kbits of programmable 73 will be called nvmem-imx-iim. 76 tristate "i.MX 6/7/8 On-Chip OTP Controller support" 80 This is a driver for the On-Chip OTP Controller (OCOTP) available on 81 i.MX6 SoCs, providing access to 4 Kbits of one-time programmable [all …]
|
/linux/Documentation/devicetree/bindings/bus/ |
H A D | st,stm32-etzpc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/bus/st,stm32-etzpc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The ETZPC configures TrustZone security in a SoC having bus masters and 11 devices with programmable-security attributes (securable resources). 14 - Gatien Chevallier <gatien.chevallier@foss.st.com> 20 const: st,stm32-etzpc 22 - compatible 27 - const: st,stm32-etzpc [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-jz4780-efuse | 1 What: /sys/devices/*/<our-device>/nvmem 4 Description: read-only access to the efuse on the Ingenic JZ4780 SoC 5 The SoC has a one time programmable 8K efuse that is 16 0x300 2048 bit Security boot key
|
/linux/drivers/mtd/spi-nor/ |
H A D | otp.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/mtd/spi-nor.h> 14 #define spi_nor_otp_region_len(nor) ((nor)->params->otp.org->len) 15 #define spi_nor_otp_n_regions(nor) ((nor)->params->otp.org->n_regions) 18 * spi_nor_otp_read_secr() - read security register 24 * Read a security register by using the SPINOR_OP_RSECR commands. 26 * In Winbond/GigaDevice datasheets the term "security register" stands for 27 * an one-time-programmable memory area, consisting of multiple bytes (usually 28 * 256). Thus one "security register" maps to one OTP region. 34 * Return: number of bytes read successfully, -errno otherwise [all …]
|
/linux/Documentation/security/keys/ |
H A D | trusted-encrypted.rst | 9 of a Trust Source for greater security, while Encrypted Keys can be used on any 17 A trust source provides the source of security for Trusted Keys. This 18 section lists currently supported trust sources, along with their security 33 (2) TEE (Trusted Execution Environment: OP-TEE based on Arm TrustZone) 35 Rooted to Hardware Unique Key (HUK) which is generally burnt in on-chip 41 mode, trust is rooted to the OTPMK, a never-disclosed 256-bit key 45 (4) DCP (Data Co-Processor: crypto accelerator of various i.MX SoCs) 47 Rooted to a one-time programmable key (OTP) that is generally burnt 48 in the on-chip fuses and is accessible to the DCP encryption engine only. 105 TPMs have well-documented, standardized interfaces and APIs. [all …]
|
/linux/Documentation/core-api/ |
H A D | kernel-api.rst | 9 .. kernel-doc:: include/linux/list.h 22 ------------------ 24 .. kernel-doc:: lib/vsprintf.c 27 .. kernel-doc:: include/linux/kstrtox.h 30 .. kernel-doc:: lib/kstrtox.c 33 .. kernel-doc:: lib/string_helpers.c 37 ------------------- 39 .. kernel-doc:: include/linux/fortify-string.h 42 .. kernel-doc:: lib/string.c 45 .. kernel-doc:: include/linux/string.h [all …]
|
/linux/drivers/mtd/devices/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "Self-contained MTD device drivers" 12 These devices come in memory configurations from 32M - 1G. If you 41 tristate "DEC MS02-NV NVRAM module support" 44 This is an MTD driver for the DEC's MS02-NV (54-20948-01) battery 45 backed-up NVRAM module. The module was originally meant as an NFS 52 The module will be called ms02-nv. 59 Sometimes DataFlash chips are packaged inside MMC-format 73 bool "DataFlash OTP support (Security Register)" 77 one-time-programmable (OTP) data. The first half may be written [all …]
|
H A D | mtd_dataflash.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2003-2005 SAN People (Pty) Ltd 28 * Sometimes DataFlash is packaged in MMC-format cards, although the 57 #define OP_MWRITE_BUFFER1 0x88 /* sector must be pre-erased */ 58 #define OP_MWRITE_BUFFER2 0x89 /* sector must be pre-erased */ 60 /* write to buffer, then write-erase to flash */ 68 /* read flash to buffer, then write-erase to flash */ 73 * serial number and OTP bits; and per-sector writeprotect. 129 * This usually takes 5-20 msec or so; more for sector erase. 138 dev_dbg(&spi->dev, "status %d?\n", status); in dataflash_waitready() [all …]
|
/linux/arch/arm64/ |
H A D | Kconfig.platforms | 1 # SPDX-License-Identifier: GPL-2.0-only 19 bool "Allwinner sunxi 64-bit SoC Family" 40 This enables support for Apple's in-house ARM SoC family, starting 74 Say Y if you intend to run the kernel on a Broadcom Broadband ARM-based 77 This enables support for Broadcom BCA ARM-based broadband chipsets, 81 bool "Broadcom Set-Top-Box SoCs" 122 This enables support for the Microchip Sparx5 ARMv8-based 123 SoC family of TSN-capable gigabit switches. 125 The SparX-5 Ethernet switch family provides a rich set of 126 switching features such as advanced TCAM-based VLAN and QoS [all …]
|
/linux/arch/x86/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 bool "64-bit kernel" if "$(ARCH)" = "x86" 7 Say yes to build a 64-bit kernel - formerly known as x86_64 8 Say no to build a 32-bit kernel - formerly known as i386 13 # Options that are inherently 32-bit kernel only: 27 # Options that are inherently 64-bit kernel only: 55 # ported to 32-bit as well. ) 150 # Word-size accesses may read uninitialized data past the trailing \0 329 default "elf32-i386" if X86_32 330 default "elf64-x86-64" if X86_64 [all …]
|
/linux/Documentation/virt/kvm/x86/ |
H A D | timekeeping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Timekeeping Virtualization for X86-Based Architectures 32 information relevant to KVM and hardware-based virtualization. 41 2.1. i8254 - PIT 42 ---------------- 44 One of the first timer devices available is the programmable interrupt timer, 46 channels which can be programmed to deliver periodic or one-shot interrupts. 53 The PIT uses I/O ports 0x40 - 0x43. Access to the 16-bit counters is done 59 -------------- ---------------- 61 | 1.1932 MHz|---------->| CLOCK OUT | ---------> IRQ 0 [all …]
|
/linux/drivers/scsi/ |
H A D | sense_codes.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * http://www.t10.org/lists/asc-num.txt [most recent: 20200817] 9 SENSE_CODE(0x0002, "End-of-partition/medium detected") 11 SENSE_CODE(0x0004, "Beginning-of-partition/medium detected") 12 SENSE_CODE(0x0005, "End-of-data detected") 14 SENSE_CODE(0x0007, "Programmable early warning detected") 51 SENSE_CODE(0x0409, "Logical unit not ready, self-test in progress") 56 SENSE_CODE(0x040E, "Logical unit not ready, security session in progress") 87 SENSE_CODE(0x0801, "Logical unit communication time-out") 89 SENSE_CODE(0x0803, "Logical unit communication CRC error (Ultra-DMA/32)") [all …]
|
/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nospcr -- disable console in ACPI SPCR table as 41 If set to vendor, prefer vendor-specific driver 73 Documentation/firmware-guide/acpi/debug.rst for more information about [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display_types.h | 3 * Copyright (c) 2007-2008 Intel Corporation 48 #include <media/cec-notifier.h> 71 /* these are outputs from the chip - integrated only 89 HDMI_AUDIO_OFF_DVI = -2, /* no aux data for HDMI-DVI converter */ 105 * create the DMA scatter-gather list for each FB color plane. This sg 117 * in the rotated and remapped GTT view all no-CCS formats (up to 2 221 * state. This must be called _after_ display->get_pipe_config has 222 * pre-filled the pipe config. Note that intel_encoder->base.crtc must 442 * and the bus-specific code. What that means is that HDCP over HDMI differs 447 * - DP AUX vs. DDC [all …]
|
/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|
/linux/drivers/pci/ |
H A D | quirks.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains work-arounds for many known PCI hardware bugs. 5 * should be handled in arch-specific code. 20 #include <linux/isa-dma.h> /* isa_dma_bridge_buggy */ 91 int ret = -ENOTTY; in pcie_failed_link_retrain() 94 !pcie_cap_has_lnkctl2(dev) || !dev->link_active_reporting) in pcie_failed_link_retrain() 103 pci_info(dev, "broken device, retraining non-functional downstream link at 2.5GT/s\n"); in pcie_failed_link_retrain() 170 if ((f->class == (u32) (dev->class >> f->class_shift) || in pci_do_fixups() 171 f->class == (u32) PCI_ANY_ID) && in pci_do_fixups() 172 (f->vendor == dev->vendor || in pci_do_fixups() [all …]
|
/linux/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2015-2017 Google, Inc 173 S(SECURITY), \ 210 VDM_STATE_ERR_BUSY = -3, 211 VDM_STATE_ERR_SEND = -2, 212 VDM_STATE_ERR_TMOUT = -1, 240 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0, 510 * SNK_READY for non-pd link. 583 (tcpm_cc_is_sink((port)->cc1) || tcpm_cc_is_sink((port)->cc2)) 590 ((tcpm_cc_is_source((port)->cc1) && \ [all …]
|
/linux/include/uapi/drm/ |
H A D | i915_drm.h | 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 37 * subject to backwards-compatibility constraints. 43 * I915_L3_PARITY_UEVENT - Generated when the driver receives a parity mismatch 46 * track of these events, and if a specific cache-line seems to have a 48 * intel-gpu-tools. The value supplied with the event is always 1. 50 * I915_ERROR_UEVENT - Generated upon error detection, currently only via 57 * I915_RESET_UEVENT - Event is generated just before an attempt to reset the 66 * struct i915_user_extension - Base class for defining a chain of extensions 82 * .. code-block:: C 158 * enum drm_i915_gem_engine_class - uapi engine type enumeration [all …]
|
/linux/tools/include/uapi/drm/ |
H A D | i915_drm.h | 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 37 * subject to backwards-compatibility constraints. 43 * I915_L3_PARITY_UEVENT - Generated when the driver receives a parity mismatch 46 * track of these events, and if a specific cache-line seems to have a 48 * intel-gpu-tools. The value supplied with the event is always 1. 50 * I915_ERROR_UEVENT - Generated upon error detection, currently only via 57 * I915_RESET_UEVENT - Event is generated just before an attempt to reset the 66 * struct i915_user_extension - Base class for defining a chain of extensions 82 * .. code-block:: C 158 * enum drm_i915_gem_engine_class - uapi engine type enumeration [all …]
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 21 #define BPF_DW 0x18 /* double word (64-bit) */ 23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */ 24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */ 32 #define BPF_TO_LE 0x00 /* convert to little-endian */ 33 #define BPF_TO_BE 0x08 /* convert to big-endian */ 52 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */ 74 /* BPF has 10 general purpose 64-bit registers and stack frame. */ 116 BPF_CGROUP_ITER_DESCENDANTS_PRE, /* walk descendants in pre-order. */ [all …]
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 21 #define BPF_DW 0x18 /* double word (64-bit) */ 23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */ 24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */ 32 #define BPF_TO_LE 0x00 /* convert to little-endian */ 33 #define BPF_TO_BE 0x08 /* convert to big-endian */ 52 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */ 74 /* BPF has 10 general purpose 64-bit registers and stack frame. */ 116 BPF_CGROUP_ITER_DESCENDANTS_PRE, /* walk descendants in pre-order. */ [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|