[COMMON] scsi: add ioctl for UFS RPMB
[GitHub/MotorolaMobilityLLC/kernel-slsi.git] / include / scsi / scsi_ioctl.h
index 5101e987c0eff42587200a5625a6ac097463481a..578817848e8502d3c0f52b692382637501024ae1 100644 (file)
@@ -8,6 +8,8 @@
 #define SCSI_IOCTL_SYNC 4                      /* Request synchronous parameters */
 #define SCSI_IOCTL_START_UNIT 5
 #define SCSI_IOCTL_STOP_UNIT 6
+#define SCSI_IOCTL_SECURITY_PROTOCOL_IN        7
+#define SCSI_IOCTL_SECURITY_PROTOCOL_OUT 8
 /* The door lock/unlock constants are compatible with Sun constants for
    the cdrom */
 #define SCSI_IOCTL_DOORLOCK 0x5380             /* lock the eject mechanism */
@@ -16,6 +18,8 @@
 #define        SCSI_REMOVAL_PREVENT    1
 #define        SCSI_REMOVAL_ALLOW      0
 
+#define SCSI_UFS_REQUEST_SENSE 0x6000          /* clear UAC in w-lun */
+
 #ifdef __KERNEL__
 
 struct scsi_device;