Home
last modified time | relevance | path

Searched refs:prepad (Results 1 – 5 of 5) 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;
399 toread = min_t(int, length, chip->ecc.prepad);
421 mtd->writesize + chip->ecc.prepad, page);
422 bufpoi = buf + chip->ecc.prepad;
423 length = mtd->oobsize - chip->ecc.prepad;
429 host->col_addr += chip->ecc.postpad + chip->ecc.prepad;
444 int eccpitch = eccbytes + chip->ecc.prepad + chip->ecc.postpad;
458 if (chip->ecc.prepad) {
459 chip->read_buf(mtd, oob, chip->ecc.prepad);
460 oob += chip->ecc.prepad;
[all …]
H A Dnand_base.c1252 if (chip->ecc.prepad) { in nand_read_page_raw_syndrome()
1253 chip->read_buf(mtd, oob, chip->ecc.prepad); in nand_read_page_raw_syndrome()
1254 oob += chip->ecc.prepad; in nand_read_page_raw_syndrome()
1557 int eccpadbytes = eccbytes + chip->ecc.prepad + chip->ecc.postpad; in nand_read_page_syndrome()
1568 if (chip->ecc.prepad) { in nand_read_page_syndrome()
1569 chip->read_buf(mtd, oob, chip->ecc.prepad); in nand_read_page_syndrome()
1570 oob += chip->ecc.prepad; 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.c930 nand->ecc.prepad = 0; in atmel_pmecc_nand_init_params()
1194 nand->ecc.prepad = 0; in atmel_hwecc_nand_init_param()
H A Dsunxi_nand.c1527 ecc->prepad = 4; in sunxi_nand_hw_syndrome_ecc_ctrl_init()
/openbmc/u-boot/include/linux/mtd/
H A Drawnand.h599 int prepad; member