diff options
author | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
commit | 871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch) | |
tree | 8718f573808810c2a1e8cb8fb6ac469093ca2784 /ANDROID_3.4.5/arch/arm/include/asm/mach | |
parent | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff) | |
download | FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2 FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip |
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized.
Changes are basically to make it look like kernel structure.
Diffstat (limited to 'ANDROID_3.4.5/arch/arm/include/asm/mach')
-rw-r--r-- | ANDROID_3.4.5/arch/arm/include/asm/mach/arch.h | 85 | ||||
-rw-r--r-- | ANDROID_3.4.5/arch/arm/include/asm/mach/dma.h | 54 | ||||
-rw-r--r-- | ANDROID_3.4.5/arch/arm/include/asm/mach/flash.h | 39 | ||||
-rw-r--r-- | ANDROID_3.4.5/arch/arm/include/asm/mach/irda.h | 20 | ||||
-rw-r--r-- | ANDROID_3.4.5/arch/arm/include/asm/mach/irq.h | 68 | ||||
-rw-r--r-- | ANDROID_3.4.5/arch/arm/include/asm/mach/map.h | 46 | ||||
-rw-r--r-- | ANDROID_3.4.5/arch/arm/include/asm/mach/mmc.h | 28 | ||||
-rw-r--r-- | ANDROID_3.4.5/arch/arm/include/asm/mach/pci.h | 84 | ||||
-rw-r--r-- | ANDROID_3.4.5/arch/arm/include/asm/mach/serial_at91.h | 33 | ||||
-rw-r--r-- | ANDROID_3.4.5/arch/arm/include/asm/mach/serial_sa1100.h | 31 | ||||
-rw-r--r-- | ANDROID_3.4.5/arch/arm/include/asm/mach/sharpsl_param.h | 37 | ||||
-rw-r--r-- | ANDROID_3.4.5/arch/arm/include/asm/mach/time.h | 45 | ||||
-rw-r--r-- | ANDROID_3.4.5/arch/arm/include/asm/mach/udc_pxa2xx.h | 26 | ||||
-rwxr-xr-x | ANDROID_3.4.5/arch/arm/include/asm/mach/version.h | 1 |
14 files changed, 0 insertions, 597 deletions
diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/arch.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/arch.h deleted file mode 100644 index d7692caf..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/arch.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * arch/arm/include/asm/mach/arch.h - * - * Copyright (C) 2000 Russell King - * - * This program 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 __ASSEMBLY__ - -struct tag; -struct meminfo; -struct sys_timer; -struct pt_regs; - -struct machine_desc { - unsigned int nr; /* architecture number */ - const char *name; /* architecture name */ - unsigned long atag_offset; /* tagged list (relative) */ - const char *const *dt_compat; /* array of device tree - * 'compatible' strings */ - - unsigned int nr_irqs; /* number of IRQs */ - -#ifdef CONFIG_ZONE_DMA - unsigned long dma_zone_size; /* size of DMA-able area */ -#endif - - unsigned int video_start; /* start of video RAM */ - unsigned int video_end; /* end of video RAM */ - - unsigned char reserve_lp0 :1; /* never has lp0 */ - unsigned char reserve_lp1 :1; /* never has lp1 */ - unsigned char reserve_lp2 :1; /* never has lp2 */ - char restart_mode; /* default restart mode */ - void (*fixup)(struct tag *, char **, - struct meminfo *); - void (*reserve)(void);/* reserve mem blocks */ - void (*map_io)(void);/* IO mapping function */ - void (*init_early)(void); - void (*init_irq)(void); - struct sys_timer *timer; /* system tick timer */ - void (*init_machine)(void); -#ifdef CONFIG_MULTI_IRQ_HANDLER - void (*handle_irq)(struct pt_regs *); -#endif - void (*restart)(char, const char *); -}; - -/* - * Current machine - only accessible during boot. - */ -extern struct machine_desc *machine_desc; - -/* - * Machine type table - also only accessible during boot - */ -extern struct machine_desc __arch_info_begin[], __arch_info_end[]; -#define for_each_machine_desc(p) \ - for (p = __arch_info_begin; p < __arch_info_end; p++) - -/* - * Set of macros to define architecture features. This is built into - * a table by the linker. - */ -#define MACHINE_START(_type,_name) \ -static const struct machine_desc __mach_desc_##_type \ - __used \ - __attribute__((__section__(".arch.info.init"))) = { \ - .nr = MACH_TYPE_##_type, \ - .name = _name, - -#define MACHINE_END \ -}; - -#define DT_MACHINE_START(_name, _namestr) \ -static const struct machine_desc __mach_desc_##_name \ - __used \ - __attribute__((__section__(".arch.info.init"))) = { \ - .nr = ~0, \ - .name = _namestr, - -#endif diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/dma.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/dma.h deleted file mode 100644 index 9e614a18..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/dma.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * arch/arm/include/asm/mach/dma.h - * - * Copyright (C) 1998-2000 Russell King - * - * This program 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. - * - * This header file describes the interface between the generic DMA handler - * (dma.c) and the architecture-specific DMA backends (dma-*.c) - */ - -struct dma_struct; -typedef struct dma_struct dma_t; - -struct dma_ops { - int (*request)(unsigned int, dma_t *); /* optional */ - void (*free)(unsigned int, dma_t *); /* optional */ - void (*enable)(unsigned int, dma_t *); /* mandatory */ - void (*disable)(unsigned int, dma_t *); /* mandatory */ - int (*residue)(unsigned int, dma_t *); /* optional */ - int (*setspeed)(unsigned int, dma_t *, int); /* optional */ - const char *type; -}; - -struct dma_struct { - void *addr; /* single DMA address */ - unsigned long count; /* single DMA size */ - struct scatterlist buf; /* single DMA */ - int sgcount; /* number of DMA SG */ - struct scatterlist *sg; /* DMA Scatter-Gather List */ - - unsigned int active:1; /* Transfer active */ - unsigned int invalid:1; /* Address/Count changed */ - - unsigned int dma_mode; /* DMA mode */ - int speed; /* DMA speed */ - - unsigned int lock; /* Device is allocated */ - const char *device_id; /* Device name */ - - const struct dma_ops *d_ops; -}; - -/* - * isa_dma_add - add an ISA-style DMA channel - */ -extern int isa_dma_add(unsigned int, dma_t *dma); - -/* - * Add the ISA DMA controller. Always takes channels 0-7. - */ -extern void isa_init_dma(void); diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/flash.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/flash.h deleted file mode 100644 index 4ca69fe2..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/flash.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * arch/arm/include/asm/mach/flash.h - * - * Copyright (C) 2003 Russell King, All Rights Reserved. - * - * This program 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 ASMARM_MACH_FLASH_H -#define ASMARM_MACH_FLASH_H - -struct mtd_partition; -struct mtd_info; - -/* - * map_name: the map probe function name - * name: flash device name (eg, as used with mtdparts=) - * width: width of mapped device - * init: method called at driver/device initialisation - * exit: method called at driver/device removal - * set_vpp: method called to enable or disable VPP - * mmcontrol: method called to enable or disable Sync. Burst Read in OneNAND - * parts: optional array of mtd_partitions for static partitioning - * nr_parts: number of mtd_partitions for static partitoning - */ -struct flash_platform_data { - const char *map_name; - const char *name; - unsigned int width; - int (*init)(void); - void (*exit)(void); - void (*set_vpp)(int on); - void (*mmcontrol)(struct mtd_info *mtd, int sync_read); - struct mtd_partition *parts; - unsigned int nr_parts; -}; - -#endif diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/irda.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/irda.h deleted file mode 100644 index 38f77b5e..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/irda.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - * arch/arm/include/asm/mach/irda.h - * - * Copyright (C) 2004 Russell King. - * - * This program 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_ARM_MACH_IRDA_H -#define __ASM_ARM_MACH_IRDA_H - -struct irda_platform_data { - int (*startup)(struct device *); - void (*shutdown)(struct device *); - int (*set_power)(struct device *, unsigned int state); - void (*set_speed)(struct device *, unsigned int speed); -}; - -#endif diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/irq.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/irq.h deleted file mode 100644 index febe495d..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/irq.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * arch/arm/include/asm/mach/irq.h - * - * Copyright (C) 1995-2000 Russell King. - * - * This program 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_ARM_MACH_IRQ_H -#define __ASM_ARM_MACH_IRQ_H - -#include <linux/irq.h> - -struct seq_file; - -/* - * This is internal. Do not use it. - */ -extern void init_FIQ(void); -extern int show_fiq_list(struct seq_file *, int); - -#ifdef CONFIG_MULTI_IRQ_HANDLER -extern void (*handle_arch_irq)(struct pt_regs *); -#endif - -/* - * This is for easy migration, but should be changed in the source - */ -#define do_bad_IRQ(irq,desc) \ -do { \ - raw_spin_lock(&desc->lock); \ - handle_bad_irq(irq, desc); \ - raw_spin_unlock(&desc->lock); \ -} while(0) - -#ifndef __ASSEMBLY__ -/* - * Entry/exit functions for chained handlers where the primary IRQ chip - * may implement either fasteoi or level-trigger flow control. - */ -static inline void chained_irq_enter(struct irq_chip *chip, - struct irq_desc *desc) -{ - /* FastEOI controllers require no action on entry. */ - if (chip->irq_eoi) - return; - - if (chip->irq_mask_ack) { - chip->irq_mask_ack(&desc->irq_data); - } else { - chip->irq_mask(&desc->irq_data); - if (chip->irq_ack) - chip->irq_ack(&desc->irq_data); - } -} - -static inline void chained_irq_exit(struct irq_chip *chip, - struct irq_desc *desc) -{ - if (chip->irq_eoi) - chip->irq_eoi(&desc->irq_data); - else - chip->irq_unmask(&desc->irq_data); -} -#endif - -#endif diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/map.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/map.h deleted file mode 100644 index b36f3654..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/map.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * arch/arm/include/asm/map.h - * - * Copyright (C) 1999-2000 Russell King - * - * This program 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. - * - * Page table mapping constructs and function prototypes - */ -#include <asm/io.h> - -struct map_desc { - unsigned long virtual; - unsigned long pfn; - unsigned long length; - unsigned int type; -}; - -/* types 0-3 are defined in asm/io.h */ -#define MT_UNCACHED 4 -#define MT_CACHECLEAN 5 -#define MT_MINICLEAN 6 -#define MT_LOW_VECTORS 7 -#define MT_HIGH_VECTORS 8 -#define MT_MEMORY 9 -#define MT_ROM 10 -#define MT_MEMORY_NONCACHED 11 -#define MT_MEMORY_DTCM 12 -#define MT_MEMORY_ITCM 13 -#define MT_MEMORY_SO 14 - -#ifdef CONFIG_MMU -extern void iotable_init(struct map_desc *, int); - -struct mem_type; -extern const struct mem_type *get_mem_type(unsigned int type); -/* - * external interface to remap single page with appropriate type - */ -extern int ioremap_page(unsigned long virt, unsigned long phys, - const struct mem_type *mtype); -#else -#define iotable_init(map,num) do { } while (0) -#endif diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/mmc.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/mmc.h deleted file mode 100644 index bca864ac..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/mmc.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * arch/arm/include/asm/mach/mmc.h - */ -#ifndef ASMARM_MACH_MMC_H -#define ASMARM_MACH_MMC_H - -#include <linux/mmc/host.h> -#include <linux/mmc/card.h> -#include <linux/mmc/sdio_func.h> - -struct embedded_sdio_data { - struct sdio_cis cis; - struct sdio_cccr cccr; - struct sdio_embedded_func *funcs; - int num_funcs; -}; - -struct mmc_platform_data { - unsigned int ocr_mask; /* available voltages */ - int built_in; /* built-in device flag */ - int card_present; /* card detect state */ - u32 (*translate_vdd)(struct device *, unsigned int); - unsigned int (*status)(struct device *); - struct embedded_sdio_data *embedded_sdio; - int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id); -}; - -#endif diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/pci.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/pci.h deleted file mode 100644 index d943b7d2..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/pci.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * arch/arm/include/asm/mach/pci.h - * - * Copyright (C) 2000 Russell King - * - * This program 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_MACH_PCI_H -#define __ASM_MACH_PCI_H - -struct pci_sys_data; -struct pci_bus; - -struct hw_pci { -#ifdef CONFIG_PCI_DOMAINS - int domain; -#endif - struct list_head buses; - int nr_controllers; - int (*setup)(int nr, struct pci_sys_data *); - struct pci_bus *(*scan)(int nr, struct pci_sys_data *); - void (*preinit)(void); - void (*postinit)(void); - u8 (*swizzle)(struct pci_dev *dev, u8 *pin); - int (*map_irq)(const struct pci_dev *dev, u8 slot, u8 pin); -}; - -/* - * Per-controller structure - */ -struct pci_sys_data { -#ifdef CONFIG_PCI_DOMAINS - int domain; -#endif - struct list_head node; - int busnr; /* primary bus number */ - u64 mem_offset; /* bus->cpu memory mapping offset */ - unsigned long io_offset; /* bus->cpu IO mapping offset */ - struct pci_bus *bus; /* PCI bus */ - struct list_head resources; /* root bus resources (apertures) */ - /* Bridge swizzling */ - u8 (*swizzle)(struct pci_dev *, u8 *); - /* IRQ mapping */ - int (*map_irq)(const struct pci_dev *, u8, u8); - struct hw_pci *hw; - void *private_data; /* platform controller private data */ -}; - -/* - * This is the standard PCI-PCI bridge swizzling algorithm. - */ -#define pci_std_swizzle pci_common_swizzle - -/* - * Call this with your hw_pci struct to initialise the PCI system. - */ -void pci_common_init(struct hw_pci *); - -/* - * PCI controllers - */ -extern int iop3xx_pci_setup(int nr, struct pci_sys_data *); -extern struct pci_bus *iop3xx_pci_scan_bus(int nr, struct pci_sys_data *); -extern void iop3xx_pci_preinit(void); -extern void iop3xx_pci_preinit_cond(void); - -extern int dc21285_setup(int nr, struct pci_sys_data *); -extern struct pci_bus *dc21285_scan_bus(int nr, struct pci_sys_data *); -extern void dc21285_preinit(void); -extern void dc21285_postinit(void); - -extern int via82c505_setup(int nr, struct pci_sys_data *); -extern struct pci_bus *via82c505_scan_bus(int nr, struct pci_sys_data *); -extern void via82c505_init(void *sysdata); - -extern int pci_v3_setup(int nr, struct pci_sys_data *); -extern struct pci_bus *pci_v3_scan_bus(int nr, struct pci_sys_data *); -extern void pci_v3_preinit(void); -extern void pci_v3_postinit(void); - -#endif /* __ASM_MACH_PCI_H */ diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/serial_at91.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/serial_at91.h deleted file mode 100644 index ea6d0639..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/serial_at91.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * arch/arm/include/asm/mach/serial_at91.h - * - * Based on serial_sa1100.h by Nicolas Pitre - * - * Copyright (C) 2002 ATMEL Rousset - * - * Low level machine dependent UART functions. - */ - -struct uart_port; - -/* - * This is a temporary structure for registering these - * functions; it is intended to be discarded after boot. - */ -struct atmel_port_fns { - void (*set_mctrl)(struct uart_port *, u_int); - u_int (*get_mctrl)(struct uart_port *); - void (*enable_ms)(struct uart_port *); - void (*pm)(struct uart_port *, u_int, u_int); - int (*set_wake)(struct uart_port *, u_int); - int (*open)(struct uart_port *); - void (*close)(struct uart_port *); -}; - -#if defined(CONFIG_SERIAL_ATMEL) -void atmel_register_uart_fns(struct atmel_port_fns *fns); -#else -#define atmel_register_uart_fns(fns) do { } while (0) -#endif - - diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/serial_sa1100.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/serial_sa1100.h deleted file mode 100644 index d09064bf..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/serial_sa1100.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * arch/arm/include/asm/mach/serial_sa1100.h - * - * Author: Nicolas Pitre - * - * Moved and changed lots, Russell King - * - * Low level machine dependent UART functions. - */ - -struct uart_port; -struct uart_info; - -/* - * This is a temporary structure for registering these - * functions; it is intended to be discarded after boot. - */ -struct sa1100_port_fns { - void (*set_mctrl)(struct uart_port *, u_int); - u_int (*get_mctrl)(struct uart_port *); - void (*pm)(struct uart_port *, u_int, u_int); - int (*set_wake)(struct uart_port *, u_int); -}; - -#ifdef CONFIG_SERIAL_SA1100 -void sa1100_register_uart_fns(struct sa1100_port_fns *fns); -void sa1100_register_uart(int idx, int port); -#else -#define sa1100_register_uart_fns(fns) do { } while (0) -#define sa1100_register_uart(idx,port) do { } while (0) -#endif diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/sharpsl_param.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/sharpsl_param.h deleted file mode 100644 index 7a24ecf0..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/sharpsl_param.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Hardware parameter area specific to Sharp SL series devices - * - * Copyright (c) 2005 Richard Purdie - * - * Based on Sharp's 2.4 kernel patches - * - * This program 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. - * - */ - -struct sharpsl_param_info { - unsigned int comadj_keyword; - unsigned int comadj; - - unsigned int uuid_keyword; - unsigned char uuid[16]; - - unsigned int touch_keyword; - unsigned int touch_xp; - unsigned int touch_yp; - unsigned int touch_xd; - unsigned int touch_yd; - - unsigned int adadj_keyword; - unsigned int adadj; - - unsigned int phad_keyword; - unsigned int phadadj; -} __attribute__((packed)); - - -extern struct sharpsl_param_info sharpsl_param; -extern void sharpsl_save_param(void); - diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/time.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/time.h deleted file mode 100644 index f73c908b..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/time.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * arch/arm/include/asm/mach/time.h - * - * Copyright (C) 2004 MontaVista Software, Inc. - * - * This program 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_ARM_MACH_TIME_H -#define __ASM_ARM_MACH_TIME_H - -/* - * This is our kernel timer structure. - * - * - init - * Initialise the kernels jiffy timer source, claim interrupt - * using setup_irq. This is called early on during initialisation - * while interrupts are still disabled on the local CPU. - * - suspend - * Suspend the kernel jiffy timer source, if necessary. This - * is called with interrupts disabled, after all normal devices - * have been suspended. If no action is required, set this to - * NULL. - * - resume - * Resume the kernel jiffy timer source, if necessary. This - * is called with interrupts disabled before any normal devices - * are resumed. If no action is required, set this to NULL. - * - offset - * Return the timer offset in microseconds since the last timer - * interrupt. Note: this must take account of any unprocessed - * timer interrupt which may be pending. - */ -struct sys_timer { - void (*init)(void); - void (*suspend)(void); - void (*resume)(void); -#ifdef CONFIG_ARCH_USES_GETTIMEOFFSET - unsigned long (*offset)(void); -#endif -}; - -extern void timer_tick(void); - -#endif diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/udc_pxa2xx.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/udc_pxa2xx.h deleted file mode 100644 index ea297ac7..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/udc_pxa2xx.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * arch/arm/include/asm/mach/udc_pxa2xx.h - * - * This supports machine-specific differences in how the PXA2xx - * USB Device Controller (UDC) is wired. - * - * It is set in linux/arch/arm/mach-pxa/<machine>.c or in - * linux/arch/mach-ixp4xx/<machine>.c and used in - * the probe routine of linux/drivers/usb/gadget/pxa2xx_udc.c - */ - -struct pxa2xx_udc_mach_info { - int (*udc_is_connected)(void); /* do we see host? */ - void (*udc_command)(int cmd); -#define PXA2XX_UDC_CMD_CONNECT 0 /* let host see us */ -#define PXA2XX_UDC_CMD_DISCONNECT 1 /* so host won't see us */ - - /* Boards following the design guidelines in the developer's manual, - * with on-chip GPIOs not Lubbock's weird hardware, can have a sane - * VBUS IRQ and omit the methods above. Store the GPIO number - * here. Note that sometimes the signals go through inverters... - */ - bool gpio_pullup_inverted; - int gpio_pullup; /* high == pullup activated */ -}; - diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mach/version.h b/ANDROID_3.4.5/arch/arm/include/asm/mach/version.h deleted file mode 100755 index 2616dcfb..00000000 --- a/ANDROID_3.4.5/arch/arm/include/asm/mach/version.h +++ /dev/null @@ -1 +0,0 @@ -#define CONFIG_KERNEL_VERSION "0.26.00.00" |