Home
last modified time | relevance | path

Searched refs:postpad (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dmxc_nand.c390 int eccpitch = chip->ecc.bytes + chip->ecc.prepad + chip->ecc.postpad;
409 toread = min_t(int, length, chip->ecc.postpad);
429 host->col_addr += chip->ecc.postpad + chip->ecc.prepad;
444 int eccpitch = eccbytes + chip->ecc.prepad + chip->ecc.postpad;
466 if (chip->ecc.postpad) {
467 chip->read_buf(mtd, oob, chip->ecc.postpad);
468 oob += chip->ecc.postpad;
489 int eccpitch = eccbytes + chip->ecc.prepad + chip->ecc.postpad;
520 if (chip->ecc.postpad) {
521 chip->read_buf(mtd, oob, chip->ecc.postpad);
[all …]
H A Dnand_base.c1260 if (chip->ecc.postpad) { in nand_read_page_raw_syndrome()
1261 chip->read_buf(mtd, oob, chip->ecc.postpad); in nand_read_page_raw_syndrome()
1262 oob += chip->ecc.postpad; in nand_read_page_raw_syndrome()
1557 int eccpadbytes = eccbytes + chip->ecc.prepad + chip->ecc.postpad; in nand_read_page_syndrome()
1579 if (chip->ecc.postpad) { in nand_read_page_syndrome()
1580 chip->read_buf(mtd, oob, chip->ecc.postpad); in nand_read_page_syndrome()
1581 oob += chip->ecc.postpad; in nand_read_page_syndrome()
1893 int chunk = chip->ecc.bytes + chip->ecc.prepad + chip->ecc.postpad; in nand_read_oob_syndrome()
1952 int chunk = chip->ecc.bytes + chip->ecc.prepad + chip->ecc.postpad; in nand_write_oob_syndrome()
1962 if (!chip->ecc.prepad && !chip->ecc.postpad) { in nand_write_oob_syndrome()
[all …]
H A Datmel_nand.c929 nand->ecc.postpad = 0; in atmel_pmecc_nand_init_params()
1193 nand->ecc.postpad = 0; in atmel_hwecc_nand_init_param()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_base.c3028 if (chip->ecc.postpad) { in nand_read_page_raw_syndrome()
3029 ret = nand_read_data_op(chip, oob, chip->ecc.postpad, in nand_read_page_raw_syndrome()
3034 oob += chip->ecc.postpad; in nand_read_page_raw_syndrome()
3360 int eccpadbytes = eccbytes + chip->ecc.prepad + chip->ecc.postpad; in nand_read_page_syndrome()
3397 if (chip->ecc.postpad) { in nand_read_page_syndrome()
3398 ret = nand_read_data_op(chip, oob, chip->ecc.postpad, in nand_read_page_syndrome()
3403 oob += chip->ecc.postpad; in nand_read_page_syndrome()
3758 int chunk = chip->ecc.bytes + chip->ecc.prepad + chip->ecc.postpad; in nand_read_oob_syndrome()
3825 int chunk = chip->ecc.bytes + chip->ecc.prepad + chip->ecc.postpad; in nand_write_oob_syndrome()
3835 if (!chip->ecc.prepad && !chip->ecc.postpad) { in nand_write_oob_syndrome()
[all …]
H A Dlpc32xx_slc.c794 chip->ecc.postpad = 0; in lpc32xx_nand_attach_chip()
/openbmc/u-boot/include/linux/mtd/
H A Drawnand.h600 int postpad; member
/openbmc/linux/include/linux/mtd/
H A Drawnand.h359 int postpad; member