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.c801 bool bbm, bool oob_required, int page) in sunxi_nfc_hw_ecc_read_chunk() argument
832 ret = sunxi_nfc_hw_ecc_correct(nand, data, oob_required ? oob : NULL, 0, in sunxi_nfc_hw_ecc_read_chunk()
861 if (oob_required) { in sunxi_nfc_hw_ecc_read_chunk()
904 int oob_required, int page, in sunxi_nfc_hw_ecc_read_chunks_dma() argument
959 oob_required ? oob : NULL, in sunxi_nfc_hw_ecc_read_chunks_dma()
966 if (oob_required && !erased) { in sunxi_nfc_hw_ecc_read_chunks_dma()
1018 if (oob_required) in sunxi_nfc_hw_ecc_read_chunks_dma()
1088 int oob_required, int page) in sunxi_nfc_hw_ecc_read_page() argument
1111 !i, oob_required, page); in sunxi_nfc_hw_ecc_read_page()
1118 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.h100 int oob_required, int page);
102 int oob_required, int page);
Darasan-nand-controller.c329 int oob_required, int page) in anfc_read_page_hw_ecc() argument
334 unsigned int len = mtd->writesize + (oob_required ? mtd->oobsize : 0); in anfc_read_page_hw_ecc()
435 int oob_required, int page) in anfc_sel_read_page_hw_ecc() argument
443 return anfc_read_page_hw_ecc(chip, buf, oob_required, page); in anfc_sel_read_page_hw_ecc()
447 int oob_required, int page) in anfc_write_page_hw_ecc() argument
452 unsigned int len = mtd->writesize + (oob_required ? mtd->oobsize : 0); in anfc_write_page_hw_ecc()
501 if (oob_required) { in anfc_write_page_hw_ecc()
519 int oob_required, int page) in anfc_sel_write_page_hw_ecc() argument
527 return anfc_write_page_hw_ecc(chip, buf, oob_required, page); in anfc_sel_write_page_hw_ecc()
Dtango_nand.c297 int oob_required, int page) in tango_read_page() argument
304 if (oob_required) in tango_read_page()
321 int oob_required, int page) in tango_write_page() argument
330 if (oob_required) in tango_write_page()
455 int oob_required, int page) in tango_read_page_raw() argument
464 int oob_required, int page) in tango_write_page_raw() argument
Dnand_base.c2582 int oob_required, int page) in nand_read_page_raw_notsupp() argument
2596 int nand_read_page_raw(struct nand_chip *chip, uint8_t *buf, int oob_required, in nand_read_page_raw() argument
2606 if (oob_required) { in nand_read_page_raw()
2633 int oob_required, int page) in nand_monolithic_read_page_raw() argument
2640 if (oob_required) { in nand_monolithic_read_page_raw()
2668 int oob_required, int page) in nand_read_page_raw_syndrome() argument
2730 int oob_required, int page) in nand_read_page_swecc() argument
2889 int oob_required, int page) in nand_read_page_hwecc() argument
2961 int oob_required, int page) in nand_read_page_syndrome() argument
3118 int chipnr, page, realpage, col, bytes, aligned, oob_required; in nand_do_read_ops() local
[all …]
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.c674 int oob_required, int page) in stm32_fmc2_nfc_read_page() argument
724 if (oob_required) { in stm32_fmc2_nfc_read_page()
961 int oob_required, int page, int raw) in stm32_fmc2_nfc_seq_write() argument
975 if (oob_required) { in stm32_fmc2_nfc_seq_write()
987 int oob_required, int page) in stm32_fmc2_nfc_seq_write_page() argument
995 return stm32_fmc2_nfc_seq_write(chip, buf, oob_required, page, false); in stm32_fmc2_nfc_seq_write_page()
999 const u8 *buf, int oob_required, in stm32_fmc2_nfc_seq_write_page_raw() argument
1008 return stm32_fmc2_nfc_seq_write(chip, buf, oob_required, page, true); in stm32_fmc2_nfc_seq_write_page_raw()
1081 int oob_required, int page) in stm32_fmc2_nfc_seq_read_page() argument
1106 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 …]
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
Dfsl_elbc_nand.c634 int oob_required, int page) in fsl_elbc_read_page() argument
642 if (oob_required) in fsl_elbc_read_page()
655 int oob_required, int page) in fsl_elbc_write_page() argument
670 int oob_required, int page) in fsl_elbc_write_subpage() argument
Dlpc32xx_slc.c603 int oob_required, int page) in lpc32xx_nand_read_page_syndrome() argument
650 uint8_t *buf, int oob_required, in lpc32xx_nand_read_page_raw_syndrome() argument
671 int oob_required, int page) in lpc32xx_nand_write_page_syndrome() argument
709 int oob_required, int page) in lpc32xx_nand_write_page_raw_syndrome() argument
Dmxc_nand.c820 int oob_required, int page) in mxc_nand_read_page() argument
825 if (oob_required) in mxc_nand_read_page()
834 int oob_required, int page) in mxc_nand_read_page_raw() argument
839 if (oob_required) in mxc_nand_read_page_raw()
877 int oob_required, int page) in mxc_nand_write_page_ecc() argument
883 int oob_required, int page) in mxc_nand_write_page_raw() argument
Dfsl_ifc_nand.c668 int oob_required, int page) in fsl_ifc_read_page() argument
676 if (oob_required) in fsl_ifc_read_page()
680 if (!oob_required) in fsl_ifc_read_page()
696 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
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.c435 int oob_required, int page) in lpc32xx_read_page() argument
501 const uint8_t *buf, int oob_required, in lpc32xx_write_page_lowlevel() argument
Dqcom_nandc.c1945 int oob_required, int page) in qcom_nandc_read_page() argument
1953 oob_buf = oob_required ? chip->oob_poi : NULL; in qcom_nandc_read_page()
1962 int oob_required, int page) in qcom_nandc_read_page_raw() argument
2002 int oob_required, int page) in qcom_nandc_write_page() argument
2072 const uint8_t *buf, int oob_required, in qcom_nandc_write_page_raw() 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.c1321 int oob_required, int page) in gpmi_ecc_read_page() argument
1343 if (oob_required) { in gpmi_ecc_read_page()
1439 int oob_required, int page) in gpmi_ecc_write_page() argument
1589 int oob_required, int page) in gpmi_ecc_read_page_raw() argument
1623 if (oob_required) in gpmi_ecc_read_page_raw()
1641 if (oob_required) in gpmi_ecc_read_page_raw()
1649 if (oob_required) { in gpmi_ecc_read_page_raw()
1674 int oob_required, int page) in gpmi_ecc_write_page_raw() argument
1693 if (!buf || !oob_required) in gpmi_ecc_write_page_raw()
1716 if (oob_required) in gpmi_ecc_write_page_raw()
[all …]
/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c2286 int oob_required, int page) in brcmnand_read_page() argument
2290 u8 *oob = oob_required ? (u8 *)chip->oob_poi : NULL; in brcmnand_read_page()
2299 int oob_required, int page) in brcmnand_read_page_raw() argument
2303 u8 *oob = oob_required ? (u8 *)chip->oob_poi : NULL; in brcmnand_read_page_raw()
2405 int oob_required, int page) in brcmnand_write_page() argument
2409 void *oob = oob_required ? chip->oob_poi : NULL; in brcmnand_write_page()
2418 int oob_required, int page) in brcmnand_write_page_raw() argument
2422 void *oob = oob_required ? chip->oob_poi : NULL; in brcmnand_write_page_raw()

12