Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
hash_register Struct Reference

#include <hash_alg.h>

Data Fields

u32 cr
 
u32 din
 
u32 str
 
u32 hx [8]
 
u32 padding0 [(0x080-0x02C)/sizeof(u32)]
 
u32 itcr
 
u32 itip
 
u32 itop
 
u32 padding1 [(0x0F8-0x08C)/sizeof(u32)]
 
u32 csfull
 
u32 csdatain
 
u32 csrx [HASH_CSR_COUNT]
 
u32 padding2 [(0xFE0-0x1D0)/sizeof(u32)]
 
u32 periphid0
 
u32 periphid1
 
u32 periphid2
 
u32 periphid3
 
u32 cellid0
 
u32 cellid1
 
u32 cellid2
 
u32 cellid3
 

Detailed Description

struct hash_register - Contains all registers in ux500 hash hardware. : HASH control register (0x000). : HASH data input register (0x004). : HASH start register (0x008). : HASH digest register 0..7 (0x00c-0x01C). : Reserved (0x02C). : Integration test control register (0x080). : Integration test input register (0x084). : Integration test output register (0x088). : Reserved (0x08C). : HASH context full register (0x0F8). : HASH context swap data input register (0x0FC). : HASH context swap register 0..51 (0x100-0x1CC). : Reserved (0x1D0). : HASH peripheral identification register 0 (0xFE0). : HASH peripheral identification register 1 (0xFE4). : HASH peripheral identification register 2 (0xFE8). : HASH peripheral identification register 3 (0xFEC). : HASH PCell identification register 0 (0xFF0). : HASH PCell identification register 1 (0xFF4). : HASH PCell identification register 2 (0xFF8). : HASH PCell identification register 3 (0xFFC).

The device communicates to the HASH via 32-bit-wide control registers accessible via the 32-bit width AMBA rev. 2.0 AHB Bus. Below is a structure with the registers used.

Definition at line 177 of file hash_alg.h.

Field Documentation

u32 cellid0

Definition at line 202 of file hash_alg.h.

u32 cellid1

Definition at line 203 of file hash_alg.h.

u32 cellid2

Definition at line 204 of file hash_alg.h.

u32 cellid3

Definition at line 205 of file hash_alg.h.

u32 cr

Definition at line 178 of file hash_alg.h.

u32 csdatain

Definition at line 192 of file hash_alg.h.

u32 csfull

Definition at line 191 of file hash_alg.h.

Definition at line 193 of file hash_alg.h.

u32 din

Definition at line 179 of file hash_alg.h.

u32 hx[8]

Definition at line 181 of file hash_alg.h.

u32 itcr

Definition at line 185 of file hash_alg.h.

u32 itip

Definition at line 186 of file hash_alg.h.

u32 itop

Definition at line 187 of file hash_alg.h.

u32 padding0[(0x080-0x02C)/sizeof(u32)]

Definition at line 183 of file hash_alg.h.

u32 padding1[(0x0F8-0x08C)/sizeof(u32)]

Definition at line 189 of file hash_alg.h.

u32 padding2[(0xFE0-0x1D0)/sizeof(u32)]

Definition at line 195 of file hash_alg.h.

u32 periphid0

Definition at line 197 of file hash_alg.h.

u32 periphid1

Definition at line 198 of file hash_alg.h.

u32 periphid2

Definition at line 199 of file hash_alg.h.

u32 periphid3

Definition at line 200 of file hash_alg.h.

u32 str

Definition at line 180 of file hash_alg.h.


The documentation for this struct was generated from the following file: