/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/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 23 This enables support for software Hamming error 24 correction. This correction can correct up to 1 bit error 27 more strength correction and in this case BCH or RS will be 44 This enables support for software BCH error correction. Binary BCH 47 of error correction.
|
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/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/Documentation/devicetree/bindings/edac/ |
H A D | aspeed-sdram-edac.txt | 3 The Aspeed BMC SoC supports DDR3 and DDR4 memory with and without ECC (error 4 correction check). 6 The memory controller supports SECDED (single bit error correction, double bit 7 error detection) and single bit error auto scrubbing by reserving 8 bits for 14 - compatible: should be one of 15 - "aspeed,ast2400-sdram-edac" 16 - "aspeed,ast2500-sdram-edac" 17 - "aspeed,ast2600-sdram-edac" 18 - reg: sdram controller register set should be <0x1e6e0000 0x174> 19 - interrupts: should be AVIC interrupt #0 [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/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/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 …]
|
/linux/Documentation/admin-guide/RAS/ |
H A D | main.rst | 1 .. SPDX-License-Identifier: GPL-2.0 37 ------------- 48 * Memory – add error correction logic (ECC) to detect and correct errors; 51 Self-Monitoring, Analysis and Reporting Technology (SMART). 53 By monitoring the number of occurrences of error detections, it is possible 59 --------------- 62 Codes that allow error correction when the number of errors on a bit packet 64 can indicate with a high degree of confidence that an error happened, but 67 Also, sometimes an error occur on a component that it is not used. For 72 * **Correctable Error (CE)** - the error detection mechanism detected and [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/staging/media/omap4iss/ |
H A D | iss_ipipeif.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * TI OMAP4 ISS V4L2 Driver - ISP IPIPEIF module 31 * struct iss_ipipeif_device - Structure for the IPIPEIF module to store its own 39 * @error: A hardware error occurred during capture 40 * @alaw: A-law compression enabled (1) or disabled (0) 42 * @obclamp: Optical-black clamp enabled (1) or disabled (0) 43 * @fpc_en: Faulty pixels correction enabled (1) or disabled (0) 45 * @clamp: Optical-black or digital clamp configuration 46 * @fpc: Faulty pixels correction configuration 67 unsigned int error; member
|
/linux/include/linux/ |
H A D | timex.h | 28 * Added defines for hybrid phase/frequency-lock loop. 32 * defines for PPS phase-lock loop. 46 * 1995-08-13 Torsten Duwe 47 * kernel PLL updated to 1994-12-13 specs (rfc-1589) 48 * 1997-08-30 Ulrich Windl 50 * 2004-08-12 Christoph Lameter 59 #define ADJ_OFFSET_SINGLESHOT 0x0001 /* old-fashioned adjtime */ 60 #define ADJ_OFFSET_READONLY 0x2000 /* read-only adjtime */ 73 * when an interrupt takes places versus a high speed, fine-grained 91 * adjust the frequency correction for a given offset in PLL mode. [all …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/binary/interface/ |
H A D | ia_css_binary.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 Copyright (c) 2010 - 2015, Intel Corporation. 28 /* The binary mode is used in pre-processor expressions so we cannot 102 struct ia_css_frame_info *in_info; /* the info of the input-frame with the 176 /* @brief Get the shading information of the specified shading correction type. 178 * @param[in] binary: The isp binary which has the shading correction. 179 * @param[in] type: The shading correction type. 188 * @return 0 or error code upon error.
|
/linux/drivers/mtd/tests/ |
H A D | subpagetest.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2006-2007 Nokia Corporation 5 * Test sub-page read and write on MTD device. 6 * Author: Adrian Hunter <ext-adrian.hunter@nokia.com> 22 static int dev = -EINVAL; 47 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock() 52 pr_err("error: write failed at %#llx\n", in write_eraseblock() 58 return err ? err : -1; in write_eraseblock() 66 pr_err("error: write failed at %#llx\n", in write_eraseblock() 72 return err ? err : -1; in write_eraseblock() [all …]
|
/linux/drivers/media/i2c/ccs/ |
H A D | ccs-quirk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/media/i2c/ccs/ccs-quirk.c 8 * Copyright (C) 2011--2012 Nokia Corporation 15 #include "ccs-limits.h" 20 struct i2c_client *client = v4l2_get_subdevdata(&sensor->src->sd); in ccs_write_addr_8s() 23 for (; len > 0; len--, regs++) { in ccs_write_addr_8s() 24 rval = ccs_write_addr(sensor, regs->reg, regs->val); in ccs_write_addr_8s() 26 dev_err(&client->dev, in ccs_write_addr_8s() 27 "error %d writing reg 0x%4.4x, val 0x%2.2x", in ccs_write_addr_8s() 28 rval, regs->reg, regs->val); in ccs_write_addr_8s() [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_cmd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 #include <media/v4l2-subdev.h> 73 * Function to enable/disable lens geometry distortion correction (GDC) and 74 * chromatic aberration correction (CAC) 116 /* Function to update gamma correction parameters */ 159 /* Function to configure bad pixel correction */ 163 /* Function to configure bad pixel correction params */ 179 /* Function to configure false color correction */ 183 /* Function to configure false color correction params */ 243 /* Set sensor power (no-op if already on/off) */ [all …]
|
H A D | css_receiver_2400_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 50 …VER_2400_GEN_SHORT_STR_DATA_BIT_MSB (_HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_FMT_TYPE_BIT_LSB - 1) 51 …VER_2400_GEN_SHORT_STR_FMT_TYPE_BIT_MSB (_HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_CH_ID_BIT_LSB - 1) 52 …VER_2400_GEN_SHORT_STR_CH_ID_BIT_MSB (_HRT_CSS_RECEIVER_2400_GEN_SHORT_STR_REAL_WIDTH - 1) 113 #define _HRT_CSS_RECEIVER_2400_IRQ_ERR_SOT_HS_CAUSE_ "Error high speed SOT" 114 #define _HRT_CSS_RECEIVER_2400_IRQ_ERR_SOT_SYNC_HS_CAUSE_ "Error high speed sync SOT" 115 #define _HRT_CSS_RECEIVER_2400_IRQ_ERR_CONTROL_CAUSE_ "Error control" 116 #define _HRT_CSS_RECEIVER_2400_IRQ_ERR_ECC_DOUBLE_CAUSE_ "Error correction double bit" 117 #define _HRT_CSS_RECEIVER_2400_IRQ_ERR_ECC_CORRECTED_CAUSE_ "Error correction single bit" 118 #define _HRT_CSS_RECEIVER_2400_IRQ_ERR_ECC_NO_CORRECTION_CAUSE_ "No error" [all …]
|
/linux/lib/zstd/compress/ |
H A D | zstd_compress_internal.h | 5 * This source code is licensed under both the BSD-style license (found in the 8 * You may select, at your option, one of the above-listed licenses. 18 /*-************************************* 25 /*-************************************* 35 … benefit is that ZSTD_DUBT_UNSORTED_MARK cannot be mishandled after table re-use with a different … 39 /*-************************************* 82 * Stores Literals Block Type for a super-block in hType, and 93 * Stores symbol compression modes for a super-block in {ll, ol, ml}Type, and 113 * @return : 0 on success or error code */ 158 /* All tables are allocated inside cctx->workspace by ZSTD_resetCCtx_internal() */ [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/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 96 Use forward error correction (FEC) to recover from corruption if hash 110 is M-N. 122 rather than every time. This reduces the overhead of dm-verity so that it 151 dm-verity is meant to be set up as part of a verified boot path. This [all …]
|