• Home
  • Raw
  • Download

Lines Matching refs:pg0

396 mptfc_generate_rport_ids(FCDevicePage0_t *pg0, struct fc_rport_identifiers *rid)  in mptfc_generate_rport_ids()  argument
399 if (pg0->Flags & (MPI_FC_DEVICE_PAGE0_FLAGS_PLOGI_INVALID | in mptfc_generate_rport_ids()
403 if (!(pg0->Flags & MPI_FC_DEVICE_PAGE0_FLAGS_TARGETID_BUS_VALID)) in mptfc_generate_rport_ids()
406 if (!(pg0->Protocol & MPI_FC_DEVICE_PAGE0_PROT_FCP_TARGET)) in mptfc_generate_rport_ids()
413 rid->node_name = ((u64)pg0->WWNN.High) << 32 | (u64)pg0->WWNN.Low; in mptfc_generate_rport_ids()
414 rid->port_name = ((u64)pg0->WWPN.High) << 32 | (u64)pg0->WWPN.Low; in mptfc_generate_rport_ids()
415 rid->port_id = pg0->PortIdentifier; in mptfc_generate_rport_ids()
422 mptfc_register_dev(MPT_ADAPTER *ioc, int channel, FCDevicePage0_t *pg0) in mptfc_register_dev() argument
432 if (mptfc_generate_rport_ids(pg0, &rport_ids) < 0) in mptfc_register_dev()
436 if (pg0->Protocol & MPI_FC_DEVICE_PAGE0_PROT_FCP_INITIATOR) in mptfc_register_dev()
441 pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; in mptfc_register_dev()
455 ri->pg0 = *pg0; /* add/update pg0 data */ in mptfc_register_dev()
474 vtarget->id = pg0->CurrentTargetID; in mptfc_register_dev()
475 vtarget->channel = pg0->CurrentBus; in mptfc_register_dev()
483 pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; in mptfc_register_dev()
484 nn = (u64)ri->pg0.WWNN.High << 32 | (u64)ri->pg0.WWNN.Low; in mptfc_register_dev()
490 pg0->PortIdentifier, in mptfc_register_dev()
493 pg0->CurrentTargetID, in mptfc_register_dev()
547 vtarget->id = ri->pg0.CurrentTargetID; in mptfc_target_alloc()
548 vtarget->channel = ri->pg0.CurrentBus; in mptfc_target_alloc()
575 pn = (u64)ri->pg0.WWPN.High << 32 | (u64)ri->pg0.WWPN.Low; in mptfc_dump_lun_info()
576 nn = (u64)ri->pg0.WWNN.High << 32 | (u64)ri->pg0.WWNN.Low; in mptfc_dump_lun_info()
583 sdev->id, ri->pg0.CurrentTargetID, in mptfc_dump_lun_info()
584 ri->pg0.PortIdentifier, in mptfc_dump_lun_info()
1100 pn = (u64)ri->pg0.WWPN.High << 32 | in mptfc_setup_reset()
1101 (u64)ri->pg0.WWPN.Low; in mptfc_setup_reset()
1155 pn = (u64)ri->pg0.WWPN.High << 32 | in mptfc_rescan_devices()
1156 (u64)ri->pg0.WWPN.Low; in mptfc_rescan_devices()