Lines Matching refs:rdevp
301 struct fcoe_rdev_entry *rdevp) in csio_confirm_rnode() argument
308 port_id = (__be32 *)&rdevp->r_id[0]; in csio_confirm_rnode()
310 FW_RDEV_WR_RPORT_TYPE_GET(rdevp->rd_xfer_rdy_to_rport_type); in csio_confirm_rnode()
333 rn = csio_rn_lookup_wwpn(ln, rdevp->wwpn); in csio_confirm_rnode()
352 if (!memcmp(csio_rn_wwpn(match_rn), rdevp->wwpn, 8)) { in csio_confirm_rnode()
359 wwn_to_u64(rdevp->wwpn), in csio_confirm_rnode()
379 if (!memcmp(csio_rn_wwpn(rn), rdevp->wwpn, 8)) in csio_confirm_rnode()
383 match_rn = csio_rn_lookup_wwpn(ln, rdevp->wwpn); in csio_confirm_rnode()
388 wwn_to_u64(rdevp->wwpn), in csio_confirm_rnode()
413 rn, rdev_flowid, wwn_to_u64(rdevp->wwpn)); in csio_confirm_rnode()
419 rn->rdev_entry = rdevp; in csio_confirm_rnode()
429 rn, rdev_flowid, wwn_to_u64(rdevp->wwpn)); in csio_confirm_rnode()
432 rn->rdev_entry = rdevp; in csio_confirm_rnode()
445 struct fcoe_rdev_entry *rdevp) in csio_rn_verify_rparams() argument
452 did = (__be32 *) &rdevp->r_id[0]; in csio_rn_verify_rparams()
454 FW_RDEV_WR_RPORT_TYPE_GET(rdevp->rd_xfer_rdy_to_rport_type); in csio_rn_verify_rparams()
464 if (FW_RDEV_WR_NPIV_GET(rdevp->vft_to_qos)) in csio_rn_verify_rparams()
481 if (rdevp->event_cause == PRLI_ACC_RCVD || in csio_rn_verify_rparams()
482 rdevp->event_cause == PRLI_RCVD) { in csio_rn_verify_rparams()
484 rdevp->enh_disc_to_tgt)) in csio_rn_verify_rparams()
487 if (FW_RDEV_WR_RETRY_GET(rdevp->enh_disc_to_tgt)) in csio_rn_verify_rparams()
490 if (FW_RDEV_WR_CONF_CMPL_GET(rdevp->enh_disc_to_tgt)) in csio_rn_verify_rparams()
493 if (FW_RDEV_WR_TGT_GET(rdevp->enh_disc_to_tgt)) in csio_rn_verify_rparams()
496 if (FW_RDEV_WR_INI_GET(rdevp->enh_disc_to_tgt)) in csio_rn_verify_rparams()
516 if (!memcmp(rdevp->wwnn, null, 8)) { in csio_rn_verify_rparams()
525 if (!memcmp(rdevp->wwpn, null, 8)) { in csio_rn_verify_rparams()
538 memcpy(csio_rn_wwnn(rn), rdevp->wwnn, 8); in csio_rn_verify_rparams()
539 memcpy(csio_rn_wwpn(rn), rdevp->wwpn, 8); in csio_rn_verify_rparams()
540 rn->rn_sparm.csp.sp_bb_data = rdevp->rcv_fr_sz; in csio_rn_verify_rparams()
541 fc_class = FW_RDEV_WR_CLASS_GET(rdevp->vft_to_qos); in csio_rn_verify_rparams()