Lines Matching refs:attached_sas_addr
236 memcpy(sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_set_ex_phy()
240 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_set_ex_phy()
264 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_set_ex_phy()
266 memcpy(phy->attached_sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE); in sas_set_ex_phy()
273 phy->phy->identify.sas_address = SAS_ADDR(phy->attached_sas_addr); in sas_set_ex_phy()
327 SAS_ADDR(phy->attached_sas_addr) != SAS_ADDR(sas_addr)) in sas_set_ex_phy()
343 SAS_ADDR(phy->attached_sas_addr), type); in sas_set_ex_phy()
384 if (memcmp(dev->sas_addr, dr->attached_sas_addr, SAS_ADDR_SIZE) == 0) { in sas_ex_phy_discover_helper()
633 if (SAS_ADDR(phy->attached_sas_addr) == SAS_ADDR(sas_addr)) in sas_ex_disable_port()
757 if (SAS_ADDR(phy->attached_sas_addr) == in sas_ex_get_linkrate()
792 memcpy(child->sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_ex_discover_end_dev()
894 if (!memcmp(phy->attached_sas_addr, ephy->attached_sas_addr, in sas_ex_join_wide_port()
921 SAS_ADDR(phy->attached_sas_addr), in sas_ex_discover_expander()
957 memcpy(child->sas_addr, phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_ex_discover_expander()
1000 if (!dev->parent && (SAS_ADDR(ex_phy->attached_sas_addr) == in sas_ex_discover_dev()
1005 if (dev->parent && (SAS_ADDR(ex_phy->attached_sas_addr) == in sas_ex_discover_dev()
1013 if (sas_dev_present_in_domain(dev->port, ex_phy->attached_sas_addr)) in sas_ex_discover_dev()
1014 sas_ex_disable_port(dev, ex_phy->attached_sas_addr); in sas_ex_discover_dev()
1018 memset(ex_phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_ex_discover_dev()
1019 sas_configure_routing(dev, ex_phy->attached_sas_addr); in sas_ex_discover_dev()
1036 res = sas_configure_routing(dev, ex_phy->attached_sas_addr); in sas_ex_discover_dev()
1040 SAS_ADDR(ex_phy->attached_sas_addr), res); in sas_ex_discover_dev()
1041 sas_disable_routing(dev, ex_phy->attached_sas_addr); in sas_ex_discover_dev()
1047 phy_id, SAS_ADDR(ex_phy->attached_sas_addr)); in sas_ex_discover_dev()
1060 SAS_ADDR(ex_phy->attached_sas_addr), in sas_ex_discover_dev()
1068 ex_phy->attached_sas_addr, SAS_ADDR_SIZE); in sas_ex_discover_dev()
1088 if (SAS_ADDR(ex->ex_phy[i].attached_sas_addr) == in sas_ex_discover_dev()
1093 i, SAS_ADDR(ex->ex_phy[i].attached_sas_addr)); in sas_ex_discover_dev()
1118 memcpy(sub_addr, phy->attached_sas_addr,SAS_ADDR_SIZE); in sas_find_sub_addr()
1226 sub_sas_addr = &phy->attached_sas_addr[0]; in sas_check_ex_subtractive_boundary()
1228 SAS_ADDR(phy->attached_sas_addr)) { in sas_check_ex_subtractive_boundary()
1234 SAS_ADDR(phy->attached_sas_addr), in sas_check_ex_subtractive_boundary()
1338 if (SAS_ADDR(parent_phy->attached_sas_addr) != SAS_ADDR(child->sas_addr)) in sas_check_parent_topology()
1548 (SAS_ADDR(phy->attached_sas_addr) == in sas_configure_parent()
1736 memcpy(sas_addr, disc_resp->disc.attached_sas_addr, 8); in sas_get_phy_attached_dev()
1888 SAS_ADDR(phy->attached_sas_addr)) { in sas_unregister_devs_sas_addr()
1899 sas_disable_routing(parent, phy->attached_sas_addr); in sas_unregister_devs_sas_addr()
1901 memset(phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_unregister_devs_sas_addr()
1972 SAS_ADDR(ex_phy->attached_sas_addr)) { in sas_discover_new()
2023 } else if (SAS_ADDR(sas_addr) == SAS_ADDR(phy->attached_sas_addr) && in sas_rediscover_dev()
2038 if (SAS_ADDR(phy->attached_sas_addr) && in sas_rediscover_dev()
2039 SAS_ADDR(sas_addr) != SAS_ADDR(phy->attached_sas_addr)) { in sas_rediscover_dev()
2042 SAS_ADDR(phy->attached_sas_addr)); in sas_rediscover_dev()
2074 if (SAS_ADDR(changed_phy->attached_sas_addr) != 0) { in sas_rediscover()
2080 if (SAS_ADDR(phy->attached_sas_addr) == in sas_rediscover()
2081 SAS_ADDR(changed_phy->attached_sas_addr)) { in sas_rediscover()