diff options
Diffstat (limited to 'target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach')
7 files changed, 232 insertions, 0 deletions
diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/.svn/entries b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/.svn/entries new file mode 100644 index 0000000..3917487 --- /dev/null +++ b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/.svn/entries @@ -0,0 +1,130 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach +svn://svn.openwrt.org/openwrt + + + +2012-11-06T11:16:41.575670Z +34101 +luka + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +gpio.h +file + + + + +2013-03-17T12:13:04.000000Z +e58d4c0d22430de02acc9acc1cf401fc +2012-11-06T11:16:41.575670Z +34101 +luka + + + + + + + + + + + + + + + + + + + + + +458 + +smp.h +file + + + + +2013-03-17T12:13:04.000000Z +3e2c8acfcf24d82429b713512902a00a +2012-11-06T11:16:41.575670Z +34101 +luka + + + + + + + + + + + + + + + + + + + + + +228 + +platform.h +file + + + + +2013-03-17T12:13:04.000000Z +683dee7c04f6e404c10ed3d58ff484e8 +2012-11-06T11:16:41.575670Z +34101 +luka + + + + + + + + + + + + + + + + + + + + + +615 + diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/.svn/text-base/gpio.h.svn-base b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/.svn/text-base/gpio.h.svn-base new file mode 100644 index 0000000..8c66748 --- /dev/null +++ b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/.svn/text-base/gpio.h.svn-base @@ -0,0 +1,17 @@ +/* + * arch/arm/mach-cns3xxx/include/mach/gpio.h + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. + * + */ +#ifndef __ASM_ARCH_CNS3XXX_GPIO_H +#define __ASM_ARCH_CNS3XXX_GPIO_H + +#include <linux/kernel.h> + +extern void __init cns3xxx_gpio_init(int gpio_base, int ngpio, + u32 base, int irq, int secondary_irq_base); + +#endif diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/.svn/text-base/platform.h.svn-base b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/.svn/text-base/platform.h.svn-base new file mode 100644 index 0000000..f286d0d --- /dev/null +++ b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/.svn/text-base/platform.h.svn-base @@ -0,0 +1,26 @@ +/* + * arch/arm/mach-cns3xxx/include/mach/platform.h + * + * Copyright 2011 Gateworks Corporation + * Chris Lang <clang@gateworks.com + * + * This file is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License, Version 2, as + * published by the Free Software Foundation. + * + */ + +#ifndef __ASM_ARCH_PLATFORM_H +#define __ASM_ARCH_PLATFORM_H + +#ifndef __ASSEMBLY__ + +/* Information about built-in Ethernet MAC interfaces */ +struct cns3xxx_plat_info { + u8 ports; /* Bitmap of enabled Ports */ + u8 hwaddr[4][6]; + u32 phy[3]; +}; + +#endif /* __ASM_ARCH_PLATFORM_H */ +#endif diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/.svn/text-base/smp.h.svn-base b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/.svn/text-base/smp.h.svn-base new file mode 100644 index 0000000..e5bc568 --- /dev/null +++ b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/.svn/text-base/smp.h.svn-base @@ -0,0 +1,8 @@ +#ifndef __MACH_SMP_H +#define __MACH_SMP_H + +extern void smp_dma_map_area(const void *, size_t, int); +extern void smp_dma_unmap_area(const void *, size_t, int); +extern void smp_dma_flush_range(const void *, const void *); + +#endif diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/gpio.h b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/gpio.h new file mode 100644 index 0000000..8c66748 --- /dev/null +++ b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/gpio.h @@ -0,0 +1,17 @@ +/* + * arch/arm/mach-cns3xxx/include/mach/gpio.h + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. + * + */ +#ifndef __ASM_ARCH_CNS3XXX_GPIO_H +#define __ASM_ARCH_CNS3XXX_GPIO_H + +#include <linux/kernel.h> + +extern void __init cns3xxx_gpio_init(int gpio_base, int ngpio, + u32 base, int irq, int secondary_irq_base); + +#endif diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/platform.h b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/platform.h new file mode 100644 index 0000000..f286d0d --- /dev/null +++ b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/platform.h @@ -0,0 +1,26 @@ +/* + * arch/arm/mach-cns3xxx/include/mach/platform.h + * + * Copyright 2011 Gateworks Corporation + * Chris Lang <clang@gateworks.com + * + * This file is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License, Version 2, as + * published by the Free Software Foundation. + * + */ + +#ifndef __ASM_ARCH_PLATFORM_H +#define __ASM_ARCH_PLATFORM_H + +#ifndef __ASSEMBLY__ + +/* Information about built-in Ethernet MAC interfaces */ +struct cns3xxx_plat_info { + u8 ports; /* Bitmap of enabled Ports */ + u8 hwaddr[4][6]; + u32 phy[3]; +}; + +#endif /* __ASM_ARCH_PLATFORM_H */ +#endif diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/smp.h b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/smp.h new file mode 100644 index 0000000..e5bc568 --- /dev/null +++ b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/smp.h @@ -0,0 +1,8 @@ +#ifndef __MACH_SMP_H +#define __MACH_SMP_H + +extern void smp_dma_map_area(const void *, size_t, int); +extern void smp_dma_unmap_area(const void *, size_t, int); +extern void smp_dma_flush_range(const void *, const void *); + +#endif |