flogi 223 drivers/scsi/bfa/bfa_fcbuild.c fc_flogi_build(struct fchs_s *fchs, struct fc_logi_s *flogi, u32 s_id, flogi 230 drivers/scsi/bfa/bfa_fcbuild.c memcpy(flogi, &plogi_tmpl, sizeof(struct fc_logi_s)); flogi 232 drivers/scsi/bfa/bfa_fcbuild.c flogi->els_cmd.els_code = FC_ELS_FLOGI; flogi 235 drivers/scsi/bfa/bfa_fcbuild.c flogi->csp.rxsz = flogi->class3.rxsz = cpu_to_be16(pdu_size); flogi 236 drivers/scsi/bfa/bfa_fcbuild.c flogi->port_name = port_name; flogi 237 drivers/scsi/bfa/bfa_fcbuild.c flogi->node_name = node_name; flogi 243 drivers/scsi/bfa/bfa_fcbuild.c flogi->csp.ciro = set_npiv; flogi 246 drivers/scsi/bfa/bfa_fcbuild.c flogi->csp.security = set_auth; flogi 248 drivers/scsi/bfa/bfa_fcbuild.c flogi->csp.bbcred = cpu_to_be16(local_bb_credits); flogi 251 drivers/scsi/bfa/bfa_fcbuild.c vvl_info = (u32 *)&flogi->vvl[0]; flogi 254 drivers/scsi/bfa/bfa_fcbuild.c flogi->csp.npiv_supp = 1; /* @todo. field name is not correct */ flogi 261 drivers/scsi/bfa/bfa_fcbuild.c fc_flogi_acc_build(struct fchs_s *fchs, struct fc_logi_s *flogi, u32 s_id, flogi 268 drivers/scsi/bfa/bfa_fcbuild.c memcpy(flogi, &plogi_tmpl, sizeof(struct fc_logi_s)); flogi 271 drivers/scsi/bfa/bfa_fcbuild.c flogi->els_cmd.els_code = FC_ELS_ACC; flogi 272 drivers/scsi/bfa/bfa_fcbuild.c flogi->class3.rxsz = cpu_to_be16(pdu_size); flogi 273 drivers/scsi/bfa/bfa_fcbuild.c flogi->csp.rxsz = cpu_to_be16(bbscn_rxsz); /* bb_scn/rxsz */ flogi 274 drivers/scsi/bfa/bfa_fcbuild.c flogi->port_name = port_name; flogi 275 drivers/scsi/bfa/bfa_fcbuild.c flogi->node_name = node_name; flogi 277 drivers/scsi/bfa/bfa_fcbuild.c flogi->csp.bbcred = cpu_to_be16(local_bb_credits); flogi 283 drivers/scsi/bfa/bfa_fcbuild.c fc_fdisc_build(struct fchs_s *fchs, struct fc_logi_s *flogi, u32 s_id, flogi 288 drivers/scsi/bfa/bfa_fcbuild.c memcpy(flogi, &plogi_tmpl, sizeof(struct fc_logi_s)); flogi 290 drivers/scsi/bfa/bfa_fcbuild.c flogi->els_cmd.els_code = FC_ELS_FDISC; flogi 293 drivers/scsi/bfa/bfa_fcbuild.c flogi->csp.rxsz = flogi->class3.rxsz = cpu_to_be16(pdu_size); flogi 294 drivers/scsi/bfa/bfa_fcbuild.c flogi->port_name = port_name; flogi 295 drivers/scsi/bfa/bfa_fcbuild.c flogi->node_name = node_name; flogi 130 drivers/scsi/bfa/bfa_fcbuild.h u16 fc_flogi_build(struct fchs_s *fchs, struct fc_logi_s *flogi, flogi 135 drivers/scsi/bfa/bfa_fcbuild.h u16 fc_fdisc_build(struct fchs_s *buf, struct fc_logi_s *flogi, u32 s_id, flogi 139 drivers/scsi/bfa/bfa_fcbuild.h u16 fc_flogi_acc_build(struct fchs_s *fchs, struct fc_logi_s *flogi, flogi 1201 drivers/scsi/bfa/bfa_fcs.c struct fc_logi_s *flogi = (struct fc_logi_s *) els_cmd; flogi 1213 drivers/scsi/bfa/bfa_fcs.c (flogi->port_name == bfa_fcs_lport_get_pwwn(&fabric->bport))) { flogi 1290 drivers/scsi/bfa/bfa_fcs.c struct fc_logi_s *flogi = (struct fc_logi_s *) (fchs + 1); flogi 1299 drivers/scsi/bfa/bfa_fcs.c if (flogi->csp.port_type) { flogi 1303 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, flogi->port_name); flogi 1308 drivers/scsi/bfa/bfa_fcs.c fabric->bb_credit = be16_to_cpu(flogi->csp.bbcred); flogi 1309 drivers/scsi/bfa/bfa_fcs.c bport->port_topo.pn2n.rem_port_wwn = flogi->port_name; flogi 347 drivers/scsi/libfc/fc_lport.c struct fc_els_flogi *flogi, flogi 353 drivers/scsi/libfc/fc_lport.c memset(flogi, 0, sizeof(*flogi)); flogi 354 drivers/scsi/libfc/fc_lport.c flogi->fl_cmd = (u8) op; flogi 355 drivers/scsi/libfc/fc_lport.c put_unaligned_be64(lport->wwpn, &flogi->fl_wwpn); flogi 356 drivers/scsi/libfc/fc_lport.c put_unaligned_be64(lport->wwnn, &flogi->fl_wwnn); flogi 357 drivers/scsi/libfc/fc_lport.c sp = &flogi->fl_csp; flogi 362 drivers/scsi/libfc/fc_lport.c cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */ flogi 697 drivers/scsi/libfc/fc_rport.c struct fc_els_flogi *flogi; flogi 701 drivers/scsi/libfc/fc_rport.c flogi = fc_frame_payload_get(fp, sizeof(*flogi)); flogi 702 drivers/scsi/libfc/fc_rport.c if (!flogi) flogi 705 drivers/scsi/libfc/fc_rport.c csp_flags = ntohs(flogi->fl_csp.sp_features); flogi 717 drivers/scsi/libfc/fc_rport.c e_d_tov = ntohl(flogi->fl_csp.sp_e_d_tov); flogi 723 drivers/scsi/libfc/fc_rport.c rdata->maxframe_size = fc_plogi_get_maxframe(flogi, lport->mfs); flogi 738 drivers/scsi/libfc/fc_rport.c struct fc_els_flogi *flogi; flogi 783 drivers/scsi/libfc/fc_rport.c flogi = fc_frame_payload_get(fp, sizeof(*flogi)); flogi 784 drivers/scsi/libfc/fc_rport.c if (!flogi) { flogi 788 drivers/scsi/libfc/fc_rport.c r_a_tov = ntohl(flogi->fl_csp.sp_r_a_tov); flogi 76 drivers/scsi/lpfc/lpfc_nportdisc.c struct serv_parm *sp, uint32_t class, int flogi) flogi 89 drivers/scsi/lpfc/lpfc_nportdisc.c if (!flogi) { flogi 106 drivers/scsi/lpfc/lpfc_nportdisc.c if (!flogi) { flogi 123 drivers/scsi/lpfc/lpfc_nportdisc.c if (!flogi) { flogi 558 include/scsi/fc_encode.h struct fc_els_flogi *flogi; flogi 560 include/scsi/fc_encode.h flogi = fc_frame_payload_get(fp, sizeof(*flogi)); flogi 561 include/scsi/fc_encode.h memset(flogi, 0, sizeof(*flogi)); flogi 562 include/scsi/fc_encode.h flogi->fl_cmd = (u8) ELS_FLOGI; flogi 563 include/scsi/fc_encode.h put_unaligned_be64(lport->wwpn, &flogi->fl_wwpn); flogi 564 include/scsi/fc_encode.h put_unaligned_be64(lport->wwnn, &flogi->fl_wwnn); flogi 565 include/scsi/fc_encode.h sp = &flogi->fl_csp; flogi 570 include/scsi/fc_encode.h cp = &flogi->fl_cssp[3 - 1]; /* class 3 parameters */