/u-boot/drivers/mtd/nand/raw/ |
A D | mxs_nand_spl.c | 95 chip->cmdfunc(mtd, NAND_CMD_RESET, -1, -1); in mxs_flash_onfi_ident() 98 chip->cmdfunc(mtd, NAND_CMD_READID, 0x00, -1); in mxs_flash_onfi_ident() 105 chip->cmdfunc(mtd, NAND_CMD_READID, 0x00, -1); in mxs_flash_onfi_ident() 116 chip->cmdfunc(mtd, NAND_CMD_READID, 0x20, -1); in mxs_flash_onfi_ident() 123 chip->cmdfunc(mtd, NAND_CMD_PARAM, 0, -1); in mxs_flash_onfi_ident() 164 chip->cmdfunc(mtd, NAND_CMD_READ0, 0x0, page); in mxs_read_page_ecc() 181 chip->cmdfunc(mtd, NAND_CMD_READ0, mtd->writesize, page); in is_badblock() 199 nand_chip.cmdfunc = mxs_nand_command; in nand_init()
|
A D | nand_util.c | 228 chip->cmdfunc(mtd, NAND_CMD_LOCK_STATUS, -1, 0); in nand_lock() 235 chip->cmdfunc(mtd, in nand_lock() 289 chip->cmdfunc(mtd, NAND_CMD_LOCK_STATUS, -1, page & chip->pagemask); in nand_get_lock_status() 329 chip->cmdfunc(mtd, NAND_CMD_STATUS, -1, -1); in nand_unlock() 338 chip->cmdfunc(mtd, NAND_CMD_LOCK_STATUS, -1, page & chip->pagemask); in nand_unlock() 366 chip->cmdfunc(mtd, NAND_CMD_UNLOCK1, -1, page & chip->pagemask); in nand_unlock() 379 chip->cmdfunc(mtd, NAND_CMD_UNLOCK2, -1, page & chip->pagemask); in nand_unlock()
|
A D | zynq_nand.c | 448 chip->cmdfunc(mtd, NAND_CMD_READOOB, 0, page); in zynq_nand_read_oob() 475 chip->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page); in zynq_nand_write_oob() 487 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in zynq_nand_write_oob() 534 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, data_offs, -1); in zynq_nand_read_subpage_raw() 1114 nand_chip->cmdfunc = zynq_nand_cmd_function; in zynq_nand_probe() 1149 nand_chip->cmdfunc(mtd, NAND_CMD_RESET, -1, -1); in zynq_nand_probe() 1150 nand_chip->cmdfunc(mtd, NAND_CMD_READID, 0x00, -1); in zynq_nand_probe() 1164 nand_chip->cmdfunc(mtd, NAND_CMD_SET_FEATURES, in zynq_nand_probe() 1172 nand_chip->cmdfunc(mtd, NAND_CMD_GET_FEATURES, in zynq_nand_probe()
|
A D | davinci_nand.c | 380 chip->cmdfunc(mtd, NAND_CMD_SEQIN, 0x00, page); in nand_davinci_write_page() 395 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in nand_davinci_write_page() 444 chip->cmdfunc(mtd, NAND_CMD_READOOB, 0, page); in nand_davinci_read_page_hwecc() 446 chip->cmdfunc(mtd, NAND_CMD_READ0, 0, page); in nand_davinci_read_page_hwecc()
|
A D | mxc_nand.c | 399 chip->cmdfunc(mtd, NAND_CMD_READOOB, mtd->writesize, page); 422 chip->cmdfunc(mtd, NAND_CMD_READOOB, 452 chip->cmdfunc(mtd, NAND_CMD_READ0, 0x00, page); 535 chip->cmdfunc(mtd, NAND_CMD_READOOB, mtd->writesize, page); 558 chip->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page); 570 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); 1168 this->cmdfunc = mxc_nand_command; 1215 this->cmdfunc(mtd, NAND_CMD_RESET, -1, -1);
|
A D | lpc32xx_nand_mlc.c | 339 chip->cmdfunc(mtd, NAND_CMD_READ0, 0, page); in lpc32xx_read_oob() 487 chip->cmdfunc(mtd, NAND_CMD_SEQIN, 0x200+0x210*i, page); in lpc32xx_write_oob() 491 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in lpc32xx_write_oob()
|
A D | nand_base.c | 366 chip->cmdfunc(mtd, NAND_CMD_READOOB, in nand_block_bad() 1140 chip->cmdfunc(mtd, NAND_CMD_PARAM, page, -1); in nand_read_param_page_op() 1260 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in nand_prog_page_end_op() 1389 chip->cmdfunc(mtd, NAND_CMD_STATUS, -1, -1); in nand_status_op() 1412 chip->cmdfunc(mtd, NAND_CMD_READ0, -1, -1); in nand_exit_status_op() 1437 chip->cmdfunc(mtd, NAND_CMD_ERASE2, -1, -1); in nand_erase_op() 1520 chip->cmdfunc(mtd, NAND_CMD_RESET, -1, -1); in nand_reset_op() 3721 if (chip->cmdfunc == NULL) in nand_set_defaults() 3722 chip->cmdfunc = nand_command; in nand_set_defaults() 3988 chip->cmdfunc = nand_command_lp; in nand_flash_detect_onfi() [all …]
|
A D | sunxi_nand.c | 827 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, data_off, -1); in sunxi_nfc_hw_ecc_read_chunk() 832 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk() 866 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk() 875 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, data_off, -1); in sunxi_nfc_hw_ecc_read_chunk() 877 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk() 923 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, in sunxi_nfc_hw_ecc_read_extra_oob() 952 nand->cmdfunc(mtd, NAND_CMD_RNDIN, data_off, -1); in sunxi_nfc_hw_ecc_write_chunk() 970 nand->cmdfunc(mtd, NAND_CMD_RNDIN, oob_off, -1); in sunxi_nfc_hw_ecc_write_chunk() 1004 nand->cmdfunc(mtd, NAND_CMD_RNDIN, in sunxi_nfc_hw_ecc_write_extra_oob() 1059 chip->cmdfunc(mtd, NAND_CMD_READ0, 0, page); in sunxi_nfc_hw_ecc_read_subpage()
|
A D | arasan_nfc.c | 621 chip->cmdfunc(mtd, NAND_CMD_READOOB, 0, page); in arasan_nand_read_oob() 633 chip->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page); in arasan_nand_write_oob() 1134 nand_chip->cmdfunc(mtd, NAND_CMD_RESET, -1, -1); in arasan_check_ondie() 1135 nand_chip->cmdfunc(mtd, NAND_CMD_READID, 0, -1); in arasan_check_ondie() 1147 nand_chip->cmdfunc(mtd, NAND_CMD_SET_FEATURES, in arasan_check_ondie() 1151 nand_chip->cmdfunc(mtd, NAND_CMD_GET_FEATURES, in arasan_check_ondie() 1244 nand_chip->cmdfunc = arasan_nand_cmd_function; in arasan_probe()
|
A D | fsmc_nand.c | 357 chip->cmdfunc(mtd, NAND_CMD_READ0, s * eccsize, page); in fsmc_read_page_hwecc() 373 chip->cmdfunc(mtd, NAND_CMD_READOOB, off, page); in fsmc_read_page_hwecc()
|
A D | mxs_nand.c | 641 nand->cmdfunc(mtd, NAND_CMD_READ0, 0, page); in mxs_nand_erased_page() 1039 nand->cmdfunc(mtd, NAND_CMD_READ0, mtd->writesize, page); in mxs_nand_ecc_read_oob() 1048 nand->cmdfunc(mtd, NAND_CMD_READ0, mtd->writesize, page); in mxs_nand_ecc_read_oob() 1080 nand->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page); in mxs_nand_ecc_write_oob() 1082 nand->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in mxs_nand_ecc_write_oob()
|
A D | tegra_nand.c | 829 chip->cmdfunc(mtd, NAND_CMD_READOOB, 0, page); in nand_read_oob() 847 chip->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page); in nand_write_oob() 943 nand->cmdfunc = nand_command; in tegra_probe()
|
A D | denali.c | 627 chip->cmdfunc(mtd, start_cmd, writesize, page); in denali_oob_xfer() 644 chip->cmdfunc(mtd, rnd_cmd, pos, -1); in denali_oob_xfer() 652 chip->cmdfunc(mtd, rnd_cmd, writesize + oob_skip, -1); in denali_oob_xfer() 663 chip->cmdfunc(mtd, rnd_cmd, size - len, -1); in denali_oob_xfer() 763 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in denali_write_oob()
|
A D | pxa3xx_nand.c | 523 chip->cmdfunc(mtd, NAND_CMD_READID, 0x00, -1); in pxa3xx_nand_init_timings() 1326 chip->cmdfunc(mtd, NAND_CMD_READ0, 0x00, page); in pxa3xx_nand_read_page_raw() 1540 chip->cmdfunc(mtd, NAND_CMD_RESET, 0, 0); in pxa3xx_nand_sensing() 1745 chip->cmdfunc = nand_cmdfunc_extended; in pxa3xx_nand_scan() 1816 chip->cmdfunc = nand_cmdfunc; in alloc_nand_resource()
|
A D | stm32_fmc2_nand.c | 521 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, s * eccsize, -1); in stm32_fmc2_nfc_read_page() 525 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, i, -1); in stm32_fmc2_nfc_read_page() 547 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, mtd->writesize, -1); in stm32_fmc2_nfc_read_page()
|
A D | cortina_nand.c | 1120 chip->cmdfunc(mtd, NAND_CMD_READOOB, 0, page); in nand_read_oob() 1149 chip->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page); in nand_write_oob() 1298 nand->cmdfunc = ca_nand_command; in ca_nand_probe()
|
A D | omap_gpmc.c | 607 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, data_pos, -1); in omap_read_page_bch() 611 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_pos, -1); in omap_read_page_bch()
|
A D | octeontx_nand.c | 1730 chip->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page); in octeontx_nand_write_oob_std() 1733 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in octeontx_nand_write_oob_std() 1765 chip->cmdfunc(mtd, NAND_CMD_READOOB, 0, page); in octeontx_nand_read_oob_std() 1960 nand->cmdfunc = octeontx_nand_cmdfunc; in octeontx_nfc_chip_init()
|
A D | vf610_nfc.c | 657 chip->cmdfunc = vf610_nfc_command; in vf610_nfc_nand_init()
|
A D | atmel_nand.c | 1059 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, in atmel_nand_read_page() 1076 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, mtd->writesize, -1); in atmel_nand_read_page()
|
A D | fsl_elbc_nand.c | 712 nand->cmdfunc = fsl_elbc_cmdfunc; in fsl_elbc_chip_init()
|
A D | fsl_ifc_nand.c | 941 nand->cmdfunc = fsl_ifc_cmdfunc; in fsl_ifc_chip_init()
|
/u-boot/cmd/ |
A D | nand.c | 168 nand_chip->cmdfunc(mtd, NAND_CMD_STATUS, -1, -1); in do_nand_status()
|
/u-boot/include/linux/mtd/ |
A D | rawnand.h | 906 void (*cmdfunc)(struct mtd_info *mtd, unsigned command, int column, member
|
/u-boot/drivers/mtd/nand/raw/brcmnand/ |
A D | brcmnand.c | 2282 chip->cmdfunc = brcmnand_cmdfunc; in brcmnand_init_cs()
|