MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this once and for all rather than dealing with this kind of patches trickling in forever. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -17,10 +17,10 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
*
|
||||
* Description: Defines the platform resources for the SA settop.
|
||||
* Description: Defines the platform resources for the SA settop.
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
@@ -90,12 +90,12 @@ const struct register_map calliope_register_map __initconst = {
|
||||
.usb2_stbus_mess_size = {.phys = CALLIOPE_ADDR(0x9BFF04)},
|
||||
.usb2_stbus_chunk_size = {.phys = CALLIOPE_ADDR(0x9BFF08)},
|
||||
|
||||
.pcie_regs = {.phys = 0x000000}, /* -doesn't exist- */
|
||||
.pcie_regs = {.phys = 0x000000}, /* -doesn't exist- */
|
||||
.tim_ch = {.phys = CALLIOPE_ADDR(0xA02C10)},
|
||||
.tim_cl = {.phys = CALLIOPE_ADDR(0xA02C14)},
|
||||
.gpio_dout = {.phys = CALLIOPE_ADDR(0xA02c20)},
|
||||
.gpio_din = {.phys = CALLIOPE_ADDR(0xA02c24)},
|
||||
.gpio_dir = {.phys = CALLIOPE_ADDR(0xA02c2C)},
|
||||
.watchdog = {.phys = CALLIOPE_ADDR(0xA02c30)},
|
||||
.front_panel = {.phys = 0x000000}, /* -not used- */
|
||||
.front_panel = {.phys = 0x000000}, /* -not used- */
|
||||
};
|
||||
|
@@ -17,10 +17,10 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
*
|
||||
* Description: Defines the platform resources for the SA settop.
|
||||
* Description: Defines the platform resources for the SA settop.
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
|
@@ -17,7 +17,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Author: David VomLehn
|
||||
* Author: David VomLehn
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
|
@@ -17,10 +17,10 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
*
|
||||
* Description: Defines the platform resources for the SA settop.
|
||||
* Description: Defines the platform resources for the SA settop.
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Description: Defines the platform resources for Gaia-based settops.
|
||||
* Description: Defines the platform resources for Gaia-based settops.
|
||||
*
|
||||
* Copyright (C) 2005-2009 Scientific-Atlanta, Inc.
|
||||
*
|
||||
@@ -90,12 +90,12 @@ struct resource asic_resource = {
|
||||
|
||||
/*
|
||||
* Allow override of bootloader-specified model
|
||||
* Returns zero on success, a negative errno value on failure. This parameter
|
||||
* Returns zero on success, a negative errno value on failure. This parameter
|
||||
* allows overriding of the bootloader-specified model.
|
||||
*/
|
||||
static char __initdata cmdline[COMMAND_LINE_SIZE];
|
||||
|
||||
#define FORCEFAMILY_PARAM "forcefamily"
|
||||
#define FORCEFAMILY_PARAM "forcefamily"
|
||||
|
||||
/*
|
||||
* check_forcefamily - check for, and parse, forcefamily command line parameter
|
||||
@@ -486,7 +486,7 @@ static void __init pmem_setup_resource(void)
|
||||
resource->start = phys_to_dma(pmemaddr - 0x80000000);
|
||||
resource->end = resource->start + pmemlen - 1;
|
||||
|
||||
pr_info("persistent memory: start=0x%x end=0x%x\n",
|
||||
pr_info("persistent memory: start=0x%x end=0x%x\n",
|
||||
resource->start, resource->end);
|
||||
}
|
||||
}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
* Carsten Langgaard, carstenl@mips.com
|
||||
* Copyright (C) 2000, 2001, 2004 MIPS Technologies, Inc.
|
||||
* Copyright (C) 2001 Ralf Baechle
|
||||
* Portions copyright (C) 2009 Cisco Systems, Inc.
|
||||
* Portions copyright (C) 2009 Cisco Systems, Inc.
|
||||
*
|
||||
* This program is free software; you can distribute it and/or modify it
|
||||
* under the terms of the GNU General Public License (Version 2) as
|
||||
@@ -64,7 +64,7 @@ static void asic_irqdispatch(void)
|
||||
|
||||
irq = get_int();
|
||||
if (irq < 0)
|
||||
return; /* interrupt has already been cleared */
|
||||
return; /* interrupt has already been cleared */
|
||||
|
||||
do_IRQ(irq);
|
||||
}
|
||||
|
@@ -5,8 +5,8 @@
|
||||
* Modified from arch/mips/kernel/irq-rm7000.c:
|
||||
* Copyright (C) 2003 Ralf Baechle
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*/
|
||||
|
@@ -17,8 +17,8 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
@@ -153,7 +153,7 @@ struct resource non_dvr_calliope_resources[] __initdata =
|
||||
* End of Resource marker
|
||||
*/
|
||||
{
|
||||
.flags = 0,
|
||||
.flags = 0,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -260,7 +260,7 @@ struct resource non_dvr_vze_calliope_resources[] __initdata =
|
||||
* End of Resource marker
|
||||
*/
|
||||
{
|
||||
.flags = 0,
|
||||
.flags = 0,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -380,6 +380,6 @@ struct resource non_dvr_vzf_calliope_resources[] __initdata =
|
||||
* End of Resource marker
|
||||
*/
|
||||
{
|
||||
.flags = 0,
|
||||
.flags = 0,
|
||||
},
|
||||
};
|
||||
|
@@ -17,8 +17,8 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
@@ -78,7 +78,7 @@ struct resource dvr_cronus_resources[] __initdata =
|
||||
*
|
||||
* This memory area is used for allocating buffers for Video decoding
|
||||
* purposes. Allocation/De-allocation within this buffer is managed
|
||||
* by the STAVMEM driver of the STAPI. They could be Decimated
|
||||
* by the STAVMEM driver of the STAPI. They could be Decimated
|
||||
* Picture Buffers, Intermediate Buffers, as deemed necessary for
|
||||
* video decoding purposes, for any video decoders on Zeus.
|
||||
*/
|
||||
@@ -185,7 +185,7 @@ struct resource dvr_cronus_resources[] __initdata =
|
||||
* End of Resource marker
|
||||
*/
|
||||
{
|
||||
.flags = 0,
|
||||
.flags = 0,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -241,7 +241,7 @@ struct resource non_dvr_cronus_resources[] __initdata =
|
||||
*
|
||||
* This memory area is used for allocating buffers for Video decoding
|
||||
* purposes. Allocation/De-allocation within this buffer is managed
|
||||
* by the STAVMEM driver of the STAPI. They could be Decimated
|
||||
* by the STAVMEM driver of the STAPI. They could be Decimated
|
||||
* Picture Buffers, Intermediate Buffers, as deemed necessary for
|
||||
* video decoding purposes, for any video decoders on Zeus.
|
||||
*/
|
||||
@@ -335,6 +335,6 @@ struct resource non_dvr_cronus_resources[] __initdata =
|
||||
* End of Resource marker
|
||||
*/
|
||||
{
|
||||
.flags = 0,
|
||||
.flags = 0,
|
||||
},
|
||||
};
|
||||
|
@@ -17,8 +17,8 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
@@ -65,7 +65,7 @@ struct resource non_dvr_cronuslite_resources[] __initdata =
|
||||
*
|
||||
* This memory area is used for allocating buffers for Video decoding
|
||||
* purposes. Allocation/De-allocation within this buffer is managed
|
||||
* by the STAVMEM driver of the STAPI. They could be Decimated
|
||||
* by the STAVMEM driver of the STAPI. They could be Decimated
|
||||
* Picture Buffers, Intermediate Buffers, as deemed necessary for
|
||||
* video decoding purposes, for any video decoders on Zeus.
|
||||
*/
|
||||
@@ -169,6 +169,6 @@ struct resource non_dvr_cronuslite_resources[] __initdata =
|
||||
* End of Resource marker
|
||||
*/
|
||||
{
|
||||
.flags = 0,
|
||||
.flags = 0,
|
||||
},
|
||||
};
|
||||
|
@@ -17,7 +17,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Author: David VomLehn
|
||||
* Author: David VomLehn
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
@@ -33,22 +33,22 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "ST231aImage", /* Delta-Mu 1 image and ram */
|
||||
.start = 0x24000000,
|
||||
.end = 0x241FFFFF, /* 2MiB */
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "ST231aImage", /* Delta-Mu 1 image and ram */
|
||||
.start = 0x24000000,
|
||||
.end = 0x241FFFFF, /* 2MiB */
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "ST231aMonitor", /* 8KiB block ST231a monitor */
|
||||
.start = 0x24200000,
|
||||
.end = 0x24201FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "ST231aMonitor", /* 8KiB block ST231a monitor */
|
||||
.start = 0x24200000,
|
||||
.end = 0x24201FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "MediaMemory1",
|
||||
.start = 0x24202000,
|
||||
.end = 0x25FFFFFF, /*~29.9MiB (32MiB - (2MiB + 8KiB)) */
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "MediaMemory1",
|
||||
.start = 0x24202000,
|
||||
.end = 0x25FFFFFF, /*~29.9MiB (32MiB - (2MiB + 8KiB)) */
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -56,22 +56,22 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "ST231bImage", /* Delta-Mu 2 image and ram */
|
||||
.start = 0x60000000,
|
||||
.end = 0x601FFFFF, /* 2MiB */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "ST231bImage", /* Delta-Mu 2 image and ram */
|
||||
.start = 0x60000000,
|
||||
.end = 0x601FFFFF, /* 2MiB */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
{
|
||||
.name = "ST231bMonitor", /* 8KiB block ST231b monitor */
|
||||
.start = 0x60200000,
|
||||
.end = 0x60201FFF,
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "ST231bMonitor", /* 8KiB block ST231b monitor */
|
||||
.start = 0x60200000,
|
||||
.end = 0x60201FFF,
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
{
|
||||
.name = "MediaMemory2",
|
||||
.start = 0x60202000,
|
||||
.end = 0x61FFFFFF, /*~29.9MiB (32MiB - (2MiB + 8KiB)) */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "MediaMemory2",
|
||||
.start = 0x60202000,
|
||||
.end = 0x61FFFFFF, /*~29.9MiB (32MiB - (2MiB + 8KiB)) */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -87,28 +87,28 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "DSP_Image_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x000FFFFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "DSP_Image_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x000FFFFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "ADSC_CPU_PCM_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00009FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "ADSC_CPU_PCM_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00009FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "ADSC_AUX_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00003FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "ADSC_AUX_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00003FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "ADSC_Main_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00003FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "ADSC_Main_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00003FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -119,16 +119,16 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
* Arbitrary Based Buffers:
|
||||
* This memory area is used for allocating buffers for Video decoding
|
||||
* purposes. Allocation/De-allocation within this buffer is managed
|
||||
* by the STAVMEM driver of the STAPI. They could be Decimated
|
||||
* by the STAVMEM driver of the STAPI. They could be Decimated
|
||||
* Picture Buffers, Intermediate Buffers, as deemed necessary for
|
||||
* video decoding purposes, for any video decoders on Zeus.
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "AVMEMPartition0",
|
||||
.start = 0x63580000,
|
||||
.end = 0x64180000 - 1, /* 12 MB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "AVMEMPartition0",
|
||||
.start = 0x63580000,
|
||||
.end = 0x64180000 - 1, /* 12 MB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -141,10 +141,10 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "Docsis",
|
||||
.start = 0x62000000,
|
||||
.end = 0x62700000 - 1, /* 7 MB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "Docsis",
|
||||
.start = 0x62000000,
|
||||
.end = 0x62700000 - 1, /* 7 MB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -157,10 +157,10 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "GraphicsHeap",
|
||||
.start = 0x62700000,
|
||||
.end = 0x63500000 - 1, /* 14 MB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "GraphicsHeap",
|
||||
.start = 0x62700000,
|
||||
.end = 0x63500000 - 1, /* 14 MB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -173,10 +173,10 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "MulticomSHM",
|
||||
.start = 0x26000000,
|
||||
.end = 0x26020000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "MulticomSHM",
|
||||
.start = 0x26000000,
|
||||
.end = 0x26020000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -189,10 +189,10 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "BMM_Buffer",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00280000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "BMM_Buffer",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00280000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -205,10 +205,10 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "DisplayBins0",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00000FFF, /* 4 KB total */
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "DisplayBins0",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00000FFF, /* 4 KB total */
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -221,10 +221,10 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "DisplayBins1",
|
||||
.start = 0x64AD4000,
|
||||
.end = 0x64AD5000 - 1, /* 4 KB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "DisplayBins1",
|
||||
.start = 0x64AD4000,
|
||||
.end = 0x64AD5000 - 1, /* 4 KB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -237,11 +237,11 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "ITFS",
|
||||
.start = 0x64180000,
|
||||
.name = "ITFS",
|
||||
.start = 0x64180000,
|
||||
/* 815,104 bytes each for 2 ITFS partitions. */
|
||||
.end = 0x6430DFFF,
|
||||
.flags = IORESOURCE_IO,
|
||||
.end = 0x6430DFFF,
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -254,17 +254,17 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "AvfsDmaMem",
|
||||
.start = 0x6430E000,
|
||||
.name = "AvfsDmaMem",
|
||||
.start = 0x6430E000,
|
||||
/* (945K * 8) = (128K *3) 5 playbacks / 3 server */
|
||||
.end = 0x64AD0000 - 1,
|
||||
.flags = IORESOURCE_IO,
|
||||
.end = 0x64AD0000 - 1,
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
{
|
||||
.name = "AvfsFileSys",
|
||||
.start = 0x64AD0000,
|
||||
.end = 0x64AD1000 - 1, /* 4K */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "AvfsFileSys",
|
||||
.start = 0x64AD0000,
|
||||
.end = 0x64AD1000 - 1, /* 4K */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -277,10 +277,10 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "SmartCardInfo",
|
||||
.start = 0x64AD1000,
|
||||
.end = 0x64AD3800 - 1,
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "SmartCardInfo",
|
||||
.start = 0x64AD1000,
|
||||
.end = 0x64AD3800 - 1,
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -290,22 +290,22 @@ struct resource dvr_gaia_resources[] __initdata = {
|
||||
* NP IPC - must be video bank 2
|
||||
*/
|
||||
{
|
||||
.name = "NP_Reset_Vector",
|
||||
.start = 0x27c00000,
|
||||
.end = 0x27c01000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "NP_Reset_Vector",
|
||||
.start = 0x27c00000,
|
||||
.end = 0x27c01000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "NP_Image",
|
||||
.start = 0x27020000,
|
||||
.end = 0x27060000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "NP_Image",
|
||||
.start = 0x27020000,
|
||||
.end = 0x27060000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "NP_IPC",
|
||||
.start = 0x63500000,
|
||||
.end = 0x63580000 - 1,
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "NP_IPC",
|
||||
.start = 0x63500000,
|
||||
.end = 0x63580000 - 1,
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
* Add other resources here
|
||||
@@ -323,22 +323,22 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "ST231aImage", /* Delta-Mu 1 image and ram */
|
||||
.start = 0x24000000,
|
||||
.end = 0x241FFFFF, /* 2MiB */
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "ST231aImage", /* Delta-Mu 1 image and ram */
|
||||
.start = 0x24000000,
|
||||
.end = 0x241FFFFF, /* 2MiB */
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "ST231aMonitor", /* 8KiB block ST231a monitor */
|
||||
.start = 0x24200000,
|
||||
.end = 0x24201FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "ST231aMonitor", /* 8KiB block ST231a monitor */
|
||||
.start = 0x24200000,
|
||||
.end = 0x24201FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "MediaMemory1",
|
||||
.start = 0x24202000,
|
||||
.end = 0x25FFFFFF, /*~29.9MiB (32MiB - (2MiB + 8KiB)) */
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "MediaMemory1",
|
||||
.start = 0x24202000,
|
||||
.end = 0x25FFFFFF, /*~29.9MiB (32MiB - (2MiB + 8KiB)) */
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -346,22 +346,22 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "ST231bImage", /* Delta-Mu 2 image and ram */
|
||||
.start = 0x60000000,
|
||||
.end = 0x601FFFFF, /* 2MiB */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "ST231bImage", /* Delta-Mu 2 image and ram */
|
||||
.start = 0x60000000,
|
||||
.end = 0x601FFFFF, /* 2MiB */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
{
|
||||
.name = "ST231bMonitor", /* 8KiB block ST231b monitor */
|
||||
.start = 0x60200000,
|
||||
.end = 0x60201FFF,
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "ST231bMonitor", /* 8KiB block ST231b monitor */
|
||||
.start = 0x60200000,
|
||||
.end = 0x60201FFF,
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
{
|
||||
.name = "MediaMemory2",
|
||||
.start = 0x60202000,
|
||||
.end = 0x61FFFFFF, /*~29.9MiB (32MiB - (2MiB + 8KiB)) */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "MediaMemory2",
|
||||
.start = 0x60202000,
|
||||
.end = 0x61FFFFFF, /*~29.9MiB (32MiB - (2MiB + 8KiB)) */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -377,28 +377,28 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "DSP_Image_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x000FFFFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "DSP_Image_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x000FFFFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "ADSC_CPU_PCM_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00009FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "ADSC_CPU_PCM_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00009FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "ADSC_AUX_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00003FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "ADSC_AUX_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00003FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "ADSC_Main_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00003FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "ADSC_Main_Buff",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00003FFF,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -409,16 +409,16 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
* Arbitrary Based Buffers:
|
||||
* This memory area is used for allocating buffers for Video decoding
|
||||
* purposes. Allocation/De-allocation within this buffer is managed
|
||||
* by the STAVMEM driver of the STAPI. They could be Decimated
|
||||
* by the STAVMEM driver of the STAPI. They could be Decimated
|
||||
* Picture Buffers, Intermediate Buffers, as deemed necessary for
|
||||
* video decoding purposes, for any video decoders on Zeus.
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "AVMEMPartition0",
|
||||
.start = 0x63580000,
|
||||
.end = 0x64180000 - 1, /* 12 MB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "AVMEMPartition0",
|
||||
.start = 0x63580000,
|
||||
.end = 0x64180000 - 1, /* 12 MB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -431,10 +431,10 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "Docsis",
|
||||
.start = 0x62000000,
|
||||
.end = 0x62700000 - 1, /* 7 MB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "Docsis",
|
||||
.start = 0x62000000,
|
||||
.end = 0x62700000 - 1, /* 7 MB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -447,10 +447,10 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "GraphicsHeap",
|
||||
.start = 0x62700000,
|
||||
.end = 0x63500000 - 1, /* 14 MB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "GraphicsHeap",
|
||||
.start = 0x62700000,
|
||||
.end = 0x63500000 - 1, /* 14 MB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -463,10 +463,10 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "MulticomSHM",
|
||||
.start = 0x26000000,
|
||||
.end = 0x26020000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "MulticomSHM",
|
||||
.start = 0x26000000,
|
||||
.end = 0x26020000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -479,10 +479,10 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "BMM_Buffer",
|
||||
.start = 0x00000000,
|
||||
.end = 0x000AA000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "BMM_Buffer",
|
||||
.start = 0x00000000,
|
||||
.end = 0x000AA000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -495,10 +495,10 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "DisplayBins0",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00000FFF, /* 4 KB total */
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "DisplayBins0",
|
||||
.start = 0x00000000,
|
||||
.end = 0x00000FFF, /* 4 KB total */
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -511,10 +511,10 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "DisplayBins1",
|
||||
.start = 0x64AD4000,
|
||||
.end = 0x64AD5000 - 1, /* 4 KB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "DisplayBins1",
|
||||
.start = 0x64AD4000,
|
||||
.end = 0x64AD5000 - 1, /* 4 KB total */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -523,10 +523,10 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "AvfsDmaMem",
|
||||
.start = 0x6430E000,
|
||||
.end = 0x645D2C00 - 1, /* 945K * 3 for playback */
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "AvfsDmaMem",
|
||||
.start = 0x6430E000,
|
||||
.end = 0x645D2C00 - 1, /* 945K * 3 for playback */
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -539,10 +539,10 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "DiagPersistentMemory",
|
||||
.start = 0x00000000,
|
||||
.end = 0x10000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "DiagPersistentMemory",
|
||||
.start = 0x00000000,
|
||||
.end = 0x10000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -555,10 +555,10 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
*
|
||||
*/
|
||||
{
|
||||
.name = "SmartCardInfo",
|
||||
.start = 0x64AD1000,
|
||||
.end = 0x64AD3800 - 1,
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "SmartCardInfo",
|
||||
.start = 0x64AD1000,
|
||||
.end = 0x64AD3800 - 1,
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
/*
|
||||
*
|
||||
@@ -568,22 +568,22 @@ struct resource non_dvr_gaia_resources[] __initdata = {
|
||||
* NP IPC - must be video bank 2
|
||||
*/
|
||||
{
|
||||
.name = "NP_Reset_Vector",
|
||||
.start = 0x27c00000,
|
||||
.end = 0x27c01000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "NP_Reset_Vector",
|
||||
.start = 0x27c00000,
|
||||
.end = 0x27c01000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "NP_Image",
|
||||
.start = 0x27020000,
|
||||
.end = 0x27060000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "NP_Image",
|
||||
.start = 0x27020000,
|
||||
.end = 0x27060000 - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.name = "NP_IPC",
|
||||
.start = 0x63500000,
|
||||
.end = 0x63580000 - 1,
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "NP_IPC",
|
||||
.start = 0x63500000,
|
||||
.end = 0x63580000 - 1,
|
||||
.flags = IORESOURCE_IO,
|
||||
},
|
||||
{ },
|
||||
};
|
||||
|
@@ -17,8 +17,8 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
@@ -78,7 +78,7 @@ struct resource dvr_zeus_resources[] __initdata =
|
||||
*
|
||||
* This memory area is used for allocating buffers for Video decoding
|
||||
* purposes. Allocation/De-allocation within this buffer is managed
|
||||
* by the STAVMEM driver of the STAPI. They could be Decimated
|
||||
* by the STAVMEM driver of the STAPI. They could be Decimated
|
||||
* Picture Buffers, Intermediate Buffers, as deemed necessary for
|
||||
* video decoding purposes, for any video decoders on Zeus.
|
||||
*/
|
||||
@@ -175,7 +175,7 @@ struct resource dvr_zeus_resources[] __initdata =
|
||||
* End of Resource marker
|
||||
*/
|
||||
{
|
||||
.flags = 0,
|
||||
.flags = 0,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -299,6 +299,6 @@ struct resource non_dvr_zeus_resources[] __initdata =
|
||||
* End of Resource marker
|
||||
*/
|
||||
{
|
||||
.flags = 0,
|
||||
.flags = 0,
|
||||
},
|
||||
};
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 1999, 2000, 2004, 2005 MIPS Technologies, Inc.
|
||||
* Copyright (C) 1999, 2000, 2004, 2005 MIPS Technologies, Inc.
|
||||
* All rights reserved.
|
||||
* Authors: Carsten Langgaard <carstenl@mips.com>
|
||||
* Maciej W. Rozycki <macro@mips.com>
|
||||
|
@@ -19,9 +19,9 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Author: David VomLehn <dvomlehn@cisco.com>
|
||||
* Author: David VomLehn <dvomlehn@cisco.com>
|
||||
*
|
||||
* Description: Defines the platform resources for the SA settop.
|
||||
* Description: Defines the platform resources for the SA settop.
|
||||
*
|
||||
* NOTE: The bootloader allocates persistent memory at an address which is
|
||||
* 16 MiB below the end of the highest address in KSEG0. All fixed
|
||||
|
@@ -60,7 +60,7 @@ unsigned long ptv_memsize;
|
||||
* struct low_mem_reserved - Items in low memory that are reserved
|
||||
* @start: Physical address of item
|
||||
* @size: Size, in bytes, of this item
|
||||
* @is_aliased: True if this is RAM aliased from another location. If false,
|
||||
* @is_aliased: True if this is RAM aliased from another location. If false,
|
||||
* it is something other than aliased RAM and the RAM in the
|
||||
* unaliased address is still visible outside of low memory.
|
||||
*/
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* powertv-usb.c
|
||||
*
|
||||
* Description: ASIC-specific USB device setup and shutdown
|
||||
* Description: ASIC-specific USB device setup and shutdown
|
||||
*
|
||||
* Copyright (C) 2005-2009 Scientific-Atlanta, Inc.
|
||||
* Copyright (C) 2009 Cisco Systems, Inc.
|
||||
@@ -20,8 +20,8 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
* Author: Ken Eppinett
|
||||
* David Schleef <ds@schleef.org>
|
||||
*
|
||||
* NOTE: The bootloader allocates persistent memory at an address which is
|
||||
* 16 MiB below the end of the highest address in KSEG0. All fixed
|
||||
@@ -70,15 +70,15 @@
|
||||
#define MCC2_GMII_RX2_CLOCK_SELECT (1 << 16)
|
||||
|
||||
#define ETHER_CLK_CONFIG (MCC2_GMII_GCLK_TO_PAD | \
|
||||
MCC2_ETHER125_0_CLOCK_SELECT | \
|
||||
MCC2_ETHER125_0_CLOCK_SELECT | \
|
||||
MCC2_RMII_0_CLOCK_SELECT | \
|
||||
MCC2_GMII_TX0_CLOCK_SELECT | \
|
||||
MCC2_GMII_RX0_CLOCK_SELECT | \
|
||||
MCC2_ETHER125_1_CLOCK_SELECT | \
|
||||
MCC2_ETHER125_1_CLOCK_SELECT | \
|
||||
MCC2_RMII_1_CLOCK_SELECT | \
|
||||
MCC2_GMII_TX1_CLOCK_SELECT | \
|
||||
MCC2_GMII_RX1_CLOCK_SELECT | \
|
||||
MCC2_ETHER125_2_CLOCK_SELECT | \
|
||||
MCC2_ETHER125_2_CLOCK_SELECT | \
|
||||
MCC2_RMII_2_CLOCK_SELECT | \
|
||||
MCC2_GMII_TX2_CLOCK_SELECT | \
|
||||
MCC2_GMII_RX2_CLOCK_SELECT)
|
||||
@@ -98,9 +98,9 @@
|
||||
|
||||
#define QAM_FS_DISABLE_DIVIDE_BY_3 (1 << 5)
|
||||
#define QAM_FS_ENABLE_PROGRAM (1 << 4)
|
||||
#define QAM_FS_ENABLE_OUTPUT (1 << 3)
|
||||
#define QAM_FS_SELECT_TEST_BYPASS (1 << 2)
|
||||
#define QAM_FS_DISABLE_DIGITAL_STANDBY (1 << 1)
|
||||
#define QAM_FS_ENABLE_OUTPUT (1 << 3)
|
||||
#define QAM_FS_SELECT_TEST_BYPASS (1 << 2)
|
||||
#define QAM_FS_DISABLE_DIGITAL_STANDBY (1 << 1)
|
||||
#define QAM_FS_CHOOSE_FS (1 << 0)
|
||||
|
||||
/* Definitions for fs432x4a_ctl register */
|
||||
@@ -142,14 +142,14 @@
|
||||
static struct resource ehci_resources[] = {
|
||||
{
|
||||
.parent = &asic_resource,
|
||||
.start = 0,
|
||||
.end = 0xff,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.start = 0,
|
||||
.end = 0xff,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.start = irq_usbehci,
|
||||
.end = irq_usbehci,
|
||||
.flags = IORESOURCE_IRQ,
|
||||
.start = irq_usbehci,
|
||||
.end = irq_usbehci,
|
||||
.flags = IORESOURCE_IRQ,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -169,14 +169,14 @@ static struct platform_device ehci_device = {
|
||||
static struct resource ohci_resources[] = {
|
||||
{
|
||||
.parent = &asic_resource,
|
||||
.start = 0,
|
||||
.end = 0xff,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.start = 0,
|
||||
.end = 0xff,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
{
|
||||
.start = irq_usbohci,
|
||||
.end = irq_usbohci,
|
||||
.flags = IORESOURCE_IRQ,
|
||||
.start = irq_usbohci,
|
||||
.end = irq_usbohci,
|
||||
.flags = IORESOURCE_IRQ,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -207,9 +207,9 @@ static DEFINE_SPINLOCK(usb_regs_lock);
|
||||
*
|
||||
* QAM frequency selection code, which affects the frequency at which USB
|
||||
* runs. The frequency is calculated as:
|
||||
* 2^15 * ndiv * Fin
|
||||
* 2^15 * ndiv * Fin
|
||||
* Fout = ------------------------------------------------------------
|
||||
* (sdiv * (ipe * (1 + md/32) - (ipe - 2^15)*(1 + (md + 1)/32)))
|
||||
* (sdiv * (ipe * (1 + md/32) - (ipe - 2^15)*(1 + (md + 1)/32)))
|
||||
* where:
|
||||
* Fin 54 MHz
|
||||
* ndiv QAM_FS_NSDIV_54MHZ ? 8 : 16
|
||||
|
Fai riferimento in un nuovo problema
Block a user