Lines Matching refs:conn_tgt

154 	int	conn_tgt;		/* target we're connected to */  member
214 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in dlog()
224 tlp->tgt = ms->conn_tgt; in dlog()
322 ms->phase, ms->msgphase, ms->conn_tgt, ms->data_ptr); in mesh_dump_regs()
434 ms->conn_tgt = id; in mesh_start_cmd()
591 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in mesh_done()
633 ms->msgout[i+4] = (ALLOW_SYNC(ms->conn_tgt)? mesh_sync_offset: 0); in add_sdtr_msg()
639 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in set_sdtr()
648 ms->conn_tgt); in set_sdtr()
675 ms->conn_tgt, tr/10, tr%10); in set_sdtr()
684 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in start_phase()
714 if (ALLOW_DEBUG(ms->conn_tgt)) { in start_phase()
764 out_8(&mr->dest_id, ms->conn_tgt); in start_phase()
884 ms->msgphase, ms->phase, ms->conn_tgt); in reselected()
885 dumplog(ms, ms->conn_tgt); in reselected()
898 prev = ms->conn_tgt; in reselected()
928 ms->conn_tgt = ms->host->this_id; in reselected()
941 ms->conn_tgt = ms->host->this_id; in reselected()
949 ms->conn_tgt = t; in reselected()
969 dumplog(ms, ms->conn_tgt); in reselected()
1059 ms->conn_tgt); in handle_error()
1060 dumplog(ms, ms->conn_tgt); in handle_error()
1071 ms->conn_tgt); in handle_error()
1080 ms->conn_tgt); in handle_error()
1113 dumplog(ms, ms->conn_tgt); in handle_error()
1150 dumplog(ms, ms->conn_tgt); in handle_exception()
1160 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in handle_msgin()
1165 if (ALLOW_DEBUG(ms->conn_tgt)) { in handle_msgin()
1235 cmd->device->lun, ms->conn_tgt); in handle_msgin()
1245 ms->conn_tgt); in handle_msgin()
1263 dma_cmd = ms->tgts[ms->conn_tgt].data_goes_out? in set_dma_cmds()
1325 if (!ms->tgts[ms->conn_tgt].data_goes_out) { in halt_dma()
1338 if (ms->tgts[ms->conn_tgt].data_goes_out) in halt_dma()
1349 dumplog(ms, ms->conn_tgt); in halt_dma()
1356 ms->conn_tgt, ms->data_ptr, scsi_bufflen(cmd), in halt_dma()
1357 ms->tgts[ms->conn_tgt].data_goes_out); in halt_dma()
1399 ms->tgts[ms->conn_tgt].data_goes_out = 0; in phase_mismatch()
1403 ms->tgts[ms->conn_tgt].data_goes_out = 1; in phase_mismatch()
1446 struct mesh_target *tp = &ms->tgts[ms->conn_tgt]; in cmd_complete()
1546 ms->msgout[0] = IDENTIFY(ALLOW_RESEL(ms->conn_tgt), in cmd_complete()
1662 if (ALLOW_DEBUG(ms->conn_tgt)) in DEF_SCSI_QCMD()