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()
435 ms->conn_tgt = id; in mesh_start_cmd()
592 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in mesh_done()
634 ms->msgout[i+4] = (ALLOW_SYNC(ms->conn_tgt)? mesh_sync_offset: 0); in add_sdtr_msg()
640 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in set_sdtr()
649 ms->conn_tgt); in set_sdtr()
676 ms->conn_tgt, tr/10, tr%10); in set_sdtr()
685 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in start_phase()
715 if (ALLOW_DEBUG(ms->conn_tgt)) { in start_phase()
765 out_8(&mr->dest_id, ms->conn_tgt); in start_phase()
885 ms->msgphase, ms->phase, ms->conn_tgt); in reselected()
886 dumplog(ms, ms->conn_tgt); in reselected()
899 prev = ms->conn_tgt; in reselected()
929 ms->conn_tgt = ms->host->this_id; in reselected()
942 ms->conn_tgt = ms->host->this_id; in reselected()
950 ms->conn_tgt = t; in reselected()
970 dumplog(ms, ms->conn_tgt); in reselected()
1062 ms->conn_tgt); in handle_error()
1063 dumplog(ms, ms->conn_tgt); in handle_error()
1074 ms->conn_tgt); in handle_error()
1083 ms->conn_tgt); in handle_error()
1116 dumplog(ms, ms->conn_tgt); in handle_error()
1153 dumplog(ms, ms->conn_tgt); in handle_exception()
1163 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in handle_msgin()
1168 if (ALLOW_DEBUG(ms->conn_tgt)) { in handle_msgin()
1238 cmd->device->lun, ms->conn_tgt); in handle_msgin()
1248 ms->conn_tgt); in handle_msgin()
1266 dma_cmd = ms->tgts[ms->conn_tgt].data_goes_out? in set_dma_cmds()
1328 if (!ms->tgts[ms->conn_tgt].data_goes_out) { in halt_dma()
1341 if (ms->tgts[ms->conn_tgt].data_goes_out) in halt_dma()
1352 dumplog(ms, ms->conn_tgt); in halt_dma()
1359 ms->conn_tgt, ms->data_ptr, scsi_bufflen(cmd), in halt_dma()
1360 ms->tgts[ms->conn_tgt].data_goes_out); in halt_dma()
1403 ms->tgts[ms->conn_tgt].data_goes_out = 0; in phase_mismatch()
1407 ms->tgts[ms->conn_tgt].data_goes_out = 1; in phase_mismatch()
1450 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in cmd_complete()
1550 ms->msgout[0] = IDENTIFY(ALLOW_RESEL(ms->conn_tgt), in cmd_complete()
1666 if (ALLOW_DEBUG(ms->conn_tgt)) in DEF_SCSI_QCMD()