Home
last modified time | relevance | path

Searched refs:oob_off (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dsunxi_nand.c807 u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_read_chunk() argument
824 if (data_off + ecc->size != oob_off) in sunxi_nfc_hw_ecc_read_chunk()
825 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk()
840 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_read_chunk()
859 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk()
870 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk()
935 const u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_write_chunk() argument
962 if (data_off + ecc->size != oob_off) in sunxi_nfc_hw_ecc_write_chunk()
963 nand->cmdfunc(mtd, NAND_CMD_RNDIN, oob_off, -1); in sunxi_nfc_hw_ecc_write_chunk()
979 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_write_chunk()
[all …]
H A Dsunxi_nand_spl.c275 int oob_off = conf->page_size + (i * oob_chunk_sz); in nand_read_page() local
295 nand_change_column(oob_off); in nand_read_page()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dsunxi_nand.c797 u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_read_chunk() argument
813 if (data_off + ecc->size != oob_off) in sunxi_nfc_hw_ecc_read_chunk()
814 nand_change_read_column_op(nand, oob_off, NULL, 0, false); in sunxi_nfc_hw_ecc_read_chunk()
829 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_read_chunk()
849 nand_change_read_column_op(nand, oob_off, oob, ecc->bytes + 4, in sunxi_nfc_hw_ecc_read_chunk()
861 nand_change_read_column_op(nand, oob_off, NULL, 0, in sunxi_nfc_hw_ecc_read_chunk()
957 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_read_chunks_dma() local
959 u8 *oob = nand->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_chunks_dma()
973 mtd->writesize + oob_off, in sunxi_nfc_hw_ecc_read_chunks_dma()
989 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_read_chunks_dma() local
[all …]
/openbmc/u-boot/cmd/
H A Dmtd.c86 u64 oob_off = page * mtd->oobsize; in mtd_dump_device_buf() local
90 mtd_dump_buf(&buf[len + oob_off], in mtd_dump_device_buf()