Lines Matching refs:full_command_packet

329 	TW_Command_Full *full_command_packet;  in twl_scsiop_execute_scsi()  local
343 full_command_packet = tw_dev->command_packet_virt[request_id]; in twl_scsiop_execute_scsi()
344 full_command_packet->header.header_desc.size_header = 128; in twl_scsiop_execute_scsi()
345 full_command_packet->header.status_block.error = 0; in twl_scsiop_execute_scsi()
346 full_command_packet->header.status_block.severity__reserved = 0; in twl_scsiop_execute_scsi()
348 command_packet = &full_command_packet->command.newcommand; in twl_scsiop_execute_scsi()
414 TW_Command_Full *full_command_packet; in twl_aen_read_queue() local
417 full_command_packet = tw_dev->command_packet_virt[request_id]; in twl_aen_read_queue()
418 memset(full_command_packet, 0, sizeof(TW_Command_Full)); in twl_aen_read_queue()
448 TW_Command_Full *full_command_packet; in twl_aen_sync_time() local
454 full_command_packet = tw_dev->command_packet_virt[request_id]; in twl_aen_sync_time()
455 memset(full_command_packet, 0, sizeof(TW_Command_Full)); in twl_aen_sync_time()
456 command_packet = &full_command_packet->command.oldcommand; in twl_aen_sync_time()
506 TW_Command_Full *full_command_packet; in twl_aen_complete() local
515 full_command_packet = tw_dev->command_packet_virt[request_id]; in twl_aen_complete()
516 command_packet = &full_command_packet->command.oldcommand; in twl_aen_complete()
599 TW_Command_Full *full_command_packet; in twl_aen_drain_queue() local
609 full_command_packet = tw_dev->command_packet_virt[request_id]; in twl_aen_drain_queue()
610 memset(full_command_packet, 0, sizeof(TW_Command_Full)); in twl_aen_drain_queue()
716 static void twl_load_sgl(TW_Device_Extension *tw_dev, TW_Command_Full *full_command_packet, int req… in twl_load_sgl() argument
726 if (TW_OP_OUT(full_command_packet->command.newcommand.opcode__reserved) == TW_OP_EXECUTE_SCSI) { in twl_load_sgl()
727 newcommand = &full_command_packet->command.newcommand; in twl_load_sgl()
737 oldcommand = &full_command_packet->command.oldcommand; in twl_load_sgl()
762 TW_Command_Full *full_command_packet; in twl_chrdev_ioctl() local
813 full_command_packet = (TW_Command_Full *)&tw_ioctl->firmware_command; in twl_chrdev_ioctl()
816 twl_load_sgl(tw_dev, full_command_packet, request_id, dma_handle, data_buffer_length_adjusted); in twl_chrdev_ioctl()
900 TW_Command_Full *full_command_packet; in twl_fill_sense() local
906 full_command_packet = tw_dev->command_packet_virt[request_id]; in twl_fill_sense()
931 tw_dev->srb[request_id]->result = (full_command_packet->command.newcommand.status << 1); in twl_fill_sense()
966 TW_Command_Full *full_command_packet; in twl_get_param() local
972 full_command_packet = tw_dev->command_packet_virt[request_id]; in twl_get_param()
973 memset(full_command_packet, 0, sizeof(TW_Command_Full)); in twl_get_param()
974 command_packet = &full_command_packet->command.oldcommand; in twl_get_param()
1018 TW_Command_Full *full_command_packet; in twl_initconnection() local
1023 full_command_packet = tw_dev->command_packet_virt[request_id]; in twl_initconnection()
1024 memset(full_command_packet, 0, sizeof(TW_Command_Full)); in twl_initconnection()
1025 full_command_packet->header.header_desc.size_header = 128; in twl_initconnection()
1027 tw_initconnect = (TW_Initconnect *)&full_command_packet->command.oldcommand; in twl_initconnection()
1174 TW_Command_Full *full_command_packet; in twl_interrupt() local
1235 full_command_packet = tw_dev->command_packet_virt[request_id]; in twl_interrupt()
1262 if ((scsi_sg_count(cmd) <= 1) && (full_command_packet->command.newcommand.status == 0)) { in twl_interrupt()
1263 …if (full_command_packet->command.newcommand.sg_list[0].length < scsi_bufflen(tw_dev->srb[request_i… in twl_interrupt()
1264 …scsi_set_resid(cmd, scsi_bufflen(cmd) - full_command_packet->command.newcommand.sg_list[0].length); in twl_interrupt()