Lines Matching refs:local_phy
1768 struct sas_phy *local_phy = sas_get_local_phy(device);
1774 if (!local_phy->enabled) {
1775 sas_put_local_phy(local_phy);
1779 if (scsi_is_sas_phy_local(local_phy)) {
1781 sas_ha->sas_phy[local_phy->number];
1794 rc = sas_phy_reset(local_phy, reset_type);
1795 sas_put_local_phy(local_phy);
1797 if (scsi_is_sas_phy_local(local_phy)) {
1799 sas_ha->sas_phy[local_phy->number];
1849 struct sas_phy *local_phy;
1859 local_phy = sas_get_local_phy(device);
1860 rc = sas_phy_enable(local_phy, 0);
1862 local_phy->enabled = 0;
1867 sas_put_local_phy(local_phy);