Lines Matching refs:pp0
1017 FCPortPage0_t *pp0; in mptfc_init_host_attr() local
1025 pp0 = &ioc->fc_port_page0[portnum]; in mptfc_init_host_attr()
1036 fc_host_maxframe_size(sh) = pp0->MaxFrameSize; in mptfc_init_host_attr()
1039 (u64)pp0->WWNN.High << 32 | (u64)pp0->WWNN.Low; in mptfc_init_host_attr()
1042 (u64)pp0->WWPN.High << 32 | (u64)pp0->WWPN.Low; in mptfc_init_host_attr()
1044 fc_host_port_id(sh) = pp0->PortIdentifier; in mptfc_init_host_attr()
1046 class = pp0->SupportedServiceClass; in mptfc_init_host_attr()
1055 if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_1GBIT) in mptfc_init_host_attr()
1057 else if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_2GBIT) in mptfc_init_host_attr()
1059 else if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_4GBIT) in mptfc_init_host_attr()
1061 else if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_10GBIT) in mptfc_init_host_attr()
1068 if (pp0->SupportedSpeeds & MPI_FCPORTPAGE0_SUPPORT_1GBIT_SPEED) in mptfc_init_host_attr()
1070 if (pp0->SupportedSpeeds & MPI_FCPORTPAGE0_SUPPORT_2GBIT_SPEED) in mptfc_init_host_attr()
1072 if (pp0->SupportedSpeeds & MPI_FCPORTPAGE0_SUPPORT_4GBIT_SPEED) in mptfc_init_host_attr()
1074 if (pp0->SupportedSpeeds & MPI_FCPORTPAGE0_SUPPORT_10GBIT_SPEED) in mptfc_init_host_attr()
1079 if (pp0->PortState == MPI_FCPORTPAGE0_PORTSTATE_ONLINE) in mptfc_init_host_attr()
1081 else if (pp0->PortState == MPI_FCPORTPAGE0_PORTSTATE_OFFLINE) in mptfc_init_host_attr()
1086 if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_POINT_TO_POINT) in mptfc_init_host_attr()
1088 else if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_PRIVATE_LOOP) in mptfc_init_host_attr()
1090 else if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_PUBLIC_LOOP) in mptfc_init_host_attr()
1092 else if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_FABRIC_DIRECT) in mptfc_init_host_attr()
1097 (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_FABRIC_WWN_VALID) ? in mptfc_init_host_attr()
1098 (u64) pp0->FabricWWNN.High << 32 | (u64) pp0->FabricWWPN.Low : in mptfc_init_host_attr()
1099 (u64)pp0->WWNN.High << 32 | (u64)pp0->WWNN.Low; in mptfc_init_host_attr()