Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3f25f79 authored by Gilad Ben-Yossef's avatar Gilad Ben-Yossef Committed by Greg Kroah-Hartman
Browse files

staging: ccree: fix white space style errors



Fix checkpatch reported white space style violations
in cc_hw_queue_defs.h

Signed-off-by: default avatarGilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8ca57f5c
Loading
Loading
Loading
Loading
+38 −44
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@
*				DEFINITIONS
******************************************************************************/


/* Dma AXI Secure bit */
#define	AXI_SECURE	0
#define AXI_NOT_SECURE	1
@@ -130,7 +129,6 @@ enum cc_aes_mac_selector {
#define HW_KEY_MASK_CIPHER_DO	  0x3
#define HW_KEY_SHIFT_CIPHER_CFG2  2


/* HwCryptoKey[1:0] is mapped to cipher_do[1:0] */
/* HwCryptoKey[2:3] is mapped to cipher_config2[1:0] */
enum cc_hw_crypto_key {
@@ -191,7 +189,6 @@ enum cc_hw_des_key_size {
		CC_REG_FLD_SET(CRY_KERNEL, DSCRPTR_QUEUE_WORD4, ACK_NEEDED, (pDesc)->word[4], 1);	\
	} while (0)


#define MSB64(_addr) (sizeof(_addr) == 4 ? 0 : ((_addr) >> 32) & U16_MAX)

/*!
@@ -212,7 +209,6 @@ enum cc_hw_des_key_size {
		CC_REG_FLD_SET(CRY_KERNEL, DSCRPTR_QUEUE_WORD1, NS_BIT, (pDesc)->word[1], (axiNs));				\
	} while (0)


/*!
 * This macro sets the DIN field of a HW descriptors to NO DMA mode. Used for NOP descriptor, register patches and
 * other special modes
@@ -388,7 +384,6 @@ enum cc_hw_des_key_size {
		CC_REG_FLD_SET(CRY_KERNEL, DSCRPTR_QUEUE_WORD3, DOUT_SIZE, (pDesc)->word[3], (doutSize));		\
	} while (0)


/*!
 * This macro sets the data unit size for XEX mode in data_out_addr[15:0]
 *
@@ -545,5 +540,4 @@ enum cc_hw_des_key_size {
	} while (0)



#endif /*__CC_HW_QUEUE_DEFS_H__*/