Home
last modified time | relevance | path

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

/drivers/mtd/nand/raw/
Dau1550nd.c254 int readcmd; in au1550_command() local
259 readcmd = NAND_CMD_READOOB; in au1550_command()
262 readcmd = NAND_CMD_READ0; in au1550_command()
265 readcmd = NAND_CMD_READ1; in au1550_command()
267 ctx->write_byte(this, readcmd); in au1550_command()
Dnand_legacy.c256 int readcmd; in nand_command() local
261 readcmd = NAND_CMD_READOOB; in nand_command()
264 readcmd = NAND_CMD_READ0; in nand_command()
267 readcmd = NAND_CMD_READ1; in nand_command()
269 chip->legacy.cmd_ctrl(chip, readcmd, ctrl); in nand_command()
Ddiskonchip.c661 int readcmd; in doc2001plus_command() local
666 readcmd = NAND_CMD_READOOB; in doc2001plus_command()
669 readcmd = NAND_CMD_READ0; in doc2001plus_command()
672 readcmd = NAND_CMD_READ1; in doc2001plus_command()
674 WriteDOC(readcmd, docptr, Mplus_FlashCmd); in doc2001plus_command()
/drivers/scsi/aacraid/
Daachba.c1238 struct aac_raw_io *readcmd; in aac_read_raw_io() local
1239 readcmd = (struct aac_raw_io *) fib_data(fib); in aac_read_raw_io()
1240 readcmd->block[0] = cpu_to_le32((u32)(lba&0xffffffff)); in aac_read_raw_io()
1241 readcmd->block[1] = cpu_to_le32((u32)((lba&0xffffffff00000000LL)>>32)); in aac_read_raw_io()
1242 readcmd->count = cpu_to_le32(count * in aac_read_raw_io()
1244 readcmd->cid = cpu_to_le16(scmd_id(cmd)); in aac_read_raw_io()
1245 readcmd->flags = cpu_to_le16(RIO_TYPE_READ); in aac_read_raw_io()
1246 readcmd->bpTotal = 0; in aac_read_raw_io()
1247 readcmd->bpComplete = 0; in aac_read_raw_io()
1248 ret = aac_build_sgraw(cmd, &readcmd->sg); in aac_read_raw_io()
[all …]
/drivers/mtd/nand/onenand/
Donenand_base.c1358 int ret = 0, readcmd; in onenand_read_oob_nolock() local
1383 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_read_oob_nolock()
1391 this->command(mtd, readcmd, from, mtd->oobsize); in onenand_read_oob_nolock()
1536 int ret = 0, readcmd; in onenand_bbt_read_oob() local
1558 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_bbt_read_oob()
1566 this->command(mtd, readcmd, from, mtd->oobsize); in onenand_bbt_read_oob()
1610 int status, i, readcmd; in onenand_verify_oob() local
1612 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_verify_oob()
1614 this->command(mtd, readcmd, to, mtd->oobsize); in onenand_verify_oob()
/drivers/mmc/core/
Dblock.c1549 u32 readcmd, writecmd; in mmc_blk_rw_rq_prep() local
1571 readcmd = MMC_READ_MULTIPLE_BLOCK; in mmc_blk_rw_rq_prep()
1575 readcmd = MMC_READ_SINGLE_BLOCK; in mmc_blk_rw_rq_prep()
1578 brq->cmd.opcode = rq_data_dir(req) == READ ? readcmd : writecmd; in mmc_blk_rw_rq_prep()