Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

mx25_3stack_cpld.c File Reference


Detailed Description

This file contains the board specific initialization routines.

Definition in file mx25_3stack_cpld.c.

#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <mach/hardware.h>
#include <asm/mach/irq.h>
#include <mach/gpio.h>
#include "board-mx25_3stack.h"
#include "iomux.h"

Go to the source code of this file.

Functions

 __setup ("remove_dbg", remove_dbg_setup)
 device_initcall (mx25_3ds_cpld_init)
static void expio_ack_irq (u32 irq)
static void expio_mask_irq (u32 irq)
static void expio_unmask_irq (u32 irq)
 EXPORT_SYMBOL (spi_cpld_write)
 EXPORT_SYMBOL (spi_cpld_read)
static int __init mx25_3ds_cpld_init (void)
static int __init mx25_3ds_cpld_probe (struct spi_device *spi)
static int mx25_3ds_cpld_rw (u8 *buf, size_t len)
static int __init mxc_expio_init (void)
static void mxc_expio_irq_handler (u32 irq, struct irq_desc *desc)
int mxc_spi_poll_transfer (struct spi_device *spi, struct spi_transfer *t)
static int __init remove_dbg_setup (char *__unused)
unsigned int spi_cpld_read (unsigned int offset)
unsigned int spi_cpld_write (unsigned int offset, unsigned int reg_val)

Variables

struct spi_device * cpld_spi
static struct irq_chip expio_irq_chip
static int __initdata is_dbg_removed = { 0 }
static struct spi_driver mx25_3ds_cpld_driver


Generated by  Doxygen 1.6.0   Back to index