drivers/crypto/qce/regs-v5.h

Source file repositories/reference/linux-study-clean/drivers/crypto/qce/regs-v5.h

File Facts

System
Linux kernel
Corpus path
drivers/crypto/qce/regs-v5.h
Extension
.h
Size
9332 bytes
Lines
327
Domain
Driver Families
Bucket
drivers/crypto
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _REGS_V5_H_
#define _REGS_V5_H_

#include <linux/bitops.h>

#define REG_VERSION			0x000
#define REG_STATUS			0x100
#define REG_STATUS2			0x104
#define REG_ENGINES_AVAIL		0x108
#define REG_FIFO_SIZES			0x10c
#define REG_SEG_SIZE			0x110
#define REG_GOPROC			0x120
#define REG_ENCR_SEG_CFG		0x200
#define REG_ENCR_SEG_SIZE		0x204
#define REG_ENCR_SEG_START		0x208
#define REG_CNTR0_IV0			0x20c
#define REG_CNTR1_IV1			0x210
#define REG_CNTR2_IV2			0x214
#define REG_CNTR3_IV3			0x218
#define REG_CNTR_MASK			0x21C
#define REG_ENCR_CCM_INT_CNTR0		0x220
#define REG_ENCR_CCM_INT_CNTR1		0x224
#define REG_ENCR_CCM_INT_CNTR2		0x228
#define REG_ENCR_CCM_INT_CNTR3		0x22c
#define REG_ENCR_XTS_DU_SIZE		0x230
#define REG_CNTR_MASK2			0x234
#define REG_CNTR_MASK1			0x238
#define REG_CNTR_MASK0			0x23c
#define REG_AUTH_SEG_CFG		0x300
#define REG_AUTH_SEG_SIZE		0x304
#define REG_AUTH_SEG_START		0x308
#define REG_AUTH_IV0			0x310
#define REG_AUTH_IV1			0x314
#define REG_AUTH_IV2			0x318
#define REG_AUTH_IV3			0x31c
#define REG_AUTH_IV4			0x320
#define REG_AUTH_IV5			0x324
#define REG_AUTH_IV6			0x328
#define REG_AUTH_IV7			0x32c
#define REG_AUTH_IV8			0x330
#define REG_AUTH_IV9			0x334
#define REG_AUTH_IV10			0x338
#define REG_AUTH_IV11			0x33c
#define REG_AUTH_IV12			0x340
#define REG_AUTH_IV13			0x344
#define REG_AUTH_IV14			0x348
#define REG_AUTH_IV15			0x34c
#define REG_AUTH_INFO_NONCE0		0x350
#define REG_AUTH_INFO_NONCE1		0x354
#define REG_AUTH_INFO_NONCE2		0x358
#define REG_AUTH_INFO_NONCE3		0x35c
#define REG_AUTH_BYTECNT0		0x390
#define REG_AUTH_BYTECNT1		0x394
#define REG_AUTH_BYTECNT2		0x398
#define REG_AUTH_BYTECNT3		0x39c
#define REG_AUTH_EXP_MAC0		0x3a0
#define REG_AUTH_EXP_MAC1		0x3a4
#define REG_AUTH_EXP_MAC2		0x3a8
#define REG_AUTH_EXP_MAC3		0x3ac
#define REG_AUTH_EXP_MAC4		0x3b0
#define REG_AUTH_EXP_MAC5		0x3b4
#define REG_AUTH_EXP_MAC6		0x3b8
#define REG_AUTH_EXP_MAC7		0x3bc
#define REG_CONFIG			0x400
#define REG_GOPROC_QC_KEY		0x1000
#define REG_GOPROC_OEM_KEY		0x2000
#define REG_ENCR_KEY0			0x3000
#define REG_ENCR_KEY1			0x3004
#define REG_ENCR_KEY2			0x3008
#define REG_ENCR_KEY3			0x300c
#define REG_ENCR_KEY4			0x3010
#define REG_ENCR_KEY5			0x3014
#define REG_ENCR_KEY6			0x3018
#define REG_ENCR_KEY7			0x301c
#define REG_ENCR_XTS_KEY0		0x3020
#define REG_ENCR_XTS_KEY1		0x3024
#define REG_ENCR_XTS_KEY2		0x3028
#define REG_ENCR_XTS_KEY3		0x302c
#define REG_ENCR_XTS_KEY4		0x3030
#define REG_ENCR_XTS_KEY5		0x3034
#define REG_ENCR_XTS_KEY6		0x3038
#define REG_ENCR_XTS_KEY7		0x303c
#define REG_AUTH_KEY0			0x3040
#define REG_AUTH_KEY1			0x3044
#define REG_AUTH_KEY2			0x3048
#define REG_AUTH_KEY3			0x304c
#define REG_AUTH_KEY4			0x3050
#define REG_AUTH_KEY5			0x3054
#define REG_AUTH_KEY6			0x3058
#define REG_AUTH_KEY7			0x305c

Annotation

Implementation Notes