Lines Matching refs:rphy
52 struct sas_rphy *rphy; in sas_get_port_device() local
107 rphy = NULL; in sas_get_port_device()
112 rphy = sas_end_device_alloc(port->port); in sas_get_port_device()
115 rphy = sas_expander_alloc(port->port, in sas_get_port_device()
119 rphy = sas_expander_alloc(port->port, in sas_get_port_device()
124 rphy = NULL; in sas_get_port_device()
128 if (!rphy) { in sas_get_port_device()
133 rphy->identify.phy_identifier = phy->phy->identify.phy_identifier; in sas_get_port_device()
135 sas_fill_in_rphy(dev, rphy); in sas_get_port_device()
148 dev->rphy = rphy; in sas_get_port_device()
149 get_device(&dev->rphy->dev); in sas_get_port_device()
223 err = sas_rphy_add(dev->rphy); in sas_probe_devices()
289 put_device(&dev->rphy->dev); in sas_free_device()
290 dev->rphy = NULL; in sas_free_device()
347 sas_remove_children(&dev->rphy->dev); in sas_destruct_devices()
348 sas_rphy_delete(dev->rphy); in sas_destruct_devices()
396 sas_rphy_free(dev->rphy); in sas_unregister_dev()
404 sas_rphy_unlink(dev->rphy); in sas_unregister_dev()
422 port->port->rphy = NULL; in sas_unregister_domain_devices()
496 sas_rphy_free(dev->rphy); in sas_discover_domain()