Home
last modified time | relevance | path

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

12

/linux-5.19.10/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 …]
Dinternals.h105 int oob_required, int page);
107 int oob_required, int page);
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()
Dnand_base.c2799 int oob_required, int page) in nand_read_page_raw_notsupp() argument
2813 int nand_read_page_raw(struct nand_chip *chip, uint8_t *buf, int oob_required, in nand_read_page_raw() argument
2823 if (oob_required) { in nand_read_page_raw()
2850 int oob_required, int page) in nand_monolithic_read_page_raw() argument
2857 if (oob_required) { in nand_monolithic_read_page_raw()
2885 int oob_required, int page) in nand_read_page_raw_syndrome() argument
2947 int oob_required, int page) in nand_read_page_swecc() argument
3106 int oob_required, int page) in nand_read_page_hwecc() argument
3179 int oob_required, int page) in nand_read_page_hwecc_oob_first() argument
3245 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()
564 if (oob_required) in anfc_write_page_hw_ecc()
571 int oob_required, int page) in anfc_sel_write_page_hw_ecc() argument
579 return anfc_write_page_hw_ecc(chip, buf, oob_required, page); in anfc_sel_write_page_hw_ecc()
Dtegra_nand.c620 int oob_required, int page) in tegra_nand_read_page_raw() argument
623 void *oob_buf = oob_required ? chip->oob_poi : NULL; in tegra_nand_read_page_raw()
630 int oob_required, int page) in tegra_nand_write_page_raw() argument
633 void *oob_buf = oob_required ? chip->oob_poi : NULL; in tegra_nand_write_page_raw()
656 int oob_required, int page) in tegra_nand_read_page_hwecc() argument
661 void *oob_buf = oob_required ? chip->oob_poi : NULL; in tegra_nand_read_page_hwecc()
766 int oob_required, int page) in tegra_nand_write_page_hwecc() argument
770 void *oob_buf = oob_required ? chip->oob_poi : NULL; in tegra_nand_write_page_hwecc()
Dstm32_fmc2_nand.c678 int oob_required, int page) in stm32_fmc2_nfc_read_page() argument
728 if (oob_required) { in stm32_fmc2_nfc_read_page()
965 int oob_required, int page, int raw) in stm32_fmc2_nfc_seq_write() argument
979 if (oob_required) { in stm32_fmc2_nfc_seq_write()
991 int oob_required, int page) in stm32_fmc2_nfc_seq_write_page() argument
999 return stm32_fmc2_nfc_seq_write(chip, buf, oob_required, page, false); in stm32_fmc2_nfc_seq_write_page()
1003 const u8 *buf, int oob_required, in stm32_fmc2_nfc_seq_write_page_raw() argument
1012 return stm32_fmc2_nfc_seq_write(chip, buf, oob_required, page, true); in stm32_fmc2_nfc_seq_write_page_raw()
1085 int oob_required, int page) in stm32_fmc2_nfc_seq_read_page() argument
1110 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()
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
1189 int oob_required, int page) in marvell_nfc_hw_ecc_hmg_write_page_raw() argument
1198 int oob_required, int page) in marvell_nfc_hw_ecc_hmg_write_page() argument
1231 int oob_required, int page) in marvell_nfc_hw_ecc_bch_read_page_raw() argument
1246 if (oob_required) in marvell_nfc_hw_ecc_bch_read_page_raw()
1345 u8 *buf, int oob_required, in marvell_nfc_hw_ecc_bch_read_page() argument
1363 if (oob_required) in marvell_nfc_hw_ecc_bch_read_page()
1487 int oob_required, int page) in marvell_nfc_hw_ecc_bch_write_page_raw() argument
1518 if (!oob_required) in marvell_nfc_hw_ecc_bch_write_page_raw()
[all …]
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.c389 int oob_required, int page) in ebu_nand_read_page_hwecc() argument
401 if (oob_required) in ebu_nand_read_page_hwecc()
412 int oob_required, int page) in ebu_nand_write_page_hwecc() argument
426 if (oob_required) { in ebu_nand_write_page_hwecc()
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
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
Dlpc32xx_slc.c602 int oob_required, int page) in lpc32xx_nand_read_page_syndrome() argument
649 uint8_t *buf, int oob_required, in lpc32xx_nand_read_page_raw_syndrome() argument
670 int oob_required, int page) in lpc32xx_nand_write_page_syndrome() argument
708 int oob_required, int page) in lpc32xx_nand_write_page_raw_syndrome() 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()
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
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
Drenesas-nand-controller.c400 int oob_required, int page) in rnandc_read_page_hw_ecc() argument
446 if (oob_required || ECC_STAT_UNCORRECTABLE(cs, ecc_stat)) { in rnandc_read_page_hw_ecc()
580 int oob_required, int page) in rnandc_write_page_hw_ecc() argument
624 if (!oob_required) in rnandc_write_page_hw_ecc()
633 int oob_required, int page) in rnandc_write_subpage_hw_ecc() argument
Dmeson_nand.c672 int oob_required, int page) in meson_nfc_write_page_raw() argument
682 const u8 *buf, int oob_required, int page) in meson_nfc_write_page_hwecc() argument
755 int oob_required, int page) in meson_nfc_read_page_raw() argument
770 int oob_required, int page) in meson_nfc_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
/linux-5.19.10/include/linux/mtd/
Drawnand.h365 int oob_required, int page);
367 int oob_required, int page);
369 int oob_required, int page);
374 int oob_required, int page);
376 int oob_required, int page);
1503 int nand_read_page_raw(struct nand_chip *chip, uint8_t *buf, int oob_required,
1506 int oob_required, int page);
1510 int oob_required, int page);
1512 int oob_required, int page);
1545 int oob_required, int page);
/linux-5.19.10/drivers/mtd/nand/raw/atmel/
Dnand-controller.c717 bool oob_required) in atmel_nfc_copy_to_sram() argument
734 if (oob_required) in atmel_nfc_copy_to_sram()
740 bool oob_required) in atmel_nfc_copy_from_sram() argument
756 if (oob_required) in atmel_nfc_copy_from_sram()
901 bool oob_required, int page, bool raw) in atmel_nand_pmecc_write_pg() argument
929 int oob_required, int page) in atmel_nand_pmecc_write_page() argument
931 return atmel_nand_pmecc_write_pg(chip, buf, oob_required, page, false); in atmel_nand_pmecc_write_page()
935 const u8 *buf, int oob_required, in atmel_nand_pmecc_write_page_raw() argument
938 return atmel_nand_pmecc_write_pg(chip, buf, oob_required, page, true); in atmel_nand_pmecc_write_page_raw()
942 bool oob_required, int page, bool raw) in atmel_nand_pmecc_read_pg() argument
[all …]
/linux-5.19.10/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c1528 int oob_required, int page) in gpmi_ecc_read_page() argument
1550 if (oob_required) { in gpmi_ecc_read_page()
1666 int oob_required, int page) in gpmi_ecc_write_page() argument
1813 int oob_required, int page) in gpmi_ecc_read_page_raw() argument
1847 if (oob_required) in gpmi_ecc_read_page_raw()
1865 if (oob_required) in gpmi_ecc_read_page_raw()
1873 if (oob_required) { in gpmi_ecc_read_page_raw()
1898 int oob_required, int page) in gpmi_ecc_write_page_raw() argument
1917 if (!buf || !oob_required) in gpmi_ecc_write_page_raw()
1940 if (oob_required) in gpmi_ecc_write_page_raw()
[all …]
/linux-5.19.10/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c2302 int oob_required, int page) in brcmnand_read_page() argument
2306 u8 *oob = oob_required ? (u8 *)chip->oob_poi : NULL; in brcmnand_read_page()
2315 int oob_required, int page) in brcmnand_read_page_raw() argument
2319 u8 *oob = oob_required ? (u8 *)chip->oob_poi : NULL; in brcmnand_read_page_raw()
2425 int oob_required, int page) in brcmnand_write_page() argument
2429 void *oob = oob_required ? chip->oob_poi : NULL; in brcmnand_write_page()
2438 int oob_required, int page) in brcmnand_write_page_raw() argument
2442 void *oob = oob_required ? chip->oob_poi : NULL; in brcmnand_write_page_raw()

12