Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
0839875e
Commit
0839875e
authored
Jul 17, 2008
by
Dan Williams
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
async_tx: make async_tx_test_ack a boolean routine
Signed-off-by:
Dan Williams
<
dan.j.williams@intel.com
>
parent
3dce0171
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
include/linux/dmaengine.h
include/linux/dmaengine.h
+3
-5
No files found.
include/linux/dmaengine.h
View file @
0839875e
...
...
@@ -375,16 +375,14 @@ dma_cookie_t dma_async_memcpy_pg_to_pg(struct dma_chan *chan,
void
dma_async_tx_descriptor_init
(
struct
dma_async_tx_descriptor
*
tx
,
struct
dma_chan
*
chan
);
static
inline
void
async_tx_ack
(
struct
dma_async_tx_descriptor
*
tx
)
static
inline
void
async_tx_ack
(
struct
dma_async_tx_descriptor
*
tx
)
{
tx
->
flags
|=
DMA_CTRL_ACK
;
}
static
inline
int
async_tx_test_ack
(
struct
dma_async_tx_descriptor
*
tx
)
static
inline
bool
async_tx_test_ack
(
struct
dma_async_tx_descriptor
*
tx
)
{
return
tx
->
flags
&
DMA_CTRL_ACK
;
return
(
tx
->
flags
&
DMA_CTRL_ACK
)
==
DMA_CTRL_ACK
;
}
#define first_dma_cap(mask) __first_dma_cap(&(mask))
...
...
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