Lines Matching refs:pp0
980 FCPortPage0_t *pp0; in mptfc_init_host_attr() local
988 pp0 = &ioc->fc_port_page0[portnum]; in mptfc_init_host_attr()
999 fc_host_maxframe_size(sh) = pp0->MaxFrameSize; in mptfc_init_host_attr()
1002 (u64)pp0->WWNN.High << 32 | (u64)pp0->WWNN.Low; in mptfc_init_host_attr()
1005 (u64)pp0->WWPN.High << 32 | (u64)pp0->WWPN.Low; in mptfc_init_host_attr()
1007 fc_host_port_id(sh) = pp0->PortIdentifier; in mptfc_init_host_attr()
1009 class = pp0->SupportedServiceClass; in mptfc_init_host_attr()
1018 if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_1GBIT) in mptfc_init_host_attr()
1020 else if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_2GBIT) in mptfc_init_host_attr()
1022 else if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_4GBIT) in mptfc_init_host_attr()
1024 else if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_10GBIT) in mptfc_init_host_attr()
1031 if (pp0->SupportedSpeeds & MPI_FCPORTPAGE0_SUPPORT_1GBIT_SPEED) in mptfc_init_host_attr()
1033 if (pp0->SupportedSpeeds & MPI_FCPORTPAGE0_SUPPORT_2GBIT_SPEED) in mptfc_init_host_attr()
1035 if (pp0->SupportedSpeeds & MPI_FCPORTPAGE0_SUPPORT_4GBIT_SPEED) in mptfc_init_host_attr()
1037 if (pp0->SupportedSpeeds & MPI_FCPORTPAGE0_SUPPORT_10GBIT_SPEED) in mptfc_init_host_attr()
1042 if (pp0->PortState == MPI_FCPORTPAGE0_PORTSTATE_ONLINE) in mptfc_init_host_attr()
1044 else if (pp0->PortState == MPI_FCPORTPAGE0_PORTSTATE_OFFLINE) in mptfc_init_host_attr()
1049 if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_POINT_TO_POINT) in mptfc_init_host_attr()
1051 else if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_PRIVATE_LOOP) in mptfc_init_host_attr()
1053 else if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_PUBLIC_LOOP) in mptfc_init_host_attr()
1055 else if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_FABRIC_DIRECT) in mptfc_init_host_attr()
1060 (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_FABRIC_WWN_VALID) ? in mptfc_init_host_attr()
1061 (u64) pp0->FabricWWNN.High << 32 | (u64) pp0->FabricWWPN.Low : in mptfc_init_host_attr()
1062 (u64)pp0->WWNN.High << 32 | (u64)pp0->WWNN.Low; in mptfc_init_host_attr()