Home
last modified time | relevance | path

Searched refs:readcmd (Results 1 – 6 of 6) sorted by relevance

/drivers/mtd/nand/
Dau1550nd.c281 int readcmd; in au1550_command() local
286 readcmd = NAND_CMD_READOOB; in au1550_command()
289 readcmd = NAND_CMD_READ0; in au1550_command()
292 readcmd = NAND_CMD_READ1; in au1550_command()
294 ctx->write_byte(mtd, readcmd); in au1550_command()
Ddiskonchip.c678 int readcmd; in doc2001plus_command() local
683 readcmd = NAND_CMD_READOOB; in doc2001plus_command()
686 readcmd = NAND_CMD_READ0; in doc2001plus_command()
689 readcmd = NAND_CMD_READ1; in doc2001plus_command()
691 WriteDOC(readcmd, docptr, Mplus_FlashCmd); in doc2001plus_command()
Dnand_base.c587 int readcmd; in nand_command() local
592 readcmd = NAND_CMD_READOOB; in nand_command()
595 readcmd = NAND_CMD_READ0; in nand_command()
598 readcmd = NAND_CMD_READ1; in nand_command()
600 chip->cmd_ctrl(mtd, readcmd, ctrl); in nand_command()
/drivers/scsi/aacraid/
Daachba.c996 struct aac_raw_io *readcmd; in aac_read_raw_io() local
997 readcmd = (struct aac_raw_io *) fib_data(fib); in aac_read_raw_io()
998 readcmd->block[0] = cpu_to_le32((u32)(lba&0xffffffff)); in aac_read_raw_io()
999 readcmd->block[1] = cpu_to_le32((u32)((lba&0xffffffff00000000LL)>>32)); in aac_read_raw_io()
1000 readcmd->count = cpu_to_le32(count<<9); in aac_read_raw_io()
1001 readcmd->cid = cpu_to_le16(scmd_id(cmd)); in aac_read_raw_io()
1002 readcmd->flags = cpu_to_le16(RIO_TYPE_READ); in aac_read_raw_io()
1003 readcmd->bpTotal = 0; in aac_read_raw_io()
1004 readcmd->bpComplete = 0; in aac_read_raw_io()
1005 ret = aac_build_sgraw(cmd, &readcmd->sg); in aac_read_raw_io()
[all …]
/drivers/mtd/onenand/
Donenand_base.c1357 int ret = 0, readcmd; in onenand_read_oob_nolock() local
1391 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_read_oob_nolock()
1399 this->command(mtd, readcmd, from, mtd->oobsize); in onenand_read_oob_nolock()
1576 int ret = 0, readcmd; in onenand_bbt_read_oob() local
1598 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_bbt_read_oob()
1606 this->command(mtd, readcmd, from, mtd->oobsize); in onenand_bbt_read_oob()
1650 int status, i, readcmd; in onenand_verify_oob() local
1652 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_verify_oob()
1654 this->command(mtd, readcmd, to, mtd->oobsize); in onenand_verify_oob()
/drivers/mmc/card/
Dblock.c1632 u32 readcmd, writecmd; in mmc_blk_rw_rq_prep() local
1698 readcmd = MMC_READ_MULTIPLE_BLOCK; in mmc_blk_rw_rq_prep()
1702 readcmd = MMC_READ_SINGLE_BLOCK; in mmc_blk_rw_rq_prep()
1706 brq->cmd.opcode = readcmd; in mmc_blk_rw_rq_prep()