SAS_PHY_UNUSED
identify->device_type = SAS_PHY_UNUSED;
if ((sas_dev->dev_type == SAS_PHY_UNUSED) ||
sas_dev->dev_type = SAS_PHY_UNUSED;
if ((sas_dev->dev_type == SAS_PHY_UNUSED)
if ((sas_dev->dev_type == SAS_PHY_UNUSED) || !device)
if ((sas_dev->dev_type == SAS_PHY_UNUSED) || !device)
if ((sas_dev->dev_type == SAS_PHY_UNUSED) || !device ||
((!dev) || (dev->dev_type == SAS_PHY_UNUSED))
hisi_hba->devices[i].dev_type = SAS_PHY_UNUSED;
if (hisi_hba->devices[i].dev_type == SAS_PHY_UNUSED) {
else if (phy->identify.device_type != SAS_PHY_UNUSED)
else if (phy->identify.device_type != SAS_PHY_UNUSED) {
if (hisi_hba->devices[i].dev_type == SAS_PHY_UNUSED) {
else if (phy->identify.device_type != SAS_PHY_UNUSED)
enum sas_device_type type = SAS_PHY_UNUSED;
if (*type == SAS_PHY_UNUSED)
if (dr->attached_dev_type == SAS_PHY_UNUSED && dr->attached_sata_dev &&
enum sas_device_type type = SAS_PHY_UNUSED;
phy->attached_dev_type = SAS_PHY_UNUSED;
if (phy->attached_dev_type == SAS_PHY_UNUSED)
case SAS_PHY_UNUSED:
if (ex_phy->attached_dev_type == SAS_PHY_UNUSED) {
rphy->identify.device_type = SAS_PHY_UNUSED;
phy->identify.device_type = SAS_PHY_UNUSED;
if (mr_sas_port->remote_identify.device_type == SAS_PHY_UNUSED) {
identify->device_type = SAS_PHY_UNUSED;
identify->device_type = SAS_PHY_UNUSED;
if (mpt3sas_port->remote_identify.device_type == SAS_PHY_UNUSED) {
mvi->devices[i].dev_type = SAS_PHY_UNUSED;
else if (phy->identify.device_type != SAS_PHY_UNUSED)
if (mvi->devices[dev].dev_type == SAS_PHY_UNUSED) {
mvi_dev->dev_type = SAS_PHY_UNUSED;
#define DEV_IS_GONE(mvi_dev) ((!mvi_dev || (mvi_dev->dev_type == SAS_PHY_UNUSED)))
&& (pm8001_dev->dev_type == SAS_PHY_UNUSED))) {
case SAS_PHY_UNUSED:
else if (phy->identify.device_type != SAS_PHY_UNUSED)
pm8001_ha->devices[i].dev_type = SAS_PHY_UNUSED;
((!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED)))
if (pm8001_dev->dev_type == SAS_PHY_UNUSED) {
pm8001_dev->dev_type = SAS_PHY_UNUSED;
if (!pm8001_dev || (pm8001_dev->dev_type == SAS_PHY_UNUSED))
case SAS_PHY_UNUSED:
else if (phy->identify.device_type != SAS_PHY_UNUSED)
{ SAS_PHY_UNUSED, "unused" },