linux/drivers/mtd/nand
Miquel Raynal 5145abeb06 mtd: nand: ecc: Provide a helper to retrieve a pilelined engine device
In a pipelined engine situation, we might either have the host which
internally has support for error correction, or have it using an
external hardware block for this purpose. In the former case, the host
is also the ECC engine. In the latter case, it is not. In order to get
the right pointers on the right devices (for example: in order to devm_*
allocate variables), let's introduce this helper which can safely be
called by pipelined ECC engines in order to retrieve the right device
structure.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20211216111654.238086-16-miquel.raynal@bootlin.com
2022-02-09 09:49:36 +01:00
..
onenand mtd: onenand: remove redundant variable ooblen 2021-12-09 17:29:51 +01:00
raw - added support for more BCM47XX based devices 2022-01-14 15:08:36 +01:00
spi mtd: spinand: macronix: Use random program load 2022-01-23 12:36:22 +01:00
bbt.c mtd: nand: bbt: Fix corner case in bad block table handling 2021-05-10 18:20:54 +02:00
core.c mtd: nand: ecc: Add infrastructure to support hardware engines 2022-01-23 12:36:23 +01:00
ecc-mxic.c mtd: nand: mxic-ecc: Add Macronix external ECC engine support 2022-02-09 09:49:25 +01:00
ecc-sw-bch.c mtd: nand: ecc-bch: Use the public nsteps field 2021-03-11 09:37:28 +01:00
ecc-sw-hamming.c mtd: rawnand: Let callers use the bare Hamming helpers 2021-10-15 12:20:59 +02:00
ecc.c mtd: nand: ecc: Provide a helper to retrieve a pilelined engine device 2022-02-09 09:49:36 +01:00
Kconfig mtd: nand: mxic-ecc: Add Macronix external ECC engine support 2022-02-09 09:49:25 +01:00
Makefile mtd: nand: mxic-ecc: Add Macronix external ECC engine support 2022-02-09 09:49:25 +01:00