Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/mtd/nand/raw/
Dnand_legacy.c258 int readcmd; in nand_command() local
263 readcmd = NAND_CMD_READOOB; in nand_command()
266 readcmd = NAND_CMD_READ0; in nand_command()
269 readcmd = NAND_CMD_READ1; in nand_command()
271 chip->legacy.cmd_ctrl(chip, readcmd, ctrl); in nand_command()
/Linux-v5.15/drivers/scsi/aacraid/
Daachba.c1240 struct aac_raw_io *readcmd; in aac_read_raw_io() local
1241 readcmd = (struct aac_raw_io *) fib_data(fib); in aac_read_raw_io()
1242 readcmd->block[0] = cpu_to_le32((u32)(lba&0xffffffff)); in aac_read_raw_io()
1243 readcmd->block[1] = cpu_to_le32((u32)((lba&0xffffffff00000000LL)>>32)); in aac_read_raw_io()
1244 readcmd->count = cpu_to_le32(count * in aac_read_raw_io()
1246 readcmd->cid = cpu_to_le16(scmd_id(cmd)); in aac_read_raw_io()
1247 readcmd->flags = cpu_to_le16(RIO_TYPE_READ); in aac_read_raw_io()
1248 readcmd->bpTotal = 0; in aac_read_raw_io()
1249 readcmd->bpComplete = 0; in aac_read_raw_io()
1250 ret = aac_build_sgraw(cmd, &readcmd->sg); in aac_read_raw_io()
[all …]
/Linux-v5.15/drivers/mtd/nand/onenand/
Donenand_base.c1353 int ret = 0, readcmd; in onenand_read_oob_nolock() local
1378 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_read_oob_nolock()
1386 this->command(mtd, readcmd, from, mtd->oobsize); in onenand_read_oob_nolock()
1531 int ret = 0, readcmd; in onenand_bbt_read_oob() local
1553 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_bbt_read_oob()
1561 this->command(mtd, readcmd, from, mtd->oobsize); in onenand_bbt_read_oob()
1605 int status, i, readcmd; in onenand_verify_oob() local
1607 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_verify_oob()
1609 this->command(mtd, readcmd, to, mtd->oobsize); in onenand_verify_oob()
/Linux-v5.15/drivers/mmc/core/
Dblock.c1580 u32 readcmd, writecmd; in mmc_blk_rw_rq_prep() local
1602 readcmd = MMC_READ_MULTIPLE_BLOCK; in mmc_blk_rw_rq_prep()
1606 readcmd = MMC_READ_SINGLE_BLOCK; in mmc_blk_rw_rq_prep()
1609 brq->cmd.opcode = rq_data_dir(req) == READ ? readcmd : writecmd; in mmc_blk_rw_rq_prep()