Home
last modified time | relevance | path

Searched refs:d_id (Results 1 – 25 of 43) sorted by relevance

12

/drivers/scsi/bfa/
Dbfa_fcbuild.c20 static void fc_els_rsp_build(struct fchs_s *fchs, u32 d_id, u32 s_id,
22 static void fc_bls_rsp_build(struct fchs_s *fchs, u32 d_id, u32 s_id,
130 fc_gs_fchdr_build(struct fchs_s *fchs, u32 d_id, u32 s_id, u32 ox_id) in fc_gs_fchdr_build() argument
141 fchs->d_id = (d_id); in fc_gs_fchdr_build()
152 fc_gsresp_fchdr_build(struct fchs_s *fchs, u32 d_id, u32 s_id, u16 ox_id) in fc_gsresp_fchdr_build() argument
162 fchs->d_id = d_id; in fc_gsresp_fchdr_build()
168 fc_els_req_build(struct fchs_s *fchs, u32 d_id, u32 s_id, __be16 ox_id) in fc_els_req_build() argument
171 fchs->d_id = (d_id); in fc_els_req_build()
177 fc_els_rsp_build(struct fchs_s *fchs, u32 d_id, u32 s_id, __be16 ox_id) in fc_els_rsp_build() argument
180 fchs->d_id = d_id; in fc_els_rsp_build()
[all …]
Dbfa_fcbuild.h145 u16 fc_plogi_build(struct fchs_s *fchs, void *pld, u32 d_id,
151 u16 fc_abts_build(struct fchs_s *buf, u32 d_id, u32 s_id,
156 u16 fc_rrq_build(struct fchs_s *buf, struct fc_rrq_s *rrq, u32 d_id,
181 u32 d_id, u32 s_id, u16 ox_id,
187 u16 fc_plogi_acc_build(struct fchs_s *fchs, void *pld, u32 d_id,
193 u32 d_id, u32 s_id, __be16 ox_id, wwn_t port_name,
203 u32 d_id, u32 s_id, __be16 ox_id,
206 u32 d_id, u32 s_id, __be16 ox_id,
209 u32 d_id, u32 s_id, __be16 ox_id);
210 u16 fc_prli_build(struct fchs_s *fchs, void *pld, u32 d_id,
[all …]
/drivers/scsi/qla2xxx/
Dqla_iocb.c1682 cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_start_scsi()
1683 cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_start_scsi()
1684 cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; in qla24xx_start_scsi()
1879 cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_dif_start_scsi()
1880 cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_dif_start_scsi()
1881 cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; in qla24xx_dif_start_scsi()
2028 cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; in qla2xxx_start_scsi_mq()
2029 cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; in qla2xxx_start_scsi_mq()
2030 cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; in qla2xxx_start_scsi_mq()
2241 cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; in qla2xxx_dif_start_scsi_mq()
[all …]
Dqla_gs.c132 routine, ms_pkt->entry_status, vha->d_id.b.domain, in qla2x00_chk_ms_status()
133 vha->d_id.b.area, vha->d_id.b.al_pa); in qla2x00_chk_ms_status()
148 routine, vha->d_id.b.domain, in qla2x00_chk_ms_status()
149 vha->d_id.b.area, vha->d_id.b.al_pa, in qla2x00_chk_ms_status()
184 vha->d_id.b.domain, vha->d_id.b.area, in qla2x00_chk_ms_status()
185 vha->d_id.b.al_pa); in qla2x00_chk_ms_status()
230 ct_req->req.port_id.port_id = port_id_to_be_id(fcport->d_id); in qla2x00_ga_nxt()
244 fcport->d_id = be_to_port_id(ct_rsp->rsp.ga_nxt.port_id); in qla2x00_ga_nxt()
256 fcport->d_id.b.domain = 0xf0; in qla2x00_ga_nxt()
262 fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_ga_nxt()
[all …]
Dqla_init.c209 sp->name, sp->handle, fcport->d_id.b24, fcport->port_name); in qla2x00_async_iocb_timeout()
353 fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa, in qla2x00_async_login()
404 sp->handle, fcport->loop_id, fcport->d_id.b.domain, in qla2x00_async_logout()
405 fcport->d_id.b.area, fcport->d_id.b.al_pa, in qla2x00_async_logout()
466 sp->handle, fcport->loop_id, fcport->d_id.b.domain, in qla2x00_async_prlo()
467 fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_async_prlo()
611 sp->handle, fcport->loop_id, fcport->d_id.b24, fcport->port_name); in qla2x00_async_adisc()
672 dev->loop_id, dev->d_id.b24); in qla2x00_find_new_loop_id()
676 dev->d_id.b24); in qla2x00_find_new_loop_id()
740 fcport->d_id.b.domain, fcport->d_id.b.area, in qla24xx_handle_gnl_done_event()
[all …]
Dtcm_qla2xxx.c1380 sess, port_id_to_be_id(sess->d_id)); in tcm_qla2xxx_clear_sess_lookup()
1433 port_id_to_be_id(qlat_sess->d_id)); in tcm_qla2xxx_session_cb()
1505 if (sess->loop_id != loop_id || sess->d_id.b24 != s_id.b24) in tcm_qla2xxx_update_sess()
1508 sess->loop_id, loop_id, sess->d_id.b.domain, in tcm_qla2xxx_update_sess()
1509 sess->d_id.b.area, sess->d_id.b.al_pa, s_id.b.domain, in tcm_qla2xxx_update_sess()
1529 if (sess->d_id.b24 != s_id.b24) { in tcm_qla2xxx_update_sess()
1530 key = (((u32) sess->d_id.b.domain << 16) | in tcm_qla2xxx_update_sess()
1531 ((u32) sess->d_id.b.area << 8) | in tcm_qla2xxx_update_sess()
1532 ((u32) sess->d_id.b.al_pa)); in tcm_qla2xxx_update_sess()
1537 sess->d_id.b.domain, sess->d_id.b.area, in tcm_qla2xxx_update_sess()
[all …]
Dqla_dfs.c102 DEFINE_QLA_DFS_RPORT_FIELD_GET(port_id, fp->d_id.b24);
164 sess->d_id.b.domain, sess->d_id.b.area, in qla2x00_dfs_tgt_sess_show()
165 sess->d_id.b.al_pa, sess->port_name, in qla2x00_dfs_tgt_sess_show()
217 fc_port.port_name, fc_port.d_id.b.domain, in qla2x00_dfs_tgt_port_database_show()
218 fc_port.d_id.b.area, fc_port.d_id.b.al_pa, in qla2x00_dfs_tgt_port_database_show()
Dqla_isr.c125 abts_rsp->d_id[0] = abts->s_id[0]; in qla24xx_process_abts()
126 abts_rsp->d_id[1] = abts->s_id[1]; in qla24xx_process_abts()
127 abts_rsp->d_id[2] = abts->s_id[2]; in qla24xx_process_abts()
129 abts_rsp->s_id[0] = abts->d_id[0]; in qla24xx_process_abts()
130 abts_rsp->s_id[1] = abts->d_id[1]; in qla24xx_process_abts()
131 abts_rsp->s_id[2] = abts->d_id[2]; in qla24xx_process_abts()
696 vp_did = vp->d_id.b24; in qla2x00_is_a_vp_did()
744 if (f->d_id.b24 == id->b24) { in qla2x00_find_fcport_by_nportid()
1376 fcport->loop_id, fcport->d_id.b24); in qla2x00_async_event()
1447 host_pid = (vha->d_id.b.domain << 16) | (vha->d_id.b.area << 8) in qla2x00_async_event()
[all …]
Dqla_bsg.c321 fcport->d_id.b24); in qla2x00_process_els()
339 fcport->d_id.b.al_pa = in qla2x00_process_els()
341 fcport->d_id.b.area = in qla2x00_process_els()
343 fcport->d_id.b.domain = in qla2x00_process_els()
346 (fcport->d_id.b.al_pa == 0xFD) ? in qla2x00_process_els()
401 fcport->d_id.b.domain, fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_process_els()
523 fcport->d_id.b.al_pa = bsg_request->rqst_data.h_ct.port_id[0]; in qla2x00_process_ct()
524 fcport->d_id.b.area = bsg_request->rqst_data.h_ct.port_id[1]; in qla2x00_process_ct()
525 fcport->d_id.b.domain = bsg_request->rqst_data.h_ct.port_id[2]; in qla2x00_process_ct()
548 fcport->loop_id, fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_process_ct()
[all …]
Dqla_target.c189 be_id_t d_id) in qlt_find_host_by_d_id() argument
194 if (vha->d_id.b.area == d_id.area && in qlt_find_host_by_d_id()
195 vha->d_id.b.domain == d_id.domain && in qlt_find_host_by_d_id()
196 vha->d_id.b.al_pa == d_id.al_pa) in qlt_find_host_by_d_id()
199 key = be_to_port_id(d_id).b24; in qlt_find_host_by_d_id()
302 host = qlt_find_host_by_d_id(vha, u->atio.u.isp24.fcp_hdr.d_id); in qlt_try_to_dequeue_unknown_atios()
352 atio->u.isp24.fcp_hdr.d_id); in qlt_24xx_atio_pkt_all_vps()
357 atio->u.isp24.fcp_hdr.d_id.domain, in qlt_24xx_atio_pkt_all_vps()
358 atio->u.isp24.fcp_hdr.d_id.area, in qlt_24xx_atio_pkt_all_vps()
359 atio->u.isp24.fcp_hdr.d_id.al_pa); in qlt_24xx_atio_pkt_all_vps()
[all …]
Dqla_nvme.c55 req.port_id = fcport->d_id.b24; in qla_nvme_register_remote()
473 cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa; in qla2x00_start_nvme_mq()
474 cmd_pkt->port_id[1] = sp->fcport->d_id.b.area; in qla2x00_start_nvme_mq()
475 cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain; in qla2x00_start_nvme_mq()
733 pinfo.port_id = vha->d_id.b24; in qla_nvme_register_hba()
Dqla_mbx.c2007 fcport->d_id.b.domain = pd24->port_id[0]; in qla2x00_get_port_database()
2008 fcport->d_id.b.area = pd24->port_id[1]; in qla2x00_get_port_database()
2009 fcport->d_id.b.al_pa = pd24->port_id[2]; in qla2x00_get_port_database()
2010 fcport->d_id.b.rsvd_1 = 0; in qla2x00_get_port_database()
2033 pd->slave_state, fcport->d_id.b.domain, in qla2x00_get_port_database()
2034 fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla2x00_get_port_database()
2052 fcport->d_id.b.domain = pd->port_id[0]; in qla2x00_get_port_database()
2053 fcport->d_id.b.area = pd->port_id[3]; in qla2x00_get_port_database()
2054 fcport->d_id.b.al_pa = pd->port_id[2]; in qla2x00_get_port_database()
2055 fcport->d_id.b.rsvd_1 = 0; in qla2x00_get_port_database()
[all …]
Dqla_nvme.h116 uint8_t d_id[3]; member
/drivers/s390/scsi/
Dzfcp_fc.c209 static void zfcp_fc_wka_port_init(struct zfcp_fc_wka_port *wka_port, u32 d_id, in zfcp_fc_wka_port_init() argument
216 wka_port->d_id = d_id; in zfcp_fc_wka_port_init()
251 if ((port->d_id & range) == (ntoh24(page->rscn_fid) & range)) in _zfcp_fc_incoming_rscn()
281 if (port->d_id) in zfcp_fc_incoming_rscn()
367 ct_els->port->d_id = ntoh24(gid_pn_rsp->gid_pn.fp_fid); in zfcp_fc_ns_gid_pn_eval()
459 if (!port->d_id) { in zfcp_fc_port_did_lookup()
490 port->d_id = 0; in zfcp_fc_plogi_evaluate()
536 port->d_id = ntoh24(adisc_resp->adisc_port_id); in zfcp_fc_adisc_handler()
549 u32 d_id; in zfcp_fc_adisc() local
574 d_id = port->d_id; /* remember as destination for send els below */ in zfcp_fc_adisc()
[all …]
Dzfcp_dbf.c178 rec->u.uss.d_id = ntoh24(srb->d_id); in zfcp_dbf_hba_fsf_uss()
300 rec->d_id = port->d_id; in zfcp_dbf_set_common()
449 rec->d_id = wka_port->d_id; in zfcp_dbf_rec_run_wka()
467 u64 req_id, u32 d_id, u16 cap_len) in zfcp_dbf_san() argument
480 rec->d_id = d_id; in zfcp_dbf_san()
527 void zfcp_dbf_san_req(char *tag, struct zfcp_fsf_req *fsf, u32 d_id) in zfcp_dbf_san_req() argument
538 length, fsf->req_id, d_id, length); in zfcp_dbf_san_req()
554 && ct_els->d_id == FC_FID_DIR_SERV in zfcp_dbf_san_res_cap_len_if_gpn_ft()
619 length, fsf->req_id, ct_els->d_id, in zfcp_dbf_san_res()
643 fsf->req_id, ntoh24(srb->d_id), length); in zfcp_dbf_san_in_els()
Dzfcp_dbf.h86 u32 d_id; member
119 u32 d_id; member
156 u32 d_id; member
Dzfcp_fsf.c112 int d_id = ntoh24(sr_buf->d_id); in zfcp_fsf_status_read_port_closed() local
116 if (port->d_id == d_id) { in zfcp_fsf_status_read_port_closed()
1231 ct->d_id = wka_port->d_id; in zfcp_fsf_send_ct()
1234 zfcp_dbf_san_req("fssct_1", req, wka_port->d_id); in zfcp_fsf_send_ct()
1301 int zfcp_fsf_send_els(struct zfcp_adapter *adapter, u32 d_id, in zfcp_fsf_send_els() argument
1330 hton24(req->qtcb->bottom.support.d_id, d_id); in zfcp_fsf_send_els()
1332 els->d_id = d_id; in zfcp_fsf_send_els()
1335 zfcp_dbf_san_req("fssels1", req, d_id); in zfcp_fsf_send_els()
1782 hton24(req->qtcb->bottom.support.d_id, port->d_id); in zfcp_fsf_open_port()
1879 "Opening WKA port 0x%x failed\n", wka_port->d_id); in zfcp_fsf_open_wka_port_handler()
[all …]
Dzfcp_fsf.h236 u8 d_id[3]; member
347 u8 d_id[3]; member
492 u32 d_id; member
Dzfcp_aux.c489 u32 status, u32 d_id) in zfcp_port_enqueue() argument
516 port->d_id = d_id; in zfcp_port_enqueue()
Dzfcp_erp.c332 tmpport.d_id = port_id; in zfcp_erp_port_forced_no_port_dbf()
1037 port->d_id = adapter->peer_d_id; in zfcp_erp_open_ptp_port()
1054 if (!port->d_id) { in zfcp_erp_port_strategy_open_common()
1063 if (!port->d_id) { in zfcp_erp_port_strategy_open_common()
1069 if (port->d_id && !(p_status & ZFCP_STATUS_COMMON_NOESC)) { in zfcp_erp_port_strategy_open_common()
1070 port->d_id = 0; in zfcp_erp_port_strategy_open_common()
/drivers/scsi/fnic/
Dfnic_res.h88 u32 d_id, u16 mss, in fnic_queue_wq_copy_desc_icmnd_16() argument
116 hton24(desc->u.icmnd_16.d_id, d_id); /* FC vNIC only: Target D_ID */ in fnic_queue_wq_copy_desc_icmnd_16()
127 u32 d_id, u32 r_a_tov, in fnic_queue_wq_copy_desc_itmf() argument
143 hton24(desc->u.itmf.d_id, d_id); /* FC vNIC only: Target D_ID */ in fnic_queue_wq_copy_desc_itmf()
Dfcpio.h219 u8 d_id[3]; /* FC vNIC only: Target D_ID */ member
267 u8 d_id[3]; /* FC vNIC only: Target D_ID */ member
289 u8 d_id[3]; /* FC vNIC only: Target D_ID */ member
/drivers/net/ethernet/qlogic/qed/
Dqed_fcoe.c79 struct fc_addr_nw d_id; member
290 p_data->d_id.addr_hi = p_conn->d_id.addr_hi; in qed_sp_fcoe_conn_offload()
291 p_data->d_id.addr_mid = p_conn->d_id.addr_mid; in qed_sp_fcoe_conn_offload()
292 p_data->d_id.addr_lo = p_conn->d_id.addr_lo; in qed_sp_fcoe_conn_offload()
948 con->d_id.addr_hi = conn_info->d_id.addr_hi; in qed_fcoe_offload_conn()
949 con->d_id.addr_mid = conn_info->d_id.addr_mid; in qed_fcoe_offload_conn()
950 con->d_id.addr_lo = conn_info->d_id.addr_lo; in qed_fcoe_offload_conn()
/drivers/scsi/bnx2fc/
D57xx_hsi_bnx2fc.h174 u8 d_id[3]; member
435 u8 d_id[3]; member
504 u8 d_id[3]; member
Dbnx2fc_hwi.c260 ofld_req3.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_ofld_req()
261 ofld_req3.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_ofld_req()
262 ofld_req3.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_ofld_req()
403 enbl_req.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_enable_req()
404 enbl_req.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_enable_req()
405 enbl_req.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_enable_req()
466 disable_req.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_disable_req()
467 disable_req.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_disable_req()
468 disable_req.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_disable_req()

12