Commit f1a3c619 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Jens Axboe

skd: fix formatting in skd_s1120.h

Cc: Akhil Bhansali <abhansali@stec-inc.com>
Cc: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 542d7b00
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#define FIT_QCMD_MSGSIZE_512 (0x3 << 4) #define FIT_QCMD_MSGSIZE_512 (0x3 << 4)
#define FIT_QCMD_BASE_ADDRESS_MASK (0xFFFFFFFFFFFFFFC0ull) #define FIT_QCMD_BASE_ADDRESS_MASK (0xFFFFFFFFFFFFFFC0ull)
/* /*
* Control, 32-bit r/w * Control, 32-bit r/w
*/ */
...@@ -73,7 +72,6 @@ ...@@ -73,7 +72,6 @@
#define FIT_SR_SIGNATURE (0xFF << 8) #define FIT_SR_SIGNATURE (0xFF << 8)
#define FIT_SR_PIO_DMA (1 << 16) #define FIT_SR_PIO_DMA (1 << 16)
/* /*
* Interrupt status, 32-bit r/w1c (w1c ==> write 1 to clear) * Interrupt status, 32-bit r/w1c (w1c ==> write 1 to clear)
*/ */
...@@ -90,7 +88,6 @@ ...@@ -90,7 +88,6 @@
#define FIT_ISH_QCMD_FIFO_OVERRUN (1u << 9u) #define FIT_ISH_QCMD_FIFO_OVERRUN (1u << 9u)
#define FIT_ISH_BAD_EXP_ROM_READ (1u << 10u) #define FIT_ISH_BAD_EXP_ROM_READ (1u << 10u)
#define FIT_INT_DEF_MASK \ #define FIT_INT_DEF_MASK \
(FIT_ISH_FW_STATE_CHANGE | \ (FIT_ISH_FW_STATE_CHANGE | \
FIT_ISH_COMPLETION_POSTED | \ FIT_ISH_COMPLETION_POSTED | \
...@@ -108,7 +105,6 @@ ...@@ -108,7 +105,6 @@
FIT_ISH_Q2_FULL | \ FIT_ISH_Q2_FULL | \
FIT_ISH_Q3_FULL) FIT_ISH_Q3_FULL)
#define MSI_MSG_NWL_ERROR_0 0x00000000 #define MSI_MSG_NWL_ERROR_0 0x00000000
#define MSI_MSG_NWL_ERROR_1 0x00000001 #define MSI_MSG_NWL_ERROR_1 0x00000001
#define MSI_MSG_NWL_ERROR_2 0x00000002 #define MSI_MSG_NWL_ERROR_2 0x00000002
...@@ -123,18 +119,16 @@ ...@@ -123,18 +119,16 @@
#define MSI_MSG_QUEUE_2_FULL 0x0000000B #define MSI_MSG_QUEUE_2_FULL 0x0000000B
#define MSI_MSG_QUEUE_3_FULL 0x0000000C #define MSI_MSG_QUEUE_3_FULL 0x0000000C
#define FIT_INT_RESERVED_MASK \ #define FIT_INT_RESERVED_MASK \
(FIT_ISH_UNDEFINED_3 | \ (FIT_ISH_UNDEFINED_3 | \
FIT_ISH_UNDEFINED_4) FIT_ISH_UNDEFINED_4)
/* /*
* Interrupt mask, 32-bit r/w * Interrupt mask, 32-bit r/w
* Bit definitions are the same as FIT_INT_STATUS_HOST * Bit definitions are the same as FIT_INT_STATUS_HOST
*/ */
#define FIT_INT_MASK_HOST 0x528u #define FIT_INT_MASK_HOST 0x528u
/* /*
* Message to device, 32-bit r/w * Message to device, 32-bit r/w
*/ */
...@@ -145,7 +139,6 @@ ...@@ -145,7 +139,6 @@
*/ */
#define FIT_MSG_FROM_DEVICE 0x548u #define FIT_MSG_FROM_DEVICE 0x548u
/* /*
* 32-bit messages to/from device, composition/extraction macros * 32-bit messages to/from device, composition/extraction macros
*/ */
...@@ -157,7 +150,6 @@ ...@@ -157,7 +150,6 @@
#define FIT_MXD_PARAM(MXD) (((MXD) >> 16u) & 0xFFu) #define FIT_MXD_PARAM(MXD) (((MXD) >> 16u) & 0xFFu)
#define FIT_MXD_DATA(MXD) (((MXD) >> 0u) & 0xFFFFu) #define FIT_MXD_DATA(MXD) (((MXD) >> 0u) & 0xFFFFu)
/* /*
* Types of messages to/from device * Types of messages to/from device
*/ */
...@@ -187,7 +179,6 @@ ...@@ -187,7 +179,6 @@
#define FIT_MFD_MSG(x) (((x) >> 24) & FIT_MFD_MASK) #define FIT_MFD_MSG(x) (((x) >> 24) & FIT_MFD_MASK)
#define FIT_MFD_DATA(x) ((x) & FIT_MFD_MASK) #define FIT_MFD_DATA(x) ((x) & FIT_MFD_MASK)
/* /*
* Extra arg to FIT_MSG_TO_DEVICE, 64-bit r/w * Extra arg to FIT_MSG_TO_DEVICE, 64-bit r/w
* Used to set completion queue address (FIT_MTD_SET_COMPQ_ADDR) * Used to set completion queue address (FIT_MTD_SET_COMPQ_ADDR)
...@@ -297,7 +288,6 @@ struct fit_comp_error_info { ...@@ -297,7 +288,6 @@ struct fit_comp_error_info {
#define SOFT_TASK_HEAD_OF_QUEUE 0x01 #define SOFT_TASK_HEAD_OF_QUEUE 0x01
#define SOFT_TASK_ORDERED 0x02 #define SOFT_TASK_ORDERED 0x02
/* Version zero has the last 32 bits reserved, /* Version zero has the last 32 bits reserved,
* Version one has the last 32 bits sg_list_len_bytes; * Version one has the last 32 bits sg_list_len_bytes;
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment