Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dsunxi_nand.c808 u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_read_chunk() argument
825 if (data_off + ecc->size != oob_off) in sunxi_nfc_hw_ecc_read_chunk()
826 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk()
841 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_read_chunk()
860 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk()
871 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk()
936 const u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_write_chunk() argument
963 if (data_off + ecc->size != oob_off) in sunxi_nfc_hw_ecc_write_chunk()
964 nand->cmdfunc(mtd, NAND_CMD_RNDIN, oob_off, -1); in sunxi_nfc_hw_ecc_write_chunk()
980 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_write_chunk()
[all …]
H A Drockchip_nand.c333 int oob_off = step * (ecc->bytes + ecc->prepad); in rockchip_nand_hw_syndrome_pio_read_page() local
335 u8 *oob = chip->oob_poi + oob_off; in rockchip_nand_hw_syndrome_pio_read_page()
400 int oob_off = step * (ecc->bytes + ecc->prepad); in rockchip_nand_hw_syndrome_pio_write_page() local
402 const u8 *oob = chip->oob_poi + oob_off; in rockchip_nand_hw_syndrome_pio_write_page()
418 oob_off = step * (ecc->bytes + ecc->prepad); in rockchip_nand_hw_syndrome_pio_write_page()
420 oob = chip->oob_poi + oob_off; in rockchip_nand_hw_syndrome_pio_write_page()
H A Drockchip_nand_v9.c334 int oob_off = step * (ecc->bytes + ecc->prepad); in rockchip_nand_hw_syndrome_pio_read_page() local
336 u8 *oob = chip->oob_poi + oob_off; in rockchip_nand_hw_syndrome_pio_read_page()
401 int oob_off = step * (ecc->bytes + ecc->prepad); in rockchip_nand_hw_syndrome_pio_write_page() local
403 const u8 *oob = chip->oob_poi + oob_off; in rockchip_nand_hw_syndrome_pio_write_page()
418 oob_off = step * (ecc->bytes + ecc->prepad); in rockchip_nand_hw_syndrome_pio_write_page()
420 oob = chip->oob_poi + oob_off; in rockchip_nand_hw_syndrome_pio_write_page()
H A Dsunxi_nand_spl.c276 int oob_off = conf->page_size + (i * oob_chunk_sz); in nand_read_page() local
296 nand_change_column(oob_off); in nand_read_page()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dsunxi_nand.c798 u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_read_chunk() argument
814 if (data_off + ecc->size != oob_off) in sunxi_nfc_hw_ecc_read_chunk()
815 nand_change_read_column_op(nand, oob_off, NULL, 0, false); in sunxi_nfc_hw_ecc_read_chunk()
830 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_read_chunk()
850 nand_change_read_column_op(nand, oob_off, oob, ecc->bytes + 4, in sunxi_nfc_hw_ecc_read_chunk()
862 nand_change_read_column_op(nand, oob_off, NULL, 0, in sunxi_nfc_hw_ecc_read_chunk()
953 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_read_chunks_dma() local
955 u8 *oob = nand->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_chunks_dma()
969 mtd->writesize + oob_off, in sunxi_nfc_hw_ecc_read_chunks_dma()
985 int oob_off = i * (ecc->bytes + 4); in sunxi_nfc_hw_ecc_read_chunks_dma() local
[all …]
/OK3568_Linux_fs/u-boot/cmd/
H A Dmtd.c72 u64 oob_off = page * mtd->oobsize; in mtd_dump_device_buf() local
76 mtd_dump_buf(&buf[len + oob_off], in mtd_dump_device_buf()