Searched refs:oob_len (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/cmd/ |
H A D | mtd.c | 249 u32 oob_len; in do_mtd_io() local 301 oob_len = woob ? npages * mtd->oobsize : 0; in do_mtd_io() 304 buf = kmalloc(len + oob_len, GFP_KERNEL); in do_mtd_io()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | meson_nand.c | 389 int i, oob_len = 0; in meson_nfc_get_data_oob() local 392 oob_len = nand->ecc.bytes + 2; in meson_nfc_get_data_oob() 400 memcpy(oobbuf, osrc, oob_len); in meson_nfc_get_data_oob() 401 oobbuf += oob_len; in meson_nfc_get_data_oob() 408 int i, oob_len = 0; in meson_nfc_set_data_oob() local 411 oob_len = nand->ecc.bytes + 2; in meson_nfc_set_data_oob() 419 memcpy(osrc, oobbuf, oob_len); in meson_nfc_set_data_oob() 420 oobbuf += oob_len; in meson_nfc_set_data_oob()
|
H A D | tegra_nand.c | 497 void *buf, void *oob_buf, int oob_len, int page, in tegra_nand_page_xfer() argument 553 writel_relaxed(oob_len - 1, ctrl->regs + DMA_CFG_B); in tegra_nand_page_xfer()
|
H A D | qcom_nandc.c | 1628 int data_len, oob_len; in parse_read_errors() local 1632 oob_len = ecc->steps << 2; in parse_read_errors() 1635 oob_len = 0; in parse_read_errors() 1695 oob_buf += oob_len + ecc->bytes; in parse_read_errors()
|