summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs/ufshci.h
diff options
context:
space:
mode:
authorJoao Pinto <Joao.Pinto@synopsys.com>2016-05-11 13:21:29 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2016-07-13 05:16:31 +0200
commit79fcc03349b5766dbd15b169c762b442296fbf6b (patch)
tree1bea0c3c400950b35ca1621953bdd1a4aede2b9c /drivers/scsi/ufs/ufshci.h
parentufs: add unipro attributes (diff)
downloadlinux-79fcc03349b5766dbd15b169c762b442296fbf6b.tar.xz
linux-79fcc03349b5766dbd15b169c762b442296fbf6b.zip
ufs: add link status to ufshci
Add link status to ufshci. Signed-off-by: Joao Pinto <jpinto@synopsys.com> Acked-by: Tomas Winkler <tomas.winkler@intel.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufshci.h')
-rw-r--r--drivers/scsi/ufs/ufshci.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h
index 36f58795c601..9599741ff606 100644
--- a/drivers/scsi/ufs/ufshci.h
+++ b/drivers/scsi/ufs/ufshci.h
@@ -220,6 +220,12 @@ enum {
#define UIC_ARG_ATTR_TYPE(t) (((t) & 0xFF) << 16)
#define UIC_GET_ATTR_ID(v) (((v) >> 16) & 0xFFFF)
+/* Link Status*/
+enum link_status {
+ UFSHCD_LINK_IS_DOWN = 1,
+ UFSHCD_LINK_IS_UP = 2,
+};
+
/* UIC Commands */
enum uic_cmd_dme {
UIC_CMD_DME_GET = 0x01,