Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
7c836bc7
Commit
7c836bc7
authored
Jun 18, 2012
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmaengine: omap: add support for setting fi
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
3850e22f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
drivers/dma/omap-dma.c
drivers/dma/omap-dma.c
+3
-2
No files found.
drivers/dma/omap-dma.c
View file @
7c836bc7
...
@@ -50,6 +50,7 @@ struct omap_desc {
...
@@ -50,6 +50,7 @@ struct omap_desc {
enum
dma_transfer_direction
dir
;
enum
dma_transfer_direction
dir
;
dma_addr_t
dev_addr
;
dma_addr_t
dev_addr
;
int16_t
fi
;
/* for OMAP_DMA_SYNC_PACKET */
uint8_t
es
;
/* OMAP_DMA_DATA_TYPE_xxx */
uint8_t
es
;
/* OMAP_DMA_DATA_TYPE_xxx */
uint8_t
sync_mode
;
/* OMAP_DMA_SYNC_xxx */
uint8_t
sync_mode
;
/* OMAP_DMA_SYNC_xxx */
uint8_t
sync_type
;
/* OMAP_DMA_xxx_SYNC* */
uint8_t
sync_type
;
/* OMAP_DMA_xxx_SYNC* */
...
@@ -120,10 +121,10 @@ static void omap_dma_start_desc(struct omap_chan *c)
...
@@ -120,10 +121,10 @@ static void omap_dma_start_desc(struct omap_chan *c)
if
(
d
->
dir
==
DMA_DEV_TO_MEM
)
if
(
d
->
dir
==
DMA_DEV_TO_MEM
)
omap_set_dma_src_params
(
c
->
dma_ch
,
d
->
periph_port
,
omap_set_dma_src_params
(
c
->
dma_ch
,
d
->
periph_port
,
OMAP_DMA_AMODE_CONSTANT
,
d
->
dev_addr
,
0
,
0
);
OMAP_DMA_AMODE_CONSTANT
,
d
->
dev_addr
,
0
,
d
->
fi
);
else
else
omap_set_dma_dest_params
(
c
->
dma_ch
,
d
->
periph_port
,
omap_set_dma_dest_params
(
c
->
dma_ch
,
d
->
periph_port
,
OMAP_DMA_AMODE_CONSTANT
,
d
->
dev_addr
,
0
,
0
);
OMAP_DMA_AMODE_CONSTANT
,
d
->
dev_addr
,
0
,
d
->
fi
);
omap_dma_start_sg
(
c
,
d
,
0
);
omap_dma_start_sg
(
c
,
d
,
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