adisc             505 drivers/s390/scsi/zfcp_fc.c 	struct fc_els_adisc *adisc_resp = &fc_req->u.adisc.rsp;
adisc             546 drivers/s390/scsi/zfcp_fc.c 	sg_init_one(&fc_req->sg_req, &fc_req->u.adisc.req,
adisc             548 drivers/s390/scsi/zfcp_fc.c 	sg_init_one(&fc_req->sg_rsp, &fc_req->u.adisc.rsp,
adisc             556 drivers/s390/scsi/zfcp_fc.c 	fc_req->u.adisc.req.adisc_wwpn = cpu_to_be64(fc_host_port_name(shost));
adisc             557 drivers/s390/scsi/zfcp_fc.c 	fc_req->u.adisc.req.adisc_wwnn = cpu_to_be64(fc_host_node_name(shost));
adisc             558 drivers/s390/scsi/zfcp_fc.c 	fc_req->u.adisc.req.adisc_cmd = ELS_ADISC;
adisc             559 drivers/s390/scsi/zfcp_fc.c 	hton24(fc_req->u.adisc.req.adisc_port_id, fc_host_port_id(shost));
adisc             151 drivers/s390/scsi/zfcp_fc.h 		} adisc;
adisc             454 drivers/scsi/bfa/bfa_fcbuild.c fc_adisc_x_build(struct fchs_s *fchs, struct fc_adisc_s *adisc, u32 d_id,
adisc             458 drivers/scsi/bfa/bfa_fcbuild.c 	memset(adisc, '\0', sizeof(struct fc_adisc_s));
adisc             460 drivers/scsi/bfa/bfa_fcbuild.c 	adisc->els_cmd.els_code = els_code;
adisc             467 drivers/scsi/bfa/bfa_fcbuild.c 	adisc->orig_HA = 0;
adisc             468 drivers/scsi/bfa/bfa_fcbuild.c 	adisc->orig_port_name = port_name;
adisc             469 drivers/scsi/bfa/bfa_fcbuild.c 	adisc->orig_node_name = node_name;
adisc             470 drivers/scsi/bfa/bfa_fcbuild.c 	adisc->nport_id = (s_id);
adisc             476 drivers/scsi/bfa/bfa_fcbuild.c fc_adisc_build(struct fchs_s *fchs, struct fc_adisc_s *adisc, u32 d_id,
adisc             479 drivers/scsi/bfa/bfa_fcbuild.c 	return fc_adisc_x_build(fchs, adisc, d_id, s_id, ox_id, port_name,
adisc             484 drivers/scsi/bfa/bfa_fcbuild.c fc_adisc_acc_build(struct fchs_s *fchs, struct fc_adisc_s *adisc, u32 d_id,
adisc             488 drivers/scsi/bfa/bfa_fcbuild.c 	return fc_adisc_x_build(fchs, adisc, d_id, s_id, ox_id, port_name,
adisc             493 drivers/scsi/bfa/bfa_fcbuild.c fc_adisc_rsp_parse(struct fc_adisc_s *adisc, int len, wwn_t port_name,
adisc             500 drivers/scsi/bfa/bfa_fcbuild.c 	if (adisc->els_cmd.els_code != FC_ELS_ACC)
adisc             503 drivers/scsi/bfa/bfa_fcbuild.c 	if (!wwn_is_equal(adisc->orig_port_name, port_name))
adisc             513 drivers/scsi/bfa/bfa_fcbuild.c 	struct fc_adisc_s *adisc = (struct fc_adisc_s *) pld;
adisc             515 drivers/scsi/bfa/bfa_fcbuild.c 	if (adisc->els_cmd.els_code != FC_ELS_ACC)
adisc             518 drivers/scsi/bfa/bfa_fcbuild.c 	if ((adisc->nport_id == (host_dap))
adisc             519 drivers/scsi/bfa/bfa_fcbuild.c 	    && wwn_is_equal(adisc->orig_port_name, port_name)
adisc             520 drivers/scsi/bfa/bfa_fcbuild.c 	    && wwn_is_equal(adisc->orig_node_name, node_name))
adisc             192 drivers/scsi/bfa/bfa_fcbuild.h u16        fc_adisc_build(struct fchs_s *fchs, struct fc_adisc_s *adisc,
adisc             199 drivers/scsi/bfa/bfa_fcbuild.h enum fc_parse_status fc_adisc_rsp_parse(struct fc_adisc_s *adisc, int len,
adisc             202 drivers/scsi/bfa/bfa_fcbuild.h u16        fc_adisc_acc_build(struct fchs_s *fchs, struct fc_adisc_s *adisc,
adisc            2243 drivers/scsi/bfa/bfa_fcs_rport.c 	struct fc_adisc_s	*adisc;
adisc            2250 drivers/scsi/bfa/bfa_fcs_rport.c 	adisc = (struct fc_adisc_s *) (rx_fchs + 1);
adisc             184 drivers/scsi/bnx2fc/bnx2fc_els.c 	struct fc_els_adisc *adisc;
adisc             201 drivers/scsi/bnx2fc/bnx2fc_els.c 	adisc = fc_frame_payload_get(fp, sizeof(*adisc));
adisc             203 drivers/scsi/bnx2fc/bnx2fc_els.c 	rc = bnx2fc_initiate_els(tgt, ELS_ADISC, adisc, sizeof(*adisc),
adisc            1497 drivers/scsi/libfc/fc_rport.c 	struct fc_els_adisc *adisc;
adisc            1526 drivers/scsi/libfc/fc_rport.c 	adisc = fc_frame_payload_get(fp, sizeof(*adisc));
adisc            1527 drivers/scsi/libfc/fc_rport.c 	if (op != ELS_LS_ACC || !adisc ||
adisc            1528 drivers/scsi/libfc/fc_rport.c 	    ntoh24(adisc->adisc_port_id) != rdata->ids.port_id ||
adisc            1529 drivers/scsi/libfc/fc_rport.c 	    get_unaligned_be64(&adisc->adisc_wwpn) != rdata->ids.port_name ||
adisc            1530 drivers/scsi/libfc/fc_rport.c 	    get_unaligned_be64(&adisc->adisc_wwnn) != rdata->ids.node_name) {
adisc            1587 drivers/scsi/libfc/fc_rport.c 	struct fc_els_adisc *adisc;
adisc            1595 drivers/scsi/libfc/fc_rport.c 	adisc = fc_frame_payload_get(in_fp, sizeof(*adisc));
adisc            1596 drivers/scsi/libfc/fc_rport.c 	if (!adisc) {
adisc            1603 drivers/scsi/libfc/fc_rport.c 	fp = fc_frame_alloc(lport, sizeof(*adisc));
adisc            1607 drivers/scsi/libfc/fc_rport.c 	adisc = fc_frame_payload_get(fp, sizeof(*adisc));
adisc            1608 drivers/scsi/libfc/fc_rport.c 	adisc->adisc_cmd = ELS_LS_ACC;
adisc            1059 drivers/scsi/lpfc/lpfc_hw.h 		ADISC adisc;	/* Payload for ADISC/ACC */
adisc             487 drivers/scsi/qedf/qedf_els.c 	struct fc_els_adisc *adisc;
adisc             510 drivers/scsi/qedf/qedf_els.c 	adisc = fc_frame_payload_get(fp, sizeof(*adisc));
adisc             512 drivers/scsi/qedf/qedf_els.c 	rc = qedf_initiate_els(fcport, ELS_ADISC, adisc, sizeof(*adisc),
adisc            4950 drivers/scsi/qla2xxx/qla_os.c qla2x00_post_async_work(adisc, QLA_EVT_ASYNC_ADISC);
adisc              78 include/scsi/fc_encode.h 	struct fc_els_adisc *adisc;
adisc              80 include/scsi/fc_encode.h 	adisc = fc_frame_payload_get(fp, sizeof(*adisc));
adisc              81 include/scsi/fc_encode.h 	memset(adisc, 0, sizeof(*adisc));
adisc              82 include/scsi/fc_encode.h 	adisc->adisc_cmd = ELS_ADISC;
adisc              83 include/scsi/fc_encode.h 	put_unaligned_be64(lport->wwpn, &adisc->adisc_wwpn);
adisc              84 include/scsi/fc_encode.h 	put_unaligned_be64(lport->wwnn, &adisc->adisc_wwnn);
adisc              85 include/scsi/fc_encode.h 	hton24(adisc->adisc_port_id, lport->port_id);