Home
last modified time | relevance | path

Searched refs:local_phy (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/scsi/libsas/
Dsas_ata.c517 struct sas_phy *local_phy = sas_get_local_phy(dev); in sas_ata_prereset() local
520 if (!local_phy->enabled || test_bit(SAS_DEV_GONE, &dev->state)) in sas_ata_prereset()
522 sas_put_local_phy(local_phy); in sas_ata_prereset()
/Linux-v5.10/drivers/scsi/hisi_sas/
Dhisi_sas_main.c710 struct sas_phy *local_phy; in hisi_sas_init_device() local
734 local_phy = sas_get_local_phy(device); in hisi_sas_init_device()
735 if (!scsi_is_sas_phy_local(local_phy) && in hisi_sas_init_device()
749 sas_put_local_phy(local_phy); in hisi_sas_init_device()
1757 struct sas_phy *local_phy = sas_get_local_phy(device); in hisi_sas_debug_I_T_nexus_reset() local
1764 if (!local_phy->enabled) { in hisi_sas_debug_I_T_nexus_reset()
1765 sas_put_local_phy(local_phy); in hisi_sas_debug_I_T_nexus_reset()
1769 if (scsi_is_sas_phy_local(local_phy)) { in hisi_sas_debug_I_T_nexus_reset()
1771 sas_ha->sas_phy[local_phy->number]; in hisi_sas_debug_I_T_nexus_reset()
1781 rc = sas_phy_reset(local_phy, reset_type); in hisi_sas_debug_I_T_nexus_reset()
[all …]