Searched refs:local_phy (Results 1 – 2 of 2) sorted by relevance
1748 struct sas_phy *local_phy = sas_get_local_phy(device); in hisi_sas_debug_I_T_nexus_reset() local1754 if (!local_phy->enabled) { in hisi_sas_debug_I_T_nexus_reset()1755 sas_put_local_phy(local_phy); in hisi_sas_debug_I_T_nexus_reset()1759 if (scsi_is_sas_phy_local(local_phy)) { in hisi_sas_debug_I_T_nexus_reset()1761 sas_ha->sas_phy[local_phy->number]; in hisi_sas_debug_I_T_nexus_reset()1774 rc = sas_phy_reset(local_phy, reset_type); in hisi_sas_debug_I_T_nexus_reset()1775 sas_put_local_phy(local_phy); in hisi_sas_debug_I_T_nexus_reset()1777 if (scsi_is_sas_phy_local(local_phy)) { in hisi_sas_debug_I_T_nexus_reset()1779 sas_ha->sas_phy[local_phy->number]; in hisi_sas_debug_I_T_nexus_reset()1829 struct sas_phy *local_phy; in hisi_sas_I_T_nexus_reset() local[all …]
551 struct sas_phy *local_phy = sas_get_local_phy(dev); in sas_ata_prereset() local554 if (!local_phy->enabled || test_bit(SAS_DEV_GONE, &dev->state)) in sas_ata_prereset()556 sas_put_local_phy(local_phy); in sas_ata_prereset()