Home
last modified time | relevance | path

Searched refs:writecmd (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/scsi/aacraid/
Daachba.c1371 struct aac_raw_io *writecmd; in aac_write_raw_io() local
1372 writecmd = (struct aac_raw_io *) fib_data(fib); in aac_write_raw_io()
1373 writecmd->block[0] = cpu_to_le32((u32)(lba&0xffffffff)); in aac_write_raw_io()
1374 writecmd->block[1] = cpu_to_le32((u32)((lba&0xffffffff00000000LL)>>32)); in aac_write_raw_io()
1375 writecmd->count = cpu_to_le32(count * in aac_write_raw_io()
1377 writecmd->cid = cpu_to_le16(scmd_id(cmd)); in aac_write_raw_io()
1378 writecmd->flags = (fua && ((aac_cache & 5) != 1) && in aac_write_raw_io()
1382 writecmd->bpTotal = 0; in aac_write_raw_io()
1383 writecmd->bpComplete = 0; in aac_write_raw_io()
1384 ret = aac_build_sgraw(cmd, &writecmd->sg); in aac_write_raw_io()
[all …]
/Linux-v5.15/drivers/mmc/core/
Dblock.c1580 u32 readcmd, writecmd; in mmc_blk_rw_rq_prep() local
1603 writecmd = MMC_WRITE_MULTIPLE_BLOCK; in mmc_blk_rw_rq_prep()
1607 writecmd = MMC_WRITE_BLOCK; in mmc_blk_rw_rq_prep()
1609 brq->cmd.opcode = rq_data_dir(req) == READ ? readcmd : writecmd; in mmc_blk_rw_rq_prep()