Lines Matching refs:rphy
651 struct sas_rphy *rphy; in mpt3sas_transport_port_add() local
728 rphy = sas_end_device_alloc(port); in mpt3sas_transport_port_add()
730 rphy = sas_expander_alloc(port, in mpt3sas_transport_port_add()
733 rphy->identify = mpt3sas_port->remote_identify; in mpt3sas_transport_port_add()
734 if ((sas_rphy_add(rphy))) { in mpt3sas_transport_port_add()
739 dev_printk(KERN_INFO, &rphy->dev, in mpt3sas_transport_port_add()
743 mpt3sas_port->rphy = rphy; in mpt3sas_transport_port_add()
755 rphy_to_expander_device(rphy)); in mpt3sas_transport_port_add()
1033 rphy_to_ioc(struct sas_rphy *rphy) in rphy_to_ioc() argument
1035 struct Scsi_Host *shost = dev_to_shost(rphy->dev.parent->parent); in rphy_to_ioc()
1301 _transport_get_enclosure_identifier(struct sas_rphy *rphy, u64 *identifier) in _transport_get_enclosure_identifier() argument
1303 struct MPT3SAS_ADAPTER *ioc = rphy_to_ioc(rphy); in _transport_get_enclosure_identifier()
1310 rphy->identify.sas_address); in _transport_get_enclosure_identifier()
1329 _transport_get_bay_identifier(struct sas_rphy *rphy) in _transport_get_bay_identifier() argument
1331 struct MPT3SAS_ADAPTER *ioc = rphy_to_ioc(rphy); in _transport_get_bay_identifier()
1338 rphy->identify.sas_address); in _transport_get_bay_identifier()
1879 _transport_smp_handler(struct Scsi_Host *shost, struct sas_rphy *rphy, in _transport_smp_handler() argument
2014 mpi_request->SASAddress = (rphy) ? in _transport_smp_handler()
2015 cpu_to_le64(rphy->identify.sas_address) : in _transport_smp_handler()