2005-07-28 02:44:44 +08:00
|
|
|
#include <linux/module.h>
|
|
|
|
#include <linux/irq.h>
|
|
|
|
#include <asm/arch/dma.h>
|
|
|
|
#include <asm/arch/intmem.h>
|
2008-01-24 21:31:55 +08:00
|
|
|
#include <asm/arch/mach/pinmux.h>
|
|
|
|
#include <asm/arch/io.h>
|
2005-07-28 02:44:44 +08:00
|
|
|
|
|
|
|
/* Functions for allocating DMA channels */
|
|
|
|
EXPORT_SYMBOL(crisv32_request_dma);
|
|
|
|
EXPORT_SYMBOL(crisv32_free_dma);
|
|
|
|
|
|
|
|
/* Functions for handling internal RAM */
|
|
|
|
EXPORT_SYMBOL(crisv32_intmem_alloc);
|
|
|
|
EXPORT_SYMBOL(crisv32_intmem_free);
|
|
|
|
EXPORT_SYMBOL(crisv32_intmem_phys_to_virt);
|
|
|
|
EXPORT_SYMBOL(crisv32_intmem_virt_to_phys);
|
|
|
|
|
|
|
|
/* Functions for handling pinmux */
|
|
|
|
EXPORT_SYMBOL(crisv32_pinmux_alloc);
|
2008-01-24 21:31:55 +08:00
|
|
|
EXPORT_SYMBOL(crisv32_pinmux_alloc_fixed);
|
2005-07-28 02:44:44 +08:00
|
|
|
EXPORT_SYMBOL(crisv32_pinmux_dealloc);
|
2008-01-24 21:31:55 +08:00
|
|
|
EXPORT_SYMBOL(crisv32_pinmux_dealloc_fixed);
|
|
|
|
EXPORT_SYMBOL(crisv32_io_get_name);
|
|
|
|
EXPORT_SYMBOL(crisv32_io_get);
|
2005-07-28 02:44:44 +08:00
|
|
|
|
|
|
|
/* Functions masking/unmasking interrupts */
|
|
|
|
EXPORT_SYMBOL(mask_irq);
|
|
|
|
EXPORT_SYMBOL(unmask_irq);
|