Lines Matching refs:scsi_id

231 		entry->scsi_id = be64_to_cpu(vfc_cmd->tgt_scsi_id);  in ibmvfc_trc_start()
268 entry->scsi_id = be64_to_cpu(vfc_cmd->tgt_scsi_id); in ibmvfc_trc_end()
1394 fc_starget_port_id(starget) = tgt ? tgt->scsi_id : -1; in ibmvfc_get_starget_port_id()
2043 tmf->scsi_id = cpu_to_be64(port_id); in ibmvfc_bsg_timeout()
2082 if (tgt->scsi_id == port_id) { in ibmvfc_bsg_plogi()
2100 plogi->scsi_id = cpu_to_be64(port_id); in ibmvfc_bsg_plogi()
2233 mad->iu.scsi_id = cpu_to_be64(port_id); in ibmvfc_bsg_request()
2515 tmf->scsi_id = cpu_to_be64(rport->port_id); in ibmvfc_init_tmf()
3025 if (tgt->scsi_id == rport->port_id) { in ibmvfc_terminate_rport_io()
3120 " node_name: %llx%s\n", desc->desc, be64_to_cpu(crq->scsi_id), in ibmvfc_handle_async()
3165 if (!crq->scsi_id && !crq->wwpn && !crq->node_name) in ibmvfc_handle_async()
3167 if (crq->scsi_id && cpu_to_be64(tgt->scsi_id) != crq->scsi_id) in ibmvfc_handle_async()
4040 prli->scsi_id = cpu_to_be64(tgt->scsi_id); in ibmvfc_tgt_send_prli()
4085 tgt->ids.port_id = tgt->scsi_id; in ibmvfc_tgt_plogi_done()
4148 plogi->scsi_id = cpu_to_be64(tgt->scsi_id); in ibmvfc_tgt_send_plogi()
4217 mad->old_scsi_id = cpu_to_be64(tgt->scsi_id); in __ibmvfc_tgt_get_implicit_logout_evt()
4330 tgt->scsi_id = tgt->new_scsi_id; in ibmvfc_tgt_move_login_done()
4331 tgt->ids.port_id = tgt->scsi_id; in ibmvfc_tgt_move_login_done()
4386 move->old_scsi_id = cpu_to_be64(tgt->scsi_id); in ibmvfc_tgt_move_login()
4414 if (be32_to_cpu(mad->fc_iu.response[6]) != tgt->scsi_id) in ibmvfc_adisc_needs_plogi()
4555 tmf->scsi_id = cpu_to_be64(tgt->scsi_id); in ibmvfc_adisc_timeout()
4599 mad->iu.scsi_id = cpu_to_be64(tgt->scsi_id); in ibmvfc_tgt_adisc()
4607 mad->fc_iu.payload[6] = cpu_to_be32(be64_to_cpu(vhost->login_buf->resp.scsi_id) & 0x00ffffff); in ibmvfc_tgt_adisc()
4644 if (be64_to_cpu(rsp->scsi_id) != tgt->scsi_id) in ibmvfc_tgt_query_target_done()
4729 u64 scsi_id = be32_to_cpu(target->scsi_id) & IBMVFC_DISC_TGT_SCSI_ID_MASK; in ibmvfc_alloc_target() local
4742 if (tgt->scsi_id == scsi_id) { in ibmvfc_alloc_target()
4770 wtgt->new_scsi_id = scsi_id; in ibmvfc_alloc_target()
4789 tgt->scsi_id = scsi_id; in ibmvfc_alloc_target()
5095 fc_host_port_id(vhost->host) = be64_to_cpu(rsp->scsi_id); in ibmvfc_npiv_login_done()