/openbmc/qemu/hw/block/ |
H A D | nand.c | 33 # 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 D | am335x_spl_bch.c | 43 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 D | fsl_elbc_spl.c | 60 out_be32(®s->fcr, (NAND_CMD_READ0 << FCR_CMD0_SHIFT) | in nand_spl_load_image() 69 out_be32(®s->fcr, NAND_CMD_READ0 << FCR_CMD0_SHIFT); in nand_spl_load_image()
|
H A D | nand_spl_simple.c | 76 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 D | mxs_nand_spl.c | 37 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 D | fsl_ifc_spl.c | 178 (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 D | fsl_elbc_nand.c | 260 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 D | pxa3xx_nand.c | 810 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 D | zynq_nand.c | 155 {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 D | mxc_nand.c | 450 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 D | vf610_nfc.c | 389 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 D | fsl_ifc_nand.c | 348 (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 D | lpc32xx_nand_mlc.c | 338 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 D | tegra_nand.c | 273 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 D | arasan_nfc.c | 135 {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 D | mxc_nand_spl.c | 216 nfc_nand_command(NAND_CMD_READ0); in nfc_nand_read_page()
|
H A D | atmel_nand.c | 1257 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 D | nand_legacy.c | 266 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 D | mpc5121_nfc.c | 337 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 D | sh_flctl.c | 559 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 D | fsl_elbc_nand.c | 289 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 D | hisi504_nand.c | 264 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 D | fsl_ifc_nand.c | 268 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 D | cafe_nand.c | 188 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 D | ops_bcm4706.c | 264 case NAND_CMD_READ0: in bcm47xxnflash_ops_bcm4706_cmdfunc() 341 case NAND_CMD_READ0: in bcm47xxnflash_ops_bcm4706_read_buf()
|