Lines Matching refs:local_phy
1665 struct sas_phy *local_phy = sas_get_local_phy(device); in hisi_sas_debug_I_T_nexus_reset() local
1671 if (!local_phy->enabled) { in hisi_sas_debug_I_T_nexus_reset()
1672 sas_put_local_phy(local_phy); in hisi_sas_debug_I_T_nexus_reset()
1676 if (scsi_is_sas_phy_local(local_phy)) { in hisi_sas_debug_I_T_nexus_reset()
1678 sas_ha->sas_phy[local_phy->number]; in hisi_sas_debug_I_T_nexus_reset()
1691 rc = sas_phy_reset(local_phy, reset_type); in hisi_sas_debug_I_T_nexus_reset()
1692 sas_put_local_phy(local_phy); in hisi_sas_debug_I_T_nexus_reset()
1694 if (scsi_is_sas_phy_local(local_phy)) { in hisi_sas_debug_I_T_nexus_reset()
1696 sas_ha->sas_phy[local_phy->number]; in hisi_sas_debug_I_T_nexus_reset()
1741 struct sas_phy *local_phy; in hisi_sas_I_T_nexus_reset() local
1751 local_phy = sas_get_local_phy(device); in hisi_sas_I_T_nexus_reset()
1752 rc = sas_phy_enable(local_phy, 0); in hisi_sas_I_T_nexus_reset()
1754 local_phy->enabled = 0; in hisi_sas_I_T_nexus_reset()
1759 sas_put_local_phy(local_phy); in hisi_sas_I_T_nexus_reset()