mvi_dev 92 drivers/scsi/mvsas/mv_sas.c struct mvs_device *mvi_dev = (struct mvs_device *)dev->lldd_dev; mvi_dev 93 drivers/scsi/mvsas/mv_sas.c struct mvs_info *mvi = mvi_dev->mvi_info; mvi_dev 433 drivers/scsi/mvsas/mv_sas.c struct mvs_device *mvi_dev = dev->lldd_dev; mvi_dev 446 drivers/scsi/mvsas/mv_sas.c if (mvs_assign_reg_set(mvi, mvi_dev) == MVS_ID_NOT_MAPPED) { mvi_dev 448 drivers/scsi/mvsas/mv_sas.c mvi_dev->device_id); mvi_dev 456 drivers/scsi/mvsas/mv_sas.c (mvi_dev->taskfileset << TXQ_SRS_SHIFT); mvi_dev 541 drivers/scsi/mvsas/mv_sas.c *(u16 *)(buf_oaf + 2) = cpu_to_be16(mvi_dev->device_id + 1); mvi_dev 562 drivers/scsi/mvsas/mv_sas.c struct mvs_device *mvi_dev = dev->lldd_dev; mvi_dev 649 drivers/scsi/mvsas/mv_sas.c *(u16 *)(buf_oaf + 2) = cpu_to_be16(mvi_dev->device_id + 1); mvi_dev 694 drivers/scsi/mvsas/mv_sas.c #define DEV_IS_GONE(mvi_dev) ((!mvi_dev || (mvi_dev->dev_type == SAS_PHY_UNUSED))) mvi_dev 699 drivers/scsi/mvsas/mv_sas.c struct mvs_device *mvi_dev = dev->lldd_dev; mvi_dev 719 drivers/scsi/mvsas/mv_sas.c if (DEV_IS_GONE(mvi_dev)) { mvi_dev 720 drivers/scsi/mvsas/mv_sas.c if (mvi_dev) mvi_dev 722 drivers/scsi/mvsas/mv_sas.c mvi_dev->device_id); mvi_dev 819 drivers/scsi/mvsas/mv_sas.c mvi_dev->running_req++; mvi_dev 1163 drivers/scsi/mvsas/mv_sas.c static void mvs_free_dev(struct mvs_device *mvi_dev) mvi_dev 1165 drivers/scsi/mvsas/mv_sas.c u32 id = mvi_dev->device_id; mvi_dev 1166 drivers/scsi/mvsas/mv_sas.c memset(mvi_dev, 0, sizeof(*mvi_dev)); mvi_dev 1167 drivers/scsi/mvsas/mv_sas.c mvi_dev->device_id = id; mvi_dev 1168 drivers/scsi/mvsas/mv_sas.c mvi_dev->dev_type = SAS_PHY_UNUSED; mvi_dev 1169 drivers/scsi/mvsas/mv_sas.c mvi_dev->dev_status = MVS_DEV_NORMAL; mvi_dev 1170 drivers/scsi/mvsas/mv_sas.c mvi_dev->taskfileset = MVS_ID_NOT_MAPPED; mvi_dev 1232 drivers/scsi/mvsas/mv_sas.c struct mvs_device *mvi_dev = dev->lldd_dev; mvi_dev 1235 drivers/scsi/mvsas/mv_sas.c if (!mvi_dev) { mvi_dev 1240 drivers/scsi/mvsas/mv_sas.c mvi = mvi_dev->mvi_info; mvi_dev 1245 drivers/scsi/mvsas/mv_sas.c mvi_dev->device_id, mvi_dev->dev_type); mvi_dev 1247 drivers/scsi/mvsas/mv_sas.c mvs_free_reg_set(mvi, mvi_dev); mvi_dev 1248 drivers/scsi/mvsas/mv_sas.c mvs_free_dev(mvi_dev); mvi_dev 1251 drivers/scsi/mvsas/mv_sas.c mvi_dev->sas_device = NULL; mvi_dev 1388 drivers/scsi/mvsas/mv_sas.c struct mvs_device * mvi_dev = dev->lldd_dev; mvi_dev 1389 drivers/scsi/mvsas/mv_sas.c struct mvs_info *mvi = mvi_dev->mvi_info; mvi_dev 1392 drivers/scsi/mvsas/mv_sas.c mvi_dev->dev_status = MVS_DEV_EH; mvi_dev 1401 drivers/scsi/mvsas/mv_sas.c mvi_dev->device_id, rc); mvi_dev 1409 drivers/scsi/mvsas/mv_sas.c struct mvs_device *mvi_dev = (struct mvs_device *)dev->lldd_dev; mvi_dev 1410 drivers/scsi/mvsas/mv_sas.c struct mvs_info *mvi = mvi_dev->mvi_info; mvi_dev 1412 drivers/scsi/mvsas/mv_sas.c if (mvi_dev->dev_status != MVS_DEV_EH) mvi_dev 1415 drivers/scsi/mvsas/mv_sas.c mvi_dev->dev_status = MVS_DEV_NORMAL; mvi_dev 1418 drivers/scsi/mvsas/mv_sas.c __func__, mvi_dev->device_id, rc); mvi_dev 1437 drivers/scsi/mvsas/mv_sas.c struct mvs_device *mvi_dev = (struct mvs_device *)dev->lldd_dev; mvi_dev 1438 drivers/scsi/mvsas/mv_sas.c struct mvs_info *mvi = mvi_dev->mvi_info; mvi_dev 1470 drivers/scsi/mvsas/mv_sas.c struct mvs_device *mvi_dev = (struct mvs_device *)dev->lldd_dev; mvi_dev 1476 drivers/scsi/mvsas/mv_sas.c if (!mvi_dev) { mvi_dev 1481 drivers/scsi/mvsas/mv_sas.c mvi = mvi_dev->mvi_info; mvi_dev 1490 drivers/scsi/mvsas/mv_sas.c mvi_dev->dev_status = MVS_DEV_EH; mvi_dev 1578 drivers/scsi/mvsas/mv_sas.c struct mvs_device *mvi_dev = task->dev->lldd_dev; mvi_dev 1586 drivers/scsi/mvsas/mv_sas.c SATA_RECEIVED_D2H_FIS(mvi_dev->taskfileset), mvi_dev 1705 drivers/scsi/mvsas/mv_sas.c struct mvs_device *mvi_dev = NULL; mvi_dev 1718 drivers/scsi/mvsas/mv_sas.c mvi_dev = dev->lldd_dev; mvi_dev 1733 drivers/scsi/mvsas/mv_sas.c if (mvi_dev && mvi_dev->running_req) mvi_dev 1734 drivers/scsi/mvsas/mv_sas.c mvi_dev->running_req--; mvi_dev 1736 drivers/scsi/mvsas/mv_sas.c mvs_free_reg_set(mvi, mvi_dev); mvi_dev 1743 drivers/scsi/mvsas/mv_sas.c if (unlikely(!mvi_dev || flags)) { mvi_dev 1744 drivers/scsi/mvsas/mv_sas.c if (!mvi_dev) mvi_dev 1810 drivers/scsi/mvsas/mv_sas.c if (mvi_dev && mvi_dev->running_req) { mvi_dev 1811 drivers/scsi/mvsas/mv_sas.c mvi_dev->running_req--; mvi_dev 1812 drivers/scsi/mvsas/mv_sas.c if (sas_protocol_ata(task->task_proto) && !mvi_dev->running_req) mvi_dev 1813 drivers/scsi/mvsas/mv_sas.c mvs_free_reg_set(mvi, mvi_dev);