Lines Matching defs:rphy
154 struct sas_rphy *rphy = dev->rphy;
158 phy->phy = sas_phy_alloc(&rphy->dev, phy_id);
351 struct sas_rphy *rphy = dev->rphy;
352 struct sas_expander_device *edev = rphy_to_expander_device(rphy);
487 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent);
488 struct domain_device *dev = sas_find_dev_by_rphy(rphy);
578 struct sas_rphy *rphy;
594 phy->port = sas_port_alloc(&parent->rphy->dev, phy_id);
631 rphy = sas_end_device_alloc(phy->port);
632 if (unlikely(!rphy))
637 child->rphy = rphy;
638 sas_fill_in_rphy(child, rphy);
662 sas_rphy_free(child->rphy);
663 child->rphy = NULL;
699 struct sas_expander_device *parent_ex = rphy_to_expander_device(parent->rphy);
702 struct sas_rphy *rphy;
719 phy->port = sas_port_alloc(&parent->rphy->dev, phy_id);
725 rphy = sas_expander_alloc(phy->port,
729 rphy = sas_expander_alloc(phy->port,
733 rphy = NULL; /* shut gcc up */
737 child->rphy = rphy;
738 edev = rphy_to_expander_device(rphy);
751 sas_fill_in_rphy(child, rphy);
752 sas_rphy_add(rphy);
1400 rphy_to_expander_device(dev->rphy);
1430 struct sas_expander_device *ex = rphy_to_expander_device(dev->rphy);
1432 res = sas_rphy_add(dev->rphy);
1446 sas_rphy_remove(dev->rphy);
1658 rphy_to_expander_device(child->rphy);
1673 struct sas_expander_device *ex = rphy_to_expander_device(dev->rphy);