Searched refs:command_packet (Results 1 – 3 of 3) sorted by relevance
545 TW_Command *command_packet; in tw_aen_read_queue() local563 command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; in tw_aen_read_queue()564 memset(command_packet, 0, sizeof(TW_Sector)); in tw_aen_read_queue()565 command_packet->opcode__sgloffset = TW_OPSGL_IN(2, TW_OP_GET_PARAM); in tw_aen_read_queue()566 command_packet->size = 4; in tw_aen_read_queue()567 command_packet->request_id = request_id; in tw_aen_read_queue()568 command_packet->status = 0; in tw_aen_read_queue()569 command_packet->flags = 0; in tw_aen_read_queue()570 command_packet->byte6.parameter_count = 1; in tw_aen_read_queue()591 command_packet->byte8.param.sgl[0].address = param_value; in tw_aen_read_queue()[all …]
297 TW_Command_Apache *command_packet; in twl_scsiop_execute_scsi() local312 command_packet = &full_command_packet->command.newcommand; in twl_scsiop_execute_scsi()313 command_packet->status = 0; in twl_scsiop_execute_scsi()314 command_packet->opcode__reserved = TW_OPRES_IN(0, TW_OP_EXECUTE_SCSI); in twl_scsiop_execute_scsi()318 memcpy(command_packet->cdb, srb->cmnd, TW_MAX_CDB_LEN); in twl_scsiop_execute_scsi()320 memcpy(command_packet->cdb, cdb, TW_MAX_CDB_LEN); in twl_scsiop_execute_scsi()323 command_packet->unit = srb->device->id; in twl_scsiop_execute_scsi()324 command_packet->request_id__lunl = in twl_scsiop_execute_scsi()327 command_packet->request_id__lunl = in twl_scsiop_execute_scsi()329 command_packet->unit = 0; in twl_scsiop_execute_scsi()[all …]
231 TW_Command *command_packet; in twa_aen_complete() local240 command_packet = &full_command_packet->command.oldcommand; in twa_aen_complete()243 if (TW_OP_OUT(command_packet->opcode__sgloffset) == TW_OP_SET_PARAM) { in twa_aen_complete()480 TW_Command *command_packet; in twa_aen_sync_time() local487 command_packet = &full_command_packet->command.oldcommand; in twa_aen_sync_time()488 command_packet->opcode__sgloffset = TW_OPSGL_IN(2, TW_OP_SET_PARAM); in twa_aen_sync_time()489 command_packet->request_id = request_id; in twa_aen_sync_time()490 …command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[requ… in twa_aen_sync_time()491 command_packet->byte8_offset.param.sgl[0].length = cpu_to_le32(TW_SECTOR_SIZE); in twa_aen_sync_time()492 command_packet->size = TW_COMMAND_SIZE; in twa_aen_sync_time()[all …]