Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
d99adea7
Commit
d99adea7
authored
Oct 18, 2005
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: OMAP: Add more RNG registers
Add more RNG registers to allow developing common Linux RNG interface
parent
4bf466c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
7 deletions
+21
-7
drivers/char/omap-rng.c
drivers/char/omap-rng.c
+21
-7
No files found.
drivers/char/omap-rng.c
View file @
d99adea7
...
@@ -26,10 +26,24 @@
...
@@ -26,10 +26,24 @@
#if defined (CONFIG_ARCH_OMAP24XX)
#if defined (CONFIG_ARCH_OMAP24XX)
#define RNG_BASE 0x480A0000
#define RNG_BASE 0x480A0000
#endif
#endif
#define RNG_OUT_REG 0x00
#define RNG_STAT_REG 0x04
#define RNG_OUT_REG 0x00
/* Output register */
#define RNG_REV_REG 0x3c
#define RNG_STAT_REG 0x04
/* Status register
#define RNG_MASK_REG 0x40
[0] = STAT_BUSY */
#define RNG_ALARM_REG 0x24
/* Alarm register
[7:0] = ALARM_COUNTER */
#define RNG_CONFIG_REG 0x28
/* Configuration register
[11:6] = RESET_COUNT
[5:3] = RING2_DELAY
[2:0] = RING1_DELAY */
#define RNG_REV_REG 0x3c
/* Revision register
[7:0] = REV_NB */
#define RNG_MASK_REG 0x40
/* Mask and reset register
[2] = IT_EN
[1] = SOFTRESET
[0] = AUTOIDLE */
#define RNG_SYSSTATUS 0x44
/* System status
[0] = RESETDONE */
#define ENTROPY_WORD_COUNT 128
#define ENTROPY_WORD_COUNT 128
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment