Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/nand/raw/
Dau1550nd.c279 int readcmd; in au1550_command() local
284 readcmd = NAND_CMD_READOOB; in au1550_command()
287 readcmd = NAND_CMD_READ0; in au1550_command()
290 readcmd = NAND_CMD_READ1; in au1550_command()
292 ctx->write_byte(mtd, readcmd); in au1550_command()
Ddiskonchip.c674 int readcmd; in doc2001plus_command() local
679 readcmd = NAND_CMD_READOOB; in doc2001plus_command()
682 readcmd = NAND_CMD_READ0; in doc2001plus_command()
685 readcmd = NAND_CMD_READ1; in doc2001plus_command()
687 WriteDOC(readcmd, docptr, Mplus_FlashCmd); in doc2001plus_command()
Dnand_base.c773 int readcmd; in nand_command() local
778 readcmd = NAND_CMD_READOOB; in nand_command()
781 readcmd = NAND_CMD_READ0; in nand_command()
784 readcmd = NAND_CMD_READ1; in nand_command()
786 chip->cmd_ctrl(mtd, readcmd, ctrl); in nand_command()
/Linux-v4.19/drivers/scsi/aacraid/
Daachba.c1252 struct aac_raw_io *readcmd; in aac_read_raw_io() local
1253 readcmd = (struct aac_raw_io *) fib_data(fib); in aac_read_raw_io()
1254 readcmd->block[0] = cpu_to_le32((u32)(lba&0xffffffff)); in aac_read_raw_io()
1255 readcmd->block[1] = cpu_to_le32((u32)((lba&0xffffffff00000000LL)>>32)); in aac_read_raw_io()
1256 readcmd->count = cpu_to_le32(count * in aac_read_raw_io()
1258 readcmd->cid = cpu_to_le16(scmd_id(cmd)); in aac_read_raw_io()
1259 readcmd->flags = cpu_to_le16(RIO_TYPE_READ); in aac_read_raw_io()
1260 readcmd->bpTotal = 0; in aac_read_raw_io()
1261 readcmd->bpComplete = 0; in aac_read_raw_io()
1262 ret = aac_build_sgraw(cmd, &readcmd->sg); in aac_read_raw_io()
[all …]
/Linux-v4.19/drivers/mtd/nand/onenand/
Donenand_base.c1361 int ret = 0, readcmd; in onenand_read_oob_nolock() local
1386 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_read_oob_nolock()
1394 this->command(mtd, readcmd, from, mtd->oobsize); in onenand_read_oob_nolock()
1539 int ret = 0, readcmd; in onenand_bbt_read_oob() local
1561 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_bbt_read_oob()
1569 this->command(mtd, readcmd, from, mtd->oobsize); in onenand_bbt_read_oob()
1613 int status, i, readcmd; in onenand_verify_oob() local
1615 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_verify_oob()
1617 this->command(mtd, readcmd, to, mtd->oobsize); in onenand_verify_oob()
/Linux-v4.19/drivers/mmc/core/
Dblock.c1588 u32 readcmd, writecmd; in mmc_blk_rw_rq_prep() local
1610 readcmd = MMC_READ_MULTIPLE_BLOCK; in mmc_blk_rw_rq_prep()
1614 readcmd = MMC_READ_SINGLE_BLOCK; in mmc_blk_rw_rq_prep()
1617 brq->cmd.opcode = rq_data_dir(req) == READ ? readcmd : writecmd; in mmc_blk_rw_rq_prep()