/linux/drivers/edac/ |
H A D | Kconfig | 13 tristate "EDAC (Error Detection And Correction) reporting" 16 EDAC is a subsystem along with hardware-specific drivers designed to 17 report hardware errors. These are low-level errors that are reported 22 The mailing list for the EDAC project is linux-edac@vger.kernel.org. 40 levels are 0-4 (from low to high) and by default it is set to 2. 44 tristate "Decode MCEs in human-readable form (only on AMD for now)" 49 occurring on your machine in human-readable form. 60 Not all machines support hardware-driven error report. Some of those 61 provide a BIOS-driven error report mechanism via ACPI, using the 62 APEI/GHES driver. By enabling this option, the error reports provided [all …]
|
/linux/include/uapi/linux/dvb/ |
H A D | frontend.h | 1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ 18 * enum fe_caps - Frontend capabilities 23 * @FE_CAN_INVERSION_AUTO: Can auto-detect frequency spectral 33 * @FE_CAN_FEC_AUTO: Can auto-detect FEC 35 * @FE_CAN_QAM_16: Supports 16-QAM modulation 36 * @FE_CAN_QAM_32: Supports 32-QAM modulation 37 * @FE_CAN_QAM_64: Supports 64-QAM modulation 38 * @FE_CAN_QAM_128: Supports 128-QAM modulation 39 * @FE_CAN_QAM_256: Supports 256-QAM modulation 40 * @FE_CAN_QAM_AUTO: Can auto-detect QAM modulation [all …]
|
/linux/Documentation/driver-api/ |
H A D | mtdnand.rst | 10 The generic NAND driver supports almost all NAND and AG-AND based chips 31 -------------------------- 37 - [MTD Interface] 43 - [NAND Interface] 48 - [GENERIC] 53 - [DEFAULT] 65 ------------------------------- 71 - [INTERN] 77 - [REPLACEABLE] 86 - [BOARDSPECIFIC] [all …]
|
/linux/drivers/mtd/nand/raw/ingenic/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 based boards, using the BCH controller for hardware error correction. 19 Enable this driver to support the Reed-Solomon error-correction 23 will be called jz4740-ecc. 29 Enable this driver to support the BCH error-correction hardware 33 will be called jz4725b-bch. 39 Enable this driver to support the BCH error-correction hardware 43 will be called jz4780-bch.
|
/linux/Documentation/core-api/ |
H A D | librs.rst | 2 Reed-Solomon Library Programming Interface 10 The generic Reed-Solomon Library provides encoding, decoding and error 11 correction functions. 13 Reed-Solomon codes are used in communication and storage applications to 30 ------------ 33 which holds the necessary information for encoding, decoding and error 34 correction with the given polynomial. It either uses an existing 54 -------- 56 The encoder calculates the Reed-Solomon code over the given data length 60 The expanded data can be inverted on the fly by providing a non-zero [all …]
|
/linux/drivers/macintosh/ |
H A D | windfarm_pm121.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * that none of the code has been re-used, it's a complete 17 * re-implementation 21 * controls with a tiny difference. The control-ids of hard-drive-fan 22 * and cpu-fan is swapped. 24 * Target Correction : 26 * controls have a target correction calculated as : 31 * OD Fan control correction. 34 * offset : -19563152 38 * offset : -15650652 [all …]
|
/linux/drivers/gpu/drm/sun4i/ |
H A D | sunxi_engine.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 18 * struct sunxi_engine_ops - helper operations for sunXi engines 40 * This callback allows to validate plane-update related CRTC 49 * 0 on success or a negative error code. 78 * error pointer on failure. 86 * This callback will enable the color correction in the 96 * This callback will stop the color correction in the 106 * This callback is used to implement engine-specific 129 * struct sunxi_engine - the common parts of an engine for sun4i-drm driver 133 * @id: the id of the engine (-1 if not used) [all …]
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | nuvoton,npcm-memory-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/nuvoton,npcm-memory-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marvin Lin <kflin@nuvoton.com> 11 - Stanley Chu <yschu@nuvoton.com> 14 The Nuvoton BMC SoC supports DDR4 memory with or without ECC (error correction 17 The memory controller supports single bit error correction, double bit error 18 detection (in-line ECC in which a section (1/8th) of the memory device used to 26 - nuvoton,npcm750-memory-controller [all …]
|
/linux/lib/reed_solomon/ |
H A D | test_rslib.c | 1 // SPDX-License-Identifier: GPL-2.0 34 __param(int, bc, 1, "Test for correct behaviour beyond error correction capacity"); 80 uint16_t *corr; /* correction buffer */ 103 kfree(ws->errlocs); in free_ws() 104 kfree(ws->c); in free_ws() 110 int nroots = rs->nroots; in alloc_ws() 112 int nn = rs->nn; in alloc_ws() 118 ws->c = kmalloc_array(2 * (nn + nroots), in alloc_ws() 120 if (!ws->c) in alloc_ws() 123 ws->r = ws->c + nn; in alloc_ws() [all …]
|
H A D | decode_rs.c | 1 // SPDX-License-Identifier: GPL-2.0 13 struct rs_codec *rs = rsc->codec; 16 int nn = rs->nn; 17 int nroots = rs->nroots; 18 int fcr = rs->fcr; 19 int prim = rs->prim; 20 int iprim = rs->iprim; 21 uint16_t *alpha_to = rs->alpha_to; 22 uint16_t *index_of = rs->index_of; 26 uint16_t msk = (uint16_t) rs->nn; [all …]
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | frontend-stat-properties.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _frontend-stat-properties: 32 - ``svalue`` or ``uvalue``, where ``svalue`` is for signed values of 36 - ``scale`` - Scale for the value. It can be: 38 - ``FE_SCALE_NOT_AVAILABLE`` - The parameter is supported by the 42 - ``FE_SCALE_DECIBEL`` - parameter is a signed value, measured in 45 - ``FE_SCALE_RELATIVE`` - parameter is a unsigned value, where 0 48 - ``FE_SCALE_COUNTER`` - parameter is a unsigned value that counts 49 the occurrence of an event, like bit error, block error, or lapsed 53 .. _DTV-STAT-SIGNAL-STRENGTH: [all …]
|
H A D | dvb-frontend-parameters.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 per-system parameters. However, as newer delivery systems required more 24 DVB-S2, DVB-T2, DVB-C2, ISDB, etc. 30 .. code-block:: c 61 .. code-block:: c 65 fe_code_rate_t fec_inner; /* forward error correction (see above) */ 77 .. code-block:: c 81 fe_code_rate_t fec_inner; /* forward error correction (see above) */ 94 .. code-block:: c 106 DVB-T frontends are supported by the ``dvb_ofdm_parameters`` structure: [all …]
|
/linux/drivers/mtd/nand/ |
H A D | ecc-sw-bch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * This file provides ECC correction for more than 1 bit per block of data, 15 #include <linux/mtd/nand-ecc-sw-bch.h> 18 * nand_ecc_sw_bch_calculate - Calculate the ECC corresponding to a data block 26 struct nand_ecc_sw_bch_conf *engine_conf = nand->ecc.ctx.priv; in nand_ecc_sw_bch_calculate() 29 memset(code, 0, engine_conf->code_size); in nand_ecc_sw_bch_calculate() 30 bch_encode(engine_conf->bch, buf, nand->ecc.ctx.conf.step_size, code); in nand_ecc_sw_bch_calculate() 33 for (i = 0; i < engine_conf->code_size; i++) in nand_ecc_sw_bch_calculate() 34 code[i] ^= engine_conf->eccmask[i]; in nand_ecc_sw_bch_calculate() 41 * nand_ecc_sw_bch_correct - Detect, correct and report bit error(s) [all …]
|
/linux/Documentation/admin-guide/device-mapper/ |
H A D | verity.rst | 2 dm-verity 5 Device-Mapper's "verity" target provides transparent integrity checking of 7 This target is read-only. 21 This is the type of the on-disk hash format. 40 dm-verity device. 55 This is the offset, in <hash_block_size>-blocks, from the start of hash_dev 91 Restart the system when an I/O error is detected. 95 Panic the device when an I/O error is detected. This option is 105 Use forward error correction (FEC) to recover from corruption if hash 119 is M-N. [all …]
|
/linux/drivers/media/i2c/ |
H A D | ov772x.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 26 #include <linux/v4l2-mediabus.h> 31 #include <media/v4l2-ctrls.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-event.h> 34 #include <media/v4l2-fwnode.h> 35 #include <media/v4l2-image-sizes.h> 36 #include <media/v4l2-subdev.h> 41 #define GAIN 0x00 /* AGC - Gain control gain setting */ [all …]
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ptp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2011-2013 Solarflare Communications Inc. 143 #define MC_NANOSECOND_MASK ((1 << MC_NANOSECOND_BITS) - 1) 144 #define MC_SECOND_MASK ((1 << (32 - MC_NANOSECOND_BITS)) - 1) 146 /* Maximum parts-per-billion adjustment that is acceptable */ 161 * struct efx_ptp_match - Matching structure, stored in sk_buff's cb area. 165 * @state: The state of the packet - whether it is ready for processing or 175 * struct efx_ptp_event_rx - A PTP receive event (from MC) 191 * struct efx_ptp_timeset - Synchronisation between host and MC 207 u32 window; /* Derived: end - start, allowing for wrap */ [all …]
|
/linux/lib/zstd/compress/ |
H A D | zstd_compress_internal.h | 1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 19 /*-************************************* 27 /*-************************************* 41 /*-************************************* 86 U16 mlBase; /* mlBase == matchLength - MINMATCH */ 127 seqLen.litLength = seq->litLength; in ZSTD_getSequenceLength() 128 seqLen.matchLength = seq->mlBase + MINMATCH; in ZSTD_getSequenceLength() 129 if (seqStore->longLengthPos == (U32)(seq - seqStore->sequencesStart)) { in ZSTD_getSequenceLength() [all …]
|
/linux/arch/x86/kernel/cpu/resctrl/ |
H A D | monitor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * - Monitoring code 39 * The correction factor table is documented in Documentation/filesystems/resctrl.rst. 41 * by the correction factor. 45 * 1. The threshold 0 is changed to rmid count - 1 so don't do correction 47 * 2. MBM total and local correction table indexed by core counter which is 48 * equal to (x86_cache_max_rmid + 1) / 8 - 1 and is from 0 up to 27. 49 * 3. The correction factor is normalized to 2^20 (1048576) so it's faster 101 * When Sub-NUMA Cluster (SNC) mode is not enabled (as indicated by 133 return lrmid + (cpu_to_node(cpu) % snc_nodes_per_l3_cache) * r->mon.num_rmid; in logical_rmid_to_physical_rmid() [all …]
|
/linux/include/linux/platform_data/ |
H A D | mtd-nand-omap2.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 23 * 1-bit ECC: calculation and correction by SW 29 * 1-bit ECC: calculation by GPMC, Error detection by Software 33 /* 4-bit ECC calculation by GPMC, Error detection by Software */ 35 /* 4-bit ECC calculation by GPMC, Error detection by ELM */ 37 /* 8-bit ECC calculation by GPMC, Error detection by Software */ 39 /* 8-bit ECC calculation by GPMC, Error detection by ELM */ 41 /* 16-bit ECC calculation by GPMC, Error detection by ELM */ 67 { .compatible = "ti,omap2-nand", }, 68 { .compatible = "ti,am64-nand", },
|
/linux/Documentation/devicetree/bindings/edac/ |
H A D | amazon,al-mc-edac.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/edac/amazon,al-mc-edac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Talel Shenhar <talel@amazon.com> 11 - Talel Shenhar <talelshenhar@gmail.com> 14 EDAC node is defined to describe on-chip error detection and correction for 20 const: amazon,al-mc-edac 25 "#address-cells": 28 "#size-cells": [all …]
|
/linux/arch/mips/dec/ |
H A D | ecc-berr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Bus error event handling code for systems equipped with ECC 20 #include <asm/cpu-type.h> 52 static const char eccstr[] = "ECC error"; in dec_ecc_be_backend() 65 /* For non-ECC ack ASAP, so that any subsequent errors get caught. */ in dec_ecc_be_backend() 73 printk(KERN_ALERT "Unidentified bus error %s\n", kind); in dec_ecc_be_backend() 80 /* An ECC error on a CPU or DMA transaction. */ in dec_ecc_be_backend() 92 address = (address & ~0xfffLL) | ((address - 5) & 0xfffLL); in dec_ecc_be_backend() 156 if (syn && syn == (syn & -syn)) { in dec_ecc_be_backend() 159 "%#04x -- %s bit error " in dec_ecc_be_backend() [all …]
|
/linux/include/uapi/mtd/ |
H A D | mtd-abi.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 3 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al. 17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 55 * @MTD_OPS_RAW: data are transferred as-is, with no error correction; 69 * struct mtd_write_req - data structure for requesting a write operation 74 * @usr_data: user-provided data buffer 75 * @usr_oob: user-provided OOB buffer 80 * writes in various modes. To write to OOB-only, set @usr_data == NULL, and to 81 * write data-only, set @usr_oob == NULL. However, setting both @usr_data and 95 * struct mtd_read_req_ecc_stats - ECC statistics for a read operation [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | ptp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2011-2013 Solarflare Communications Inc. 116 /* 01-1B-19-00-00-00 */ 142 #define MC_NANOSECOND_MASK ((1 << MC_NANOSECOND_BITS) - 1) 143 #define MC_SECOND_MASK ((1 << (32 - MC_NANOSECOND_BITS)) - 1) 145 /* Maximum parts-per-billion adjustment that is acceptable */ 160 * struct efx_ptp_match - Matching structure, stored in sk_buff's cb area. 163 * @state: The state of the packet - whether it is ready for processing or 172 * struct efx_ptp_event_rx - A PTP receive event (from MC) 188 * struct efx_ptp_timeset - Synchronisation between host and MC [all …]
|
/linux/Documentation/driver-api/media/ |
H A D | dtv-frontend.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------------------ 9 The Digital TV Frontend kABI defines a driver-internal interface for 10 registering low-level, hardware specific driver to a hardware independent 29 .name = "foo DVB-T/T2/C driver", 70 .name = "Bar DVB-S/S2 demodulator", 91 /* Satellite-specific */ 100 #) For satellite digital TV standards (DVB-S, DVB-S2, ISDB-S), the 129 ``DVBFE_ALGO_SW``, meaning that the dvb-core will do a zigzag when tuning, 131 then, it will do ``f`` + |delta|, ``f`` - |delta|, ``f`` + 2 x |delta|, [all …]
|
/linux/include/linux/ |
H A D | bch.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 * Bose-Chaudhuri-Hocquenghem (BCH) codes. 20 * struct bch_control - BCH control structure 22 * @n: maximum codeword size in bits (= 2^m-1) 23 * @t: error correction capability in bits 33 * @cache: log-based polynomial representation buffer 34 * @elp: error locator polynomial
|