Lines Matching refs:rphy
246 struct sas_rphy *rphy);
2114 struct sas_rphy *rphy; in hpsa_slave_alloc() local
2117 rphy = target_to_rphy(starget); in hpsa_slave_alloc()
2118 sd = hpsa_find_device_by_sas_rphy(h, rphy); in hpsa_slave_alloc()
9622 struct sas_rphy *rphy) in hpsa_sas_port_add_rphy() argument
9626 identify = &rphy->identify; in hpsa_sas_port_add_rphy()
9631 return sas_rphy_add(rphy); in hpsa_sas_port_add_rphy()
9716 struct sas_rphy *rphy) in hpsa_find_device_by_sas_rphy() argument
9725 if (device->sas_port->rphy == rphy) in hpsa_find_device_by_sas_rphy()
9787 struct sas_rphy *rphy; in hpsa_add_sas_device() local
9793 rphy = sas_end_device_alloc(hpsa_sas_port->port); in hpsa_add_sas_device()
9794 if (!rphy) { in hpsa_add_sas_device()
9799 hpsa_sas_port->rphy = rphy; in hpsa_add_sas_device()
9802 rc = hpsa_sas_port_add_rphy(hpsa_sas_port, rphy); in hpsa_add_sas_device()
9809 sas_rphy_free(rphy); in hpsa_add_sas_device()
9832 hpsa_sas_get_enclosure_identifier(struct sas_rphy *rphy, u64 *identifier) in hpsa_sas_get_enclosure_identifier() argument
9834 struct Scsi_Host *shost = phy_to_shost(rphy); in hpsa_sas_get_enclosure_identifier()
9846 sd = hpsa_find_device_by_sas_rphy(h, rphy); in hpsa_sas_get_enclosure_identifier()
9856 hpsa_sas_get_bay_identifier(struct sas_rphy *rphy) in hpsa_sas_get_bay_identifier() argument