Lines Matching refs:phy_info_cmp
834 struct mptsas_phyinfo *phy_info, *phy_info_cmp; in mptsas_setup_wide_ports() local
902 phy_info_cmp = &port_info->phy_info[i + 1]; in mptsas_setup_wide_ports()
904 phy_info_cmp++) { in mptsas_setup_wide_ports()
905 if (!phy_info_cmp->attached.sas_address) in mptsas_setup_wide_ports()
907 if (sas_address != phy_info_cmp->attached.sas_address) in mptsas_setup_wide_ports()
909 if (phy_info_cmp->port_details == port_details ) in mptsas_setup_wide_ports()
914 phy_info_cmp->attached.sas_address)); in mptsas_setup_wide_ports()
915 if (phy_info_cmp->port_details) { in mptsas_setup_wide_ports()
917 mptsas_get_rphy(phy_info_cmp); in mptsas_setup_wide_ports()
919 mptsas_get_port(phy_info_cmp); in mptsas_setup_wide_ports()
921 mptsas_get_starget(phy_info_cmp); in mptsas_setup_wide_ports()
923 phy_info_cmp->port_details->num_phys; in mptsas_setup_wide_ports()
924 if (!phy_info_cmp->port_details->num_phys) in mptsas_setup_wide_ports()
925 kfree(phy_info_cmp->port_details); in mptsas_setup_wide_ports()
927 phy_info_cmp->sas_port_add_phy=1; in mptsas_setup_wide_ports()
931 phy_info_cmp->port_details = port_details; in mptsas_setup_wide_ports()
932 if (phy_info_cmp->phy_id < 64 ) in mptsas_setup_wide_ports()
934 (1 << phy_info_cmp->phy_id); in mptsas_setup_wide_ports()