/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 | 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 | internals.h | 105 int oob_required, int page); 107 int oob_required, int page);
|
D | nand_base.c | 2796 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 …]
|
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() 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()
|
D | tegra_nand.c | 617 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()
|
D | stm32_fmc2_nand.c | 676 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 …]
|
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 | 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 | 390 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()
|
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 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 …]
|
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 | lpc32xx_slc.c | 615 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
|
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 | 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 | 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 | 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 | meson_nand.c | 677 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
|
D | pl35x-nand-controller.c | 505 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
|
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
|
D | lpc32xx_mlc.c | 434 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/ |
D | nand-controller.c | 718 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/ |
D | gpmi-nand.c | 1337 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/ |
D | brcmnand.c | 2331 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()
|