summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorRoberto Ragusa <devnull@localhost>2004-01-27 16:20:11 +0000
committerRoberto Ragusa <devnull@localhost>2004-01-27 16:20:11 +0000
commit37435a80f1ccdf2f045d1bb242ce92c2f725d152 (patch)
tree9d37b58ea51d26ad4f53045447a9e91d7f935bdf /linux/drivers/media
parent9ade21335f28b6fc2accd4acc7f14456641d304f (diff)
downloadmediapointer-dvb-s2-37435a80f1ccdf2f045d1bb242ce92c2f725d152.tar.gz
mediapointer-dvb-s2-37435a80f1ccdf2f045d1bb242ce92c2f725d152.tar.bz2
Renamed two functions.
Deleted spurious spaces.
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/b2c2/skystar2.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/linux/drivers/media/dvb/b2c2/skystar2.c b/linux/drivers/media/dvb/b2c2/skystar2.c
index 11474de36..c665a4e4c 100644
--- a/linux/drivers/media/dvb/b2c2/skystar2.c
+++ b/linux/drivers/media/dvb/b2c2/skystar2.c
@@ -12,7 +12,7 @@
* Misc reorganization, polishing, restyling
* Roberto Ragusa, r.ragusa at libero.it
*
- * Added hardware filtering support,
+ * Added hardware filtering support,
* Niklas Peinecke, peinecke at gdv.uni-hannover.de
*
*
@@ -501,7 +501,7 @@ static void flex_sram_read(struct adapter *adapter, u32 bank, u32 addr, u8 *buf,
}
}
-static void sram_writeChunk(struct adapter *adapter, u32 addr, u8 *buf, u16 len)
+static void sram_write_chunk(struct adapter *adapter, u32 addr, u8 *buf, u16 len)
{
u32 bank;
@@ -521,7 +521,7 @@ static void sram_writeChunk(struct adapter *adapter, u32 addr, u8 *buf, u16 len)
flex_sram_write(adapter, bank, addr & 0x7fff, buf, len);
}
-static void sram_readChunk(struct adapter *adapter, u32 addr, u8 *buf, u16 len)
+static void sram_read_chunk(struct adapter *adapter, u32 addr, u8 *buf, u16 len)
{
u32 bank;
@@ -548,14 +548,14 @@ static void sram_read(struct adapter *adapter, u32 addr, u8 *buf, u32 len)
while (len != 0) {
length = len;
- // check if the address range belongs to the same
- // 32K memory chip. If not, the data is read from
+ // check if the address range belongs to the same
+ // 32K memory chip. If not, the data is read from
// one chip at a time.
if ((addr >> 0x0f) != ((addr + len - 1) >> 0x0f)) {
length = (((addr >> 0x0f) + 1) << 0x0f) - addr;
}
- sram_readChunk(adapter, addr, buf, length);
+ sram_read_chunk(adapter, addr, buf, length);
addr = addr + length;
buf = buf + length;
@@ -570,14 +570,14 @@ static void sram_write(struct adapter *adapter, u32 addr, u8 *buf, u32 len)
while (len != 0) {
length = len;
- // check if the address range belongs to the same
+ // check if the address range belongs to the same
// 32K memory chip. If not, the data is written to
// one chip at a time.
if ((addr >> 0x0f) != ((addr + len - 1) >> 0x0f)) {
length = (((addr >> 0x0f) + 1) << 0x0f) - addr;
}
- sram_writeChunk(adapter, addr, buf, length);
+ sram_write_chunk(adapter, addr, buf, length);
addr = addr + length;
buf = buf + length;
@@ -669,7 +669,7 @@ static u32 sram_length(struct adapter *adapter)
if (adapter->dw_sram_type == 0x10000)
return 32768; // 32K
if (adapter->dw_sram_type == 0x00000)
- return 65536; // 64K
+ return 65536; // 64K
if (adapter->dw_sram_type == 0x20000)
return 131072; // 128K
@@ -683,7 +683,7 @@ static u32 sram_length(struct adapter *adapter)
FlexCop works only with one bank at a time. The bank is selected
by bits 28-29 of the 0x700 register.
-
+
bank 0 covers addresses 0x00000-0x07fff
bank 1 covers addresses 0x08000-0x0ffff
bank 2 covers addresses 0x10000-0x17fff
@@ -1313,7 +1313,7 @@ static void irq_dma_enable_disable_irq(struct adapter *adapter, u32 op)
subbuffer size in 32-bit words is stored in the first 24 bits of
register 0x004. The last 8 bits of register 0x004 contain the number
of subbuffers.
-
+
the first 30 bits of register 0x000 contain the address of the first
subbuffer. The last 2 bits contain 0, when dma1 is disabled and 1,
when dma1 is enabled.
@@ -1328,7 +1328,7 @@ static void irq_dma_enable_disable_irq(struct adapter *adapter, u32 op)
subbuffer size in 32-bit words is stored in the first 24 bits of
register 0x014. The last 8 bits of register 0x014 contain the number
of subbuffers.
-
+
the first 30 bits of register 0x010 contain the address of the first
subbuffer. The last 2 bits contain 0, when dma1 is disabled and 1,
when dma1 is enabled.
@@ -1826,7 +1826,7 @@ static void decide_how_many_hw_filters(struct adapter *adapter)
int hw_filters;
int mod_option_hw_filters;
- // FlexCop IIb & III have 6+32 hw filters
+ // FlexCop IIb & III have 6+32 hw filters
// FlexCop II has 6 hw filters, every other should have at least 6
switch (adapter->b2c2_revision) {
case 0x82: /* II */