Home
last modified time | relevance | path

Searched refs:oob_required (Results 1 – 25 of 29) sorted by relevance

12

/drivers/mtd/nand/raw/
Dnand_micron.c190 int oob_required) in micron_nand_on_die_ecc_status_4() argument
214 if (!oob_required) { in micron_nand_on_die_ecc_status_4()
305 int oob_required, int page) in micron_nand_read_page_on_die_ecc() argument
343 if (!ret && oob_required) in micron_nand_read_page_on_die_ecc()
349 if (!ret && oob_required) in micron_nand_read_page_on_die_ecc()
358 oob_required); in micron_nand_read_page_on_die_ecc()
370 int oob_required, int page) in micron_nand_write_page_on_die_ecc() argument
378 ret = nand_write_page_raw(chip, buf, oob_required, page); in micron_nand_write_page_on_die_ecc()
Dsunxi_nand.c812 bool bbm, bool oob_required, int page) in sunxi_nfc_hw_ecc_read_chunk() argument
843 ret = sunxi_nfc_hw_ecc_correct(nand, data, oob_required ? oob : NULL, 0, in sunxi_nfc_hw_ecc_read_chunk()
872 if (oob_required) { in sunxi_nfc_hw_ecc_read_chunk()
915 int oob_required, int page, in sunxi_nfc_hw_ecc_read_chunks_dma() argument
975 oob_required ? oob : NULL, in sunxi_nfc_hw_ecc_read_chunks_dma()
982 if (oob_required && !erased) { in sunxi_nfc_hw_ecc_read_chunks_dma()
1034 if (oob_required) in sunxi_nfc_hw_ecc_read_chunks_dma()
1104 int oob_required, int page) in sunxi_nfc_hw_ecc_read_page() argument
1127 !i, oob_required, page); in sunxi_nfc_hw_ecc_read_page()
1134 if (oob_required) in sunxi_nfc_hw_ecc_read_page()
[all …]
Dvf610_nfc.c549 int oob_required, int page) in vf610_nfc_read_page() argument
579 if (oob_required) in vf610_nfc_read_page()
597 int oob_required, int page) in vf610_nfc_write_page() argument
641 int oob_required, int page) in vf610_nfc_read_page_raw() argument
647 ret = nand_read_page_raw(chip, buf, oob_required, page); in vf610_nfc_read_page_raw()
654 int oob_required, int page) in vf610_nfc_write_page_raw() argument
662 if (!ret && oob_required) in vf610_nfc_write_page_raw()
Dinternals.h105 int oob_required, int page);
107 int oob_required, int page);
Dnand_base.c2796 int oob_required, int page) in nand_read_page_raw_notsupp() argument
2810 int nand_read_page_raw(struct nand_chip *chip, uint8_t *buf, int oob_required, in nand_read_page_raw() argument
2820 if (oob_required) { in nand_read_page_raw()
2847 int oob_required, int page) in nand_monolithic_read_page_raw() argument
2854 if (oob_required) { in nand_monolithic_read_page_raw()
2882 int oob_required, int page) in nand_read_page_raw_syndrome() argument
2944 int oob_required, int page) in nand_read_page_swecc() argument
3103 int oob_required, int page) in nand_read_page_hwecc() argument
3176 int oob_required, int page) in nand_read_page_hwecc_oob_first() argument
3242 int oob_required, int page) in nand_read_page_syndrome() argument
[all …]
Darasan-nand-controller.c393 int oob_required, int page) in anfc_read_page_hw_ecc() argument
398 unsigned int len = mtd->writesize + (oob_required ? mtd->oobsize : 0); in anfc_read_page_hw_ecc()
499 int oob_required, int page) in anfc_sel_read_page_hw_ecc() argument
507 return anfc_read_page_hw_ecc(chip, buf, oob_required, page); in anfc_sel_read_page_hw_ecc()
511 int oob_required, int page) in anfc_write_page_hw_ecc() argument
516 unsigned int len = mtd->writesize + (oob_required ? mtd->oobsize : 0); in anfc_write_page_hw_ecc()
565 if (oob_required) { in anfc_write_page_hw_ecc()
583 int oob_required, int page) in anfc_sel_write_page_hw_ecc() argument
591 return anfc_write_page_hw_ecc(chip, buf, oob_required, page); in anfc_sel_write_page_hw_ecc()
Dtegra_nand.c617 int oob_required, int page) in tegra_nand_read_page_raw() argument
620 void *oob_buf = oob_required ? chip->oob_poi : NULL; in tegra_nand_read_page_raw()
627 int oob_required, int page) in tegra_nand_write_page_raw() argument
630 void *oob_buf = oob_required ? chip->oob_poi : NULL; in tegra_nand_write_page_raw()
653 int oob_required, int page) in tegra_nand_read_page_hwecc() argument
658 void *oob_buf = oob_required ? chip->oob_poi : NULL; in tegra_nand_read_page_hwecc()
763 int oob_required, int page) in tegra_nand_write_page_hwecc() argument
767 void *oob_buf = oob_required ? chip->oob_poi : NULL; in tegra_nand_write_page_hwecc()
Dstm32_fmc2_nand.c676 int oob_required, int page) in stm32_fmc2_nfc_read_page() argument
726 if (oob_required) { in stm32_fmc2_nfc_read_page()
963 int oob_required, int page, int raw) in stm32_fmc2_nfc_seq_write() argument
977 if (oob_required) { in stm32_fmc2_nfc_seq_write()
989 int oob_required, int page) in stm32_fmc2_nfc_seq_write_page() argument
997 return stm32_fmc2_nfc_seq_write(chip, buf, oob_required, page, false); in stm32_fmc2_nfc_seq_write_page()
1001 const u8 *buf, int oob_required, in stm32_fmc2_nfc_seq_write_page_raw() argument
1010 return stm32_fmc2_nfc_seq_write(chip, buf, oob_required, page, true); in stm32_fmc2_nfc_seq_write_page_raw()
1083 int oob_required, int page) in stm32_fmc2_nfc_seq_read_page() argument
1108 if (oob_required) in stm32_fmc2_nfc_seq_read_page()
[all …]
Dnand_toshiba.c97 int oob_required, int page) in toshiba_nand_read_page_benand() argument
101 ret = nand_read_page_raw(chip, buf, oob_required, page); in toshiba_nand_read_page_benand()
Dcadence-nand-controller.c1420 const u8 *buf, int oob_required, in cadence_nand_write_page() argument
1438 if (oob_required) { in cadence_nand_write_page()
1455 if (oob_required) in cadence_nand_write_page()
1474 if (oob_required) { in cadence_nand_write_page()
1503 const u8 *buf, int oob_required, in cadence_nand_write_page_raw() argument
1528 if (!buf || !oob_required) in cadence_nand_write_page_raw()
1555 if (oob_required) { in cadence_nand_write_page_raw()
1610 u8 *buf, int oob_required, int page) in cadence_nand_read_page() argument
1634 if (oob_required) in cadence_nand_read_page()
1657 if (oob_required) in cadence_nand_read_page()
[all …]
Dintel-nand-controller.c390 int oob_required, int page) in ebu_nand_read_page_hwecc() argument
402 if (oob_required) in ebu_nand_read_page_hwecc()
413 int oob_required, int page) in ebu_nand_write_page_hwecc() argument
427 if (oob_required) { in ebu_nand_write_page_hwecc()
Dmarvell_nand.c1074 int oob_required, int page) in marvell_nfc_hw_ecc_hmg_read_page_raw() argument
1082 int oob_required, int page) in marvell_nfc_hw_ecc_hmg_read_page() argument
1201 int oob_required, int page) in marvell_nfc_hw_ecc_hmg_write_page_raw() argument
1210 int oob_required, int page) in marvell_nfc_hw_ecc_hmg_write_page() argument
1243 int oob_required, int page) in marvell_nfc_hw_ecc_bch_read_page_raw() argument
1258 if (oob_required) in marvell_nfc_hw_ecc_bch_read_page_raw()
1357 u8 *buf, int oob_required, in marvell_nfc_hw_ecc_bch_read_page() argument
1375 if (oob_required) in marvell_nfc_hw_ecc_bch_read_page()
1499 int oob_required, int page) in marvell_nfc_hw_ecc_bch_write_page_raw() argument
1530 if (!oob_required) in marvell_nfc_hw_ecc_bch_write_page_raw()
[all …]
Ddenali.c384 int oob_required, int page) in denali_read_page_raw() argument
386 return denali_read_raw(chip, buf, oob_required ? chip->oob_poi : NULL, in denali_read_page_raw()
391 int oob_required, int page) in denali_write_page_raw() argument
393 return denali_write_raw(chip, buf, oob_required ? chip->oob_poi : NULL, in denali_write_page_raw()
724 int oob_required, int page) in denali_read_page() argument
757 int oob_required, int page) in denali_write_page() argument
Dlpc32xx_slc.c615 int oob_required, int page) in lpc32xx_nand_read_page_syndrome() argument
662 uint8_t *buf, int oob_required, in lpc32xx_nand_read_page_raw_syndrome() argument
683 int oob_required, int page) in lpc32xx_nand_write_page_syndrome() argument
721 int oob_required, int page) in lpc32xx_nand_write_page_raw_syndrome() argument
Dfsl_elbc_nand.c633 int oob_required, int page) in fsl_elbc_read_page() argument
641 if (oob_required) in fsl_elbc_read_page()
654 int oob_required, int page) in fsl_elbc_write_page() argument
669 int oob_required, int page) in fsl_elbc_write_subpage() argument
Dmxc_nand.c818 int oob_required, int page) in mxc_nand_read_page() argument
823 if (oob_required) in mxc_nand_read_page()
832 int oob_required, int page) in mxc_nand_read_page_raw() argument
837 if (oob_required) in mxc_nand_read_page_raw()
875 int oob_required, int page) in mxc_nand_write_page_ecc() argument
881 int oob_required, int page) in mxc_nand_write_page_raw() argument
Dfsl_ifc_nand.c667 int oob_required, int page) in fsl_ifc_read_page() argument
675 if (oob_required) in fsl_ifc_read_page()
679 if (!oob_required) in fsl_ifc_read_page()
695 int oob_required, int page) in fsl_ifc_write_page() argument
Dhisi504_nand.c519 int oob_required, int page) in hisi_nand_read_page_hwecc() argument
568 const uint8_t *buf, int oob_required, in hisi_nand_write_page_hwecc() argument
574 if (oob_required) in hisi_nand_write_page_hwecc()
Dmeson_nand.c677 int oob_required, int page) in meson_nfc_write_page_raw() argument
687 const u8 *buf, int oob_required, int page) in meson_nfc_write_page_hwecc() argument
762 int oob_required, int page) in meson_nfc_read_page_raw() argument
777 int oob_required, int page) in meson_nfc_read_page_hwecc() argument
Dpl35x-nand-controller.c505 const u8 *buf, int oob_required, in pl35x_nand_write_page_hwecc() argument
552 if (!oob_required) in pl35x_nand_write_page_hwecc()
595 u8 *buf, int oob_required, int page) in pl35x_nand_read_page_hwecc() argument
Dsh_flctl.c602 int oob_required, int page) in flctl_read_page_hwecc() argument
607 if (oob_required) in flctl_read_page_hwecc()
613 int oob_required, int page) in flctl_write_page_hwecc() argument
Dlpc32xx_mlc.c434 int oob_required, int page) in lpc32xx_read_page() argument
500 const uint8_t *buf, int oob_required, in lpc32xx_write_page_lowlevel() argument
/drivers/mtd/nand/raw/atmel/
Dnand-controller.c718 bool oob_required) in atmel_nfc_copy_to_sram() argument
735 if (oob_required) in atmel_nfc_copy_to_sram()
741 bool oob_required) in atmel_nfc_copy_from_sram() argument
757 if (oob_required) in atmel_nfc_copy_from_sram()
902 bool oob_required, int page, bool raw) in atmel_nand_pmecc_write_pg() argument
930 int oob_required, int page) in atmel_nand_pmecc_write_page() argument
932 return atmel_nand_pmecc_write_pg(chip, buf, oob_required, page, false); in atmel_nand_pmecc_write_page()
936 const u8 *buf, int oob_required, in atmel_nand_pmecc_write_page_raw() argument
939 return atmel_nand_pmecc_write_pg(chip, buf, oob_required, page, true); in atmel_nand_pmecc_write_page_raw()
943 bool oob_required, int page, bool raw) in atmel_nand_pmecc_read_pg() argument
[all …]
/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c1337 int oob_required, int page) in gpmi_ecc_read_page() argument
1359 if (oob_required) { in gpmi_ecc_read_page()
1455 int oob_required, int page) in gpmi_ecc_write_page() argument
1605 int oob_required, int page) in gpmi_ecc_read_page_raw() argument
1639 if (oob_required) in gpmi_ecc_read_page_raw()
1657 if (oob_required) in gpmi_ecc_read_page_raw()
1665 if (oob_required) { in gpmi_ecc_read_page_raw()
1690 int oob_required, int page) in gpmi_ecc_write_page_raw() argument
1709 if (!buf || !oob_required) in gpmi_ecc_write_page_raw()
1732 if (oob_required) in gpmi_ecc_write_page_raw()
[all …]
/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c2331 int oob_required, int page) in brcmnand_read_page() argument
2335 u8 *oob = oob_required ? (u8 *)chip->oob_poi : NULL; in brcmnand_read_page()
2344 int oob_required, int page) in brcmnand_read_page_raw() argument
2348 u8 *oob = oob_required ? (u8 *)chip->oob_poi : NULL; in brcmnand_read_page_raw()
2454 int oob_required, int page) in brcmnand_write_page() argument
2458 void *oob = oob_required ? chip->oob_poi : NULL; in brcmnand_write_page()
2467 int oob_required, int page) in brcmnand_write_page_raw() argument
2471 void *oob = oob_required ? chip->oob_poi : NULL; in brcmnand_write_page_raw()

12