Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dma_ip_drivers
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Libraries
dma_ip_drivers
Commits
a1f42f7b
Commit
a1f42f7b
authored
Jan 30, 2019
by
Karen Xie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a typo in DEBUG mode
parent
990a19dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
QDMA/linux-kernel/libqdma/qdma_regs.h
QDMA/linux-kernel/libqdma/qdma_regs.h
+2
-2
No files found.
QDMA/linux-kernel/libqdma/qdma_regs.h
View file @
a1f42f7b
...
@@ -703,10 +703,10 @@ enum ind_stm_cmd_op {
...
@@ -703,10 +703,10 @@ enum ind_stm_cmd_op {
#include "xdev.h"
#include "xdev.h"
#define __read_reg(xdev, reg_addr) (readl(xdev->regs + reg_addr))
#define __read_reg(xdev, reg_addr) (readl(xdev->regs + reg_addr))
#ifdef DEBUG
__
#ifdef DEBUG
#define __write_reg(xdev, reg_addr, val) \
#define __write_reg(xdev, reg_addr, val) \
do { \
do { \
pr_debug("%s, reg 0x%x, val 0x%x.\n", \
pr_debug("%s,
write
reg 0x%x, val 0x%x.\n", \
xdev->conf.name, reg_addr, (u32)val); \
xdev->conf.name, reg_addr, (u32)val); \
writel(val, xdev->regs + reg_addr); \
writel(val, xdev->regs + reg_addr); \
} while (0)
} while (0)
...
...
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