Lines Matching refs:pp0

1018 	FCPortPage0_t	*pp0;  in mptfc_init_host_attr()  local
1026 pp0 = &ioc->fc_port_page0[portnum]; in mptfc_init_host_attr()
1037 fc_host_maxframe_size(sh) = pp0->MaxFrameSize; in mptfc_init_host_attr()
1040 (u64)pp0->WWNN.High << 32 | (u64)pp0->WWNN.Low; in mptfc_init_host_attr()
1043 (u64)pp0->WWPN.High << 32 | (u64)pp0->WWPN.Low; in mptfc_init_host_attr()
1045 fc_host_port_id(sh) = pp0->PortIdentifier; in mptfc_init_host_attr()
1047 class = pp0->SupportedServiceClass; in mptfc_init_host_attr()
1056 if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_1GBIT) in mptfc_init_host_attr()
1058 else if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_2GBIT) in mptfc_init_host_attr()
1060 else if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_4GBIT) in mptfc_init_host_attr()
1062 else if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_10GBIT) in mptfc_init_host_attr()
1069 if (pp0->SupportedSpeeds & MPI_FCPORTPAGE0_SUPPORT_1GBIT_SPEED) in mptfc_init_host_attr()
1071 if (pp0->SupportedSpeeds & MPI_FCPORTPAGE0_SUPPORT_2GBIT_SPEED) in mptfc_init_host_attr()
1073 if (pp0->SupportedSpeeds & MPI_FCPORTPAGE0_SUPPORT_4GBIT_SPEED) in mptfc_init_host_attr()
1075 if (pp0->SupportedSpeeds & MPI_FCPORTPAGE0_SUPPORT_10GBIT_SPEED) in mptfc_init_host_attr()
1080 if (pp0->PortState == MPI_FCPORTPAGE0_PORTSTATE_ONLINE) in mptfc_init_host_attr()
1082 else if (pp0->PortState == MPI_FCPORTPAGE0_PORTSTATE_OFFLINE) in mptfc_init_host_attr()
1087 if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_POINT_TO_POINT) in mptfc_init_host_attr()
1089 else if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_PRIVATE_LOOP) in mptfc_init_host_attr()
1091 else if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_PUBLIC_LOOP) in mptfc_init_host_attr()
1093 else if (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_ATTACH_FABRIC_DIRECT) in mptfc_init_host_attr()
1098 (pp0->Flags & MPI_FCPORTPAGE0_FLAGS_FABRIC_WWN_VALID) ? in mptfc_init_host_attr()
1099 (u64) pp0->FabricWWNN.High << 32 | (u64) pp0->FabricWWPN.Low : in mptfc_init_host_attr()
1100 (u64)pp0->WWNN.High << 32 | (u64)pp0->WWNN.Low; in mptfc_init_host_attr()