plogi 738 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c p_buf->p_val = &p_drv_buf->plogi; plogi 739 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c return sizeof(p_drv_buf->plogi); plogi 309 drivers/s390/scsi/zfcp_fc.c struct fc_els_flogi *plogi; plogi 312 drivers/s390/scsi/zfcp_fc.c plogi = (struct fc_els_flogi *) status_buffer->payload.data; plogi 313 drivers/s390/scsi/zfcp_fc.c zfcp_fc_incoming_wwpn(req, be64_to_cpu(plogi->fl_wwpn)); plogi 476 drivers/s390/scsi/zfcp_fc.c void zfcp_fc_plogi_evaluate(struct zfcp_port *port, struct fc_els_flogi *plogi) plogi 478 drivers/s390/scsi/zfcp_fc.c if (be64_to_cpu(plogi->fl_wwpn) != port->wwpn) { plogi 484 drivers/s390/scsi/zfcp_fc.c (unsigned long long) be64_to_cpu(plogi->fl_wwpn)); plogi 488 drivers/s390/scsi/zfcp_fc.c port->wwnn = be64_to_cpu(plogi->fl_wwnn); plogi 489 drivers/s390/scsi/zfcp_fc.c port->maxframe_size = be16_to_cpu(plogi->fl_csp.sp_bb_data); plogi 491 drivers/s390/scsi/zfcp_fc.c if (plogi->fl_cssp[0].cp_class & cpu_to_be16(FC_CPC_VALID)) plogi 493 drivers/s390/scsi/zfcp_fc.c if (plogi->fl_cssp[1].cp_class & cpu_to_be16(FC_CPC_VALID)) plogi 495 drivers/s390/scsi/zfcp_fc.c if (plogi->fl_cssp[2].cp_class & cpu_to_be16(FC_CPC_VALID)) plogi 497 drivers/s390/scsi/zfcp_fc.c if (plogi->fl_cssp[3].cp_class & cpu_to_be16(FC_CPC_VALID)) plogi 492 drivers/s390/scsi/zfcp_fsf.c struct fc_els_flogi *nsp, *plogi; plogi 497 drivers/s390/scsi/zfcp_fsf.c plogi = (struct fc_els_flogi *) ((u8 *)&bottom->plogi_payload plogi 530 drivers/s390/scsi/zfcp_fsf.c adapter->peer_wwpn = be64_to_cpu(plogi->fl_wwpn); plogi 531 drivers/s390/scsi/zfcp_fsf.c adapter->peer_wwnn = be64_to_cpu(plogi->fl_wwnn); plogi 1426 drivers/s390/scsi/zfcp_fsf.c struct fc_els_flogi *plogi; plogi 1475 drivers/s390/scsi/zfcp_fsf.c plogi = (struct fc_els_flogi *) req->qtcb->bottom.support.els; plogi 1478 drivers/s390/scsi/zfcp_fsf.c zfcp_fc_plogi_evaluate(port, plogi); plogi 199 drivers/scsi/bfa/bfa_fcbuild.c struct fc_logi_s *plogi = (struct fc_logi_s *) (pld); plogi 201 drivers/scsi/bfa/bfa_fcbuild.c memcpy(plogi, &plogi_tmpl, sizeof(struct fc_logi_s)); plogi 205 drivers/scsi/bfa/bfa_fcbuild.c plogi->csp.altbbcred = 1; plogi 207 drivers/scsi/bfa/bfa_fcbuild.c plogi->els_cmd.els_code = els_code; plogi 213 drivers/scsi/bfa/bfa_fcbuild.c plogi->csp.rxsz = plogi->class3.rxsz = cpu_to_be16(pdu_size); plogi 214 drivers/scsi/bfa/bfa_fcbuild.c plogi->csp.bbcred = cpu_to_be16(bb_cr); plogi 216 drivers/scsi/bfa/bfa_fcbuild.c memcpy(&plogi->port_name, &port_name, sizeof(wwn_t)); plogi 217 drivers/scsi/bfa/bfa_fcbuild.c memcpy(&plogi->node_name, &node_name, sizeof(wwn_t)); plogi 322 drivers/scsi/bfa/bfa_fcbuild.c struct fc_logi_s *plogi; plogi 333 drivers/scsi/bfa/bfa_fcbuild.c plogi = (struct fc_logi_s *) (fchs + 1); plogi 337 drivers/scsi/bfa/bfa_fcbuild.c if (!wwn_is_equal(plogi->port_name, port_name)) plogi 340 drivers/scsi/bfa/bfa_fcbuild.c if (!plogi->class3.class_valid) plogi 343 drivers/scsi/bfa/bfa_fcbuild.c if (be16_to_cpu(plogi->class3.rxsz) < (FC_MIN_PDUSZ)) plogi 355 drivers/scsi/bfa/bfa_fcbuild.c struct fc_logi_s *plogi = (struct fc_logi_s *) (fchs + 1); plogi 357 drivers/scsi/bfa/bfa_fcbuild.c if (plogi->class3.class_valid != 1) plogi 360 drivers/scsi/bfa/bfa_fcbuild.c if ((be16_to_cpu(plogi->class3.rxsz) < FC_MIN_PDUSZ) plogi 361 drivers/scsi/bfa/bfa_fcbuild.c || (be16_to_cpu(plogi->class3.rxsz) > FC_MAX_PDUSZ) plogi 362 drivers/scsi/bfa/bfa_fcbuild.c || (plogi->class3.rxsz == 0)) plogi 124 drivers/scsi/bfa/bfa_fcbuild.h struct fc_logi_s plogi; plogi 479 drivers/scsi/bfa/bfa_fcs.h struct fc_logi_s *plogi); plogi 481 drivers/scsi/bfa/bfa_fcs.h struct fc_logi_s *plogi); plogi 51 drivers/scsi/bfa/bfa_fcs_lport.c struct fchs_s *rx_fchs, struct fc_logi_s *plogi); plogi 441 drivers/scsi/bfa/bfa_fcs_lport.c struct fchs_s *rx_fchs, struct fc_logi_s *plogi) plogi 472 drivers/scsi/bfa/bfa_fcs_lport.c (void *)&plogi->port_name, sizeof(wwn_t)) < 0)) { plogi 487 drivers/scsi/bfa/bfa_fcs_lport.c rport = bfa_fcs_lport_get_rport_by_pwwn(port, plogi->port_name); plogi 494 drivers/scsi/bfa/bfa_fcs_lport.c (void *)&plogi->port_name, sizeof(wwn_t)) < 0)) { plogi 499 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_rport_plogi(rport, rx_fchs, plogi); plogi 511 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_rport_plogi_create(port, rx_fchs, plogi); plogi 523 drivers/scsi/bfa/bfa_fcs_lport.c WARN_ON(rport->pwwn == plogi->port_name); plogi 529 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_rport_plogi_create(port, rx_fchs, plogi); plogi 537 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_rport_plogi(rport, rx_fchs, plogi); plogi 43 drivers/scsi/bfa/bfa_fcs_rport.c struct fc_logi_s *plogi); plogi 2519 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcs_rport_update(struct bfa_fcs_rport_s *rport, struct fc_logi_s *plogi) plogi 2527 drivers/scsi/bfa/bfa_fcs_rport.c rport->pwwn = plogi->port_name; plogi 2528 drivers/scsi/bfa/bfa_fcs_rport.c rport->nwwn = plogi->node_name; plogi 2534 drivers/scsi/bfa/bfa_fcs_rport.c if (plogi->class3.class_valid) plogi 2537 drivers/scsi/bfa/bfa_fcs_rport.c if (plogi->class2.class_valid) plogi 2544 drivers/scsi/bfa/bfa_fcs_rport.c rport->cisc = plogi->csp.cisc; plogi 2545 drivers/scsi/bfa/bfa_fcs_rport.c if (be16_to_cpu(plogi->class3.rxsz) < be16_to_cpu(plogi->csp.rxsz)) plogi 2546 drivers/scsi/bfa/bfa_fcs_rport.c rport->maxfrsize = be16_to_cpu(plogi->class3.rxsz); plogi 2548 drivers/scsi/bfa/bfa_fcs_rport.c rport->maxfrsize = be16_to_cpu(plogi->csp.rxsz); plogi 2550 drivers/scsi/bfa/bfa_fcs_rport.c bfa_trc(port->fcs, be16_to_cpu(plogi->csp.bbcred)); plogi 2561 drivers/scsi/bfa/bfa_fcs_rport.c (be16_to_cpu(plogi->csp.bbcred) < port->fabric->bb_credit)) { plogi 2563 drivers/scsi/bfa/bfa_fcs_rport.c bfa_trc(port->fcs, be16_to_cpu(plogi->csp.bbcred)); plogi 2566 drivers/scsi/bfa/bfa_fcs_rport.c port->fabric->bb_credit = be16_to_cpu(plogi->csp.bbcred); plogi 2645 drivers/scsi/bfa/bfa_fcs_rport.c struct fc_logi_s *plogi) plogi 2653 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcs_rport_update(rport, plogi); plogi 2664 drivers/scsi/bfa/bfa_fcs_rport.c struct fc_logi_s *plogi) plogi 2668 drivers/scsi/bfa/bfa_fcs_rport.c rport = bfa_fcs_rport_alloc(port, plogi->port_name, fchs->s_id); plogi 2672 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcs_rport_update(rport, plogi); plogi 2687 drivers/scsi/bfa/bfa_fcs_rport.c struct fc_logi_s *plogi) plogi 2693 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcs_rport_update(rport, plogi); plogi 1751 drivers/scsi/ibmvscsi/ibmvfc.c struct ibmvfc_port_login *plogi; plogi 1774 drivers/scsi/ibmvscsi/ibmvfc.c plogi = &evt->iu.plogi; plogi 1775 drivers/scsi/ibmvscsi/ibmvfc.c memset(plogi, 0, sizeof(*plogi)); plogi 1776 drivers/scsi/ibmvscsi/ibmvfc.c plogi->common.version = cpu_to_be32(1); plogi 1777 drivers/scsi/ibmvscsi/ibmvfc.c plogi->common.opcode = cpu_to_be32(IBMVFC_PORT_LOGIN); plogi 1778 drivers/scsi/ibmvscsi/ibmvfc.c plogi->common.length = cpu_to_be16(sizeof(*plogi)); plogi 1779 drivers/scsi/ibmvscsi/ibmvfc.c plogi->scsi_id = cpu_to_be64(port_id); plogi 1791 drivers/scsi/ibmvscsi/ibmvfc.c if (rsp_iu.plogi.common.status) plogi 3403 drivers/scsi/ibmvscsi/ibmvfc.c struct ibmvfc_port_login *rsp = &evt->xfer_iu->plogi; plogi 3459 drivers/scsi/ibmvscsi/ibmvfc.c struct ibmvfc_port_login *plogi; plogi 3473 drivers/scsi/ibmvscsi/ibmvfc.c plogi = &evt->iu.plogi; plogi 3474 drivers/scsi/ibmvscsi/ibmvfc.c memset(plogi, 0, sizeof(*plogi)); plogi 3475 drivers/scsi/ibmvscsi/ibmvfc.c plogi->common.version = cpu_to_be32(1); plogi 3476 drivers/scsi/ibmvscsi/ibmvfc.c plogi->common.opcode = cpu_to_be32(IBMVFC_PORT_LOGIN); plogi 3477 drivers/scsi/ibmvscsi/ibmvfc.c plogi->common.length = cpu_to_be16(sizeof(*plogi)); plogi 3478 drivers/scsi/ibmvscsi/ibmvfc.c plogi->scsi_id = cpu_to_be64(tgt->scsi_id); plogi 586 drivers/scsi/ibmvscsi/ibmvfc.h struct ibmvfc_port_login plogi; plogi 2240 drivers/scsi/qla2xxx/qla_def.h } plogi; /* PLOGI/ADISC/PDISC */ plogi 5042 drivers/scsi/qla2xxx/qla_os.c pla->iocb.u.isp24.u.plogi.node_name, plogi 4739 drivers/scsi/qla2xxx/qla_target.c iocb->u.isp24.u.plogi.node_name, plogi 326 include/linux/qed/qed_if.h u8 plogi; plogi 524 include/scsi/fc_encode.h struct fc_els_flogi *plogi; plogi 528 include/scsi/fc_encode.h plogi = fc_frame_payload_get(fp, sizeof(*plogi)); plogi 529 include/scsi/fc_encode.h memset(plogi, 0, sizeof(*plogi)); plogi 530 include/scsi/fc_encode.h plogi->fl_cmd = (u8) op; plogi 531 include/scsi/fc_encode.h put_unaligned_be64(lport->wwpn, &plogi->fl_wwpn); plogi 532 include/scsi/fc_encode.h put_unaligned_be64(lport->wwnn, &plogi->fl_wwnn); plogi 534 include/scsi/fc_encode.h csp = &plogi->fl_csp; plogi 539 include/scsi/fc_encode.h cp = &plogi->fl_cssp[3 - 1]; /* class 3 parameters */