Searched refs:command_packet (Results 1 – 3 of 3) sorted by relevance
543 TW_Command *command_packet; in tw_aen_read_queue() local561 command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; in tw_aen_read_queue()562 memset(command_packet, 0, sizeof(TW_Sector)); in tw_aen_read_queue()563 command_packet->opcode__sgloffset = TW_OPSGL_IN(2, TW_OP_GET_PARAM); in tw_aen_read_queue()564 command_packet->size = 4; in tw_aen_read_queue()565 command_packet->request_id = request_id; in tw_aen_read_queue()566 command_packet->status = 0; in tw_aen_read_queue()567 command_packet->flags = 0; in tw_aen_read_queue()568 command_packet->byte6.parameter_count = 1; in tw_aen_read_queue()589 command_packet->byte8.param.sgl[0].address = param_value; in tw_aen_read_queue()[all …]
295 TW_Command_Apache *command_packet; in twl_scsiop_execute_scsi() local313 command_packet = &full_command_packet->command.newcommand; in twl_scsiop_execute_scsi()314 command_packet->status = 0; in twl_scsiop_execute_scsi()315 command_packet->opcode__reserved = TW_OPRES_IN(0, TW_OP_EXECUTE_SCSI); in twl_scsiop_execute_scsi()319 memcpy(command_packet->cdb, srb->cmnd, TW_MAX_CDB_LEN); in twl_scsiop_execute_scsi()321 memcpy(command_packet->cdb, cdb, TW_MAX_CDB_LEN); in twl_scsiop_execute_scsi()324 command_packet->unit = srb->device->id; in twl_scsiop_execute_scsi()325 command_packet->request_id__lunl = in twl_scsiop_execute_scsi()328 command_packet->request_id__lunl = in twl_scsiop_execute_scsi()330 command_packet->unit = 0; in twl_scsiop_execute_scsi()[all …]
229 TW_Command *command_packet; in twa_aen_complete() local238 command_packet = &full_command_packet->command.oldcommand; in twa_aen_complete()241 if (TW_OP_OUT(command_packet->opcode__sgloffset) == TW_OP_SET_PARAM) { in twa_aen_complete()478 TW_Command *command_packet; in twa_aen_sync_time() local485 command_packet = &full_command_packet->command.oldcommand; in twa_aen_sync_time()486 command_packet->opcode__sgloffset = TW_OPSGL_IN(2, TW_OP_SET_PARAM); in twa_aen_sync_time()487 command_packet->request_id = request_id; in twa_aen_sync_time()488 …command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[requ… in twa_aen_sync_time()489 command_packet->byte8_offset.param.sgl[0].length = cpu_to_le32(TW_SECTOR_SIZE); in twa_aen_sync_time()490 command_packet->size = TW_COMMAND_SIZE; in twa_aen_sync_time()[all …]