Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DIO 5ch TTL a
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC DIO 5ch TTL a
Commits
6f8ac345
Commit
6f8ac345
authored
May 05, 2020
by
Jorge Machado
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add wr-dio-reg.c file to allow access to both DIO versions
parent
a1da3b7e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
651 deletions
+50
-651
wr-dio-regs.c
sw/kernel/hw/wr-dio-regs.c
+18
-0
wr-dio-regs.h
sw/kernel/hw/wr-dio-regs.h
+32
-651
No files found.
sw/kernel/hw/wr-dio-regs.c
0 → 100644
View file @
6f8ac345
#include "wr-dio-regs.h"
struct
regmap
*
get_regmap
(
unsigned
int
ver
)
{
if
(
ver
==
0
)
return
regmap_v1
;
else
return
regmap_v2
;
}
struct
regmap_common
get_regmap_common
(
unsigned
int
ver
)
{
if
(
ver
==
0
)
return
regmap_common_v1
;
else
return
regmap_common_v2
;
}
\ No newline at end of file
sw/kernel/hw/wr-dio-regs.h
View file @
6f8ac345
This diff is collapsed.
Click to expand it.
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