Lines Matching refs:rphy

205 	struct sas_rphy *rphy = dev->rphy;
212 phy->phy = sas_phy_alloc(&rphy->dev, phy_id);
349 struct sas_rphy *rphy;
354 rphy = ex_phy->port->rphy;
355 if (!rphy)
358 dev = sas_find_dev_by_rphy(rphy);
519 struct sas_rphy *rphy = dev->rphy;
520 struct sas_expander_device *edev = rphy_to_expander_device(rphy);
664 struct sas_rphy *rphy = dev_to_rphy(phy->dev.parent);
665 struct domain_device *dev = sas_find_dev_by_rphy(rphy);
784 struct sas_rphy *rphy;
801 phy->port = sas_port_alloc(&parent->rphy->dev, phy_id);
847 rphy = sas_end_device_alloc(phy->port);
848 if (!rphy)
850 rphy->identify.phy_identifier = phy_id;
852 child->rphy = rphy;
853 get_device(&rphy->dev);
868 rphy = sas_end_device_alloc(phy->port);
870 if (unlikely(!rphy))
875 child->rphy = rphy;
876 get_device(&rphy->dev);
877 rphy->identify.phy_identifier = phy_id;
878 sas_fill_in_rphy(child, rphy);
900 sas_rphy_free(child->rphy);
940 struct sas_expander_device *parent_ex = rphy_to_expander_device(parent->rphy);
943 struct sas_rphy *rphy;
959 phy->port = sas_port_alloc(&parent->rphy->dev, phy_id);
966 rphy = sas_expander_alloc(phy->port,
970 rphy = sas_expander_alloc(phy->port,
974 rphy = NULL; /* shut gcc up */
978 child->rphy = rphy;
979 get_device(&rphy->dev);
980 edev = rphy_to_expander_device(rphy);
994 sas_fill_in_rphy(child, rphy);
995 sas_rphy_add(rphy);
1003 sas_rphy_delete(rphy);
1622 rphy_to_expander_device(dev->rphy);
1652 struct sas_expander_device *ex = rphy_to_expander_device(dev->rphy);
1654 res = sas_rphy_add(dev->rphy);
1668 sas_rphy_remove(dev->rphy);
1920 rphy_to_expander_device(child->rphy);
1935 struct sas_expander_device *ex = rphy_to_expander_device(dev->rphy);
2136 struct sas_rphy *rphy)
2142 /* no rphy means no smp target support (ie aic94xx host) */
2143 if (!rphy)
2146 switch (rphy->identify.device_type) {
2156 dev = sas_find_dev_by_rphy(rphy);