Home
last modified time | relevance | path

Searched refs:cmdfunc (Results 1 – 21 of 21) sorted by relevance

/external/u-boot/drivers/mtd/nand/
Dmxs_nand_spl.c83 chip->cmdfunc(mtd, NAND_CMD_RESET, -1, -1); in mxs_flash_onfi_ident()
86 chip->cmdfunc(mtd, NAND_CMD_READID, 0x00, -1); in mxs_flash_onfi_ident()
93 chip->cmdfunc(mtd, NAND_CMD_READID, 0x00, -1); in mxs_flash_onfi_ident()
104 chip->cmdfunc(mtd, NAND_CMD_READID, 0x20, -1); in mxs_flash_onfi_ident()
111 chip->cmdfunc(mtd, NAND_CMD_PARAM, 0, -1); in mxs_flash_onfi_ident()
152 chip->cmdfunc(mtd, NAND_CMD_READ0, 0x0, page); in mxs_read_page_ecc()
169 chip->cmdfunc(mtd, NAND_CMD_READ0, mtd->writesize, page); in is_badblock()
187 nand_chip.cmdfunc = mxs_nand_command; in mxs_nand_init()
Dnand_base.c359 chip->cmdfunc(mtd, NAND_CMD_READOOB, in nand_block_bad()
367 chip->cmdfunc(mtd, NAND_CMD_READOOB, chip->badblockpos, in nand_block_bad()
493 chip->cmdfunc(mtd, NAND_CMD_STATUS, -1, -1); in nand_check_wp()
879 chip->cmdfunc(mtd, NAND_CMD_STATUS, -1, -1); in nand_wait()
1069 chip->cmdfunc(mtd, NAND_CMD_RESET, -1, -1); in nand_reset()
1351 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, data_col_addr, -1); in nand_read_subpage()
1371 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, mtd->writesize, -1); in nand_read_subpage()
1385 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, in nand_read_subpage()
1504 chip->cmdfunc(mtd, NAND_CMD_READOOB, 0, page); in nand_read_page_hwecc_oob_first()
1506 chip->cmdfunc(mtd, NAND_CMD_READ0, 0, page); in nand_read_page_hwecc_oob_first()
[all …]
Dnand_util.c225 chip->cmdfunc(mtd, NAND_CMD_LOCK_STATUS, -1, 0); in nand_lock()
232 chip->cmdfunc(mtd, in nand_lock()
286 chip->cmdfunc(mtd, NAND_CMD_LOCK_STATUS, -1, page & chip->pagemask); in nand_get_lock_status()
326 chip->cmdfunc(mtd, NAND_CMD_STATUS, -1, -1); in nand_unlock()
335 chip->cmdfunc(mtd, NAND_CMD_LOCK_STATUS, -1, page & chip->pagemask); in nand_unlock()
363 chip->cmdfunc(mtd, NAND_CMD_UNLOCK1, -1, page & chip->pagemask); in nand_unlock()
376 chip->cmdfunc(mtd, NAND_CMD_UNLOCK2, -1, page & chip->pagemask); in nand_unlock()
Dzynq_nand.c429 chip->cmdfunc(mtd, NAND_CMD_READOOB, 0, page); in zynq_nand_read_oob()
456 chip->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page); in zynq_nand_write_oob()
468 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in zynq_nand_write_oob()
515 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, data_offs, -1); in zynq_nand_read_subpage_raw()
1079 nand_chip->cmdfunc = zynq_nand_cmd_function; in zynq_nand_init()
1114 nand_chip->cmdfunc(mtd, NAND_CMD_RESET, -1, -1); in zynq_nand_init()
1115 nand_chip->cmdfunc(mtd, NAND_CMD_READID, 0x00, -1); in zynq_nand_init()
1129 nand_chip->cmdfunc(mtd, NAND_CMD_SET_FEATURES, in zynq_nand_init()
1137 nand_chip->cmdfunc(mtd, NAND_CMD_GET_FEATURES, in zynq_nand_init()
Dmxc_nand.c397 chip->cmdfunc(mtd, NAND_CMD_READOOB, mtd->writesize, page);
420 chip->cmdfunc(mtd, NAND_CMD_READOOB,
450 chip->cmdfunc(mtd, NAND_CMD_READ0, 0x00, page);
533 chip->cmdfunc(mtd, NAND_CMD_READOOB, mtd->writesize, page);
556 chip->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page);
568 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1);
1166 this->cmdfunc = mxc_nand_command;
1213 this->cmdfunc(mtd, NAND_CMD_RESET, -1, -1);
Ddavinci_nand.c378 chip->cmdfunc(mtd, NAND_CMD_SEQIN, 0x00, page); in nand_davinci_write_page()
393 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in nand_davinci_write_page()
442 chip->cmdfunc(mtd, NAND_CMD_READOOB, 0, page); in nand_davinci_read_page_hwecc()
444 chip->cmdfunc(mtd, NAND_CMD_READ0, 0, page); in nand_davinci_read_page_hwecc()
Dsunxi_nand.c820 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, data_off, -1); in sunxi_nfc_hw_ecc_read_chunk()
825 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk()
859 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk()
868 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, data_off, -1); in sunxi_nfc_hw_ecc_read_chunk()
870 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_off, -1); in sunxi_nfc_hw_ecc_read_chunk()
916 nand->cmdfunc(mtd, NAND_CMD_RNDOUT, in sunxi_nfc_hw_ecc_read_extra_oob()
945 nand->cmdfunc(mtd, NAND_CMD_RNDIN, data_off, -1); in sunxi_nfc_hw_ecc_write_chunk()
963 nand->cmdfunc(mtd, NAND_CMD_RNDIN, oob_off, -1); in sunxi_nfc_hw_ecc_write_chunk()
997 nand->cmdfunc(mtd, NAND_CMD_RNDIN, in sunxi_nfc_hw_ecc_write_extra_oob()
1052 chip->cmdfunc(mtd, NAND_CMD_READ0, 0, page); in sunxi_nfc_hw_ecc_read_subpage()
Darasan_nfc.c593 chip->cmdfunc(mtd, NAND_CMD_READOOB, 0, page); in arasan_nand_read_oob()
605 chip->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page); in arasan_nand_write_oob()
1099 nand_chip->cmdfunc(mtd, NAND_CMD_RESET, -1, -1); in arasan_check_ondie()
1100 nand_chip->cmdfunc(mtd, NAND_CMD_READID, 0, -1); in arasan_check_ondie()
1112 nand_chip->cmdfunc(mtd, NAND_CMD_SET_FEATURES, in arasan_check_ondie()
1116 nand_chip->cmdfunc(mtd, NAND_CMD_GET_FEATURES, in arasan_check_ondie()
1205 nand_chip->cmdfunc = arasan_nand_cmd_function; in arasan_nand_init()
Dlpc32xx_nand_mlc.c334 chip->cmdfunc(mtd, NAND_CMD_READ0, 0, page); in lpc32xx_read_oob()
482 chip->cmdfunc(mtd, NAND_CMD_SEQIN, 0x200+0x210*i, page); in lpc32xx_write_oob()
486 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in lpc32xx_write_oob()
Dmxs_nand.c896 nand->cmdfunc(mtd, NAND_CMD_READ0, mtd->writesize, page); in mxs_nand_ecc_read_oob()
905 nand->cmdfunc(mtd, NAND_CMD_READ0, mtd->writesize, page); in mxs_nand_ecc_read_oob()
937 nand->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page); in mxs_nand_ecc_write_oob()
939 nand->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in mxs_nand_ecc_write_oob()
Dfsmc_nand.c357 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()
Ddenali.c644 chip->cmdfunc(mtd, start_cmd, writesize, page); in denali_oob_xfer()
661 chip->cmdfunc(mtd, rnd_cmd, pos, -1); in denali_oob_xfer()
669 chip->cmdfunc(mtd, rnd_cmd, writesize + oob_skip, -1); in denali_oob_xfer()
680 chip->cmdfunc(mtd, rnd_cmd, size - len, -1); in denali_oob_xfer()
780 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in denali_write_oob()
Dtegra_nand.c824 chip->cmdfunc(mtd, NAND_CMD_READOOB, 0, page); in nand_read_oob()
842 chip->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page); in nand_write_oob()
938 nand->cmdfunc = nand_command; in tegra_probe()
Dpxa3xx_nand.c390 chip->cmdfunc(host->mtd, NAND_CMD_READID, 0x00, -1); in pxa3xx_nand_init_timings()
1292 chip->cmdfunc(mtd, NAND_CMD_RESET, 0, 0); in pxa3xx_nand_sensing()
1428 chip->cmdfunc = nand_cmdfunc_extended; in pxa3xx_nand_scan()
1514 chip->cmdfunc = nand_cmdfunc; in alloc_nand_resource()
Domap_gpmc.c606 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, data_pos, -1); in omap_read_page_bch()
610 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, oob_pos, -1); in omap_read_page_bch()
Datmel_nand.c1042 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, in atmel_nand_read_page()
1059 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, mtd->writesize, -1); in atmel_nand_read_page()
Dvf610_nfc.c660 chip->cmdfunc = vf610_nfc_command; in vf610_nfc_nand_init()
Dfsl_elbc_nand.c710 nand->cmdfunc = fsl_elbc_cmdfunc; in fsl_elbc_chip_init()
Dfsl_ifc_nand.c927 nand->cmdfunc = fsl_ifc_cmdfunc; in fsl_ifc_chip_init()
/external/u-boot/include/linux/mtd/
Drawnand.h889 void (*cmdfunc)(struct mtd_info *mtd, unsigned command, int column, member
/external/u-boot/cmd/
Dnand.c163 nand_chip->cmdfunc(mtd, NAND_CMD_STATUS, -1, -1); in do_nand_status()