Lines Matching defs:cmd9k
1294 struct tw_cl_command_9k *cmd9k;
1315 cmd9k = &(cmdpkt->command.cmd_pkt_9k);
1317 cmd9k->res__opcode =
1319 cmd9k->unit = 0;
1320 cmd9k->lun_l4__req_id = TW_CL_SWAP16(req->request_id);
1321 cmd9k->status = 0;
1322 cmd9k->sgl_offset = 16; /* offset from end of hdr = max cdb len */
1323 cmd9k->lun_h4__sgl_entries = TW_CL_SWAP16(1);
1326 ((struct tw_cl_sg_desc64 *)(cmd9k->sg_list))[0].address =
1328 ((struct tw_cl_sg_desc64 *)(cmd9k->sg_list))[0].length =
1331 ((struct tw_cl_sg_desc32 *)(cmd9k->sg_list))[0].address =
1333 ((struct tw_cl_sg_desc32 *)(cmd9k->sg_list))[0].length =
1337 cmd9k->cdb[0] = (TW_UINT8)cmd;
1338 cmd9k->cdb[4] = 128;