[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <12c35f3487e9fa1e52264ce69362c623a2ee556e.1459448160.git.jpinto@synopsys.com>
Date: Thu, 31 Mar 2016 19:57:18 +0100
From: Joao Pinto <Joao.Pinto@...opsys.com>
To: tomas.winkler@...el.com
Cc: vinholikatti@...il.com, julian.calaby@...il.com,
akinobu.mita@...il.com, hch@...radead.org, gbroner@...eaurora.org,
subhashj@...eaurora.org, CARLOS.PALMINHA@...opsys.com,
ijc+devicetree@...lion.org.uk, linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org, devicetree@...r.kernel.org,
arnd@...db.de, mark.rutland@....com,
Joao Pinto <Joao.Pinto@...opsys.com>
Subject: [PATCH v12 5/9] added link status to ufshci
Added link status to ufshci.
Signed-off-by: Joao Pinto <jpinto@...opsys.com>
---
Changes v0->v12 (Tomas Winkler):
- This patch only appeared in v12
drivers/scsi/ufs/ufshci.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h
index 20ece18..169363e 100644
--- a/drivers/scsi/ufs/ufshci.h
+++ b/drivers/scsi/ufs/ufshci.h
@@ -216,6 +216,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,
--
1.8.1.5
Powered by blists - more mailing lists