Lines Matching refs:parent_phy
729 struct ex_phy *parent_phy) in sas_ex_get_linkrate() argument
737 port = parent_phy->port; in sas_ex_get_linkrate()
757 child->linkrate = min(parent_phy->linkrate, child->max_linkrate); in sas_ex_get_linkrate()
1231 struct ex_phy *parent_phy, in sas_print_parent_topology_bug() argument
1243 parent_phy->phy_id, in sas_print_parent_topology_bug()
1249 sas_route_char(parent, parent_phy), in sas_print_parent_topology_bug()
1254 struct ex_phy *parent_phy, in sas_check_eeds() argument
1264 parent_phy->phy_id, in sas_check_eeds()
1287 parent_phy->phy_id, in sas_check_eeds()
1313 struct ex_phy *parent_phy = &parent_ex->ex_phy[i]; in sas_check_parent_topology() local
1316 if (parent_phy->phy_state == PHY_VACANT || in sas_check_parent_topology()
1317 parent_phy->phy_state == PHY_NOT_PRESENT) in sas_check_parent_topology()
1320 if (SAS_ADDR(parent_phy->attached_sas_addr) != SAS_ADDR(child->sas_addr)) in sas_check_parent_topology()
1323 child_phy = &child_ex->ex_phy[parent_phy->attached_phy_id]; in sas_check_parent_topology()
1328 if (parent_phy->routing_attr != SUBTRACTIVE_ROUTING || in sas_check_parent_topology()
1330 sas_print_parent_topology_bug(child, parent_phy, child_phy); in sas_check_parent_topology()
1333 } else if (parent_phy->routing_attr == SUBTRACTIVE_ROUTING) { in sas_check_parent_topology()
1335 res = sas_check_eeds(child, parent_phy, child_phy); in sas_check_parent_topology()
1337 sas_print_parent_topology_bug(child, parent_phy, child_phy); in sas_check_parent_topology()
1340 } else if (parent_phy->routing_attr == TABLE_ROUTING) { in sas_check_parent_topology()
1346 sas_print_parent_topology_bug(child, parent_phy, child_phy); in sas_check_parent_topology()
1352 if (parent_phy->routing_attr != TABLE_ROUTING || in sas_check_parent_topology()
1354 sas_print_parent_topology_bug(child, parent_phy, child_phy); in sas_check_parent_topology()