Lines Matching refs:rphy
611 struct sas_rphy *rphy;
693 rphy = sas_end_device_alloc(port);
695 rphy = sas_expander_alloc(port,
698 if (!rphy) {
704 rphy->identify = mpt3sas_port->remote_identify;
718 if ((sas_rphy_add(rphy))) {
721 sas_rphy_free(rphy);
722 rphy = NULL;
731 dev_info(&rphy->dev,
735 mpt3sas_port->rphy = rphy;
747 rphy_to_expander_device(rphy));
1029 rphy_to_ioc(struct sas_rphy *rphy)
1031 struct Scsi_Host *shost = dev_to_shost(rphy->dev.parent->parent);
1265 * @rphy: The sas phy object
1272 _transport_get_enclosure_identifier(struct sas_rphy *rphy, u64 *identifier)
1274 struct MPT3SAS_ADAPTER *ioc = rphy_to_ioc(rphy);
1281 rphy->identify.sas_address);
1297 * @rphy: The sas phy object
1302 _transport_get_bay_identifier(struct sas_rphy *rphy)
1304 struct MPT3SAS_ADAPTER *ioc = rphy_to_ioc(rphy);
1311 rphy->identify.sas_address);
1839 * @rphy: sas transport rphy object
1847 struct sas_rphy *rphy)
1914 mpi_request->SASAddress = (rphy) ?
1915 cpu_to_le64(rphy->identify.sas_address) :