• Home
  • Raw
  • Download

Lines Matching refs:tmpSC

958 	struct scsi_cmnd *tmpSC;  in nspintr()  local
1036 tmpSC = data->CurrentSC; in nspintr()
1037 tmpSC->result = (DID_RESET << 16) | in nspintr()
1038 ((tmpSC->SCp.Message & 0xff) << 8) | in nspintr()
1039 ((tmpSC->SCp.Status & 0xff) << 0); in nspintr()
1040 nsp_scsi_done(tmpSC); in nspintr()
1052 tmpSC = data->CurrentSC; in nspintr()
1053 target = tmpSC->device->id; in nspintr()
1054 lun = tmpSC->device->lun; in nspintr()
1064 if (nsp_reselected(tmpSC) != FALSE) { in nspintr()
1076 switch(tmpSC->SCp.phase) { in nspintr()
1086 tmpSC->result = DID_TIME_OUT << 16; in nspintr()
1087 nsp_scsi_done(tmpSC); in nspintr()
1092 nsp_start_timer(tmpSC, 1000/51); in nspintr()
1099 tmpSC->SCp.phase = PH_SELECTED; in nspintr()
1112 tmpSC->result = DID_ABORT << 16; in nspintr()
1113 nsp_scsi_done(tmpSC); in nspintr()
1130 if (((tmpSC->SCp.phase == PH_MSG_IN) || (tmpSC->SCp.phase == PH_MSG_OUT)) && in nspintr()
1137 if (tmpSC->SCp.Message == MSG_COMMAND_COMPLETE) { in nspintr()
1138 tmpSC->result = (DID_OK << 16) | in nspintr()
1139 ((tmpSC->SCp.Message & 0xff) << 8) | in nspintr()
1140 ((tmpSC->SCp.Status & 0xff) << 0); in nspintr()
1141 nsp_dbg(NSP_DEBUG_INTR, "command complete result=0x%x", tmpSC->result); in nspintr()
1142 nsp_scsi_done(tmpSC); in nspintr()
1156 tmpSC->result = DID_ERROR << 16; in nspintr()
1157 nsp_scsi_done(tmpSC); in nspintr()
1169 tmpSC->SCp.phase = PH_COMMAND; in nspintr()
1171 nsp_nexus(tmpSC); in nspintr()
1174 nsp_dbg(NSP_DEBUG_INTR, "cmd_len=%d", tmpSC->cmd_len); in nspintr()
1176 for (i = 0; i < tmpSC->cmd_len; i++) { in nspintr()
1177 nsp_index_write(base, COMMANDDATA, tmpSC->cmnd[i]); in nspintr()
1185 tmpSC->SCp.phase = PH_DATA; in nspintr()
1186 tmpSC->SCp.have_data_in = IO_OUT; in nspintr()
1188 nsp_pio_write(tmpSC); in nspintr()
1195 tmpSC->SCp.phase = PH_DATA; in nspintr()
1196 tmpSC->SCp.have_data_in = IO_IN; in nspintr()
1198 nsp_pio_read(tmpSC); in nspintr()
1203 nsp_dataphase_bypass(tmpSC); in nspintr()
1206 tmpSC->SCp.phase = PH_STATUS; in nspintr()
1208 tmpSC->SCp.Status = nsp_index_read(base, SCSIDATAWITHACK); in nspintr()
1209 nsp_dbg(NSP_DEBUG_INTR, "message=0x%x status=0x%x", tmpSC->SCp.Message, tmpSC->SCp.Status); in nspintr()
1219 tmpSC->SCp.phase = PH_MSG_OUT; in nspintr()
1240 nsp_analyze_sdtr(tmpSC); in nspintr()
1242 nsp_message_out(tmpSC); in nspintr()
1246 nsp_dataphase_bypass(tmpSC); in nspintr()
1252 tmpSC->SCp.phase = PH_MSG_IN; in nspintr()
1253 nsp_message_in(tmpSC); in nspintr()
1272 nsp_analyze_sdtr(tmpSC); in nspintr()
1284 tmpSC->SCp.Message = tmp; in nspintr()
1286 nsp_dbg(NSP_DEBUG_INTR, "message=0x%x len=%d", tmpSC->SCp.Message, data->MsgLen); in nspintr()
1302 nsp_start_timer(tmpSC, 1000/102); in nspintr()