Home
last modified time | relevance | path

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

12

/openbmc/u-boot/drivers/mtd/nand/raw/
H A 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 nand_init()
H A Dnand_base.c361 chip->cmdfunc(mtd, NAND_CMD_READOOB, in nand_block_bad()
495 chip->cmdfunc(mtd, NAND_CMD_STATUS, -1, -1); in nand_check_wp()
1071 chip->cmdfunc(mtd, NAND_CMD_RESET, -1, -1); in nand_reset()
1387 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, in nand_read_subpage()
3038 if (chip->cmdfunc == NULL) in nand_set_defaults()
3039 chip->cmdfunc = nand_command; in nand_set_defaults()
3131 chip->cmdfunc(mtd, NAND_CMD_PARAM, 0, -1); in nand_flash_detect_ext_param_page()
3134 chip->cmdfunc(mtd, NAND_CMD_RNDOUT, in nand_flash_detect_ext_param_page()
3224 chip->cmdfunc(mtd, NAND_CMD_PARAM, 0, -1); in nand_flash_detect_onfi()
3297 chip->cmdfunc = nand_command_lp; in nand_flash_detect_onfi()
[all …]
H A 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()
H A 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()
H A 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()
H A 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);
H A 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()
H A Darasan_nfc.c605 chip->cmdfunc(mtd, NAND_CMD_READOOB, 0, page); in arasan_nand_read_oob()
617 chip->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page); in arasan_nand_write_oob()
1098 nand_chip->cmdfunc(mtd, NAND_CMD_RESET, -1, -1); in arasan_check_ondie()
1099 nand_chip->cmdfunc(mtd, NAND_CMD_READID, 0, -1); in arasan_check_ondie()
1111 nand_chip->cmdfunc(mtd, NAND_CMD_SET_FEATURES, in arasan_check_ondie()
1115 nand_chip->cmdfunc(mtd, NAND_CMD_GET_FEATURES, in arasan_check_ondie()
1208 nand_chip->cmdfunc = arasan_nand_cmd_function; in arasan_nand_init()
H A Dlpc32xx_nand_mlc.c338 chip->cmdfunc(mtd, NAND_CMD_READ0, 0, page); in lpc32xx_read_oob()
486 chip->cmdfunc(mtd, NAND_CMD_SEQIN, 0x200+0x210*i, page); in lpc32xx_write_oob()
490 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in lpc32xx_write_oob()
H A 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()
H A 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()
H A 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()
H A Ddenali.c646 chip->cmdfunc(mtd, start_cmd, writesize, page); in denali_oob_xfer()
663 chip->cmdfunc(mtd, rnd_cmd, pos, -1); in denali_oob_xfer()
671 chip->cmdfunc(mtd, rnd_cmd, writesize + oob_skip, -1); in denali_oob_xfer()
682 chip->cmdfunc(mtd, rnd_cmd, size - len, -1); in denali_oob_xfer()
782 chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1); in denali_write_oob()
H A Dpxa3xx_nand.c496 chip->cmdfunc(mtd, NAND_CMD_READID, 0x00, -1); in pxa3xx_nand_init_timings()
1297 chip->cmdfunc(mtd, NAND_CMD_READ0, 0x00, page); in pxa3xx_nand_read_page_raw()
1511 chip->cmdfunc(mtd, NAND_CMD_RESET, 0, 0); in pxa3xx_nand_sensing()
1715 chip->cmdfunc = nand_cmdfunc_extended; in pxa3xx_nand_scan()
1786 chip->cmdfunc = nand_cmdfunc; in alloc_nand_resource()
H A 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()
H A Dvf610_nfc.c665 chip->cmdfunc = vf610_nfc_command; in vf610_nfc_nand_init()
H A 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()
H A Dfsl_elbc_nand.c710 nand->cmdfunc = fsl_elbc_cmdfunc; in fsl_elbc_chip_init()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_legacy.c593 if (!chip->legacy.cmdfunc) in nand_legacy_set_defaults()
594 chip->legacy.cmdfunc = nand_command; in nand_legacy_set_defaults()
619 if (mtd->writesize > 512 && chip->legacy.cmdfunc == nand_command) in nand_legacy_adjust_cmdfunc()
620 chip->legacy.cmdfunc = nand_command_lp; in nand_legacy_adjust_cmdfunc()
637 if ((!chip->legacy.cmdfunc || !chip->legacy.select_chip) && in nand_legacy_check_hooks()
H A Dnand_hynix.c83 chip->legacy.cmdfunc(chip, cmd, -1, -1); in hynix_nand_cmd_op()
102 chip->legacy.cmdfunc(chip, NAND_CMD_NONE, column, -1); in hynix_nand_reg_write_op()
H A Dnand_base.c1401 chip->legacy.cmdfunc(chip, NAND_CMD_PARAM, page, -1); in nand_read_param_page_op()
1649 chip->legacy.cmdfunc(chip, NAND_CMD_PAGEPROG, -1, -1); in nand_prog_page_end_op()
1701 chip->legacy.cmdfunc(chip, NAND_CMD_SEQIN, offset_in_page, in nand_prog_page_op()
1704 chip->legacy.cmdfunc(chip, NAND_CMD_PAGEPROG, -1, -1); in nand_prog_page_op()
1774 chip->legacy.cmdfunc(chip, NAND_CMD_RNDIN, offset_in_page, -1); in nand_change_write_column_op()
1841 chip->legacy.cmdfunc(chip, NAND_CMD_READID, addr, -1); in nand_readid_op()
1891 chip->legacy.cmdfunc(chip, NAND_CMD_STATUS, -1, -1); in nand_status_op()
1921 chip->legacy.cmdfunc(chip, NAND_CMD_READ0, -1, -1); in nand_exit_status_op()
1970 chip->legacy.cmdfunc(chip, NAND_CMD_ERASE1, -1, page); in nand_erase_op()
1971 chip->legacy.cmdfunc(chip, NAND_CMD_ERASE2, -1, -1); in nand_erase_op()
[all …]
H A Dnand_macronix.c275 chip->legacy.cmdfunc(chip, MXIC_CMD_POWER_DOWN, -1, -1); in nand_power_down_op()
H A Dmpc5121_nfc.c697 chip->legacy.cmdfunc = mpc5121_nfc_command; in mpc5121_nfc_probe()
/openbmc/linux/drivers/mtd/nand/raw/bcm47xxnflash/
H A Dops_bcm4706.c385 b47n->nand_chip.legacy.cmdfunc = bcm47xxnflash_ops_bcm4706_cmdfunc; in bcm47xxnflash_ops_bcm4706_init()
/openbmc/u-boot/include/linux/mtd/
H A Drawnand.h897 void (*cmdfunc)(struct mtd_info *mtd, unsigned command, int column, member

12