Searched refs:readcmd (Results 1 – 4 of 4) sorted by relevance
/drivers/mtd/nand/raw/ |
D | nand_legacy.c | 258 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()
|
/drivers/scsi/aacraid/ |
D | aachba.c | 1255 struct aac_raw_io *readcmd; in aac_read_raw_io() local 1256 readcmd = (struct aac_raw_io *) fib_data(fib); in aac_read_raw_io() 1257 readcmd->block[0] = cpu_to_le32((u32)(lba&0xffffffff)); in aac_read_raw_io() 1258 readcmd->block[1] = cpu_to_le32((u32)((lba&0xffffffff00000000LL)>>32)); in aac_read_raw_io() 1259 readcmd->count = cpu_to_le32(count * in aac_read_raw_io() 1261 readcmd->cid = cpu_to_le16(scmd_id(cmd)); in aac_read_raw_io() 1262 readcmd->flags = cpu_to_le16(RIO_TYPE_READ); in aac_read_raw_io() 1263 readcmd->bpTotal = 0; in aac_read_raw_io() 1264 readcmd->bpComplete = 0; in aac_read_raw_io() 1265 ret = aac_build_sgraw(cmd, &readcmd->sg); in aac_read_raw_io() [all …]
|
/drivers/mtd/nand/onenand/ |
D | onenand_base.c | 1353 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() 1543 int ret = 0, readcmd; in onenand_bbt_read_oob() local 1565 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_bbt_read_oob() 1573 this->command(mtd, readcmd, from, mtd->oobsize); in onenand_bbt_read_oob() 1617 int status, i, readcmd; in onenand_verify_oob() local 1619 readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB; in onenand_verify_oob() 1621 this->command(mtd, readcmd, to, mtd->oobsize); in onenand_verify_oob()
|
/drivers/mmc/core/ |
D | block.c | 1681 u32 readcmd, writecmd; in mmc_blk_rw_rq_prep() local 1703 readcmd = MMC_READ_MULTIPLE_BLOCK; in mmc_blk_rw_rq_prep() 1707 readcmd = MMC_READ_SINGLE_BLOCK; in mmc_blk_rw_rq_prep() 1710 brq->cmd.opcode = rq_data_dir(req) == READ ? readcmd : writecmd; in mmc_blk_rw_rq_prep()
|