Lines Matching refs:conn_tgt

155 	int	conn_tgt;		/* target we're connected to */  member
215 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in dlog()
225 tlp->tgt = ms->conn_tgt; in dlog()
323 ms->phase, ms->msgphase, ms->conn_tgt, ms->data_ptr); in mesh_dump_regs()
426 ms->conn_tgt = id; in mesh_start_cmd()
583 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in mesh_done()
628 ms->msgout[i+4] = (ALLOW_SYNC(ms->conn_tgt)? mesh_sync_offset: 0); in add_sdtr_msg()
634 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in set_sdtr()
643 ms->conn_tgt); in set_sdtr()
670 ms->conn_tgt, tr/10, tr%10); in set_sdtr()
679 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in start_phase()
709 if (ALLOW_DEBUG(ms->conn_tgt)) { in start_phase()
759 out_8(&mr->dest_id, ms->conn_tgt); in start_phase()
879 ms->msgphase, ms->phase, ms->conn_tgt); in reselected()
880 dumplog(ms, ms->conn_tgt); in reselected()
893 prev = ms->conn_tgt; in reselected()
923 ms->conn_tgt = ms->host->this_id; in reselected()
936 ms->conn_tgt = ms->host->this_id; in reselected()
944 ms->conn_tgt = t; in reselected()
964 dumplog(ms, ms->conn_tgt); in reselected()
1056 ms->conn_tgt); in handle_error()
1057 dumplog(ms, ms->conn_tgt); in handle_error()
1068 ms->conn_tgt); in handle_error()
1077 ms->conn_tgt); in handle_error()
1110 dumplog(ms, ms->conn_tgt); in handle_error()
1147 dumplog(ms, ms->conn_tgt); in handle_exception()
1157 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in handle_msgin()
1162 if (ALLOW_DEBUG(ms->conn_tgt)) { in handle_msgin()
1232 cmd->device->lun, ms->conn_tgt); in handle_msgin()
1242 ms->conn_tgt); in handle_msgin()
1260 dma_cmd = ms->tgts[ms->conn_tgt].data_goes_out? in set_dma_cmds()
1322 if (!ms->tgts[ms->conn_tgt].data_goes_out) { in halt_dma()
1335 if (ms->tgts[ms->conn_tgt].data_goes_out) in halt_dma()
1346 dumplog(ms, ms->conn_tgt); in halt_dma()
1353 ms->conn_tgt, ms->data_ptr, scsi_bufflen(cmd), in halt_dma()
1354 ms->tgts[ms->conn_tgt].data_goes_out); in halt_dma()
1397 ms->tgts[ms->conn_tgt].data_goes_out = 0; in phase_mismatch()
1401 ms->tgts[ms->conn_tgt].data_goes_out = 1; in phase_mismatch()
1444 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in cmd_complete()
1544 ms->msgout[0] = IDENTIFY(ALLOW_RESEL(ms->conn_tgt), in cmd_complete()
1661 if (ALLOW_DEBUG(ms->conn_tgt)) in DEF_SCSI_QCMD()