Home
last modified time | relevance | path

Searched refs:NAND_CMD_READ0 (Results 1 – 25 of 47) sorted by relevance

12

/openbmc/qemu/hw/block/
H A Dnand.c33 # define NAND_CMD_READ0 0x00 macro
233 s->cmd = NAND_CMD_READ0; in nand_reset()
275 case NAND_CMD_READ0: in nand_command()
513 if (s->cmd == NAND_CMD_READ0 && value == NAND_CMD_LPREAD2) in nand_setio()
521 if (value == NAND_CMD_READ0) { in nand_setio()
525 value = NAND_CMD_READ0; in nand_setio()
528 value = NAND_CMD_READ0; in nand_setio()
567 (s->cmd == NAND_CMD_READ0 || in nand_setio()
575 (s->cmd == NAND_CMD_READ0 || in nand_setio()
583 (s->cmd == NAND_CMD_READ0 || in nand_setio()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dam335x_spl_bch.c43 cmd = NAND_CMD_READ0; in nand_command()
109 case NAND_CMD_READ0: in nand_command()
164 nand_command(block, page, 0, NAND_CMD_READ0); in nand_read_page()
H A Dfsl_elbc_spl.c60 out_be32(&regs->fcr, (NAND_CMD_READ0 << FCR_CMD0_SHIFT) | in nand_spl_load_image()
69 out_be32(&regs->fcr, NAND_CMD_READ0 << FCR_CMD0_SHIFT); in nand_spl_load_image()
H A Dnand_spl_simple.c76 cmd = NAND_CMD_READ0; in nand_command()
153 nand_command(block, page, 0, NAND_CMD_READ0); in nand_read_page()
182 nand_command(block, page, 0, NAND_CMD_READ0); in nand_read_page()
H A Dmxs_nand_spl.c37 if (command == NAND_CMD_READ0) { in mxs_nand_command()
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()
H A Dfsl_ifc_spl.c178 (NAND_CMD_READ0 << IFC_NAND_FCR0_CMD0_SHIFT) | in nand_spl_load_image()
189 NAND_CMD_READ0 << IFC_NAND_FCR0_CMD0_SHIFT); in nand_spl_load_image()
H A Dfsl_elbc_nand.c260 out_be32(&lbc->fcr, (NAND_CMD_READ0 << FCR_CMD0_SHIFT) | in fsl_elbc_do_read()
273 out_be32(&lbc->fcr, NAND_CMD_READ0 << FCR_CMD0_SHIFT); in fsl_elbc_do_read()
299 case NAND_CMD_READ0: in fsl_elbc_cmdfunc()
414 fcr |= NAND_CMD_READ0 << FCR_CMD0_SHIFT; in fsl_elbc_cmdfunc()
H A Dpxa3xx_nand.c810 case NAND_CMD_READ0: in prepare_start_command()
829 if (command == NAND_CMD_READ0 || in prepare_start_command()
862 case NAND_CMD_READ0: in prepare_set_command()
866 | NAND_CMD_READ0; in prepare_set_command()
1122 case NAND_CMD_READ0: in nand_cmdfunc_extended()
1184 command != NAND_CMD_READ0 && in nand_cmdfunc_extended()
1204 if (command == NAND_CMD_READ0 || command == NAND_CMD_READOOB) { in nand_cmdfunc_extended()
1297 chip->cmdfunc(mtd, NAND_CMD_READ0, 0x00, page); in pxa3xx_nand_read_page_raw()
H A Dzynq_nand.c155 {NAND_CMD_READ0, NAND_CMD_READSTART, 5, ZYNQ_NAND_CMD_PHASE},
809 command = NAND_CMD_READ0; in zynq_nand_cmd_function()
835 if (command == NAND_CMD_READ0 || in zynq_nand_cmd_function()
888 ((command == NAND_CMD_READ0) || in zynq_nand_cmd_function()
905 if ((command == NAND_CMD_READ0) || in zynq_nand_cmd_function()
H A Dmxc_nand.c450 chip->cmdfunc(mtd, NAND_CMD_READ0, 0x00, page);
994 case NAND_CMD_READ0:
1004 command = NAND_CMD_READ0; /* only READ0 is valid */
1018 mxc_nand_command(mtd, NAND_CMD_READ0, 0,
1034 send_cmd(host, NAND_CMD_READ0);
1085 case NAND_CMD_READ0:
H A Dvf610_nfc.c389 vf610_nfc_send_commands(nfc->regs, NAND_CMD_READ0, in vf610_nfc_command()
395 case NAND_CMD_READ0: in vf610_nfc_command()
399 vf610_nfc_send_commands(nfc->regs, NAND_CMD_READ0, in vf610_nfc_command()
H A Dfsl_ifc_nand.c348 (NAND_CMD_READ0 << IFC_NAND_FCR0_CMD0_SHIFT) | in fsl_ifc_do_read()
362 NAND_CMD_READ0 << IFC_NAND_FCR0_CMD0_SHIFT); in fsl_ifc_do_read()
382 case NAND_CMD_READ0: { in fsl_ifc_cmdfunc()
507 NAND_CMD_READ0 << IFC_NAND_FCR0_CMD0_SHIFT; in fsl_ifc_cmdfunc()
H A Dlpc32xx_nand_mlc.c338 chip->cmdfunc(mtd, NAND_CMD_READ0, 0, page); in lpc32xx_read_oob()
627 writel(NAND_CMD_READ0, &lpc32xx_nand_mlc_registers->cmd); in read_single_page()
H A Dtegra_nand.c273 command = NAND_CMD_READ0; in nand_command()
305 case NAND_CMD_READ0: in nand_command()
306 writel(NAND_CMD_READ0, &info->reg->cmd_reg1); in nand_command()
H A Darasan_nfc.c135 {NAND_CMD_READ0, NAND_CMD_READSTART, NAND_ADDR_CYCL_BOTH,
906 curr_cmd->cmd1 == NAND_CMD_READ0) { in arasan_nand_send_rdcmd()
1045 command = NAND_CMD_READ0; in arasan_nand_cmd_function()
1069 (curr_cmd->cmd1 == NAND_CMD_READ0)) in arasan_nand_cmd_function()
H A Dmxc_nand_spl.c216 nfc_nand_command(NAND_CMD_READ0); in nfc_nand_read_page()
H A Datmel_nand.c1257 cmd = NAND_CMD_READ0; in nand_command()
1317 nand_command(block, page, 0, NAND_CMD_READ0); in nand_read_page()
1374 nand_command(block, page, 0, NAND_CMD_READ0); in nand_read_page()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_legacy.c266 readcmd = NAND_CMD_READ0; in nand_command()
327 case NAND_CMD_READ0: in nand_command()
397 command = NAND_CMD_READ0; in nand_command_lp()
476 case NAND_CMD_READ0: in nand_command_lp()
H A Dmpc5121_nfc.c337 case NAND_CMD_READ0: in mpc5121_nfc_command()
343 command = NAND_CMD_READ0; in mpc5121_nfc_command()
349 command = NAND_CMD_READ0; in mpc5121_nfc_command()
354 mpc5121_nfc_command(chip, NAND_CMD_READ0, column, page); in mpc5121_nfc_command()
372 case NAND_CMD_READ0: in mpc5121_nfc_command()
H A Dsh_flctl.c559 case NAND_CMD_READ0: in set_cmd_regs()
629 set_cmd_regs(mtd, NAND_CMD_READ0, in execmd_read_page_sector()
630 (NAND_CMD_READSTART << 8) | NAND_CMD_READ0); in execmd_read_page_sector()
676 set_cmd_regs(mtd, NAND_CMD_READ0, in execmd_read_oob()
677 (NAND_CMD_READSTART << 8) | NAND_CMD_READ0); in execmd_read_oob()
754 case NAND_CMD_READ0: in flctl_cmdfunc()
783 | NAND_CMD_READ0); in flctl_cmdfunc()
842 read_cmd = NAND_CMD_READ0; in flctl_cmdfunc()
H A Dfsl_elbc_nand.c289 out_be32(&lbc->fcr, (NAND_CMD_READ0 << FCR_CMD0_SHIFT) | in fsl_elbc_do_read()
301 out_be32(&lbc->fcr, NAND_CMD_READ0 << FCR_CMD0_SHIFT); in fsl_elbc_do_read()
327 case NAND_CMD_READ0: in fsl_elbc_cmdfunc()
467 fcr |= NAND_CMD_READ0 << FCR_CMD0_SHIFT; in fsl_elbc_cmdfunc()
H A Dhisi504_nand.c264 hinfc_write(host, NAND_CMD_READSTART << 8 | NAND_CMD_READ0, in hisi_nfc_send_cmd_readstart()
434 case NAND_CMD_READ0: in hisi_nfc_cmdfunc()
436 if (command == NAND_CMD_READ0) in hisi_nfc_cmdfunc()
H A Dfsl_ifc_nand.c268 ifc_out32((NAND_CMD_READ0 << IFC_NAND_FCR0_CMD0_SHIFT) | in fsl_ifc_do_read()
284 ifc_out32(NAND_CMD_READ0 << in fsl_ifc_do_read()
305 case NAND_CMD_READ0: in fsl_ifc_cmdfunc()
432 NAND_CMD_READ0 << IFC_NAND_FCR0_CMD0_SHIFT; in fsl_ifc_cmdfunc()
H A Dcafe_nand.c188 command = NAND_CMD_READ0; in cafe_nand_cmdfunc()
221 } else if (command == NAND_CMD_READ0 || command == NAND_CMD_READ1 || in cafe_nand_cmdfunc()
244 else if (command == NAND_CMD_READ0 && mtd->writesize > 512) in cafe_nand_cmdfunc()
/openbmc/linux/drivers/mtd/nand/raw/bcm47xxnflash/
H A Dops_bcm4706.c264 case NAND_CMD_READ0: in bcm47xxnflash_ops_bcm4706_cmdfunc()
341 case NAND_CMD_READ0: in bcm47xxnflash_ops_bcm4706_read_buf()

12