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
nexedi
linux
Commits
eb090473
Commit
eb090473
authored
Feb 08, 2008
by
Jesper Nilsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CRIS v32: Correct spelling of bandwidth in function name.
parent
9f68ff9e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
arch/cris/arch-v32/mach-a3/arbiter.c
arch/cris/arch-v32/mach-a3/arbiter.c
+3
-3
arch/cris/arch-v32/mach-a3/dma.c
arch/cris/arch-v32/mach-a3/dma.c
+1
-1
include/asm-cris/arch-v32/mach-a3/arbiter.h
include/asm-cris/arch-v32/mach-a3/arbiter.h
+1
-1
No files found.
arch/cris/arch-v32/mach-a3/arbiter.c
View file @
eb090473
...
...
@@ -3,7 +3,7 @@
* arbiter and sets up arbiter breakpoints.
*
* The algorithm first assigns slots to the clients that has specified
* bandwith (e.g. ethernet) and then the remaining slots are divided
* bandwi
d
th (e.g. ethernet) and then the remaining slots are divided
* on all the active clients.
*
* Copyright (c) 2004-2007 Axis Communications AB.
...
...
@@ -282,7 +282,7 @@ static void crisv32_arbiter_init(void)
REG_WR_INT
(
marb_bar
,
regi_marb_bar
,
rw_l2cache_burst
,
3
);
}
int
crisv32_arbiter_allocate_bandwith
(
int
client
,
int
region
,
int
crisv32_arbiter_allocate_bandwi
d
th
(
int
client
,
int
region
,
unsigned
long
bandwidth
)
{
int
i
;
...
...
@@ -324,7 +324,7 @@ int crisv32_arbiter_allocate_bandwith(int client, int region,
/* Propagate allocation from foo to bar */
if
(
arbiter
==
0
)
crisv32_arbiter_allocate_bandwith
(
8
<<
16
,
crisv32_arbiter_allocate_bandwi
d
th
(
8
<<
16
,
EXT_REGION
,
bandwidth
);
return
0
;
}
...
...
arch/cris/arch-v32/mach-a3/dma.c
View file @
eb090473
...
...
@@ -24,7 +24,7 @@ int crisv32_request_dma(unsigned int dmanr, const char *device_id,
reg_clkgen_rw_clk_ctrl
clk_ctrl
;
reg_strmux_rw_cfg
strmux_cfg
;
if
(
crisv32_arbiter_allocate_bandwith
(
dmanr
,
if
(
crisv32_arbiter_allocate_bandwi
d
th
(
dmanr
,
options
&
DMA_INT_MEM
?
INT_REGION
:
EXT_REGION
,
bandwidth
))
return
-
ENOMEM
;
...
...
include/asm-cris/arch-v32/mach-a3/arbiter.h
View file @
eb090473
...
...
@@ -24,7 +24,7 @@ enum {
#define MARB_CLIENTS(foo_cli, bar_cli) (((bar_cli) << 16) | (foo_cli))
int
crisv32_arbiter_allocate_bandwith
(
int
client
,
int
region
,
int
crisv32_arbiter_allocate_bandwi
d
th
(
int
client
,
int
region
,
unsigned
long
bandwidth
);
int
crisv32_arbiter_watch
(
unsigned
long
start
,
unsigned
long
size
,
unsigned
long
clients
,
unsigned
long
accesses
,
...
...
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