/linux-5.19.10/drivers/mtd/nand/raw/ |
D | nand_micron.c | 190 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()
|
D | sunxi_nand.c | 812 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 …]
|
D | internals.h | 105 int oob_required, int page); 107 int oob_required, int page);
|
D | vf610_nfc.c | 549 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()
|
D | nand_base.c | 2799 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 …]
|
D | arasan-nand-controller.c | 393 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()
|
D | tegra_nand.c | 620 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()
|
D | stm32_fmc2_nand.c | 678 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 …]
|
D | nand_toshiba.c | 97 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()
|
D | marvell_nand.c | 1074 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 …]
|
D | cadence-nand-controller.c | 1420 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 …]
|
D | intel-nand-controller.c | 389 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()
|
D | denali.c | 384 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
|
D | fsl_elbc_nand.c | 633 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
|
D | lpc32xx_slc.c | 602 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
|
D | hisi504_nand.c | 519 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()
|
D | fsl_ifc_nand.c | 667 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
|
D | mxc_nand.c | 818 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
|
D | renesas-nand-controller.c | 400 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
|
D | meson_nand.c | 672 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
|
D | sh_flctl.c | 602 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/ |
D | rawnand.h | 365 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/ |
D | nand-controller.c | 717 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/ |
D | gpmi-nand.c | 1528 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/ |
D | brcmnand.c | 2302 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()
|