Lines Matching refs:phy_info_cmp
860 struct mptsas_phyinfo *phy_info, *phy_info_cmp; in mptsas_setup_wide_ports() local
928 phy_info_cmp = &port_info->phy_info[i + 1]; in mptsas_setup_wide_ports()
930 phy_info_cmp++) { in mptsas_setup_wide_ports()
931 if (!phy_info_cmp->attached.sas_address) in mptsas_setup_wide_ports()
933 if (sas_address != phy_info_cmp->attached.sas_address) in mptsas_setup_wide_ports()
935 if (phy_info_cmp->port_details == port_details ) in mptsas_setup_wide_ports()
940 phy_info_cmp->attached.sas_address)); in mptsas_setup_wide_ports()
941 if (phy_info_cmp->port_details) { in mptsas_setup_wide_ports()
943 mptsas_get_rphy(phy_info_cmp); in mptsas_setup_wide_ports()
945 mptsas_get_port(phy_info_cmp); in mptsas_setup_wide_ports()
947 mptsas_get_starget(phy_info_cmp); in mptsas_setup_wide_ports()
949 phy_info_cmp->port_details->num_phys; in mptsas_setup_wide_ports()
950 if (!phy_info_cmp->port_details->num_phys) in mptsas_setup_wide_ports()
951 kfree(phy_info_cmp->port_details); in mptsas_setup_wide_ports()
953 phy_info_cmp->sas_port_add_phy=1; in mptsas_setup_wide_ports()
957 phy_info_cmp->port_details = port_details; in mptsas_setup_wide_ports()
958 if (phy_info_cmp->phy_id < 64 ) in mptsas_setup_wide_ports()
960 (1 << phy_info_cmp->phy_id); in mptsas_setup_wide_ports()