Lines Matching refs:disc
201 struct discover_resp *dr = &resp->disc; in sas_set_ex_phy()
335 set_bit(DISCE_REVALIDATE_DOMAIN, &dev->port->disc.pending); in sas_set_ex_phy()
381 dr = &((struct smp_resp *)disc_resp)->disc; in sas_ex_phy_discover_helper()
991 parent->port->disc.max_level = max(parent->port->disc.max_level, in sas_ex_discover_expander()
1088 if (SAS_ADDR(dev->port->disc.fanout_sas_addr)) { in sas_ex_discover_dev()
1097 memcpy(dev->port->disc.fanout_sas_addr, in sas_ex_discover_dev()
1277 if (SAS_ADDR(parent->port->disc.fanout_sas_addr) != 0) { in sas_check_eeds()
1284 SAS_ADDR(parent->port->disc.fanout_sas_addr)); in sas_check_eeds()
1285 } else if (SAS_ADDR(parent->port->disc.eeds_a) == 0) { in sas_check_eeds()
1286 memcpy(parent->port->disc.eeds_a, parent->sas_addr, in sas_check_eeds()
1288 memcpy(parent->port->disc.eeds_b, child->sas_addr, in sas_check_eeds()
1290 } else if (((SAS_ADDR(parent->port->disc.eeds_a) == in sas_check_eeds()
1292 (SAS_ADDR(parent->port->disc.eeds_a) == in sas_check_eeds()
1295 ((SAS_ADDR(parent->port->disc.eeds_b) == in sas_check_eeds()
1297 (SAS_ADDR(parent->port->disc.eeds_b) == in sas_check_eeds()
1642 level = port->disc.max_level; in sas_ex_bfs_disc()
1645 } while (level < port->disc.max_level); in sas_ex_bfs_disc()
1659 ex->level = dev->port->disc.max_level; /* 0 */ in sas_discover_root_expander()
1714 *pcc = disc_resp->disc.change_count; in sas_get_phy_change_count()
1730 dr = &disc_resp->disc; in sas_get_phy_attached_dev()
1734 memcpy(sas_addr, disc_resp->disc.attached_sas_addr, in sas_get_phy_attached_dev()
1946 } while (level <= dev->port->disc.max_level); in sas_discover_bfs_by_root()