Commit eb090473 authored by Jesper Nilsson's avatar Jesper Nilsson

CRIS v32: Correct spelling of bandwidth in function name.

parent 9f68ff9e
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* arbiter and sets up arbiter breakpoints. * arbiter and sets up arbiter breakpoints.
* *
* The algorithm first assigns slots to the clients that has specified * The algorithm first assigns slots to the clients that has specified
* bandwith (e.g. ethernet) and then the remaining slots are divided * bandwidth (e.g. ethernet) and then the remaining slots are divided
* on all the active clients. * on all the active clients.
* *
* Copyright (c) 2004-2007 Axis Communications AB. * Copyright (c) 2004-2007 Axis Communications AB.
...@@ -282,7 +282,7 @@ static void crisv32_arbiter_init(void) ...@@ -282,7 +282,7 @@ static void crisv32_arbiter_init(void)
REG_WR_INT(marb_bar, regi_marb_bar, rw_l2cache_burst, 3); 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_bandwidth(int client, int region,
unsigned long bandwidth) unsigned long bandwidth)
{ {
int i; int i;
...@@ -324,7 +324,7 @@ int crisv32_arbiter_allocate_bandwith(int client, int region, ...@@ -324,7 +324,7 @@ int crisv32_arbiter_allocate_bandwith(int client, int region,
/* Propagate allocation from foo to bar */ /* Propagate allocation from foo to bar */
if (arbiter == 0) if (arbiter == 0)
crisv32_arbiter_allocate_bandwith(8 << 16, crisv32_arbiter_allocate_bandwidth(8 << 16,
EXT_REGION, bandwidth); EXT_REGION, bandwidth);
return 0; return 0;
} }
......
...@@ -24,7 +24,7 @@ int crisv32_request_dma(unsigned int dmanr, const char *device_id, ...@@ -24,7 +24,7 @@ int crisv32_request_dma(unsigned int dmanr, const char *device_id,
reg_clkgen_rw_clk_ctrl clk_ctrl; reg_clkgen_rw_clk_ctrl clk_ctrl;
reg_strmux_rw_cfg strmux_cfg; reg_strmux_rw_cfg strmux_cfg;
if (crisv32_arbiter_allocate_bandwith(dmanr, if (crisv32_arbiter_allocate_bandwidth(dmanr,
options & DMA_INT_MEM ? INT_REGION : EXT_REGION, options & DMA_INT_MEM ? INT_REGION : EXT_REGION,
bandwidth)) bandwidth))
return -ENOMEM; return -ENOMEM;
......
...@@ -24,7 +24,7 @@ enum { ...@@ -24,7 +24,7 @@ enum {
#define MARB_CLIENTS(foo_cli, bar_cli) (((bar_cli) << 16) | (foo_cli)) #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_bandwidth(int client, int region,
unsigned long bandwidth); unsigned long bandwidth);
int crisv32_arbiter_watch(unsigned long start, unsigned long size, int crisv32_arbiter_watch(unsigned long start, unsigned long size,
unsigned long clients, unsigned long accesses, unsigned long clients, unsigned long accesses,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment