Searched refs:writecmd (Results 1 – 2 of 2) sorted by relevance
1386 struct aac_raw_io *writecmd; in aac_write_raw_io() local1387 writecmd = (struct aac_raw_io *) fib_data(fib); in aac_write_raw_io()1388 writecmd->block[0] = cpu_to_le32((u32)(lba&0xffffffff)); in aac_write_raw_io()1389 writecmd->block[1] = cpu_to_le32((u32)((lba&0xffffffff00000000LL)>>32)); in aac_write_raw_io()1390 writecmd->count = cpu_to_le32(count * in aac_write_raw_io()1392 writecmd->cid = cpu_to_le16(scmd_id(cmd)); in aac_write_raw_io()1393 writecmd->flags = (fua && ((aac_cache & 5) != 1) && in aac_write_raw_io()1397 writecmd->bpTotal = 0; in aac_write_raw_io()1398 writecmd->bpComplete = 0; in aac_write_raw_io()1399 ret = aac_build_sgraw(cmd, &writecmd->sg); in aac_write_raw_io()[all …]
1703 u32 readcmd, writecmd; in mmc_blk_rw_rq_prep() local1726 writecmd = MMC_WRITE_MULTIPLE_BLOCK; in mmc_blk_rw_rq_prep()1730 writecmd = MMC_WRITE_BLOCK; in mmc_blk_rw_rq_prep()1732 brq->cmd.opcode = rq_data_dir(req) == READ ? readcmd : writecmd; in mmc_blk_rw_rq_prep()