Searched refs:command_packet (Results 1 – 3 of 3) sorted by relevance
544 TW_Command *command_packet; in tw_aen_read_queue() local562 command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; in tw_aen_read_queue()563 memset(command_packet, 0, sizeof(TW_Sector)); in tw_aen_read_queue()564 command_packet->opcode__sgloffset = TW_OPSGL_IN(2, TW_OP_GET_PARAM); in tw_aen_read_queue()565 command_packet->size = 4; in tw_aen_read_queue()566 command_packet->request_id = request_id; in tw_aen_read_queue()567 command_packet->status = 0; in tw_aen_read_queue()568 command_packet->flags = 0; in tw_aen_read_queue()569 command_packet->byte6.parameter_count = 1; in tw_aen_read_queue()590 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() local315 command_packet = &full_command_packet->command.newcommand; in twl_scsiop_execute_scsi()316 command_packet->status = 0; in twl_scsiop_execute_scsi()317 command_packet->opcode__reserved = TW_OPRES_IN(0, TW_OP_EXECUTE_SCSI); in twl_scsiop_execute_scsi()321 memcpy(command_packet->cdb, srb->cmnd, TW_MAX_CDB_LEN); in twl_scsiop_execute_scsi()323 memcpy(command_packet->cdb, cdb, TW_MAX_CDB_LEN); in twl_scsiop_execute_scsi()326 command_packet->unit = srb->device->id; in twl_scsiop_execute_scsi()327 command_packet->request_id__lunl = in twl_scsiop_execute_scsi()330 command_packet->request_id__lunl = in twl_scsiop_execute_scsi()332 command_packet->unit = 0; in twl_scsiop_execute_scsi()[all …]
230 TW_Command *command_packet; in twa_aen_complete() local239 command_packet = &full_command_packet->command.oldcommand; in twa_aen_complete()242 if (TW_OP_OUT(command_packet->opcode__sgloffset) == TW_OP_SET_PARAM) { in twa_aen_complete()481 TW_Command *command_packet; in twa_aen_sync_time() local488 command_packet = &full_command_packet->command.oldcommand; in twa_aen_sync_time()489 command_packet->opcode__sgloffset = TW_OPSGL_IN(2, TW_OP_SET_PARAM); in twa_aen_sync_time()490 command_packet->request_id = request_id; in twa_aen_sync_time()491 …command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[requ… in twa_aen_sync_time()492 command_packet->byte8_offset.param.sgl[0].length = cpu_to_le32(TW_SECTOR_SIZE); in twa_aen_sync_time()493 command_packet->size = TW_COMMAND_SIZE; in twa_aen_sync_time()[all …]