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
d3df935e
Commit
d3df935e
authored
Aug 17, 2018
by
Vinod Koul
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/intel' into for-linus
parents
d0c993f6
bbacb8e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
drivers/dma/hsu/hsu.c
drivers/dma/hsu/hsu.c
+8
-0
drivers/dma/idma64.c
drivers/dma/idma64.c
+8
-0
No files found.
drivers/dma/hsu/hsu.c
View file @
d3df935e
...
...
@@ -413,6 +413,13 @@ static void hsu_dma_free_chan_resources(struct dma_chan *chan)
vchan_free_chan_resources
(
to_virt_chan
(
chan
));
}
static
void
hsu_dma_synchronize
(
struct
dma_chan
*
chan
)
{
struct
hsu_dma_chan
*
hsuc
=
to_hsu_dma_chan
(
chan
);
vchan_synchronize
(
&
hsuc
->
vchan
);
}
int
hsu_dma_probe
(
struct
hsu_dma_chip
*
chip
)
{
struct
hsu_dma
*
hsu
;
...
...
@@ -459,6 +466,7 @@ int hsu_dma_probe(struct hsu_dma_chip *chip)
hsu
->
dma
.
device_pause
=
hsu_dma_pause
;
hsu
->
dma
.
device_resume
=
hsu_dma_resume
;
hsu
->
dma
.
device_terminate_all
=
hsu_dma_terminate_all
;
hsu
->
dma
.
device_synchronize
=
hsu_dma_synchronize
;
hsu
->
dma
.
src_addr_widths
=
HSU_DMA_BUSWIDTHS
;
hsu
->
dma
.
dst_addr_widths
=
HSU_DMA_BUSWIDTHS
;
...
...
drivers/dma/idma64.c
View file @
d3df935e
...
...
@@ -496,6 +496,13 @@ static int idma64_terminate_all(struct dma_chan *chan)
return
0
;
}
static
void
idma64_synchronize
(
struct
dma_chan
*
chan
)
{
struct
idma64_chan
*
idma64c
=
to_idma64_chan
(
chan
);
vchan_synchronize
(
&
idma64c
->
vchan
);
}
static
int
idma64_alloc_chan_resources
(
struct
dma_chan
*
chan
)
{
struct
idma64_chan
*
idma64c
=
to_idma64_chan
(
chan
);
...
...
@@ -583,6 +590,7 @@ static int idma64_probe(struct idma64_chip *chip)
idma64
->
dma
.
device_pause
=
idma64_pause
;
idma64
->
dma
.
device_resume
=
idma64_resume
;
idma64
->
dma
.
device_terminate_all
=
idma64_terminate_all
;
idma64
->
dma
.
device_synchronize
=
idma64_synchronize
;
idma64
->
dma
.
src_addr_widths
=
IDMA64_BUSWIDTHS
;
idma64
->
dma
.
dst_addr_widths
=
IDMA64_BUSWIDTHS
;
...
...
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