Lines Matching defs:local_phy
1748 struct sas_phy *local_phy = sas_get_local_phy(device);
1754 if (!local_phy->enabled) {
1755 sas_put_local_phy(local_phy);
1759 if (scsi_is_sas_phy_local(local_phy)) {
1761 sas_ha->sas_phy[local_phy->number];
1774 rc = sas_phy_reset(local_phy, reset_type);
1775 sas_put_local_phy(local_phy);
1777 if (scsi_is_sas_phy_local(local_phy)) {
1779 sas_ha->sas_phy[local_phy->number];
1829 struct sas_phy *local_phy;
1839 local_phy = sas_get_local_phy(device);
1840 rc = sas_phy_enable(local_phy, 0);
1842 local_phy->enabled = 0;
1847 sas_put_local_phy(local_phy);