Lines Matching refs:cmd_entry

149 				     struct command_t3_entry *cmd_entry,  in qla4xxx_build_scsi_iocbs()  argument
164 cmd_entry->ttlByteCnt = __constant_cpu_to_le32(0); in qla4xxx_build_scsi_iocbs()
169 cur_dsd = (struct data_seg_a64 *) & (cmd_entry->dataseg[0]); in qla4xxx_build_scsi_iocbs()
277 struct command_t3_entry *cmd_entry; in qla4xxx_send_command_to_isp() local
322 cmd_entry = (struct command_t3_entry *) ha->request_ptr; in qla4xxx_send_command_to_isp()
323 memset(cmd_entry, 0, sizeof(struct command_t3_entry)); in qla4xxx_send_command_to_isp()
324 cmd_entry->hdr.entryType = ET_COMMAND; in qla4xxx_send_command_to_isp()
325 cmd_entry->handle = cpu_to_le32(index); in qla4xxx_send_command_to_isp()
326 cmd_entry->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_command_to_isp()
328 int_to_scsilun(cmd->device->lun, &cmd_entry->lun); in qla4xxx_send_command_to_isp()
329 cmd_entry->ttlByteCnt = cpu_to_le32(scsi_bufflen(cmd)); in qla4xxx_send_command_to_isp()
330 memcpy(cmd_entry->cdb, cmd->cmnd, cmd->cmd_len); in qla4xxx_send_command_to_isp()
331 cmd_entry->dataSegCnt = cpu_to_le16(tot_dsds); in qla4xxx_send_command_to_isp()
332 cmd_entry->hdr.entryCount = req_cnt; in qla4xxx_send_command_to_isp()
338 cmd_entry->control_flags = CF_NO_DATA; in qla4xxx_send_command_to_isp()
341 cmd_entry->control_flags = CF_WRITE; in qla4xxx_send_command_to_isp()
343 cmd_entry->control_flags = CF_READ; in qla4xxx_send_command_to_isp()
353 cmd_entry->control_flags |= CF_SIMPLE_TAG; in qla4xxx_send_command_to_isp()
356 qla4xxx_build_scsi_iocbs(srb, cmd_entry, tot_dsds); in qla4xxx_send_command_to_isp()